OSDN Git Service

2008-08-23 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS GLIBCXX_LIBS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463 ac_pwd=`pwd`
464
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
484
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
502
503 ac_prev=
504 for ac_option
505 do
506   # If the previous option needs an argument, assign it.
507   if test -n "$ac_prev"; then
508     eval "$ac_prev=\$ac_option"
509     ac_prev=
510     continue
511   fi
512
513   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514
515   # Accept the important Cygnus configure options, so we can diagnose typos.
516
517   case $ac_option in
518
519   -bindir | --bindir | --bindi | --bind | --bin | --bi)
520     ac_prev=bindir ;;
521   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522     bindir=$ac_optarg ;;
523
524   -build | --build | --buil | --bui | --bu)
525     ac_prev=build_alias ;;
526   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527     build_alias=$ac_optarg ;;
528
529   -cache-file | --cache-file | --cache-fil | --cache-fi \
530   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531     ac_prev=cache_file ;;
532   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534     cache_file=$ac_optarg ;;
535
536   --config-cache | -C)
537     cache_file=config.cache ;;
538
539   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540     ac_prev=datadir ;;
541   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542   | --da=*)
543     datadir=$ac_optarg ;;
544
545   -disable-* | --disable-*)
546     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547     # Reject names that are not valid shell variable names.
548     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550    { (exit 1); exit 1; }; }
551     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552     eval "enable_$ac_feature=no" ;;
553
554   -enable-* | --enable-*)
555     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556     # Reject names that are not valid shell variable names.
557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559    { (exit 1); exit 1; }; }
560     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561     case $ac_option in
562       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563       *) ac_optarg=yes ;;
564     esac
565     eval "enable_$ac_feature='$ac_optarg'" ;;
566
567   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569   | --exec | --exe | --ex)
570     ac_prev=exec_prefix ;;
571   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573   | --exec=* | --exe=* | --ex=*)
574     exec_prefix=$ac_optarg ;;
575
576   -gas | --gas | --ga | --g)
577     # Obsolete; use --with-gas.
578     with_gas=yes ;;
579
580   -help | --help | --hel | --he | -h)
581     ac_init_help=long ;;
582   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583     ac_init_help=recursive ;;
584   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585     ac_init_help=short ;;
586
587   -host | --host | --hos | --ho)
588     ac_prev=host_alias ;;
589   -host=* | --host=* | --hos=* | --ho=*)
590     host_alias=$ac_optarg ;;
591
592   -includedir | --includedir | --includedi | --included | --include \
593   | --includ | --inclu | --incl | --inc)
594     ac_prev=includedir ;;
595   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596   | --includ=* | --inclu=* | --incl=* | --inc=*)
597     includedir=$ac_optarg ;;
598
599   -infodir | --infodir | --infodi | --infod | --info | --inf)
600     ac_prev=infodir ;;
601   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602     infodir=$ac_optarg ;;
603
604   -libdir | --libdir | --libdi | --libd)
605     ac_prev=libdir ;;
606   -libdir=* | --libdir=* | --libdi=* | --libd=*)
607     libdir=$ac_optarg ;;
608
609   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610   | --libexe | --libex | --libe)
611     ac_prev=libexecdir ;;
612   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613   | --libexe=* | --libex=* | --libe=*)
614     libexecdir=$ac_optarg ;;
615
616   -localstatedir | --localstatedir | --localstatedi | --localstated \
617   | --localstate | --localstat | --localsta | --localst \
618   | --locals | --local | --loca | --loc | --lo)
619     ac_prev=localstatedir ;;
620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623     localstatedir=$ac_optarg ;;
624
625   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626     ac_prev=mandir ;;
627   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628     mandir=$ac_optarg ;;
629
630   -nfp | --nfp | --nf)
631     # Obsolete; use --without-fp.
632     with_fp=no ;;
633
634   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635   | --no-cr | --no-c | -n)
636     no_create=yes ;;
637
638   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640     no_recursion=yes ;;
641
642   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644   | --oldin | --oldi | --old | --ol | --o)
645     ac_prev=oldincludedir ;;
646   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649     oldincludedir=$ac_optarg ;;
650
651   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652     ac_prev=prefix ;;
653   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654     prefix=$ac_optarg ;;
655
656   -program-prefix | --program-prefix | --program-prefi | --program-pref \
657   | --program-pre | --program-pr | --program-p)
658     ac_prev=program_prefix ;;
659   -program-prefix=* | --program-prefix=* | --program-prefi=* \
660   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661     program_prefix=$ac_optarg ;;
662
663   -program-suffix | --program-suffix | --program-suffi | --program-suff \
664   | --program-suf | --program-su | --program-s)
665     ac_prev=program_suffix ;;
666   -program-suffix=* | --program-suffix=* | --program-suffi=* \
667   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668     program_suffix=$ac_optarg ;;
669
670   -program-transform-name | --program-transform-name \
671   | --program-transform-nam | --program-transform-na \
672   | --program-transform-n | --program-transform- \
673   | --program-transform | --program-transfor \
674   | --program-transfo | --program-transf \
675   | --program-trans | --program-tran \
676   | --progr-tra | --program-tr | --program-t)
677     ac_prev=program_transform_name ;;
678   -program-transform-name=* | --program-transform-name=* \
679   | --program-transform-nam=* | --program-transform-na=* \
680   | --program-transform-n=* | --program-transform-=* \
681   | --program-transform=* | --program-transfor=* \
682   | --program-transfo=* | --program-transf=* \
683   | --program-trans=* | --program-tran=* \
684   | --progr-tra=* | --program-tr=* | --program-t=*)
685     program_transform_name=$ac_optarg ;;
686
687   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688   | -silent | --silent | --silen | --sile | --sil)
689     silent=yes ;;
690
691   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692     ac_prev=sbindir ;;
693   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694   | --sbi=* | --sb=*)
695     sbindir=$ac_optarg ;;
696
697   -sharedstatedir | --sharedstatedir | --sharedstatedi \
698   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699   | --sharedst | --shareds | --shared | --share | --shar \
700   | --sha | --sh)
701     ac_prev=sharedstatedir ;;
702   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705   | --sha=* | --sh=*)
706     sharedstatedir=$ac_optarg ;;
707
708   -site | --site | --sit)
709     ac_prev=site ;;
710   -site=* | --site=* | --sit=*)
711     site=$ac_optarg ;;
712
713   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714     ac_prev=srcdir ;;
715   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716     srcdir=$ac_optarg ;;
717
718   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719   | --syscon | --sysco | --sysc | --sys | --sy)
720     ac_prev=sysconfdir ;;
721   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723     sysconfdir=$ac_optarg ;;
724
725   -target | --target | --targe | --targ | --tar | --ta | --t)
726     ac_prev=target_alias ;;
727   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728     target_alias=$ac_optarg ;;
729
730   -v | -verbose | --verbose | --verbos | --verbo | --verb)
731     verbose=yes ;;
732
733   -version | --version | --versio | --versi | --vers | -V)
734     ac_init_version=: ;;
735
736   -with-* | --with-*)
737     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738     # Reject names that are not valid shell variable names.
739     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740       { echo "$as_me: error: invalid package name: $ac_package" >&2
741    { (exit 1); exit 1; }; }
742     ac_package=`echo $ac_package| sed 's/-/_/g'`
743     case $ac_option in
744       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745       *) ac_optarg=yes ;;
746     esac
747     eval "with_$ac_package='$ac_optarg'" ;;
748
749   -without-* | --without-*)
750     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753       { echo "$as_me: error: invalid package name: $ac_package" >&2
754    { (exit 1); exit 1; }; }
755     ac_package=`echo $ac_package | sed 's/-/_/g'`
756     eval "with_$ac_package=no" ;;
757
758   --x)
759     # Obsolete; use --with-x.
760     with_x=yes ;;
761
762   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763   | --x-incl | --x-inc | --x-in | --x-i)
764     ac_prev=x_includes ;;
765   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767     x_includes=$ac_optarg ;;
768
769   -x-libraries | --x-libraries | --x-librarie | --x-librari \
770   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771     ac_prev=x_libraries ;;
772   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774     x_libraries=$ac_optarg ;;
775
776   -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778    { (exit 1); exit 1; }; }
779     ;;
780
781   *=*)
782     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783     # Reject names that are not valid shell variable names.
784     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786    { (exit 1); exit 1; }; }
787     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788     eval "$ac_envvar='$ac_optarg'"
789     export $ac_envvar ;;
790
791   *)
792     # FIXME: should be removed in autoconf 3.0.
793     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
797     ;;
798
799   esac
800 done
801
802 if test -n "$ac_prev"; then
803   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804   { echo "$as_me: error: missing argument to $ac_option" >&2
805    { (exit 1); exit 1; }; }
806 fi
807
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
810 do
811   eval ac_val=$`echo $ac_var`
812   case $ac_val in
813     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815    { (exit 1); exit 1; }; };;
816   esac
817 done
818
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821               localstatedir libdir includedir oldincludedir infodir mandir
822 do
823   eval ac_val=$`echo $ac_var`
824   case $ac_val in
825     [\\/$]* | ?:[\\/]* ) ;;
826     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827    { (exit 1); exit 1; }; };;
828   esac
829 done
830
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
837
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840   if test "x$build_alias" = x; then
841     cross_compiling=maybe
842     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843     If a cross compiler is detected then cross compile mode will be used." >&2
844   elif test "x$build_alias" != "x$host_alias"; then
845     cross_compiling=yes
846   fi
847 fi
848
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851
852 test "$silent" = yes && exec 6>/dev/null
853
854
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857   ac_srcdir_defaulted=yes
858   # Try the directory containing this script, then its parent.
859   ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861          X"$0" : 'X\(//\)[^/]' \| \
862          X"$0" : 'X\(//\)$' \| \
863          X"$0" : 'X\(/\)' \| \
864          .     : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868           /^X\(\/\/\)$/{ s//\1/; q; }
869           /^X\(\/\).*/{ s//\1/; q; }
870           s/.*/./; q'`
871   srcdir=$ac_confdir
872   if test ! -r $srcdir/$ac_unique_file; then
873     srcdir=..
874   fi
875 else
876   ac_srcdir_defaulted=no
877 fi
878 if test ! -r $srcdir/$ac_unique_file; then
879   if test "$ac_srcdir_defaulted" = yes; then
880     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881    { (exit 1); exit 1; }; }
882   else
883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884    { (exit 1); exit 1; }; }
885   fi
886 fi
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889    { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
927
928 #
929 # Report the --help message.
930 #
931 if test "$ac_init_help" = "long"; then
932   # Omit some internal or obsolete options to make the list less imposing.
933   # This message is too long to be a string in the A/UX 3.1 sh.
934   cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936
937 Usage: $0 [OPTION]... [VAR=VALUE]...
938
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE.  See below for descriptions of some of the useful variables.
941
942 Defaults for the options are specified in brackets.
943
944 Configuration:
945   -h, --help              display this help and exit
946       --help=short        display options specific to this package
947       --help=recursive    display the short help of all the included packages
948   -V, --version           display version information and exit
949   -q, --quiet, --silent   do not print \`checking...' messages
950       --cache-file=FILE   cache test results in FILE [disabled]
951   -C, --config-cache      alias for \`--cache-file=config.cache'
952   -n, --no-create         do not create output files
953       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
954
955 _ACEOF
956
957   cat <<_ACEOF
958 Installation directories:
959   --prefix=PREFIX         install architecture-independent files in PREFIX
960                           [$ac_default_prefix]
961   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
962                           [PREFIX]
963
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
968
969 For better control, use the options below.
970
971 Fine tuning of the installation directories:
972   --bindir=DIR           user executables [EPREFIX/bin]
973   --sbindir=DIR          system admin executables [EPREFIX/sbin]
974   --libexecdir=DIR       program executables [EPREFIX/libexec]
975   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
976   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
977   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
978   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
979   --libdir=DIR           object code libraries [EPREFIX/lib]
980   --includedir=DIR       C header files [PREFIX/include]
981   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
982   --infodir=DIR          info documentation [PREFIX/info]
983   --mandir=DIR           man documentation [PREFIX/man]
984 _ACEOF
985
986   cat <<\_ACEOF
987
988 Program names:
989   --program-prefix=PREFIX            prepend PREFIX to installed program names
990   --program-suffix=SUFFIX            append SUFFIX to installed program names
991   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
992
993 System types:
994   --build=BUILD     configure for building on BUILD [guessed]
995   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
996   --target=TARGET   configure for building compilers for TARGET [HOST]
997 _ACEOF
998 fi
999
1000 if test -n "$ac_init_help"; then
1001   case $ac_init_help in
1002      short | recursive ) echo "Configuration of package-unused version-unused:";;
1003    esac
1004   cat <<\_ACEOF
1005
1006 Optional Features:
1007   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1008   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1009   --enable-multilib       build many library versions (default)
1010   --enable-maintainer-mode  enable make rules and dependencies not useful
1011                           (and sometimes confusing) to the casual installer
1012   --enable-shared[=PKGS]
1013                           build shared libraries [default=yes]
1014   --enable-static[=PKGS]
1015                           build static libraries [default=yes]
1016   --enable-fast-install[=PKGS]
1017                           optimize for fast installation [default=yes]
1018   --disable-libtool-lock  avoid locking (might break parallel builds)
1019   --disable-hosted-libstdcxx
1020                           only build freestanding C++ runtime support
1021   --enable-sjlj-exceptions
1022                           force use of builtin_setjmp for exceptions
1023                           [default=auto]
1024   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1025                           [default=$is_hosted]
1026   --enable-cstdio=PACKAGE use target-specific I/O package
1027                           [default=stdio]
1028   --enable-clocale[=MODEL]
1029                           use MODEL for target locale package
1030                           [default=auto]
1031   --enable-nls            use Native Language Support (default)
1032   --enable-libstdcxx-allocator=KIND
1033                           use KIND for target std::allocator base
1034                           [default=auto]
1035   --enable-cheaders=KIND  construct "C" headers for g++
1036                           [default=$c_model]
1037   --enable-long-long      enable template specializations for 'long long'
1038                           [default=yes]
1039   --enable-wchar_t        enable template specializations for 'wchar_t'
1040                           [default=yes]
1041   --enable-c99            turns on ISO/IEC 9899:1999 support
1042                           [default=yes]
1043   --enable-concept-checks use Boost-derived template checks [default=no]
1044   --enable-libstdcxx-debug-flags=FLAGS
1045                           pass compiler FLAGS when building debug library
1046                           [default="-g3 -O0"]
1047   --enable-libstdcxx-debug
1048                           build extra debug library [default=no]
1049   --enable-cxx-flags=FLAGS
1050                           pass compiler FLAGS when building library
1051                           [default=]
1052   --enable-fully-dynamic-string
1053                           do not put empty strings in per-process static
1054                           memory [default=no]
1055   --enable-clock-gettime=KIND
1056                           use KIND for check type [default=no]
1057   --enable-tls            Use thread-local storage [default=yes]
1058   --disable-rpath         do not hardcode runtime library paths
1059   --enable-linux-futex    use the Linux futex system call
1060                           [default=default]
1061   --enable-symvers=STYLE  enables symbol versioning of the shared library
1062                           [default=yes]
1063   --enable-visibility     enables visibility safe usage [default=yes]
1064   --enable-version-specific-runtime-libs
1065                           Specify that runtime libraries should be installed
1066                           in a compiler-specific directory
1067
1068 Optional Packages:
1069   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1070   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1071   --with-target-subdir=SUBDIR
1072                           configuring in a subdirectory
1073   --with-cross-host=HOST  configuring with a cross compiler
1074   --with-newlib           assume newlib as a system C library
1075   --with-pic              try to use only PIC/non-PIC objects [default=use
1076                           both]
1077   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1078   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1079   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1080   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1081   --with-gxx-include-dir=DIR
1082                           installation directory for include files
1083
1084 Some influential environment variables:
1085   CC          C compiler command
1086   CFLAGS      C compiler flags
1087   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1088               nonstandard directory <lib dir>
1089   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1090               headers in a nonstandard directory <include dir>
1091   CXX         C++ compiler command
1092   CXXFLAGS    C++ compiler flags
1093   CPP         C preprocessor
1094   CXXCPP      C++ preprocessor
1095
1096 Use these variables to override the choices made by `configure' or to help
1097 it to find libraries and programs with nonstandard names/locations.
1098
1099 _ACEOF
1100 fi
1101
1102 if test "$ac_init_help" = "recursive"; then
1103   # If there are subdirs, report their specific --help.
1104   ac_popdir=`pwd`
1105   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1106     test -d $ac_dir || continue
1107     ac_builddir=.
1108
1109 if test "$ac_dir" != .; then
1110   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111   # A "../" for each directory in $ac_dir_suffix.
1112   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 else
1114   ac_dir_suffix= ac_top_builddir=
1115 fi
1116
1117 case $srcdir in
1118   .)  # No --srcdir option.  We are building in place.
1119     ac_srcdir=.
1120     if test -z "$ac_top_builddir"; then
1121        ac_top_srcdir=.
1122     else
1123        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1124     fi ;;
1125   [\\/]* | ?:[\\/]* )  # Absolute path.
1126     ac_srcdir=$srcdir$ac_dir_suffix;
1127     ac_top_srcdir=$srcdir ;;
1128   *) # Relative path.
1129     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1130     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1131 esac
1132
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1135 case `pwd` in
1136 .) ac_abs_builddir="$ac_dir";;
1137 *)
1138   case "$ac_dir" in
1139   .) ac_abs_builddir=`pwd`;;
1140   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1141   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1142   esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1146 *)
1147   case ${ac_top_builddir}. in
1148   .) ac_abs_top_builddir=$ac_abs_builddir;;
1149   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1150   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1151   esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_srcdir=$ac_srcdir;;
1155 *)
1156   case $ac_srcdir in
1157   .) ac_abs_srcdir=$ac_abs_builddir;;
1158   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1159   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1160   esac;;
1161 esac
1162 case $ac_abs_builddir in
1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1164 *)
1165   case $ac_top_srcdir in
1166   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1167   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1168   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1169   esac;;
1170 esac
1171
1172     cd $ac_dir
1173     # Check for guested configure; otherwise get Cygnus style configure.
1174     if test -f $ac_srcdir/configure.gnu; then
1175       echo
1176       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1177     elif test -f $ac_srcdir/configure; then
1178       echo
1179       $SHELL $ac_srcdir/configure  --help=recursive
1180     elif test -f $ac_srcdir/configure.ac ||
1181            test -f $ac_srcdir/configure.in; then
1182       echo
1183       $ac_configure --help
1184     else
1185       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1186     fi
1187     cd $ac_popdir
1188   done
1189 fi
1190
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1193   cat <<\_ACEOF
1194 package-unused configure version-unused
1195 generated by GNU Autoconf 2.59
1196
1197 Copyright (C) 2003 Free Software Foundation, Inc.
1198 This configure script is free software; the Free Software Foundation
1199 gives unlimited permission to copy, distribute and modify it.
1200 _ACEOF
1201   exit 0
1202 fi
1203 exec 5>config.log
1204 cat >&5 <<_ACEOF
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1207
1208 It was created by package-unused $as_me version-unused, which was
1209 generated by GNU Autoconf 2.59.  Invocation command line was
1210
1211   $ $0 $@
1212
1213 _ACEOF
1214 {
1215 cat <<_ASUNAME
1216 ## --------- ##
1217 ## Platform. ##
1218 ## --------- ##
1219
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1228
1229 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1230 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1233 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1234 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1235 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1236
1237 _ASUNAME
1238
1239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1240 for as_dir in $PATH
1241 do
1242   IFS=$as_save_IFS
1243   test -z "$as_dir" && as_dir=.
1244   echo "PATH: $as_dir"
1245 done
1246
1247 } >&5
1248
1249 cat >&5 <<_ACEOF
1250
1251
1252 ## ----------- ##
1253 ## Core tests. ##
1254 ## ----------- ##
1255
1256 _ACEOF
1257
1258
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1264 ac_configure_args=
1265 ac_configure_args0=
1266 ac_configure_args1=
1267 ac_sep=
1268 ac_must_keep_next=false
1269 for ac_pass in 1 2
1270 do
1271   for ac_arg
1272   do
1273     case $ac_arg in
1274     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276     | -silent | --silent | --silen | --sile | --sil)
1277       continue ;;
1278     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280     esac
1281     case $ac_pass in
1282     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1283     2)
1284       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1285       if test $ac_must_keep_next = true; then
1286         ac_must_keep_next=false # Got value, back to normal.
1287       else
1288         case $ac_arg in
1289           *=* | --config-cache | -C | -disable-* | --disable-* \
1290           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292           | -with-* | --with-* | -without-* | --without-* | --x)
1293             case "$ac_configure_args0 " in
1294               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295             esac
1296             ;;
1297           -* ) ac_must_keep_next=true ;;
1298         esac
1299       fi
1300       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1301       # Get rid of the leading space.
1302       ac_sep=" "
1303       ;;
1304     esac
1305   done
1306 done
1307 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1308 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1309
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log.  We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316   # Save into config.log some information that might help in debugging.
1317   {
1318     echo
1319
1320     cat <<\_ASBOX
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1324 _ASBOX
1325     echo
1326     # The following way of writing the cache mishandles newlines in values,
1327 {
1328   (set) 2>&1 |
1329     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330     *ac_space=\ *)
1331       sed -n \
1332         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334       ;;
1335     *)
1336       sed -n \
1337         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338       ;;
1339     esac;
1340 }
1341     echo
1342
1343     cat <<\_ASBOX
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1347 _ASBOX
1348     echo
1349     for ac_var in $ac_subst_vars
1350     do
1351       eval ac_val=$`echo $ac_var`
1352       echo "$ac_var='"'"'$ac_val'"'"'"
1353     done | sort
1354     echo
1355
1356     if test -n "$ac_subst_files"; then
1357       cat <<\_ASBOX
1358 ## ------------- ##
1359 ## Output files. ##
1360 ## ------------- ##
1361 _ASBOX
1362       echo
1363       for ac_var in $ac_subst_files
1364       do
1365         eval ac_val=$`echo $ac_var`
1366         echo "$ac_var='"'"'$ac_val'"'"'"
1367       done | sort
1368       echo
1369     fi
1370
1371     if test -s confdefs.h; then
1372       cat <<\_ASBOX
1373 ## ----------- ##
1374 ## confdefs.h. ##
1375 ## ----------- ##
1376 _ASBOX
1377       echo
1378       sed "/^$/d" confdefs.h | sort
1379       echo
1380     fi
1381     test "$ac_signal" != 0 &&
1382       echo "$as_me: caught signal $ac_signal"
1383     echo "$as_me: exit $exit_status"
1384   } >&5
1385   rm -f core *.core &&
1386   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387     exit $exit_status
1388      ' 0
1389 for ac_signal in 1 2 13 15; do
1390   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 done
1392 ac_signal=0
1393
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 echo >confdefs.h
1398
1399 # Predefined preprocessor variables.
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 _ACEOF
1419
1420
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 _ACEOF
1424
1425
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429   if test "x$prefix" != xNONE; then
1430     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1431   else
1432     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433   fi
1434 fi
1435 for ac_site_file in $CONFIG_SITE; do
1436   if test -r "$ac_site_file"; then
1437     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439     sed 's/^/| /' "$ac_site_file" >&5
1440     . "$ac_site_file"
1441   fi
1442 done
1443
1444 if test -r "$cache_file"; then
1445   # Some versions of bash will fail to source /dev/null (special
1446   # files actually), so we avoid doing that.
1447   if test -f "$cache_file"; then
1448     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1450     case $cache_file in
1451       [\\/]* | ?:[\\/]* ) . $cache_file;;
1452       *)                      . ./$cache_file;;
1453     esac
1454   fi
1455 else
1456   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1458   >$cache_file
1459 fi
1460
1461 # Check that the precious variables saved in the cache have kept the same
1462 # value.
1463 ac_cache_corrupted=false
1464 for ac_var in `(set) 2>&1 |
1465                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1467   eval ac_new_set=\$ac_env_${ac_var}_set
1468   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1469   eval ac_new_val="\$ac_env_${ac_var}_value"
1470   case $ac_old_set,$ac_new_set in
1471     set,)
1472       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474       ac_cache_corrupted=: ;;
1475     ,set)
1476       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478       ac_cache_corrupted=: ;;
1479     ,);;
1480     *)
1481       if test "x$ac_old_val" != "x$ac_new_val"; then
1482         # differences in whitespace do not lead to failure.
1483         ac_old_val_w=`echo x $ac_old_val`
1484         ac_new_val_w=`echo x $ac_new_val`
1485         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1486           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1487 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1488           ac_cache_corrupted=:
1489         else
1490           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1491 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1492           eval $ac_var=\$ac_old_val
1493         fi
1494         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1495 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1496         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1497 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1498       fi;;
1499   esac
1500   # Pass precious variables to config.status.
1501   if test "$ac_new_set" = set; then
1502     case $ac_new_val in
1503     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1504       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1505     *) ac_arg=$ac_var=$ac_new_val ;;
1506     esac
1507     case " $ac_configure_args " in
1508       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1509       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1510     esac
1511   fi
1512 done
1513 if $ac_cache_corrupted; then
1514   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1515 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1516   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1517 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1518   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1519 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1520    { (exit 1); exit 1; }; }
1521 fi
1522
1523 ac_ext=c
1524 ac_cpp='$CPP $CPPFLAGS'
1525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1558
1559           ac_config_headers="$ac_config_headers config.h"
1560
1561
1562 # This works around the fact that libtool configuration may change LD
1563 # for this particular configuration, but some shells, instead of
1564 # keeping the changes in LD private, export them just because LD is
1565 # exported.  Only used at the end of this file.
1566 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1567
1568 # For libtool versioning info, format is CURRENT:REVISION:AGE
1569 libtool_VERSION=6:11:0
1570
1571
1572 # Find the rest of the source tree framework.
1573 # Default to --enable-multilib
1574 # Check whether --enable-multilib or --disable-multilib was given.
1575 if test "${enable_multilib+set}" = set; then
1576   enableval="$enable_multilib"
1577   case "$enableval" in
1578   yes) multilib=yes ;;
1579   no)  multilib=no ;;
1580   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1581 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1582    { (exit 1); exit 1; }; } ;;
1583  esac
1584 else
1585   multilib=yes
1586 fi;
1587
1588 # We may get other options which we leave undocumented:
1589 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1590 # See config-ml.in if you want the gory details.
1591
1592 if test "$srcdir" = "."; then
1593   if test "$with_target_subdir" != "."; then
1594     multi_basedir="$srcdir/$with_multisrctop../.."
1595   else
1596     multi_basedir="$srcdir/$with_multisrctop.."
1597   fi
1598 else
1599   multi_basedir="$srcdir/.."
1600 fi
1601
1602
1603 # Even if the default multilib is not a cross compilation,
1604 # it may be that some of the other multilibs are.
1605 if test $cross_compiling = no && test $multilib = yes \
1606    && test "x${with_multisubdir}" != x ; then
1607    cross_compiling=maybe
1608 fi
1609
1610           ac_config_commands="$ac_config_commands default-1"
1611
1612
1613 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1614 #
1615 # You will slowly go insane if you do not grok the following fact:  when
1616 # building v3 as part of the compiler, the top-level /target/ becomes the
1617 # library's /host/.  configure then causes --target to default to --host,
1618 # exactly like any other package using autoconf.  Therefore, 'target' and
1619 # 'host' will always be the same.  This makes sense both for native and
1620 # cross compilers, just think about it for a little while.  :-)
1621 #
1622 # Also, if v3 is being configured as part of a cross compiler, the top-level
1623 # configure script will pass the "real" host as $with_cross_host.
1624 #
1625 # Do not delete or change the following two lines.  For why, see
1626 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1627 ac_aux_dir=
1628 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1629   if test -f $ac_dir/install-sh; then
1630     ac_aux_dir=$ac_dir
1631     ac_install_sh="$ac_aux_dir/install-sh -c"
1632     break
1633   elif test -f $ac_dir/install.sh; then
1634     ac_aux_dir=$ac_dir
1635     ac_install_sh="$ac_aux_dir/install.sh -c"
1636     break
1637   elif test -f $ac_dir/shtool; then
1638     ac_aux_dir=$ac_dir
1639     ac_install_sh="$ac_aux_dir/shtool install -c"
1640     break
1641   fi
1642 done
1643 if test -z "$ac_aux_dir"; then
1644   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1645 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1646    { (exit 1); exit 1; }; }
1647 fi
1648 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1649 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1650 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1651
1652 # Make sure we can run config.sub.
1653 $ac_config_sub sun4 >/dev/null 2>&1 ||
1654   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1655 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1656    { (exit 1); exit 1; }; }
1657
1658 echo "$as_me:$LINENO: checking build system type" >&5
1659 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1660 if test "${ac_cv_build+set}" = set; then
1661   echo $ECHO_N "(cached) $ECHO_C" >&6
1662 else
1663   ac_cv_build_alias=$build_alias
1664 test -z "$ac_cv_build_alias" &&
1665   ac_cv_build_alias=`$ac_config_guess`
1666 test -z "$ac_cv_build_alias" &&
1667   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1668 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1669    { (exit 1); exit 1; }; }
1670 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1671   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1673    { (exit 1); exit 1; }; }
1674
1675 fi
1676 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1677 echo "${ECHO_T}$ac_cv_build" >&6
1678 build=$ac_cv_build
1679 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1682
1683
1684 echo "$as_me:$LINENO: checking host system type" >&5
1685 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1686 if test "${ac_cv_host+set}" = set; then
1687   echo $ECHO_N "(cached) $ECHO_C" >&6
1688 else
1689   ac_cv_host_alias=$host_alias
1690 test -z "$ac_cv_host_alias" &&
1691   ac_cv_host_alias=$ac_cv_build_alias
1692 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1693   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1694 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1695    { (exit 1); exit 1; }; }
1696
1697 fi
1698 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1699 echo "${ECHO_T}$ac_cv_host" >&6
1700 host=$ac_cv_host
1701 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1702 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1703 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1704
1705
1706 echo "$as_me:$LINENO: checking target system type" >&5
1707 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1708 if test "${ac_cv_target+set}" = set; then
1709   echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else
1711   ac_cv_target_alias=$target_alias
1712 test "x$ac_cv_target_alias" = "x" &&
1713   ac_cv_target_alias=$ac_cv_host_alias
1714 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1715   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1717    { (exit 1); exit 1; }; }
1718
1719 fi
1720 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1721 echo "${ECHO_T}$ac_cv_target" >&6
1722 target=$ac_cv_target
1723 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1726
1727
1728 # The aliases save the names the user supplied, while $host etc.
1729 # will get canonicalized.
1730 test -n "$target_alias" &&
1731   test "$program_prefix$program_suffix$program_transform_name" = \
1732     NONENONEs,x,x, &&
1733   program_prefix=${target_alias}-
1734 target_alias=${target_alias-$host_alias}
1735
1736 # Handy for debugging:
1737 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1738
1739 if test "$build" != "$host"; then
1740   # We are being configured with some form of cross compiler.
1741   GLIBCXX_IS_NATIVE=false
1742   case "$host","$target" in
1743     # Darwin crosses can use the host system's libraries and headers,
1744     # because of the fat library support.  Of course, it must be the
1745     # same version of Darwin on both sides.  Allow the user to
1746     # just say --target=foo-darwin without a version number to mean
1747     # "the version on this system".
1748       *-*-darwin*,*-*-darwin*)
1749         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1750         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1751         if test $hostos = $targetos -o $targetos = darwin ; then
1752           GLIBCXX_IS_NATIVE=true
1753         fi
1754         ;;
1755
1756       *)
1757
1758         ;;
1759   esac
1760 else
1761   GLIBCXX_IS_NATIVE=true
1762 fi
1763
1764 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1765 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1766 #  1.x:  minimum required version
1767 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1768 #              of other PACKAGE_* variables will, however, and there's nothing
1769 #              we can do about that; they come from AC_INIT).
1770 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1771 #            file in the top srcdir, etc, etc), so stop complaining.
1772 #  no-dependencies:  turns off auto dependency generation (just for now)
1773 #  -Wall:  turns on all automake warnings...
1774 #  -Wno-portability:  ...except this one, since GNU make is now required.
1775 am__api_version="1.9"
1776 # Find a good install program.  We prefer a C program (faster),
1777 # so one script is as good as another.  But avoid the broken or
1778 # incompatible versions:
1779 # SysV /etc/install, /usr/sbin/install
1780 # SunOS /usr/etc/install
1781 # IRIX /sbin/install
1782 # AIX /bin/install
1783 # AmigaOS /C/install, which installs bootblocks on floppy discs
1784 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1785 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1786 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1787 # OS/2's system install, which has a completely different semantic
1788 # ./install, which can be erroneously created by make from ./install.sh.
1789 # Reject install programs that cannot install multiple files.
1790 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1791 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1792 if test -z "$INSTALL"; then
1793 if test "${ac_cv_path_install+set}" = set; then
1794   echo $ECHO_N "(cached) $ECHO_C" >&6
1795 else
1796   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 for as_dir in $PATH
1798 do
1799   IFS=$as_save_IFS
1800   test -z "$as_dir" && as_dir=.
1801   # Account for people who put trailing slashes in PATH elements.
1802 case $as_dir/ in
1803   ./ | .// | /cC/* | \
1804   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1805   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1806   /usr/ucb/* ) ;;
1807   *)
1808     # OSF1 and SCO ODT 3.0 have their own names for install.
1809     # Don't use installbsd from OSF since it installs stuff as root
1810     # by default.
1811     for ac_prog in ginstall scoinst install; do
1812       for ac_exec_ext in '' $ac_executable_extensions; do
1813         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1814           if test $ac_prog = install &&
1815             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1816             # AIX install.  It has an incompatible calling convention.
1817             :
1818           elif test $ac_prog = install &&
1819             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1820             # program-specific install script used by HP pwplus--don't use.
1821             :
1822           else
1823             rm -rf conftest.one conftest.two conftest.dir
1824             echo one > conftest.one
1825             echo two > conftest.two
1826             mkdir conftest.dir
1827             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1828               test -s conftest.one && test -s conftest.two &&
1829               test -s conftest.dir/conftest.one &&
1830               test -s conftest.dir/conftest.two
1831             then
1832               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1833               break 3
1834             fi
1835           fi
1836         fi
1837       done
1838     done
1839     ;;
1840 esac
1841 done
1842
1843 rm -rf conftest.one conftest.two conftest.dir
1844
1845 fi
1846   if test "${ac_cv_path_install+set}" = set; then
1847     INSTALL=$ac_cv_path_install
1848   else
1849     # As a last resort, use the slow shell script.  Don't cache a
1850     # value for INSTALL within a source directory, because that will
1851     # break other packages using the cache if that directory is
1852     # removed, or if the value is a relative name.
1853     INSTALL=$ac_install_sh
1854   fi
1855 fi
1856 echo "$as_me:$LINENO: result: $INSTALL" >&5
1857 echo "${ECHO_T}$INSTALL" >&6
1858
1859 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1860 # It thinks the first close brace ends the variable substitution.
1861 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1862
1863 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1864
1865 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1866
1867 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1868 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1869 # Just in case
1870 sleep 1
1871 echo timestamp > conftest.file
1872 # Do `set' in a subshell so we don't clobber the current shell's
1873 # arguments.  Must try -L first in case configure is actually a
1874 # symlink; some systems play weird games with the mod time of symlinks
1875 # (eg FreeBSD returns the mod time of the symlink's containing
1876 # directory).
1877 if (
1878    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1879    if test "$*" = "X"; then
1880       # -L didn't work.
1881       set X `ls -t $srcdir/configure conftest.file`
1882    fi
1883    rm -f conftest.file
1884    if test "$*" != "X $srcdir/configure conftest.file" \
1885       && test "$*" != "X conftest.file $srcdir/configure"; then
1886
1887       # If neither matched, then we have a broken ls.  This can happen
1888       # if, for instance, CONFIG_SHELL is bash and it inherits a
1889       # broken ls alias from the environment.  This has actually
1890       # happened.  Such a system could not be considered "sane".
1891       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1892 alias in your environment" >&5
1893 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1894 alias in your environment" >&2;}
1895    { (exit 1); exit 1; }; }
1896    fi
1897
1898    test "$2" = conftest.file
1899    )
1900 then
1901    # Ok.
1902    :
1903 else
1904    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1905 Check your system clock" >&5
1906 echo "$as_me: error: newly created file is older than distributed files!
1907 Check your system clock" >&2;}
1908    { (exit 1); exit 1; }; }
1909 fi
1910 echo "$as_me:$LINENO: result: yes" >&5
1911 echo "${ECHO_T}yes" >&6
1912 test "$program_prefix" != NONE &&
1913   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1914 # Use a double $ so make ignores it.
1915 test "$program_suffix" != NONE &&
1916   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1917 # Double any \ or $.  echo might interpret backslashes.
1918 # By default was `s,x,x', remove it if useless.
1919 cat <<\_ACEOF >conftest.sed
1920 s/[\\$]/&&/g;s/;s,x,x,$//
1921 _ACEOF
1922 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1923 rm conftest.sed
1924
1925 # expand $ac_aux_dir to an absolute path
1926 am_aux_dir=`cd $ac_aux_dir && pwd`
1927
1928 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1929 # Use eval to expand $SHELL
1930 if eval "$MISSING --run true"; then
1931   am_missing_run="$MISSING --run "
1932 else
1933   am_missing_run=
1934   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1935 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1936 fi
1937
1938 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1939   # We used to keeping the `.' as first argument, in order to
1940   # allow $(mkdir_p) to be used without argument.  As in
1941   #   $(mkdir_p) $(somedir)
1942   # where $(somedir) is conditionally defined.  However this is wrong
1943   # for two reasons:
1944   #  1. if the package is installed by a user who cannot write `.'
1945   #     make install will fail,
1946   #  2. the above comment should most certainly read
1947   #     $(mkdir_p) $(DESTDIR)$(somedir)
1948   #     so it does not work when $(somedir) is undefined and
1949   #     $(DESTDIR) is not.
1950   #  To support the latter case, we have to write
1951   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1952   #  so the `.' trick is pointless.
1953   mkdir_p='mkdir -p --'
1954 else
1955   # On NextStep and OpenStep, the `mkdir' command does not
1956   # recognize any option.  It will interpret all options as
1957   # directories to create, and then abort because `.' already
1958   # exists.
1959   for d in ./-p ./--version;
1960   do
1961     test -d $d && rmdir $d
1962   done
1963   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1964   if test -f "$ac_aux_dir/mkinstalldirs"; then
1965     mkdir_p='$(mkinstalldirs)'
1966   else
1967     mkdir_p='$(install_sh) -d'
1968   fi
1969 fi
1970
1971 for ac_prog in gawk mawk nawk awk
1972 do
1973   # Extract the first word of "$ac_prog", so it can be a program name with args.
1974 set dummy $ac_prog; ac_word=$2
1975 echo "$as_me:$LINENO: checking for $ac_word" >&5
1976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1977 if test "${ac_cv_prog_AWK+set}" = set; then
1978   echo $ECHO_N "(cached) $ECHO_C" >&6
1979 else
1980   if test -n "$AWK"; then
1981   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1982 else
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984 for as_dir in $PATH
1985 do
1986   IFS=$as_save_IFS
1987   test -z "$as_dir" && as_dir=.
1988   for ac_exec_ext in '' $ac_executable_extensions; do
1989   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990     ac_cv_prog_AWK="$ac_prog"
1991     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992     break 2
1993   fi
1994 done
1995 done
1996
1997 fi
1998 fi
1999 AWK=$ac_cv_prog_AWK
2000 if test -n "$AWK"; then
2001   echo "$as_me:$LINENO: result: $AWK" >&5
2002 echo "${ECHO_T}$AWK" >&6
2003 else
2004   echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 fi
2007
2008   test -n "$AWK" && break
2009 done
2010
2011 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2013 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2014 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2015   echo $ECHO_N "(cached) $ECHO_C" >&6
2016 else
2017   cat >conftest.make <<\_ACEOF
2018 all:
2019         @echo 'ac_maketemp="$(MAKE)"'
2020 _ACEOF
2021 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2022 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2023 if test -n "$ac_maketemp"; then
2024   eval ac_cv_prog_make_${ac_make}_set=yes
2025 else
2026   eval ac_cv_prog_make_${ac_make}_set=no
2027 fi
2028 rm -f conftest.make
2029 fi
2030 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2031   echo "$as_me:$LINENO: result: yes" >&5
2032 echo "${ECHO_T}yes" >&6
2033   SET_MAKE=
2034 else
2035   echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2037   SET_MAKE="MAKE=${MAKE-make}"
2038 fi
2039
2040 rm -rf .tst 2>/dev/null
2041 mkdir .tst 2>/dev/null
2042 if test -d .tst; then
2043   am__leading_dot=.
2044 else
2045   am__leading_dot=_
2046 fi
2047 rmdir .tst 2>/dev/null
2048
2049 # test to see if srcdir already configured
2050 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2051    test -f $srcdir/config.status; then
2052   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2053 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2054    { (exit 1); exit 1; }; }
2055 fi
2056
2057 # test whether we have cygpath
2058 if test -z "$CYGPATH_W"; then
2059   if (cygpath --version) >/dev/null 2>/dev/null; then
2060     CYGPATH_W='cygpath -w'
2061   else
2062     CYGPATH_W=echo
2063   fi
2064 fi
2065
2066
2067 # Define the identity of the package.
2068  PACKAGE='libstdc++'
2069  VERSION='version-unused'
2070
2071
2072 # Some tools Automake needs.
2073
2074 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2075
2076
2077 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2078
2079
2080 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2081
2082
2083 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2084
2085
2086 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2087
2088 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2089
2090 # Installed binaries are usually stripped using `strip' when the user
2091 # run `make install-strip'.  However `strip' might not be the right
2092 # tool to use in cross-compilation environments, therefore Automake
2093 # will honor the `STRIP' environment variable to overrule this program.
2094 if test "$cross_compiling" != no; then
2095   if test -n "$ac_tool_prefix"; then
2096   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2097 set dummy ${ac_tool_prefix}strip; ac_word=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_STRIP+set}" = set; then
2101   echo $ECHO_N "(cached) $ECHO_C" >&6
2102 else
2103   if test -n "$STRIP"; then
2104   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2105 else
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 for as_dir in $PATH
2108 do
2109   IFS=$as_save_IFS
2110   test -z "$as_dir" && as_dir=.
2111   for ac_exec_ext in '' $ac_executable_extensions; do
2112   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2113     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2114     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115     break 2
2116   fi
2117 done
2118 done
2119
2120 fi
2121 fi
2122 STRIP=$ac_cv_prog_STRIP
2123 if test -n "$STRIP"; then
2124   echo "$as_me:$LINENO: result: $STRIP" >&5
2125 echo "${ECHO_T}$STRIP" >&6
2126 else
2127   echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6
2129 fi
2130
2131 fi
2132 if test -z "$ac_cv_prog_STRIP"; then
2133   ac_ct_STRIP=$STRIP
2134   # Extract the first word of "strip", so it can be a program name with args.
2135 set dummy strip; ac_word=$2
2136 echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2138 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2139   echo $ECHO_N "(cached) $ECHO_C" >&6
2140 else
2141   if test -n "$ac_ct_STRIP"; then
2142   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2143 else
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2146 do
2147   IFS=$as_save_IFS
2148   test -z "$as_dir" && as_dir=.
2149   for ac_exec_ext in '' $ac_executable_extensions; do
2150   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2151     ac_cv_prog_ac_ct_STRIP="strip"
2152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2153     break 2
2154   fi
2155 done
2156 done
2157
2158   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2159 fi
2160 fi
2161 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2162 if test -n "$ac_ct_STRIP"; then
2163   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2164 echo "${ECHO_T}$ac_ct_STRIP" >&6
2165 else
2166   echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6
2168 fi
2169
2170   STRIP=$ac_ct_STRIP
2171 else
2172   STRIP="$ac_cv_prog_STRIP"
2173 fi
2174
2175 fi
2176 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2177
2178 # We need awk for the "check" target.  The system "awk" is bad on
2179 # some platforms.
2180 # Always define AMTAR for backward compatibility.
2181
2182 AMTAR=${AMTAR-"${am_missing_run}tar"}
2183
2184 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2196 # up critical shell variables.
2197
2198 ac_ext=c
2199 ac_cpp='$CPP $CPPFLAGS'
2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2204 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2205 # On Suns, sometimes $CPP names a directory.
2206 if test -n "$CPP" && test -d "$CPP"; then
2207   CPP=
2208 fi
2209 if test -z "$CPP"; then
2210   if test "${ac_cv_prog_CPP+set}" = set; then
2211   echo $ECHO_N "(cached) $ECHO_C" >&6
2212 else
2213       # Double quotes because CPP needs to be expanded
2214     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2215     do
2216       ac_preproc_ok=false
2217 for ac_c_preproc_warn_flag in '' yes
2218 do
2219   # Use a header file that comes with gcc, so configuring glibc
2220   # with a fresh cross-compiler works.
2221   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2222   # <limits.h> exists even on freestanding compilers.
2223   # On the NeXT, cc -E runs the code through the compiler's parser,
2224   # not just through cpp. "Syntax error" is here to catch this case.
2225   cat >conftest.$ac_ext <<_ACEOF
2226 /* confdefs.h.  */
2227 _ACEOF
2228 cat confdefs.h >>conftest.$ac_ext
2229 cat >>conftest.$ac_ext <<_ACEOF
2230 /* end confdefs.h.  */
2231 #ifdef __STDC__
2232 # include <limits.h>
2233 #else
2234 # include <assert.h>
2235 #endif
2236                      Syntax error
2237 _ACEOF
2238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2239   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2240   ac_status=$?
2241   grep -v '^ *+' conftest.er1 >conftest.err
2242   rm -f conftest.er1
2243   cat conftest.err >&5
2244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2245   (exit $ac_status); } >/dev/null; then
2246   if test -s conftest.err; then
2247     ac_cpp_err=$ac_c_preproc_warn_flag
2248     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2249   else
2250     ac_cpp_err=
2251   fi
2252 else
2253   ac_cpp_err=yes
2254 fi
2255 if test -z "$ac_cpp_err"; then
2256   :
2257 else
2258   echo "$as_me: failed program was:" >&5
2259 sed 's/^/| /' conftest.$ac_ext >&5
2260
2261   # Broken: fails on valid input.
2262 continue
2263 fi
2264 rm -f conftest.err conftest.$ac_ext
2265
2266   # OK, works on sane cases.  Now check whether non-existent headers
2267   # can be detected and how.
2268   cat >conftest.$ac_ext <<_ACEOF
2269 /* confdefs.h.  */
2270 _ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h.  */
2274 #include <ac_nonexistent.h>
2275 _ACEOF
2276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2277   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2278   ac_status=$?
2279   grep -v '^ *+' conftest.er1 >conftest.err
2280   rm -f conftest.er1
2281   cat conftest.err >&5
2282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283   (exit $ac_status); } >/dev/null; then
2284   if test -s conftest.err; then
2285     ac_cpp_err=$ac_c_preproc_warn_flag
2286     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2287   else
2288     ac_cpp_err=
2289   fi
2290 else
2291   ac_cpp_err=yes
2292 fi
2293 if test -z "$ac_cpp_err"; then
2294   # Broken: success on invalid input.
2295 continue
2296 else
2297   echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.$ac_ext >&5
2299
2300   # Passes both tests.
2301 ac_preproc_ok=:
2302 break
2303 fi
2304 rm -f conftest.err conftest.$ac_ext
2305
2306 done
2307 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2308 rm -f conftest.err conftest.$ac_ext
2309 if $ac_preproc_ok; then
2310   break
2311 fi
2312
2313     done
2314     ac_cv_prog_CPP=$CPP
2315
2316 fi
2317   CPP=$ac_cv_prog_CPP
2318 else
2319   ac_cv_prog_CPP=$CPP
2320 fi
2321 echo "$as_me:$LINENO: result: $CPP" >&5
2322 echo "${ECHO_T}$CPP" >&6
2323 ac_preproc_ok=false
2324 for ac_c_preproc_warn_flag in '' yes
2325 do
2326   # Use a header file that comes with gcc, so configuring glibc
2327   # with a fresh cross-compiler works.
2328   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2329   # <limits.h> exists even on freestanding compilers.
2330   # On the NeXT, cc -E runs the code through the compiler's parser,
2331   # not just through cpp. "Syntax error" is here to catch this case.
2332   cat >conftest.$ac_ext <<_ACEOF
2333 /* confdefs.h.  */
2334 _ACEOF
2335 cat confdefs.h >>conftest.$ac_ext
2336 cat >>conftest.$ac_ext <<_ACEOF
2337 /* end confdefs.h.  */
2338 #ifdef __STDC__
2339 # include <limits.h>
2340 #else
2341 # include <assert.h>
2342 #endif
2343                      Syntax error
2344 _ACEOF
2345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2346   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2347   ac_status=$?
2348   grep -v '^ *+' conftest.er1 >conftest.err
2349   rm -f conftest.er1
2350   cat conftest.err >&5
2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352   (exit $ac_status); } >/dev/null; then
2353   if test -s conftest.err; then
2354     ac_cpp_err=$ac_c_preproc_warn_flag
2355     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2356   else
2357     ac_cpp_err=
2358   fi
2359 else
2360   ac_cpp_err=yes
2361 fi
2362 if test -z "$ac_cpp_err"; then
2363   :
2364 else
2365   echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2367
2368   # Broken: fails on valid input.
2369 continue
2370 fi
2371 rm -f conftest.err conftest.$ac_ext
2372
2373   # OK, works on sane cases.  Now check whether non-existent headers
2374   # can be detected and how.
2375   cat >conftest.$ac_ext <<_ACEOF
2376 /* confdefs.h.  */
2377 _ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h.  */
2381 #include <ac_nonexistent.h>
2382 _ACEOF
2383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2384   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2385   ac_status=$?
2386   grep -v '^ *+' conftest.er1 >conftest.err
2387   rm -f conftest.er1
2388   cat conftest.err >&5
2389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390   (exit $ac_status); } >/dev/null; then
2391   if test -s conftest.err; then
2392     ac_cpp_err=$ac_c_preproc_warn_flag
2393     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2394   else
2395     ac_cpp_err=
2396   fi
2397 else
2398   ac_cpp_err=yes
2399 fi
2400 if test -z "$ac_cpp_err"; then
2401   # Broken: success on invalid input.
2402 continue
2403 else
2404   echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2406
2407   # Passes both tests.
2408 ac_preproc_ok=:
2409 break
2410 fi
2411 rm -f conftest.err conftest.$ac_ext
2412
2413 done
2414 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2415 rm -f conftest.err conftest.$ac_ext
2416 if $ac_preproc_ok; then
2417   :
2418 else
2419   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2420 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2421 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2424 See \`config.log' for more details." >&2;}
2425    { (exit 1); exit 1; }; }; }
2426 fi
2427
2428 ac_ext=c
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433
2434
2435 echo "$as_me:$LINENO: checking for egrep" >&5
2436 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2437 if test "${ac_cv_prog_egrep+set}" = set; then
2438   echo $ECHO_N "(cached) $ECHO_C" >&6
2439 else
2440   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2441     then ac_cv_prog_egrep='grep -E'
2442     else ac_cv_prog_egrep='egrep'
2443     fi
2444 fi
2445 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2446 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2447  EGREP=$ac_cv_prog_egrep
2448
2449
2450
2451   # Keep these sync'd with the list in Makefile.am.  The first provides an
2452   # expandable list at autoconf time; the second provides an expandable list
2453   # (i.e., shell variable) at configure time.
2454
2455   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2456
2457   # These need to be absolute paths, yet at the same time need to
2458   # canonicalize only relative paths, because then amd will not unmount
2459   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2460   glibcxx_builddir=`${PWDCMD-pwd}`
2461   case $srcdir in
2462     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2463     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2464   esac
2465   toplevel_srcdir=${glibcxx_srcdir}/..
2466
2467
2468
2469
2470   # We use these options to decide which functions to include.  They are
2471   # set from the top level.
2472
2473 # Check whether --with-target-subdir or --without-target-subdir was given.
2474 if test "${with_target_subdir+set}" = set; then
2475   withval="$with_target_subdir"
2476
2477 fi;
2478
2479
2480 # Check whether --with-cross-host or --without-cross-host was given.
2481 if test "${with_cross_host+set}" = set; then
2482   withval="$with_cross_host"
2483
2484 fi;
2485
2486
2487 # Check whether --with-newlib or --without-newlib was given.
2488 if test "${with_newlib+set}" = set; then
2489   withval="$with_newlib"
2490
2491 fi;
2492
2493   # We're almost certainly being configured before anything else which uses
2494   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2495   # we not cache the value of CXX that we "discover" here, because it's set
2496   # to something unique for us and libjava.  Other target libraries need to
2497   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2498   # process by sneakily renaming the cache variable.  This also lets us debug
2499   # the value of "our" CXX in postmortems.
2500   #
2501   # We must also force CXX to /not/ be a precious variable, otherwise the
2502   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2503   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2504   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2505   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2506   #
2507   # -fno-builtin must be present here so that a non-conflicting form of
2508   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2509
2510
2511
2512
2513   save_CXXFLAGS="$CXXFLAGS"
2514   CXXFLAGS="$CXXFLAGS -fno-builtin"
2515   ac_ext=c
2516 ac_cpp='$CPP $CPPFLAGS'
2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2520 if test -n "$ac_tool_prefix"; then
2521   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2522 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2523 echo "$as_me:$LINENO: checking for $ac_word" >&5
2524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2525 if test "${ac_cv_prog_CC+set}" = set; then
2526   echo $ECHO_N "(cached) $ECHO_C" >&6
2527 else
2528   if test -n "$CC"; then
2529   ac_cv_prog_CC="$CC" # Let the user override the test.
2530 else
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532 for as_dir in $PATH
2533 do
2534   IFS=$as_save_IFS
2535   test -z "$as_dir" && as_dir=.
2536   for ac_exec_ext in '' $ac_executable_extensions; do
2537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2538     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540     break 2
2541   fi
2542 done
2543 done
2544
2545 fi
2546 fi
2547 CC=$ac_cv_prog_CC
2548 if test -n "$CC"; then
2549   echo "$as_me:$LINENO: result: $CC" >&5
2550 echo "${ECHO_T}$CC" >&6
2551 else
2552   echo "$as_me:$LINENO: result: no" >&5
2553 echo "${ECHO_T}no" >&6
2554 fi
2555
2556 fi
2557 if test -z "$ac_cv_prog_CC"; then
2558   ac_ct_CC=$CC
2559   # Extract the first word of "gcc", so it can be a program name with args.
2560 set dummy gcc; ac_word=$2
2561 echo "$as_me:$LINENO: checking for $ac_word" >&5
2562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2564   echo $ECHO_N "(cached) $ECHO_C" >&6
2565 else
2566   if test -n "$ac_ct_CC"; then
2567   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2568 else
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 for as_dir in $PATH
2571 do
2572   IFS=$as_save_IFS
2573   test -z "$as_dir" && as_dir=.
2574   for ac_exec_ext in '' $ac_executable_extensions; do
2575   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2576     ac_cv_prog_ac_ct_CC="gcc"
2577     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2578     break 2
2579   fi
2580 done
2581 done
2582
2583 fi
2584 fi
2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2586 if test -n "$ac_ct_CC"; then
2587   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2588 echo "${ECHO_T}$ac_ct_CC" >&6
2589 else
2590   echo "$as_me:$LINENO: result: no" >&5
2591 echo "${ECHO_T}no" >&6
2592 fi
2593
2594   CC=$ac_ct_CC
2595 else
2596   CC="$ac_cv_prog_CC"
2597 fi
2598
2599 if test -z "$CC"; then
2600   if test -n "$ac_tool_prefix"; then
2601   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2602 set dummy ${ac_tool_prefix}cc; ac_word=$2
2603 echo "$as_me:$LINENO: checking for $ac_word" >&5
2604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2605 if test "${ac_cv_prog_CC+set}" = set; then
2606   echo $ECHO_N "(cached) $ECHO_C" >&6
2607 else
2608   if test -n "$CC"; then
2609   ac_cv_prog_CC="$CC" # Let the user override the test.
2610 else
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 for as_dir in $PATH
2613 do
2614   IFS=$as_save_IFS
2615   test -z "$as_dir" && as_dir=.
2616   for ac_exec_ext in '' $ac_executable_extensions; do
2617   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2618     ac_cv_prog_CC="${ac_tool_prefix}cc"
2619     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620     break 2
2621   fi
2622 done
2623 done
2624
2625 fi
2626 fi
2627 CC=$ac_cv_prog_CC
2628 if test -n "$CC"; then
2629   echo "$as_me:$LINENO: result: $CC" >&5
2630 echo "${ECHO_T}$CC" >&6
2631 else
2632   echo "$as_me:$LINENO: result: no" >&5
2633 echo "${ECHO_T}no" >&6
2634 fi
2635
2636 fi
2637 if test -z "$ac_cv_prog_CC"; then
2638   ac_ct_CC=$CC
2639   # Extract the first word of "cc", so it can be a program name with args.
2640 set dummy cc; ac_word=$2
2641 echo "$as_me:$LINENO: checking for $ac_word" >&5
2642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2644   echo $ECHO_N "(cached) $ECHO_C" >&6
2645 else
2646   if test -n "$ac_ct_CC"; then
2647   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2648 else
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2651 do
2652   IFS=$as_save_IFS
2653   test -z "$as_dir" && as_dir=.
2654   for ac_exec_ext in '' $ac_executable_extensions; do
2655   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2656     ac_cv_prog_ac_ct_CC="cc"
2657     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2658     break 2
2659   fi
2660 done
2661 done
2662
2663 fi
2664 fi
2665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2666 if test -n "$ac_ct_CC"; then
2667   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2668 echo "${ECHO_T}$ac_ct_CC" >&6
2669 else
2670   echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2672 fi
2673
2674   CC=$ac_ct_CC
2675 else
2676   CC="$ac_cv_prog_CC"
2677 fi
2678
2679 fi
2680 if test -z "$CC"; then
2681   # Extract the first word of "cc", so it can be a program name with args.
2682 set dummy cc; ac_word=$2
2683 echo "$as_me:$LINENO: checking for $ac_word" >&5
2684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2685 if test "${ac_cv_prog_CC+set}" = set; then
2686   echo $ECHO_N "(cached) $ECHO_C" >&6
2687 else
2688   if test -n "$CC"; then
2689   ac_cv_prog_CC="$CC" # Let the user override the test.
2690 else
2691   ac_prog_rejected=no
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2694 do
2695   IFS=$as_save_IFS
2696   test -z "$as_dir" && as_dir=.
2697   for ac_exec_ext in '' $ac_executable_extensions; do
2698   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2699     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2700        ac_prog_rejected=yes
2701        continue
2702      fi
2703     ac_cv_prog_CC="cc"
2704     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705     break 2
2706   fi
2707 done
2708 done
2709
2710 if test $ac_prog_rejected = yes; then
2711   # We found a bogon in the path, so make sure we never use it.
2712   set dummy $ac_cv_prog_CC
2713   shift
2714   if test $# != 0; then
2715     # We chose a different compiler from the bogus one.
2716     # However, it has the same basename, so the bogon will be chosen
2717     # first if we set CC to just the basename; use the full file name.
2718     shift
2719     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2720   fi
2721 fi
2722 fi
2723 fi
2724 CC=$ac_cv_prog_CC
2725 if test -n "$CC"; then
2726   echo "$as_me:$LINENO: result: $CC" >&5
2727 echo "${ECHO_T}$CC" >&6
2728 else
2729   echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2731 fi
2732
2733 fi
2734 if test -z "$CC"; then
2735   if test -n "$ac_tool_prefix"; then
2736   for ac_prog in cl
2737   do
2738     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2740 echo "$as_me:$LINENO: checking for $ac_word" >&5
2741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742 if test "${ac_cv_prog_CC+set}" = set; then
2743   echo $ECHO_N "(cached) $ECHO_C" >&6
2744 else
2745   if test -n "$CC"; then
2746   ac_cv_prog_CC="$CC" # Let the user override the test.
2747 else
2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2750 do
2751   IFS=$as_save_IFS
2752   test -z "$as_dir" && as_dir=.
2753   for ac_exec_ext in '' $ac_executable_extensions; do
2754   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2756     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757     break 2
2758   fi
2759 done
2760 done
2761
2762 fi
2763 fi
2764 CC=$ac_cv_prog_CC
2765 if test -n "$CC"; then
2766   echo "$as_me:$LINENO: result: $CC" >&5
2767 echo "${ECHO_T}$CC" >&6
2768 else
2769   echo "$as_me:$LINENO: result: no" >&5
2770 echo "${ECHO_T}no" >&6
2771 fi
2772
2773     test -n "$CC" && break
2774   done
2775 fi
2776 if test -z "$CC"; then
2777   ac_ct_CC=$CC
2778   for ac_prog in cl
2779 do
2780   # Extract the first word of "$ac_prog", so it can be a program name with args.
2781 set dummy $ac_prog; ac_word=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2785   echo $ECHO_N "(cached) $ECHO_C" >&6
2786 else
2787   if test -n "$ac_ct_CC"; then
2788   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2789 else
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2792 do
2793   IFS=$as_save_IFS
2794   test -z "$as_dir" && as_dir=.
2795   for ac_exec_ext in '' $ac_executable_extensions; do
2796   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797     ac_cv_prog_ac_ct_CC="$ac_prog"
2798     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2799     break 2
2800   fi
2801 done
2802 done
2803
2804 fi
2805 fi
2806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2807 if test -n "$ac_ct_CC"; then
2808   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2809 echo "${ECHO_T}$ac_ct_CC" >&6
2810 else
2811   echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2813 fi
2814
2815   test -n "$ac_ct_CC" && break
2816 done
2817
2818   CC=$ac_ct_CC
2819 fi
2820
2821 fi
2822
2823
2824 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2825 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&5
2828 echo "$as_me: error: no acceptable C compiler found in \$PATH
2829 See \`config.log' for more details." >&2;}
2830    { (exit 1); exit 1; }; }; }
2831
2832 # Provide some information about the compiler.
2833 echo "$as_me:$LINENO:" \
2834      "checking for C compiler version" >&5
2835 ac_compiler=`set X $ac_compile; echo $2`
2836 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2837   (eval $ac_compiler --version </dev/null >&5) 2>&5
2838   ac_status=$?
2839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840   (exit $ac_status); }
2841 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2842   (eval $ac_compiler -v </dev/null >&5) 2>&5
2843   ac_status=$?
2844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845   (exit $ac_status); }
2846 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2847   (eval $ac_compiler -V </dev/null >&5) 2>&5
2848   ac_status=$?
2849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850   (exit $ac_status); }
2851
2852 cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h.  */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h.  */
2858
2859 int
2860 main ()
2861 {
2862
2863   ;
2864   return 0;
2865 }
2866 _ACEOF
2867 # FIXME: Cleanup?
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869   (eval $ac_link) 2>&5
2870   ac_status=$?
2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872   (exit $ac_status); }; then
2873   gcc_no_link=no
2874 else
2875   gcc_no_link=yes
2876 fi
2877
2878 if test x$gcc_no_link = xyes; then
2879   # Setting cross_compile will disable run tests; it will
2880   # also disable AC_CHECK_FILE but that's generally
2881   # correct if we can't link.
2882   cross_compiling=yes
2883   EXEEXT=
2884 else
2885   cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h.  */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h.  */
2891
2892 int
2893 main ()
2894 {
2895
2896   ;
2897   return 0;
2898 }
2899 _ACEOF
2900 ac_clean_files_save=$ac_clean_files
2901 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2902 # Try to create an executable without -o first, disregard a.out.
2903 # It will help us diagnose broken compilers, and finding out an intuition
2904 # of exeext.
2905 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2906 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2907 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2908 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2909   (eval $ac_link_default) 2>&5
2910   ac_status=$?
2911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912   (exit $ac_status); }; then
2913   # Find the output, starting from the most likely.  This scheme is
2914 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2915 # resort.
2916
2917 # Be careful to initialize this variable, since it used to be cached.
2918 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2919 ac_cv_exeext=
2920 # b.out is created by i960 compilers.
2921 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2922 do
2923   test -f "$ac_file" || continue
2924   case $ac_file in
2925     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2926         ;;
2927     conftest.$ac_ext )
2928         # This is the source file.
2929         ;;
2930     [ab].out )
2931         # We found the default executable, but exeext='' is most
2932         # certainly right.
2933         break;;
2934     *.* )
2935         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2936         # FIXME: I believe we export ac_cv_exeext for Libtool,
2937         # but it would be cool to find out if it's true.  Does anybody
2938         # maintain Libtool? --akim.
2939         export ac_cv_exeext
2940         break;;
2941     * )
2942         break;;
2943   esac
2944 done
2945 else
2946   echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2948
2949 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2950 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2951 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&5
2953 echo "$as_me: error: C compiler cannot create executables
2954 See \`config.log' for more details." >&2;}
2955    { (exit 77); exit 77; }; }; }
2956 fi
2957
2958 ac_exeext=$ac_cv_exeext
2959 echo "$as_me:$LINENO: result: $ac_file" >&5
2960 echo "${ECHO_T}$ac_file" >&6
2961
2962 # Check the compiler produces executables we can run.  If not, either
2963 # the compiler is broken, or we cross compile.
2964 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2965 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2966 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2967 # If not cross compiling, check that we can run a simple program.
2968 if test "$cross_compiling" != yes; then
2969   if { ac_try='./$ac_file'
2970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971   (eval $ac_try) 2>&5
2972   ac_status=$?
2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); }; }; then
2975     cross_compiling=no
2976   else
2977     if test "$cross_compiling" = maybe; then
2978         cross_compiling=yes
2979     else
2980         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2981 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2982 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2983 If you meant to cross compile, use \`--host'.
2984 See \`config.log' for more details." >&5
2985 echo "$as_me: error: cannot run C compiled programs.
2986 If you meant to cross compile, use \`--host'.
2987 See \`config.log' for more details." >&2;}
2988    { (exit 1); exit 1; }; }; }
2989     fi
2990   fi
2991 fi
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994
2995 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2996 ac_clean_files=$ac_clean_files_save
2997 # Check the compiler produces executables we can run.  If not, either
2998 # the compiler is broken, or we cross compile.
2999 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3000 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3001 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3002 echo "${ECHO_T}$cross_compiling" >&6
3003
3004 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3005 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3007   (eval $ac_link) 2>&5
3008   ac_status=$?
3009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010   (exit $ac_status); }; then
3011   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3012 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3013 # work properly (i.e., refer to `conftest.exe'), while it won't with
3014 # `rm'.
3015 for ac_file in conftest.exe conftest conftest.*; do
3016   test -f "$ac_file" || continue
3017   case $ac_file in
3018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3019     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020           export ac_cv_exeext
3021           break;;
3022     * ) break;;
3023   esac
3024 done
3025 else
3026   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3027 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&5
3030 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3031 See \`config.log' for more details." >&2;}
3032    { (exit 1); exit 1; }; }; }
3033 fi
3034
3035 rm -f conftest$ac_cv_exeext
3036 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3037 echo "${ECHO_T}$ac_cv_exeext" >&6
3038
3039 rm -f conftest.$ac_ext
3040 EXEEXT=$ac_cv_exeext
3041 ac_exeext=$EXEEXT
3042 fi
3043 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3044 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3045 if test "${ac_cv_objext+set}" = set; then
3046   echo $ECHO_N "(cached) $ECHO_C" >&6
3047 else
3048   cat >conftest.$ac_ext <<_ACEOF
3049 /* confdefs.h.  */
3050 _ACEOF
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h.  */
3054
3055 int
3056 main ()
3057 {
3058
3059   ;
3060   return 0;
3061 }
3062 _ACEOF
3063 rm -f conftest.o conftest.obj
3064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065   (eval $ac_compile) 2>&5
3066   ac_status=$?
3067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068   (exit $ac_status); }; then
3069   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3070   case $ac_file in
3071     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3072     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3073        break;;
3074   esac
3075 done
3076 else
3077   echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3079
3080 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3082 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&5
3084 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3085 See \`config.log' for more details." >&2;}
3086    { (exit 1); exit 1; }; }; }
3087 fi
3088
3089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3090 fi
3091 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3092 echo "${ECHO_T}$ac_cv_objext" >&6
3093 OBJEXT=$ac_cv_objext
3094 ac_objext=$OBJEXT
3095 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3096 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3097 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3098   echo $ECHO_N "(cached) $ECHO_C" >&6
3099 else
3100   cat >conftest.$ac_ext <<_ACEOF
3101 /* confdefs.h.  */
3102 _ACEOF
3103 cat confdefs.h >>conftest.$ac_ext
3104 cat >>conftest.$ac_ext <<_ACEOF
3105 /* end confdefs.h.  */
3106
3107 int
3108 main ()
3109 {
3110 #ifndef __GNUC__
3111        choke me
3112 #endif
3113
3114   ;
3115   return 0;
3116 }
3117 _ACEOF
3118 rm -f conftest.$ac_objext
3119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120   (eval $ac_compile) 2>conftest.er1
3121   ac_status=$?
3122   grep -v '^ *+' conftest.er1 >conftest.err
3123   rm -f conftest.er1
3124   cat conftest.err >&5
3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126   (exit $ac_status); } &&
3127          { ac_try='test -z "$ac_c_werror_flag"
3128                          || test ! -s conftest.err'
3129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130   (eval $ac_try) 2>&5
3131   ac_status=$?
3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133   (exit $ac_status); }; } &&
3134          { ac_try='test -s conftest.$ac_objext'
3135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136   (eval $ac_try) 2>&5
3137   ac_status=$?
3138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139   (exit $ac_status); }; }; then
3140   ac_compiler_gnu=yes
3141 else
3142   echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3144
3145 ac_compiler_gnu=no
3146 fi
3147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3149
3150 fi
3151 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3152 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3153 GCC=`test $ac_compiler_gnu = yes && echo yes`
3154 ac_test_CFLAGS=${CFLAGS+set}
3155 ac_save_CFLAGS=$CFLAGS
3156 CFLAGS="-g"
3157 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3158 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3159 if test "${ac_cv_prog_cc_g+set}" = set; then
3160   echo $ECHO_N "(cached) $ECHO_C" >&6
3161 else
3162   cat >conftest.$ac_ext <<_ACEOF
3163 /* confdefs.h.  */
3164 _ACEOF
3165 cat confdefs.h >>conftest.$ac_ext
3166 cat >>conftest.$ac_ext <<_ACEOF
3167 /* end confdefs.h.  */
3168
3169 int
3170 main ()
3171 {
3172
3173   ;
3174   return 0;
3175 }
3176 _ACEOF
3177 rm -f conftest.$ac_objext
3178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3179   (eval $ac_compile) 2>conftest.er1
3180   ac_status=$?
3181   grep -v '^ *+' conftest.er1 >conftest.err
3182   rm -f conftest.er1
3183   cat conftest.err >&5
3184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185   (exit $ac_status); } &&
3186          { ac_try='test -z "$ac_c_werror_flag"
3187                          || test ! -s conftest.err'
3188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189   (eval $ac_try) 2>&5
3190   ac_status=$?
3191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192   (exit $ac_status); }; } &&
3193          { ac_try='test -s conftest.$ac_objext'
3194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195   (eval $ac_try) 2>&5
3196   ac_status=$?
3197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198   (exit $ac_status); }; }; then
3199   ac_cv_prog_cc_g=yes
3200 else
3201   echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3203
3204 ac_cv_prog_cc_g=no
3205 fi
3206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3207 fi
3208 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3209 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3210 if test "$ac_test_CFLAGS" = set; then
3211   CFLAGS=$ac_save_CFLAGS
3212 elif test $ac_cv_prog_cc_g = yes; then
3213   if test "$GCC" = yes; then
3214     CFLAGS="-g -O2"
3215   else
3216     CFLAGS="-g"
3217   fi
3218 else
3219   if test "$GCC" = yes; then
3220     CFLAGS="-O2"
3221   else
3222     CFLAGS=
3223   fi
3224 fi
3225 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3226 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3227 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3228   echo $ECHO_N "(cached) $ECHO_C" >&6
3229 else
3230   ac_cv_prog_cc_stdc=no
3231 ac_save_CC=$CC
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h.  */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h.  */
3238 #include <stdarg.h>
3239 #include <stdio.h>
3240 #include <sys/types.h>
3241 #include <sys/stat.h>
3242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3243 struct buf { int x; };
3244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3245 static char *e (p, i)
3246      char **p;
3247      int i;
3248 {
3249   return p[i];
3250 }
3251 static char *f (char * (*g) (char **, int), char **p, ...)
3252 {
3253   char *s;
3254   va_list v;
3255   va_start (v,p);
3256   s = g (p, va_arg (v,int));
3257   va_end (v);
3258   return s;
3259 }
3260
3261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3262    function prototypes and stuff, but not '\xHH' hex character constants.
3263    These don't provoke an error unfortunately, instead are silently treated
3264    as 'x'.  The following induces an error, until -std1 is added to get
3265    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3266    array size at least.  It's necessary to write '\x00'==0 to get something
3267    that's true only with -std1.  */
3268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3269
3270 int test (int i, double x);
3271 struct s1 {int (*f) (int a);};
3272 struct s2 {int (*f) (double a);};
3273 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3274 int argc;
3275 char **argv;
3276 int
3277 main ()
3278 {
3279 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3280   ;
3281   return 0;
3282 }
3283 _ACEOF
3284 # Don't try gcc -ansi; that turns off useful extensions and
3285 # breaks some systems' header files.
3286 # AIX                   -qlanglvl=ansi
3287 # Ultrix and OSF/1      -std1
3288 # HP-UX 10.20 and later -Ae
3289 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3290 # SVR4                  -Xc -D__EXTENSIONS__
3291 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3292 do
3293   CC="$ac_save_CC $ac_arg"
3294   rm -f conftest.$ac_objext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3296   (eval $ac_compile) 2>conftest.er1
3297   ac_status=$?
3298   grep -v '^ *+' conftest.er1 >conftest.err
3299   rm -f conftest.er1
3300   cat conftest.err >&5
3301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302   (exit $ac_status); } &&
3303          { ac_try='test -z "$ac_c_werror_flag"
3304                          || test ! -s conftest.err'
3305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306   (eval $ac_try) 2>&5
3307   ac_status=$?
3308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309   (exit $ac_status); }; } &&
3310          { ac_try='test -s conftest.$ac_objext'
3311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3312   (eval $ac_try) 2>&5
3313   ac_status=$?
3314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315   (exit $ac_status); }; }; then
3316   ac_cv_prog_cc_stdc=$ac_arg
3317 break
3318 else
3319   echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3321
3322 fi
3323 rm -f conftest.err conftest.$ac_objext
3324 done
3325 rm -f conftest.$ac_ext conftest.$ac_objext
3326 CC=$ac_save_CC
3327
3328 fi
3329
3330 case "x$ac_cv_prog_cc_stdc" in
3331   x|xno)
3332     echo "$as_me:$LINENO: result: none needed" >&5
3333 echo "${ECHO_T}none needed" >&6 ;;
3334   *)
3335     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3336 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3337     CC="$CC $ac_cv_prog_cc_stdc" ;;
3338 esac
3339
3340 # Some people use a C++ compiler to compile C.  Since we use `exit',
3341 # in C++ we need to declare it.  In case someone uses the same compiler
3342 # for both compiling C and C++ we need to have the C++ compiler decide
3343 # the declaration of exit, since it's the most demanding environment.
3344 cat >conftest.$ac_ext <<_ACEOF
3345 #ifndef __cplusplus
3346   choke me
3347 #endif
3348 _ACEOF
3349 rm -f conftest.$ac_objext
3350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3351   (eval $ac_compile) 2>conftest.er1
3352   ac_status=$?
3353   grep -v '^ *+' conftest.er1 >conftest.err
3354   rm -f conftest.er1
3355   cat conftest.err >&5
3356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357   (exit $ac_status); } &&
3358          { ac_try='test -z "$ac_c_werror_flag"
3359                          || test ! -s conftest.err'
3360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361   (eval $ac_try) 2>&5
3362   ac_status=$?
3363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364   (exit $ac_status); }; } &&
3365          { ac_try='test -s conftest.$ac_objext'
3366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367   (eval $ac_try) 2>&5
3368   ac_status=$?
3369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370   (exit $ac_status); }; }; then
3371   for ac_declaration in \
3372    '' \
3373    'extern "C" void std::exit (int) throw (); using std::exit;' \
3374    'extern "C" void std::exit (int); using std::exit;' \
3375    'extern "C" void exit (int) throw ();' \
3376    'extern "C" void exit (int);' \
3377    'void exit (int);'
3378 do
3379   cat >conftest.$ac_ext <<_ACEOF
3380 /* confdefs.h.  */
3381 _ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h.  */
3385 $ac_declaration
3386 #include <stdlib.h>
3387 int
3388 main ()
3389 {
3390 exit (42);
3391   ;
3392   return 0;
3393 }
3394 _ACEOF
3395 rm -f conftest.$ac_objext
3396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3397   (eval $ac_compile) 2>conftest.er1
3398   ac_status=$?
3399   grep -v '^ *+' conftest.er1 >conftest.err
3400   rm -f conftest.er1
3401   cat conftest.err >&5
3402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403   (exit $ac_status); } &&
3404          { ac_try='test -z "$ac_c_werror_flag"
3405                          || test ! -s conftest.err'
3406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407   (eval $ac_try) 2>&5
3408   ac_status=$?
3409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410   (exit $ac_status); }; } &&
3411          { ac_try='test -s conftest.$ac_objext'
3412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413   (eval $ac_try) 2>&5
3414   ac_status=$?
3415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416   (exit $ac_status); }; }; then
3417   :
3418 else
3419   echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.$ac_ext >&5
3421
3422 continue
3423 fi
3424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3425   cat >conftest.$ac_ext <<_ACEOF
3426 /* confdefs.h.  */
3427 _ACEOF
3428 cat confdefs.h >>conftest.$ac_ext
3429 cat >>conftest.$ac_ext <<_ACEOF
3430 /* end confdefs.h.  */
3431 $ac_declaration
3432 int
3433 main ()
3434 {
3435 exit (42);
3436   ;
3437   return 0;
3438 }
3439 _ACEOF
3440 rm -f conftest.$ac_objext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3442   (eval $ac_compile) 2>conftest.er1
3443   ac_status=$?
3444   grep -v '^ *+' conftest.er1 >conftest.err
3445   rm -f conftest.er1
3446   cat conftest.err >&5
3447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448   (exit $ac_status); } &&
3449          { ac_try='test -z "$ac_c_werror_flag"
3450                          || test ! -s conftest.err'
3451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452   (eval $ac_try) 2>&5
3453   ac_status=$?
3454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455   (exit $ac_status); }; } &&
3456          { ac_try='test -s conftest.$ac_objext'
3457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458   (eval $ac_try) 2>&5
3459   ac_status=$?
3460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461   (exit $ac_status); }; }; then
3462   break
3463 else
3464   echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.$ac_ext >&5
3466
3467 fi
3468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3469 done
3470 rm -f conftest*
3471 if test -n "$ac_declaration"; then
3472   echo '#ifdef __cplusplus' >>confdefs.h
3473   echo $ac_declaration      >>confdefs.h
3474   echo '#endif'             >>confdefs.h
3475 fi
3476
3477 else
3478   echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3480
3481 fi
3482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3483 ac_ext=c
3484 ac_cpp='$CPP $CPPFLAGS'
3485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3488
3489   ac_ext=cc
3490 ac_cpp='$CXXCPP $CPPFLAGS'
3491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3494 if test -n "$ac_tool_prefix"; then
3495   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3496   do
3497     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3499 echo "$as_me:$LINENO: checking for $ac_word" >&5
3500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3501 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3502   echo $ECHO_N "(cached) $ECHO_C" >&6
3503 else
3504   if test -n "$CXX"; then
3505   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3506 else
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3509 do
3510   IFS=$as_save_IFS
3511   test -z "$as_dir" && as_dir=.
3512   for ac_exec_ext in '' $ac_executable_extensions; do
3513   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3514     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3515     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3516     break 2
3517   fi
3518 done
3519 done
3520
3521 fi
3522 fi
3523 CXX=$glibcxx_cv_prog_CXX
3524 if test -n "$CXX"; then
3525   echo "$as_me:$LINENO: result: $CXX" >&5
3526 echo "${ECHO_T}$CXX" >&6
3527 else
3528   echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3530 fi
3531
3532     test -n "$CXX" && break
3533   done
3534 fi
3535 if test -z "$CXX"; then
3536   ac_ct_CXX=$CXX
3537   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3538 do
3539   # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3544   echo $ECHO_N "(cached) $ECHO_C" >&6
3545 else
3546   if test -n "$ac_ct_CXX"; then
3547   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3551 do
3552   IFS=$as_save_IFS
3553   test -z "$as_dir" && as_dir=.
3554   for ac_exec_ext in '' $ac_executable_extensions; do
3555   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556     ac_cv_prog_ac_ct_CXX="$ac_prog"
3557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558     break 2
3559   fi
3560 done
3561 done
3562
3563 fi
3564 fi
3565 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3566 if test -n "$ac_ct_CXX"; then
3567   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3568 echo "${ECHO_T}$ac_ct_CXX" >&6
3569 else
3570   echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3572 fi
3573
3574   test -n "$ac_ct_CXX" && break
3575 done
3576 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3577
3578   CXX=$ac_ct_CXX
3579 fi
3580
3581
3582 # Provide some information about the compiler.
3583 echo "$as_me:$LINENO:" \
3584      "checking for C++ compiler version" >&5
3585 ac_compiler=`set X $ac_compile; echo $2`
3586 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3587   (eval $ac_compiler --version </dev/null >&5) 2>&5
3588   ac_status=$?
3589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590   (exit $ac_status); }
3591 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3592   (eval $ac_compiler -v </dev/null >&5) 2>&5
3593   ac_status=$?
3594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595   (exit $ac_status); }
3596 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3597   (eval $ac_compiler -V </dev/null >&5) 2>&5
3598   ac_status=$?
3599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600   (exit $ac_status); }
3601
3602 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3603 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3604 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3605   echo $ECHO_N "(cached) $ECHO_C" >&6
3606 else
3607   cat >conftest.$ac_ext <<_ACEOF
3608 /* confdefs.h.  */
3609 _ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h.  */
3613
3614 int
3615 main ()
3616 {
3617 #ifndef __GNUC__
3618        choke me
3619 #endif
3620
3621   ;
3622   return 0;
3623 }
3624 _ACEOF
3625 rm -f conftest.$ac_objext
3626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3627   (eval $ac_compile) 2>conftest.er1
3628   ac_status=$?
3629   grep -v '^ *+' conftest.er1 >conftest.err
3630   rm -f conftest.er1
3631   cat conftest.err >&5
3632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633   (exit $ac_status); } &&
3634          { ac_try='test -z "$ac_cxx_werror_flag"
3635                          || test ! -s conftest.err'
3636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637   (eval $ac_try) 2>&5
3638   ac_status=$?
3639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640   (exit $ac_status); }; } &&
3641          { ac_try='test -s conftest.$ac_objext'
3642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643   (eval $ac_try) 2>&5
3644   ac_status=$?
3645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646   (exit $ac_status); }; }; then
3647   ac_compiler_gnu=yes
3648 else
3649   echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3651
3652 ac_compiler_gnu=no
3653 fi
3654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3655 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3656
3657 fi
3658 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3659 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3660 GXX=`test $ac_compiler_gnu = yes && echo yes`
3661 ac_test_CXXFLAGS=${CXXFLAGS+set}
3662 ac_save_CXXFLAGS=$CXXFLAGS
3663 CXXFLAGS="-g"
3664 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3665 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3666 if test "${ac_cv_prog_cxx_g+set}" = set; then
3667   echo $ECHO_N "(cached) $ECHO_C" >&6
3668 else
3669   cat >conftest.$ac_ext <<_ACEOF
3670 /* confdefs.h.  */
3671 _ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h.  */
3675
3676 int
3677 main ()
3678 {
3679
3680   ;
3681   return 0;
3682 }
3683 _ACEOF
3684 rm -f conftest.$ac_objext
3685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3686   (eval $ac_compile) 2>conftest.er1
3687   ac_status=$?
3688   grep -v '^ *+' conftest.er1 >conftest.err
3689   rm -f conftest.er1
3690   cat conftest.err >&5
3691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692   (exit $ac_status); } &&
3693          { ac_try='test -z "$ac_cxx_werror_flag"
3694                          || test ! -s conftest.err'
3695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696   (eval $ac_try) 2>&5
3697   ac_status=$?
3698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699   (exit $ac_status); }; } &&
3700          { ac_try='test -s conftest.$ac_objext'
3701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702   (eval $ac_try) 2>&5
3703   ac_status=$?
3704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705   (exit $ac_status); }; }; then
3706   ac_cv_prog_cxx_g=yes
3707 else
3708   echo "$as_me: failed program was:" >&5
3709 sed 's/^/| /' conftest.$ac_ext >&5
3710
3711 ac_cv_prog_cxx_g=no
3712 fi
3713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3714 fi
3715 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3716 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3717 if test "$ac_test_CXXFLAGS" = set; then
3718   CXXFLAGS=$ac_save_CXXFLAGS
3719 elif test $ac_cv_prog_cxx_g = yes; then
3720   if test "$GXX" = yes; then
3721     CXXFLAGS="-g -O2"
3722   else
3723     CXXFLAGS="-g"
3724   fi
3725 else
3726   if test "$GXX" = yes; then
3727     CXXFLAGS="-O2"
3728   else
3729     CXXFLAGS=
3730   fi
3731 fi
3732 for ac_declaration in \
3733    '' \
3734    'extern "C" void std::exit (int) throw (); using std::exit;' \
3735    'extern "C" void std::exit (int); using std::exit;' \
3736    'extern "C" void exit (int) throw ();' \
3737    'extern "C" void exit (int);' \
3738    'void exit (int);'
3739 do
3740   cat >conftest.$ac_ext <<_ACEOF
3741 /* confdefs.h.  */
3742 _ACEOF
3743 cat confdefs.h >>conftest.$ac_ext
3744 cat >>conftest.$ac_ext <<_ACEOF
3745 /* end confdefs.h.  */
3746 $ac_declaration
3747 #include <stdlib.h>
3748 int
3749 main ()
3750 {
3751 exit (42);
3752   ;
3753   return 0;
3754 }
3755 _ACEOF
3756 rm -f conftest.$ac_objext
3757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3758   (eval $ac_compile) 2>conftest.er1
3759   ac_status=$?
3760   grep -v '^ *+' conftest.er1 >conftest.err
3761   rm -f conftest.er1
3762   cat conftest.err >&5
3763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764   (exit $ac_status); } &&
3765          { ac_try='test -z "$ac_cxx_werror_flag"
3766                          || test ! -s conftest.err'
3767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768   (eval $ac_try) 2>&5
3769   ac_status=$?
3770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771   (exit $ac_status); }; } &&
3772          { ac_try='test -s conftest.$ac_objext'
3773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774   (eval $ac_try) 2>&5
3775   ac_status=$?
3776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777   (exit $ac_status); }; }; then
3778   :
3779 else
3780   echo "$as_me: failed program was:" >&5
3781 sed 's/^/| /' conftest.$ac_ext >&5
3782
3783 continue
3784 fi
3785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3786   cat >conftest.$ac_ext <<_ACEOF
3787 /* confdefs.h.  */
3788 _ACEOF
3789 cat confdefs.h >>conftest.$ac_ext
3790 cat >>conftest.$ac_ext <<_ACEOF
3791 /* end confdefs.h.  */
3792 $ac_declaration
3793 int
3794 main ()
3795 {
3796 exit (42);
3797   ;
3798   return 0;
3799 }
3800 _ACEOF
3801 rm -f conftest.$ac_objext
3802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803   (eval $ac_compile) 2>conftest.er1
3804   ac_status=$?
3805   grep -v '^ *+' conftest.er1 >conftest.err
3806   rm -f conftest.er1
3807   cat conftest.err >&5
3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809   (exit $ac_status); } &&
3810          { ac_try='test -z "$ac_cxx_werror_flag"
3811                          || test ! -s conftest.err'
3812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813   (eval $ac_try) 2>&5
3814   ac_status=$?
3815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816   (exit $ac_status); }; } &&
3817          { ac_try='test -s conftest.$ac_objext'
3818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819   (eval $ac_try) 2>&5
3820   ac_status=$?
3821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822   (exit $ac_status); }; }; then
3823   break
3824 else
3825   echo "$as_me: failed program was:" >&5
3826 sed 's/^/| /' conftest.$ac_ext >&5
3827
3828 fi
3829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3830 done
3831 rm -f conftest*
3832 if test -n "$ac_declaration"; then
3833   echo '#ifdef __cplusplus' >>confdefs.h
3834   echo $ac_declaration      >>confdefs.h
3835   echo '#endif'             >>confdefs.h
3836 fi
3837
3838 ac_ext=c
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3843
3844   CXXFLAGS="$save_CXXFLAGS"
3845
3846
3847
3848
3849   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3850   # available).  Uncomment the next line to force a particular method.
3851   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3853 LN_S=$as_ln_s
3854 if test "$LN_S" = "ln -s"; then
3855   echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3859 echo "${ECHO_T}no, using $LN_S" >&6
3860 fi
3861
3862   #LN_S='cp -p'
3863
3864   if test -n "$ac_tool_prefix"; then
3865   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3866 set dummy ${ac_tool_prefix}as; ac_word=$2
3867 echo "$as_me:$LINENO: checking for $ac_word" >&5
3868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869 if test "${ac_cv_prog_AS+set}" = set; then
3870   echo $ECHO_N "(cached) $ECHO_C" >&6
3871 else
3872   if test -n "$AS"; then
3873   ac_cv_prog_AS="$AS" # Let the user override the test.
3874 else
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH
3877 do
3878   IFS=$as_save_IFS
3879   test -z "$as_dir" && as_dir=.
3880   for ac_exec_ext in '' $ac_executable_extensions; do
3881   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882     ac_cv_prog_AS="${ac_tool_prefix}as"
3883     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884     break 2
3885   fi
3886 done
3887 done
3888
3889 fi
3890 fi
3891 AS=$ac_cv_prog_AS
3892 if test -n "$AS"; then
3893   echo "$as_me:$LINENO: result: $AS" >&5
3894 echo "${ECHO_T}$AS" >&6
3895 else
3896   echo "$as_me:$LINENO: result: no" >&5
3897 echo "${ECHO_T}no" >&6
3898 fi
3899
3900 fi
3901 if test -z "$ac_cv_prog_AS"; then
3902   ac_ct_AS=$AS
3903   # Extract the first word of "as", so it can be a program name with args.
3904 set dummy as; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3908   echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910   if test -n "$ac_ct_AS"; then
3911   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3915 do
3916   IFS=$as_save_IFS
3917   test -z "$as_dir" && as_dir=.
3918   for ac_exec_ext in '' $ac_executable_extensions; do
3919   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920     ac_cv_prog_ac_ct_AS="as"
3921     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922     break 2
3923   fi
3924 done
3925 done
3926
3927 fi
3928 fi
3929 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3930 if test -n "$ac_ct_AS"; then
3931   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3932 echo "${ECHO_T}$ac_ct_AS" >&6
3933 else
3934   echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3936 fi
3937
3938   AS=$ac_ct_AS
3939 else
3940   AS="$ac_cv_prog_AS"
3941 fi
3942
3943   if test -n "$ac_tool_prefix"; then
3944   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3945 set dummy ${ac_tool_prefix}ar; ac_word=$2
3946 echo "$as_me:$LINENO: checking for $ac_word" >&5
3947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3948 if test "${ac_cv_prog_AR+set}" = set; then
3949   echo $ECHO_N "(cached) $ECHO_C" >&6
3950 else
3951   if test -n "$AR"; then
3952   ac_cv_prog_AR="$AR" # Let the user override the test.
3953 else
3954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3955 for as_dir in $PATH
3956 do
3957   IFS=$as_save_IFS
3958   test -z "$as_dir" && as_dir=.
3959   for ac_exec_ext in '' $ac_executable_extensions; do
3960   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3961     ac_cv_prog_AR="${ac_tool_prefix}ar"
3962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963     break 2
3964   fi
3965 done
3966 done
3967
3968 fi
3969 fi
3970 AR=$ac_cv_prog_AR
3971 if test -n "$AR"; then
3972   echo "$as_me:$LINENO: result: $AR" >&5
3973 echo "${ECHO_T}$AR" >&6
3974 else
3975   echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3977 fi
3978
3979 fi
3980 if test -z "$ac_cv_prog_AR"; then
3981   ac_ct_AR=$AR
3982   # Extract the first word of "ar", so it can be a program name with args.
3983 set dummy ar; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3987   echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989   if test -n "$ac_ct_AR"; then
3990   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3994 do
3995   IFS=$as_save_IFS
3996   test -z "$as_dir" && as_dir=.
3997   for ac_exec_ext in '' $ac_executable_extensions; do
3998   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999     ac_cv_prog_ac_ct_AR="ar"
4000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001     break 2
4002   fi
4003 done
4004 done
4005
4006 fi
4007 fi
4008 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4009 if test -n "$ac_ct_AR"; then
4010   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4011 echo "${ECHO_T}$ac_ct_AR" >&6
4012 else
4013   echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017   AR=$ac_ct_AR
4018 else
4019   AR="$ac_cv_prog_AR"
4020 fi
4021
4022   if test -n "$ac_tool_prefix"; then
4023   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4024 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4025 echo "$as_me:$LINENO: checking for $ac_word" >&5
4026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4027 if test "${ac_cv_prog_RANLIB+set}" = set; then
4028   echo $ECHO_N "(cached) $ECHO_C" >&6
4029 else
4030   if test -n "$RANLIB"; then
4031   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4035 do
4036   IFS=$as_save_IFS
4037   test -z "$as_dir" && as_dir=.
4038   for ac_exec_ext in '' $ac_executable_extensions; do
4039   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4041     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4042     break 2
4043   fi
4044 done
4045 done
4046
4047 fi
4048 fi
4049 RANLIB=$ac_cv_prog_RANLIB
4050 if test -n "$RANLIB"; then
4051   echo "$as_me:$LINENO: result: $RANLIB" >&5
4052 echo "${ECHO_T}$RANLIB" >&6
4053 else
4054   echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4056 fi
4057
4058 fi
4059 if test -z "$ac_cv_prog_RANLIB"; then
4060   ac_ct_RANLIB=$RANLIB
4061   # Extract the first word of "ranlib", so it can be a program name with args.
4062 set dummy ranlib; ac_word=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4066   echo $ECHO_N "(cached) $ECHO_C" >&6
4067 else
4068   if test -n "$ac_ct_RANLIB"; then
4069   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4073 do
4074   IFS=$as_save_IFS
4075   test -z "$as_dir" && as_dir=.
4076   for ac_exec_ext in '' $ac_executable_extensions; do
4077   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078     ac_cv_prog_ac_ct_RANLIB="ranlib"
4079     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4080     break 2
4081   fi
4082 done
4083 done
4084
4085   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4086 fi
4087 fi
4088 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4089 if test -n "$ac_ct_RANLIB"; then
4090   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4091 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4092 else
4093   echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4095 fi
4096
4097   RANLIB=$ac_ct_RANLIB
4098 else
4099   RANLIB="$ac_cv_prog_RANLIB"
4100 fi
4101
4102
4103   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4104 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4105     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4106 if test "${enable_maintainer_mode+set}" = set; then
4107   enableval="$enable_maintainer_mode"
4108   USE_MAINTAINER_MODE=$enableval
4109 else
4110   USE_MAINTAINER_MODE=no
4111 fi;
4112   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4113 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4114
4115
4116 if test $USE_MAINTAINER_MODE = yes; then
4117   MAINTAINER_MODE_TRUE=
4118   MAINTAINER_MODE_FALSE='#'
4119 else
4120   MAINTAINER_MODE_TRUE='#'
4121   MAINTAINER_MODE_FALSE=
4122 fi
4123
4124   MAINT=$MAINTAINER_MODE_TRUE
4125
4126
4127
4128   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4129   # which are themselves conditionally expanded.
4130   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4131   ## other macros from doing the same.  This should be automated.)  -pme
4132   need_libmath=no
4133
4134   # Check for uClibc since Linux platforms use different configuration
4135   # directories depending on the C library in use.
4136   cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h.  */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h.  */
4142
4143   #include <stdio.h>
4144   #if __UCLIBC__
4145     _using_uclibc
4146   #endif
4147
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4151   uclibc=yes
4152 else
4153   uclibc=no
4154 fi
4155 rm -f conftest*
4156
4157
4158   # Find platform-specific directories containing configuration info.
4159   # Also possibly modify flags used elsewhere, as needed by the platform.
4160
4161   . $glibcxx_srcdir/configure.host
4162   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4163 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4164   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4165 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4166
4167
4168
4169 if test "x${with_newlib}" != "xyes"; then
4170   enable_dlopen=yes
4171
4172
4173
4174 fi
4175
4176
4177 macro_version='2.1a'
4178 macro_revision='1.2435'
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191 ltmain="$ac_aux_dir/ltmain.sh"
4192
4193 # Set options
4194
4195
4196 enable_win32_dll=no
4197
4198
4199 # Check whether --enable-shared or --disable-shared was given.
4200 if test "${enable_shared+set}" = set; then
4201   enableval="$enable_shared"
4202   p=${PACKAGE-default}
4203     case $enableval in
4204     yes) enable_shared=yes ;;
4205     no) enable_shared=no ;;
4206     *)
4207       enable_shared=no
4208       # Look at the argument we got.  We use all the common list separators.
4209       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210       for pkg in $enableval; do
4211         IFS="$lt_save_ifs"
4212         if test "X$pkg" = "X$p"; then
4213           enable_shared=yes
4214         fi
4215       done
4216       IFS="$lt_save_ifs"
4217       ;;
4218     esac
4219 else
4220   enable_shared=yes
4221 fi;
4222
4223
4224
4225
4226
4227
4228
4229
4230 # Check whether --enable-static or --disable-static was given.
4231 if test "${enable_static+set}" = set; then
4232   enableval="$enable_static"
4233   p=${PACKAGE-default}
4234     case $enableval in
4235     yes) enable_static=yes ;;
4236     no) enable_static=no ;;
4237     *)
4238      enable_static=no
4239       # Look at the argument we got.  We use all the common list separators.
4240       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4241       for pkg in $enableval; do
4242         IFS="$lt_save_ifs"
4243         if test "X$pkg" = "X$p"; then
4244           enable_static=yes
4245         fi
4246       done
4247       IFS="$lt_save_ifs"
4248       ;;
4249     esac
4250 else
4251   enable_static=yes
4252 fi;
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262 # Check whether --with-pic or --without-pic was given.
4263 if test "${with_pic+set}" = set; then
4264   withval="$with_pic"
4265   pic_mode="$withval"
4266 else
4267   pic_mode=default
4268 fi;
4269
4270 test -z "$pic_mode" && pic_mode=default
4271
4272
4273
4274
4275
4276
4277
4278 # Check whether --enable-fast-install or --disable-fast-install was given.
4279 if test "${enable_fast_install+set}" = set; then
4280   enableval="$enable_fast_install"
4281   p=${PACKAGE-default}
4282     case $enableval in
4283     yes) enable_fast_install=yes ;;
4284     no) enable_fast_install=no ;;
4285     *)
4286       enable_fast_install=no
4287       # Look at the argument we got.  We use all the common list separators.
4288       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4289       for pkg in $enableval; do
4290         IFS="$lt_save_ifs"
4291         if test "X$pkg" = "X$p"; then
4292           enable_fast_install=yes
4293         fi
4294       done
4295       IFS="$lt_save_ifs"
4296       ;;
4297     esac
4298 else
4299   enable_fast_install=yes
4300 fi;
4301
4302
4303
4304
4305
4306
4307
4308
4309 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4310 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4311 if test "${lt_cv_path_SED+set}" = set; then
4312   echo $ECHO_N "(cached) $ECHO_C" >&6
4313 else
4314   # Loop through the user's path and test for sed and gsed.
4315 # Then use that list of sed's as ones to test for truncation.
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321   for lt_ac_prog in sed gsed; do
4322     for ac_exec_ext in '' $ac_executable_extensions; do
4323       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4324         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4325       fi
4326     done
4327   done
4328 done
4329 IFS=$as_save_IFS
4330 lt_ac_max=0
4331 lt_ac_count=0
4332 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4333 # along with /bin/sed that truncates output.
4334 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4335   test ! -f $lt_ac_sed && continue
4336   cat /dev/null > conftest.in
4337   lt_ac_count=0
4338   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4339   # Check for GNU sed and select it if it is found.
4340   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4341     lt_cv_path_SED=$lt_ac_sed
4342     break
4343   fi
4344   while true; do
4345     cat conftest.in conftest.in >conftest.tmp
4346     mv conftest.tmp conftest.in
4347     cp conftest.in conftest.nl
4348     echo >>conftest.nl
4349     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4350     cmp -s conftest.out conftest.nl || break
4351     # 10000 chars as input seems more than enough
4352     test $lt_ac_count -gt 10 && break
4353     lt_ac_count=`expr $lt_ac_count + 1`
4354     if test $lt_ac_count -gt $lt_ac_max; then
4355       lt_ac_max=$lt_ac_count
4356       lt_cv_path_SED=$lt_ac_sed
4357     fi
4358   done
4359 done
4360
4361 fi
4362
4363 SED=$lt_cv_path_SED
4364
4365 echo "$as_me:$LINENO: result: $SED" >&5
4366 echo "${ECHO_T}$SED" >&6
4367
4368 test -z "$SED" && SED=sed
4369 Xsed="$SED -e 1s/^X//"
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381 echo "$as_me:$LINENO: checking for fgrep" >&5
4382 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4383 if test "${ac_cv_prog_fgrep+set}" = set; then
4384   echo $ECHO_N "(cached) $ECHO_C" >&6
4385 else
4386   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4387     then ac_cv_prog_fgrep='grep -F'
4388     else ac_cv_prog_fgrep='fgrep'
4389     fi
4390 fi
4391 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4392 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4393  FGREP=$ac_cv_prog_fgrep
4394
4395
4396 test -z "$GREP" && GREP=grep
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4417 if test "${with_gnu_ld+set}" = set; then
4418   withval="$with_gnu_ld"
4419   test "$withval" = no || with_gnu_ld=yes
4420 else
4421   with_gnu_ld=no
4422 fi;
4423 ac_prog=ld
4424 if test "$GCC" = yes; then
4425   # Check if gcc -print-prog-name=ld gives a path.
4426   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4427 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4428   case $host in
4429   *-*-mingw*)
4430     # gcc leaves a trailing carriage return which upsets mingw
4431     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4432   *)
4433     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4434   esac
4435   case $ac_prog in
4436     # Accept absolute paths.
4437     [\\/]* | ?:[\\/]*)
4438       re_direlt='/[^/][^/]*/\.\./'
4439       # Canonicalize the pathname of ld
4440       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4441       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4442         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4443       done
4444       test -z "$LD" && LD="$ac_prog"
4445       ;;
4446   "")
4447     # If it fails, then pretend we aren't using GCC.
4448     ac_prog=ld
4449     ;;
4450   *)
4451     # If it is relative, then search for the first ld in PATH.
4452     with_gnu_ld=unknown
4453     ;;
4454   esac
4455 elif test "$with_gnu_ld" = yes; then
4456   echo "$as_me:$LINENO: checking for GNU ld" >&5
4457 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4458 else
4459   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4460 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4461 fi
4462 if test "${lt_cv_path_LD+set}" = set; then
4463   echo $ECHO_N "(cached) $ECHO_C" >&6
4464 else
4465   if test -z "$LD"; then
4466   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4467   for ac_dir in $PATH; do
4468     IFS="$lt_save_ifs"
4469     test -z "$ac_dir" && ac_dir=.
4470     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4471       lt_cv_path_LD="$ac_dir/$ac_prog"
4472       # Check to see if the program is GNU ld.  I'd rather use --version,
4473       # but apparently some variants of GNU ld only accept -v.
4474       # Break only if it was the GNU/non-GNU ld that we prefer.
4475       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4476       *GNU* | *'with BFD'*)
4477         test "$with_gnu_ld" != no && break
4478         ;;
4479       *)
4480         test "$with_gnu_ld" != yes && break
4481         ;;
4482       esac
4483     fi
4484   done
4485   IFS="$lt_save_ifs"
4486 else
4487   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4488 fi
4489 fi
4490
4491 LD="$lt_cv_path_LD"
4492 if test -n "$LD"; then
4493   echo "$as_me:$LINENO: result: $LD" >&5
4494 echo "${ECHO_T}$LD" >&6
4495 else
4496   echo "$as_me:$LINENO: result: no" >&5
4497 echo "${ECHO_T}no" >&6
4498 fi
4499 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4500 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4501    { (exit 1); exit 1; }; }
4502 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4503 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4504 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4505   echo $ECHO_N "(cached) $ECHO_C" >&6
4506 else
4507   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4508 case `$LD -v 2>&1 </dev/null` in
4509 *GNU* | *'with BFD'*)
4510   lt_cv_prog_gnu_ld=yes
4511   ;;
4512 *)
4513   lt_cv_prog_gnu_ld=no
4514   ;;
4515 esac
4516 fi
4517 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4518 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4519 with_gnu_ld=$lt_cv_prog_gnu_ld
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4531 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4532 if test "${lt_cv_path_NM+set}" = set; then
4533   echo $ECHO_N "(cached) $ECHO_C" >&6
4534 else
4535   if test -n "$NM"; then
4536   # Let the user override the test.
4537   lt_cv_path_NM="$NM"
4538 else
4539   lt_nm_to_check="${ac_tool_prefix}nm"
4540   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4541     lt_nm_to_check="$lt_nm_to_check nm"
4542   fi
4543   for lt_tmp_nm in $lt_nm_to_check; do
4544     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4545     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4546       IFS="$lt_save_ifs"
4547       test -z "$ac_dir" && ac_dir=.
4548       tmp_nm="$ac_dir/$lt_tmp_nm"
4549       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4550         # Check to see if the nm accepts a BSD-compat flag.
4551         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4552         #   nm: unknown option "B" ignored
4553         # Tru64's nm complains that /dev/null is an invalid object file
4554         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4555         */dev/null* | *'Invalid file or object type'*)
4556           lt_cv_path_NM="$tmp_nm -B"
4557           break
4558           ;;
4559         *)
4560           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4561           */dev/null*)
4562             lt_cv_path_NM="$tmp_nm -p"
4563             break
4564             ;;
4565           *)
4566             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4567             continue # so that we can try to find one that supports BSD flags
4568             ;;
4569           esac
4570           ;;
4571         esac
4572       fi
4573     done
4574     IFS="$lt_save_ifs"
4575   done
4576   : ${lt_cv_path_NM=no}
4577 fi
4578 fi
4579 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4580 echo "${ECHO_T}$lt_cv_path_NM" >&6
4581 if test "$lt_cv_path_NM" != "no"; then
4582   NM="$lt_cv_path_NM"
4583 else
4584   # Didn't find any BSD compatible name lister, look for dumpbin.
4585   if test -n "$ac_tool_prefix"; then
4586   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4587   do
4588     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4589 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4590 echo "$as_me:$LINENO: checking for $ac_word" >&5
4591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4592 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4593   echo $ECHO_N "(cached) $ECHO_C" >&6
4594 else
4595   if test -n "$DUMPBIN"; then
4596   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4597 else
4598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH
4600 do
4601   IFS=$as_save_IFS
4602   test -z "$as_dir" && as_dir=.
4603   for ac_exec_ext in '' $ac_executable_extensions; do
4604   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4606     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607     break 2
4608   fi
4609 done
4610 done
4611
4612 fi
4613 fi
4614 DUMPBIN=$ac_cv_prog_DUMPBIN
4615 if test -n "$DUMPBIN"; then
4616   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4617 echo "${ECHO_T}$DUMPBIN" >&6
4618 else
4619   echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4621 fi
4622
4623     test -n "$DUMPBIN" && break
4624   done
4625 fi
4626 if test -z "$DUMPBIN"; then
4627   ac_ct_DUMPBIN=$DUMPBIN
4628   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4629 do
4630   # Extract the first word of "$ac_prog", so it can be a program name with args.
4631 set dummy $ac_prog; ac_word=$2
4632 echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4634 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4635   echo $ECHO_N "(cached) $ECHO_C" >&6
4636 else
4637   if test -n "$ac_ct_DUMPBIN"; then
4638   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4642 do
4643   IFS=$as_save_IFS
4644   test -z "$as_dir" && as_dir=.
4645   for ac_exec_ext in '' $ac_executable_extensions; do
4646   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4647     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4648     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649     break 2
4650   fi
4651 done
4652 done
4653
4654 fi
4655 fi
4656 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4657 if test -n "$ac_ct_DUMPBIN"; then
4658   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4659 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4660 else
4661   echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665   test -n "$ac_ct_DUMPBIN" && break
4666 done
4667 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4668
4669   DUMPBIN=$ac_ct_DUMPBIN
4670 fi
4671
4672
4673   if test "$DUMPBIN" != ":"; then
4674     NM="$DUMPBIN"
4675   fi
4676 fi
4677 test -z "$NM" && NM=nm
4678
4679
4680
4681
4682
4683
4684 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4685 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4686 if test "${lt_cv_nm_interface+set}" = set; then
4687   echo $ECHO_N "(cached) $ECHO_C" >&6
4688 else
4689   lt_cv_nm_interface="BSD nm"
4690   echo "int some_variable = 0;" > conftest.$ac_ext
4691   (eval echo "\"\$as_me:4691: $ac_compile\"" >&5)
4692   (eval "$ac_compile" 2>conftest.err)
4693   cat conftest.err >&5
4694   (eval echo "\"\$as_me:4694: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4695   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4696   cat conftest.err >&5
4697   (eval echo "\"\$as_me:4697: output\"" >&5)
4698   cat conftest.out >&5
4699   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4700     lt_cv_nm_interface="MS dumpbin"
4701   fi
4702   rm -f conftest*
4703 fi
4704 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4705 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4706
4707 # find the maximum length of command line arguments
4708 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4709 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4710 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4711   echo $ECHO_N "(cached) $ECHO_C" >&6
4712 else
4713     i=0
4714   teststring="ABCD"
4715
4716   case $build_os in
4717   msdosdjgpp*)
4718     # On DJGPP, this test can blow up pretty badly due to problems in libc
4719     # (any single argument exceeding 2000 bytes causes a buffer overrun
4720     # during glob expansion).  Even if it were fixed, the result of this
4721     # check would be larger than it should be.
4722     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4723     ;;
4724
4725   gnu*)
4726     # Under GNU Hurd, this test is not required because there is
4727     # no limit to the length of command line arguments.
4728     # Libtool will interpret -1 as no limit whatsoever
4729     lt_cv_sys_max_cmd_len=-1;
4730     ;;
4731
4732   cygwin* | mingw*)
4733     # On Win9x/ME, this test blows up -- it succeeds, but takes
4734     # about 5 minutes as the teststring grows exponentially.
4735     # Worse, since 9x/ME are not pre-emptively multitasking,
4736     # you end up with a "frozen" computer, even though with patience
4737     # the test eventually succeeds (with a max line length of 256k).
4738     # Instead, let's just punt: use the minimum linelength reported by
4739     # all of the supported platforms: 8192 (on NT/2K/XP).
4740     lt_cv_sys_max_cmd_len=8192;
4741     ;;
4742
4743   amigaos*)
4744     # On AmigaOS with pdksh, this test takes hours, literally.
4745     # So we just punt and use a minimum line length of 8192.
4746     lt_cv_sys_max_cmd_len=8192;
4747     ;;
4748
4749   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4750     # This has been around since 386BSD, at least.  Likely further.
4751     if test -x /sbin/sysctl; then
4752       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4753     elif test -x /usr/sbin/sysctl; then
4754       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4755     else
4756       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4757     fi
4758     # And add a safety zone
4759     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4760     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4761     ;;
4762
4763   interix*)
4764     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4765     lt_cv_sys_max_cmd_len=196608
4766     ;;
4767
4768   osf*)
4769     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4770     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4771     # nice to cause kernel panics so lets avoid the loop below.
4772     # First set a reasonable default.
4773     lt_cv_sys_max_cmd_len=16384
4774     #
4775     if test -x /sbin/sysconfig; then
4776       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4777         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4778       esac
4779     fi
4780     ;;
4781   sco3.2v5*)
4782     lt_cv_sys_max_cmd_len=102400
4783     ;;
4784   sysv5* | sco5v6* | sysv4.2uw2*)
4785     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4786     if test -n "$kargmax"; then
4787       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4788     else
4789       lt_cv_sys_max_cmd_len=32768
4790     fi
4791     ;;
4792   *)
4793     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4794     if test -n $lt_cv_sys_max_cmd_len; then
4795       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4796       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4797     else
4798       # Make teststring a little bigger before we do anything with it.
4799       # a 1K string should be a reasonable start.
4800       for i in 1 2 3 4 5 6 7 8 ; do
4801         teststring=$teststring$teststring
4802       done
4803       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4804       # If test is not a shell built-in, we'll probably end up computing a
4805       # maximum length that is only half of the actual maximum length, but
4806       # we can't tell.
4807       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4808                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4809               test $i != 17 # 1/2 MB should be enough
4810       do
4811         i=`expr $i + 1`
4812         teststring=$teststring$teststring
4813       done
4814       # Only check the string length outside the loop.
4815       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4816       teststring=
4817       # Add a significant safety factor because C++ compilers can tack on
4818       # massive amounts of additional arguments before passing them to the
4819       # linker.  It appears as though 1/2 is a usable value.
4820       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4821     fi
4822     ;;
4823   esac
4824
4825 fi
4826
4827 if test -n $lt_cv_sys_max_cmd_len ; then
4828   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4829 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4830 else
4831   echo "$as_me:$LINENO: result: none" >&5
4832 echo "${ECHO_T}none" >&6
4833 fi
4834 max_cmd_len=$lt_cv_sys_max_cmd_len
4835
4836
4837
4838
4839
4840
4841
4842 : ${CP="cp -f"}
4843 : ${MV="mv -f"}
4844 : ${RM="rm -f"}
4845
4846 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4847 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4848 # Try some XSI features
4849 xsi_shell=no
4850 ( _lt_dummy="a/b/c"
4851   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4852       = c,a/b,, ) >/dev/null 2>&1 \
4853   && xsi_shell=yes
4854 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4855 echo "${ECHO_T}$xsi_shell" >&6
4856
4857
4858 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4859 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4860 lt_shell_append=no
4861 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4862     >/dev/null 2>&1 \
4863   && lt_shell_append=yes
4864 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4865 echo "${ECHO_T}$lt_shell_append" >&6
4866
4867
4868 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4869   lt_unset=unset
4870 else
4871   lt_unset=false
4872 fi
4873
4874
4875
4876
4877
4878 # test EBCDIC or ASCII
4879 case `echo X|tr X '\101'` in
4880  A) # ASCII based system
4881     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4882   lt_SP2NL='tr \040 \012'
4883   lt_NL2SP='tr \015\012 \040\040'
4884   ;;
4885  *) # EBCDIC based system
4886   lt_SP2NL='tr \100 \n'
4887   lt_NL2SP='tr \r\n \100\100'
4888   ;;
4889 esac
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4900 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4901 if test "${lt_cv_ld_reload_flag+set}" = set; then
4902   echo $ECHO_N "(cached) $ECHO_C" >&6
4903 else
4904   lt_cv_ld_reload_flag='-r'
4905 fi
4906 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4907 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4908 reload_flag=$lt_cv_ld_reload_flag
4909 case $reload_flag in
4910 "" | " "*) ;;
4911 *) reload_flag=" $reload_flag" ;;
4912 esac
4913 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4914 case $host_os in
4915   darwin*)
4916     if test "$GCC" = yes; then
4917       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4918     else
4919       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4920     fi
4921     ;;
4922 esac
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4934 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4935 if test "${lt_cv_deplibs_check_method+set}" = set; then
4936   echo $ECHO_N "(cached) $ECHO_C" >&6
4937 else
4938   lt_cv_file_magic_cmd='$MAGIC_CMD'
4939 lt_cv_file_magic_test_file=
4940 lt_cv_deplibs_check_method='unknown'
4941 # Need to set the preceding variable on all platforms that support
4942 # interlibrary dependencies.
4943 # 'none' -- dependencies not supported.
4944 # `unknown' -- same as none, but documents that we really don't know.
4945 # 'pass_all' -- all dependencies passed with no checks.
4946 # 'test_compile' -- check by making test program.
4947 # 'file_magic [[regex]]' -- check by looking for files in library path
4948 # which responds to the $file_magic_cmd with a given extended regex.
4949 # If you have `file' or equivalent on your system and you're not sure
4950 # whether `pass_all' will *always* work, you probably want this one.
4951
4952 case $host_os in
4953 aix[4-9]*)
4954   lt_cv_deplibs_check_method=pass_all
4955   ;;
4956
4957 beos*)
4958   lt_cv_deplibs_check_method=pass_all
4959   ;;
4960
4961 bsdi[45]*)
4962   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4963   lt_cv_file_magic_cmd='/usr/bin/file -L'
4964   lt_cv_file_magic_test_file=/shlib/libc.so
4965   ;;
4966
4967 cygwin*)
4968   # func_win32_libid is a shell function defined in ltmain.sh
4969   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4970   lt_cv_file_magic_cmd='func_win32_libid'
4971   ;;
4972
4973 mingw* | pw32*)
4974   # Base MSYS/MinGW do not provide the 'file' command needed by
4975   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4976   # unless we find 'file', for example because we are cross-compiling.
4977   if ( file / ) >/dev/null 2>&1; then
4978     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4979     lt_cv_file_magic_cmd='func_win32_libid'
4980   else
4981     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4982     lt_cv_file_magic_cmd='$OBJDUMP -f'
4983   fi
4984   ;;
4985
4986 darwin* | rhapsody*)
4987   lt_cv_deplibs_check_method=pass_all
4988   ;;
4989
4990 freebsd* | dragonfly*)
4991   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4992     case $host_cpu in
4993     i*86 )
4994       # Not sure whether the presence of OpenBSD here was a mistake.
4995       # Let's accept both of them until this is cleared up.
4996       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4997       lt_cv_file_magic_cmd=/usr/bin/file
4998       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4999       ;;
5000     esac
5001   else
5002     lt_cv_deplibs_check_method=pass_all
5003   fi
5004   ;;
5005
5006 gnu*)
5007   lt_cv_deplibs_check_method=pass_all
5008   ;;
5009
5010 hpux10.20* | hpux11*)
5011   lt_cv_file_magic_cmd=/usr/bin/file
5012   case $host_cpu in
5013   ia64*)
5014     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5015     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5016     ;;
5017   hppa*64*)
5018     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]'
5019     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5020     ;;
5021   *)
5022     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5023     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5024     ;;
5025   esac
5026   ;;
5027
5028 interix[3-9]*)
5029   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5030   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5031   ;;
5032
5033 irix5* | irix6* | nonstopux*)
5034   case $LD in
5035   *-32|*"-32 ") libmagic=32-bit;;
5036   *-n32|*"-n32 ") libmagic=N32;;
5037   *-64|*"-64 ") libmagic=64-bit;;
5038   *) libmagic=never-match;;
5039   esac
5040   lt_cv_deplibs_check_method=pass_all
5041   ;;
5042
5043 # This must be Linux ELF.
5044 linux* | k*bsd*-gnu)
5045   lt_cv_deplibs_check_method=pass_all
5046   ;;
5047
5048 netbsd*)
5049   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5050     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5051   else
5052     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5053   fi
5054   ;;
5055
5056 newos6*)
5057   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5058   lt_cv_file_magic_cmd=/usr/bin/file
5059   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5060   ;;
5061
5062 *nto* | *qnx*)
5063   lt_cv_deplibs_check_method=pass_all
5064   ;;
5065
5066 openbsd*)
5067   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5068     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5069   else
5070     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5071   fi
5072   ;;
5073
5074 osf3* | osf4* | osf5*)
5075   lt_cv_deplibs_check_method=pass_all
5076   ;;
5077
5078 rdos*)
5079   lt_cv_deplibs_check_method=pass_all
5080   ;;
5081
5082 solaris*)
5083   lt_cv_deplibs_check_method=pass_all
5084   ;;
5085
5086 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5087   lt_cv_deplibs_check_method=pass_all
5088   ;;
5089
5090 sysv4 | sysv4.3*)
5091   case $host_vendor in
5092   motorola)
5093     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]'
5094     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5095     ;;
5096   ncr)
5097     lt_cv_deplibs_check_method=pass_all
5098     ;;
5099   sequent)
5100     lt_cv_file_magic_cmd='/bin/file'
5101     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5102     ;;
5103   sni)
5104     lt_cv_file_magic_cmd='/bin/file'
5105     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5106     lt_cv_file_magic_test_file=/lib/libc.so
5107     ;;
5108   siemens)
5109     lt_cv_deplibs_check_method=pass_all
5110     ;;
5111   pc)
5112     lt_cv_deplibs_check_method=pass_all
5113     ;;
5114   esac
5115   ;;
5116
5117 tpf*)
5118   lt_cv_deplibs_check_method=pass_all
5119   ;;
5120 esac
5121
5122 fi
5123 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5124 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5125 file_magic_cmd=$lt_cv_file_magic_cmd
5126 deplibs_check_method=$lt_cv_deplibs_check_method
5127 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140 if test -n "$ac_tool_prefix"; then
5141   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5142 set dummy ${ac_tool_prefix}ar; ac_word=$2
5143 echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145 if test "${ac_cv_prog_AR+set}" = set; then
5146   echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148   if test -n "$AR"; then
5149   ac_cv_prog_AR="$AR" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5153 do
5154   IFS=$as_save_IFS
5155   test -z "$as_dir" && as_dir=.
5156   for ac_exec_ext in '' $ac_executable_extensions; do
5157   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158     ac_cv_prog_AR="${ac_tool_prefix}ar"
5159     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160     break 2
5161   fi
5162 done
5163 done
5164
5165 fi
5166 fi
5167 AR=$ac_cv_prog_AR
5168 if test -n "$AR"; then
5169   echo "$as_me:$LINENO: result: $AR" >&5
5170 echo "${ECHO_T}$AR" >&6
5171 else
5172   echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5174 fi
5175
5176 fi
5177 if test -z "$ac_cv_prog_AR"; then
5178   ac_ct_AR=$AR
5179   # Extract the first word of "ar", so it can be a program name with args.
5180 set dummy ar; ac_word=$2
5181 echo "$as_me:$LINENO: checking for $ac_word" >&5
5182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5183 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5184   echo $ECHO_N "(cached) $ECHO_C" >&6
5185 else
5186   if test -n "$ac_ct_AR"; then
5187   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5191 do
5192   IFS=$as_save_IFS
5193   test -z "$as_dir" && as_dir=.
5194   for ac_exec_ext in '' $ac_executable_extensions; do
5195   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5196     ac_cv_prog_ac_ct_AR="ar"
5197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198     break 2
5199   fi
5200 done
5201 done
5202
5203   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5204 fi
5205 fi
5206 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5207 if test -n "$ac_ct_AR"; then
5208   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5209 echo "${ECHO_T}$ac_ct_AR" >&6
5210 else
5211   echo "$as_me:$LINENO: result: no" >&5
5212 echo "${ECHO_T}no" >&6
5213 fi
5214
5215   AR=$ac_ct_AR
5216 else
5217   AR="$ac_cv_prog_AR"
5218 fi
5219
5220 test -z "$AR" && AR=ar
5221 test -z "$AR_FLAGS" && AR_FLAGS=cru
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233 if test -n "$ac_tool_prefix"; then
5234   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5235 set dummy ${ac_tool_prefix}strip; ac_word=$2
5236 echo "$as_me:$LINENO: checking for $ac_word" >&5
5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5238 if test "${ac_cv_prog_STRIP+set}" = set; then
5239   echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241   if test -n "$STRIP"; then
5242   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5243 else
5244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5245 for as_dir in $PATH
5246 do
5247   IFS=$as_save_IFS
5248   test -z "$as_dir" && as_dir=.
5249   for ac_exec_ext in '' $ac_executable_extensions; do
5250   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5252     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5253     break 2
5254   fi
5255 done
5256 done
5257
5258 fi
5259 fi
5260 STRIP=$ac_cv_prog_STRIP
5261 if test -n "$STRIP"; then
5262   echo "$as_me:$LINENO: result: $STRIP" >&5
5263 echo "${ECHO_T}$STRIP" >&6
5264 else
5265   echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5267 fi
5268
5269 fi
5270 if test -z "$ac_cv_prog_STRIP"; then
5271   ac_ct_STRIP=$STRIP
5272   # Extract the first word of "strip", so it can be a program name with args.
5273 set dummy strip; ac_word=$2
5274 echo "$as_me:$LINENO: checking for $ac_word" >&5
5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5276 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5277   echo $ECHO_N "(cached) $ECHO_C" >&6
5278 else
5279   if test -n "$ac_ct_STRIP"; then
5280   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5281 else
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5283 for as_dir in $PATH
5284 do
5285   IFS=$as_save_IFS
5286   test -z "$as_dir" && as_dir=.
5287   for ac_exec_ext in '' $ac_executable_extensions; do
5288   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289     ac_cv_prog_ac_ct_STRIP="strip"
5290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5291     break 2
5292   fi
5293 done
5294 done
5295
5296   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5297 fi
5298 fi
5299 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5300 if test -n "$ac_ct_STRIP"; then
5301   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5302 echo "${ECHO_T}$ac_ct_STRIP" >&6
5303 else
5304   echo "$as_me:$LINENO: result: no" >&5
5305 echo "${ECHO_T}no" >&6
5306 fi
5307
5308   STRIP=$ac_ct_STRIP
5309 else
5310   STRIP="$ac_cv_prog_STRIP"
5311 fi
5312
5313 test -z "$STRIP" && STRIP=:
5314
5315
5316
5317
5318
5319
5320 if test -n "$ac_tool_prefix"; then
5321   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5323 echo "$as_me:$LINENO: checking for $ac_word" >&5
5324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5325 if test "${ac_cv_prog_RANLIB+set}" = set; then
5326   echo $ECHO_N "(cached) $ECHO_C" >&6
5327 else
5328   if test -n "$RANLIB"; then
5329   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5330 else
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5332 for as_dir in $PATH
5333 do
5334   IFS=$as_save_IFS
5335   test -z "$as_dir" && as_dir=.
5336   for ac_exec_ext in '' $ac_executable_extensions; do
5337   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5338     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5339     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5340     break 2
5341   fi
5342 done
5343 done
5344
5345 fi
5346 fi
5347 RANLIB=$ac_cv_prog_RANLIB
5348 if test -n "$RANLIB"; then
5349   echo "$as_me:$LINENO: result: $RANLIB" >&5
5350 echo "${ECHO_T}$RANLIB" >&6
5351 else
5352   echo "$as_me:$LINENO: result: no" >&5
5353 echo "${ECHO_T}no" >&6
5354 fi
5355
5356 fi
5357 if test -z "$ac_cv_prog_RANLIB"; then
5358   ac_ct_RANLIB=$RANLIB
5359   # Extract the first word of "ranlib", so it can be a program name with args.
5360 set dummy ranlib; ac_word=$2
5361 echo "$as_me:$LINENO: checking for $ac_word" >&5
5362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5363 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5364   echo $ECHO_N "(cached) $ECHO_C" >&6
5365 else
5366   if test -n "$ac_ct_RANLIB"; then
5367   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5371 do
5372   IFS=$as_save_IFS
5373   test -z "$as_dir" && as_dir=.
5374   for ac_exec_ext in '' $ac_executable_extensions; do
5375   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5376     ac_cv_prog_ac_ct_RANLIB="ranlib"
5377     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5378     break 2
5379   fi
5380 done
5381 done
5382
5383   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5384 fi
5385 fi
5386 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5387 if test -n "$ac_ct_RANLIB"; then
5388   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5389 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5390 else
5391   echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5393 fi
5394
5395   RANLIB=$ac_ct_RANLIB
5396 else
5397   RANLIB="$ac_cv_prog_RANLIB"
5398 fi
5399
5400 test -z "$RANLIB" && RANLIB=:
5401
5402
5403
5404
5405
5406
5407 # Determine commands to create old-style static archives.
5408 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5409 old_postinstall_cmds='chmod 644 $oldlib'
5410 old_postuninstall_cmds=
5411
5412 if test -n "$RANLIB"; then
5413   case $host_os in
5414   openbsd*)
5415     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5416     ;;
5417   *)
5418     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5419     ;;
5420   esac
5421   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5422 fi
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
5456
5457 # If no C compiler was specified, use CC.
5458 LTCC=${LTCC-"$CC"}
5459
5460 # If no C compiler flags were specified, use CFLAGS.
5461 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5462
5463 # Allow CC to be a program name with arguments.
5464 compiler=$CC
5465
5466
5467 # Check for command to grab the raw symbol name followed by C symbol from nm.
5468 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5469 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5470 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5471   echo $ECHO_N "(cached) $ECHO_C" >&6
5472 else
5473
5474 # These are sane defaults that work on at least a few old systems.
5475 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5476
5477 # Character class describing NM global symbol codes.
5478 symcode='[BCDEGRST]'
5479
5480 # Regexp to match symbols that can be accessed directly from C.
5481 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5482
5483 # Define system-specific variables.
5484 case $host_os in
5485 aix*)
5486   symcode='[BCDT]'
5487   ;;
5488 cygwin* | mingw* | pw32*)
5489   symcode='[ABCDGISTW]'
5490   ;;
5491 hpux*)
5492   if test "$host_cpu" = ia64; then
5493     symcode='[ABCDEGRST]'
5494   fi
5495   ;;
5496 irix* | nonstopux*)
5497   symcode='[BCDEGRST]'
5498   ;;
5499 osf*)
5500   symcode='[BCDEGQRST]'
5501   ;;
5502 solaris*)
5503   symcode='[BDRT]'
5504   ;;
5505 sco3.2v5*)
5506   symcode='[DT]'
5507   ;;
5508 sysv4.2uw2*)
5509   symcode='[DT]'
5510   ;;
5511 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5512   symcode='[ABDT]'
5513   ;;
5514 sysv4)
5515   symcode='[DFNSTU]'
5516   ;;
5517 esac
5518
5519 # If we're using GNU nm, then use its standard symbol codes.
5520 case `$NM -V 2>&1` in
5521 *GNU* | *'with BFD'*)
5522   symcode='[ABCDGIRSTW]' ;;
5523 esac
5524
5525 # Transform an extracted symbol line into a proper C declaration.
5526 # Some systems (esp. on ia64) link data and code symbols differently,
5527 # so use this general approach.
5528 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5529
5530 # Transform an extracted symbol line into symbol name and symbol address
5531 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5532
5533 # Handle CRLF in mingw tool chain
5534 opt_cr=
5535 case $build_os in
5536 mingw*)
5537   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5538   ;;
5539 esac
5540
5541 # Try without a prefix underscore, then with it.
5542 for ac_symprfx in "" "_"; do
5543
5544   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5545   symxfrm="\\1 $ac_symprfx\\2 \\2"
5546
5547   # Write the raw and C identifiers.
5548   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5549     # Fake it for dumpbin and say T for any non-static function
5550     # and D for any global variable.
5551     # Also find C++ and __fastcall symbols from MSVC++,
5552     # which start with @ or ?.
5553     lt_cv_sys_global_symbol_pipe="$AWK '"\
5554 "     {last_section=section; section=\$ 3};"\
5555 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5556 "     \$ 0!~/External *\|/{next};"\
5557 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5558 "     {if(hide[section]) next};"\
5559 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5560 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5561 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5562 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5563 "     ' prfx=^$ac_symprfx"
5564   else
5565     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5566   fi
5567
5568   # Check to see that the pipe works correctly.
5569   pipe_works=no
5570
5571   rm -f conftest*
5572   cat > conftest.$ac_ext <<_LT_EOF
5573 #ifdef __cplusplus
5574 extern "C" {
5575 #endif
5576 char nm_test_var;
5577 void nm_test_func(void);
5578 void nm_test_func(void){}
5579 #ifdef __cplusplus
5580 }
5581 #endif
5582 int main(){nm_test_var='a';nm_test_func();return(0);}
5583 _LT_EOF
5584
5585   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5586   (eval $ac_compile) 2>&5
5587   ac_status=$?
5588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589   (exit $ac_status); }; then
5590     # Now try to grab the symbols.
5591     nlist=conftest.nm
5592     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5593   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5594   ac_status=$?
5595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596   (exit $ac_status); } && test -s "$nlist"; then
5597       # Try sorting and uniquifying the output.
5598       if sort "$nlist" | uniq > "$nlist"T; then
5599         mv -f "$nlist"T "$nlist"
5600       else
5601         rm -f "$nlist"T
5602       fi
5603
5604       # Make sure that we snagged all the symbols we need.
5605       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5606         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5607           cat <<_LT_EOF > conftest.$ac_ext
5608 #ifdef __cplusplus
5609 extern "C" {
5610 #endif
5611
5612 _LT_EOF
5613           # Now generate the symbol file.
5614           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5615
5616           cat <<_LT_EOF >> conftest.$ac_ext
5617
5618 /* The mapping between symbol names and symbols.  */
5619 const struct {
5620   const char *name;
5621   void       *address;
5622 }
5623 lt__PROGRAM__LTX_preloaded_symbols[] =
5624 {
5625   { "@PROGRAM@", (void *) 0 },
5626 _LT_EOF
5627           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5628           cat <<\_LT_EOF >> conftest.$ac_ext
5629   {0, (void *) 0}
5630 };
5631
5632 /* This works around a problem in FreeBSD linker */
5633 #ifdef FREEBSD_WORKAROUND
5634 static const void *lt_preloaded_setup() {
5635   return lt__PROGRAM__LTX_preloaded_symbols;
5636 }
5637 #endif
5638
5639 #ifdef __cplusplus
5640 }
5641 #endif
5642 _LT_EOF
5643           # Now try linking the two files.
5644           mv conftest.$ac_objext conftstm.$ac_objext
5645           lt_save_LIBS="$LIBS"
5646           lt_save_CFLAGS="$CFLAGS"
5647           LIBS="conftstm.$ac_objext"
5648           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5649           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5650   (eval $ac_link) 2>&5
5651   ac_status=$?
5652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5654             pipe_works=yes
5655           fi
5656           LIBS="$lt_save_LIBS"
5657           CFLAGS="$lt_save_CFLAGS"
5658         else
5659           echo "cannot find nm_test_func in $nlist" >&5
5660         fi
5661       else
5662         echo "cannot find nm_test_var in $nlist" >&5
5663       fi
5664     else
5665       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5666     fi
5667   else
5668     echo "$progname: failed program was:" >&5
5669     cat conftest.$ac_ext >&5
5670   fi
5671   rm -f conftest* conftst*
5672
5673   # Do not use the global_symbol_pipe unless it works.
5674   if test "$pipe_works" = yes; then
5675     break
5676   else
5677     lt_cv_sys_global_symbol_pipe=
5678   fi
5679 done
5680
5681 fi
5682
5683 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5684   lt_cv_sys_global_symbol_to_cdecl=
5685 fi
5686 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5687   echo "$as_me:$LINENO: result: failed" >&5
5688 echo "${ECHO_T}failed" >&6
5689 else
5690   echo "$as_me:$LINENO: result: ok" >&5
5691 echo "${ECHO_T}ok" >&6
5692 fi
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5711 if test "${enable_libtool_lock+set}" = set; then
5712   enableval="$enable_libtool_lock"
5713
5714 fi;
5715 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5716
5717 # Some flags need to be propagated to the compiler or linker for good
5718 # libtool support.
5719 case $host in
5720 ia64-*-hpux*)
5721   # Find out which ABI we are using.
5722   echo 'int i;' > conftest.$ac_ext
5723   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5724   (eval $ac_compile) 2>&5
5725   ac_status=$?
5726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727   (exit $ac_status); }; then
5728     case `/usr/bin/file conftest.$ac_objext` in
5729       *ELF-32*)
5730         HPUX_IA64_MODE="32"
5731         ;;
5732       *ELF-64*)
5733         HPUX_IA64_MODE="64"
5734         ;;
5735     esac
5736   fi
5737   rm -rf conftest*
5738   ;;
5739 *-*-irix6*)
5740   # Find out which ABI we are using.
5741   echo '#line 5741 "configure"' > conftest.$ac_ext
5742   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5743   (eval $ac_compile) 2>&5
5744   ac_status=$?
5745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746   (exit $ac_status); }; then
5747     if test "$lt_cv_prog_gnu_ld" = yes; then
5748       case `/usr/bin/file conftest.$ac_objext` in
5749         *32-bit*)
5750           LD="${LD-ld} -melf32bsmip"
5751           ;;
5752         *N32*)
5753           LD="${LD-ld} -melf32bmipn32"
5754           ;;
5755         *64-bit*)
5756           LD="${LD-ld} -melf64bmip"
5757         ;;
5758       esac
5759     else
5760       case `/usr/bin/file conftest.$ac_objext` in
5761         *32-bit*)
5762           LD="${LD-ld} -32"
5763           ;;
5764         *N32*)
5765           LD="${LD-ld} -n32"
5766           ;;
5767         *64-bit*)
5768           LD="${LD-ld} -64"
5769           ;;
5770       esac
5771     fi
5772   fi
5773   rm -rf conftest*
5774   ;;
5775
5776 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5777 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5778   # Find out which ABI we are using.
5779   echo 'int i;' > conftest.$ac_ext
5780   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5781   (eval $ac_compile) 2>&5
5782   ac_status=$?
5783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784   (exit $ac_status); }; then
5785     case `/usr/bin/file conftest.o` in
5786       *32-bit*)
5787         case $host in
5788           x86_64-*kfreebsd*-gnu)
5789             LD="${LD-ld} -m elf_i386_fbsd"
5790             ;;
5791           x86_64-*linux*)
5792             LD="${LD-ld} -m elf_i386"
5793             ;;
5794           ppc64-*linux*|powerpc64-*linux*)
5795             LD="${LD-ld} -m elf32ppclinux"
5796             ;;
5797           s390x-*linux*)
5798             LD="${LD-ld} -m elf_s390"
5799             ;;
5800           sparc64-*linux*)
5801             LD="${LD-ld} -m elf32_sparc"
5802             ;;
5803         esac
5804         ;;
5805       *64-bit*)
5806         case $host in
5807           x86_64-*kfreebsd*-gnu)
5808             LD="${LD-ld} -m elf_x86_64_fbsd"
5809             ;;
5810           x86_64-*linux*)
5811             LD="${LD-ld} -m elf_x86_64"
5812             ;;
5813           ppc*-*linux*|powerpc*-*linux*)
5814             LD="${LD-ld} -m elf64ppc"
5815             ;;
5816           s390*-*linux*|s390*-*tpf*)
5817             LD="${LD-ld} -m elf64_s390"
5818             ;;
5819           sparc*-*linux*)
5820             LD="${LD-ld} -m elf64_sparc"
5821             ;;
5822         esac
5823         ;;
5824     esac
5825   fi
5826   rm -rf conftest*
5827   ;;
5828
5829 *-*-sco3.2v5*)
5830   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5831   SAVE_CFLAGS="$CFLAGS"
5832   CFLAGS="$CFLAGS -belf"
5833   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5834 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5835 if test "${lt_cv_cc_needs_belf+set}" = set; then
5836   echo $ECHO_N "(cached) $ECHO_C" >&6
5837 else
5838   ac_ext=c
5839 ac_cpp='$CPP $CPPFLAGS'
5840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5843
5844      if test x$gcc_no_link = xyes; then
5845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5847    { (exit 1); exit 1; }; }
5848 fi
5849 cat >conftest.$ac_ext <<_ACEOF
5850 /* confdefs.h.  */
5851 _ACEOF
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h.  */
5855
5856 int
5857 main ()
5858 {
5859
5860   ;
5861   return 0;
5862 }
5863 _ACEOF
5864 rm -f conftest.$ac_objext conftest$ac_exeext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5866   (eval $ac_link) 2>conftest.er1
5867   ac_status=$?
5868   grep -v '^ *+' conftest.er1 >conftest.err
5869   rm -f conftest.er1
5870   cat conftest.err >&5
5871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872   (exit $ac_status); } &&
5873          { ac_try='test -z "$ac_c_werror_flag"
5874                          || test ! -s conftest.err'
5875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876   (eval $ac_try) 2>&5
5877   ac_status=$?
5878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879   (exit $ac_status); }; } &&
5880          { ac_try='test -s conftest$ac_exeext'
5881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5882   (eval $ac_try) 2>&5
5883   ac_status=$?
5884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885   (exit $ac_status); }; }; then
5886   lt_cv_cc_needs_belf=yes
5887 else
5888   echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5890
5891 lt_cv_cc_needs_belf=no
5892 fi
5893 rm -f conftest.err conftest.$ac_objext \
5894       conftest$ac_exeext conftest.$ac_ext
5895      ac_ext=c
5896 ac_cpp='$CPP $CPPFLAGS'
5897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900
5901 fi
5902 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5903 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5904   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5905     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5906     CFLAGS="$SAVE_CFLAGS"
5907   fi
5908   ;;
5909 sparc*-*solaris*)
5910   # Find out which ABI we are using.
5911   echo 'int i;' > conftest.$ac_ext
5912   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913   (eval $ac_compile) 2>&5
5914   ac_status=$?
5915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916   (exit $ac_status); }; then
5917     case `/usr/bin/file conftest.o` in
5918     *64-bit*)
5919       case $lt_cv_prog_gnu_ld in
5920       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5921       *)    LD="${LD-ld} -64" ;;
5922       esac
5923       ;;
5924     esac
5925   fi
5926   rm -rf conftest*
5927   ;;
5928 esac
5929
5930 need_locks="$enable_libtool_lock"
5931
5932 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5933 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5934 if test "${ac_cv_header_stdc+set}" = set; then
5935   echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937   cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h.  */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h.  */
5943 #include <stdlib.h>
5944 #include <stdarg.h>
5945 #include <string.h>
5946 #include <float.h>
5947
5948 int
5949 main ()
5950 {
5951
5952   ;
5953   return 0;
5954 }
5955 _ACEOF
5956 rm -f conftest.$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958   (eval $ac_compile) 2>conftest.er1
5959   ac_status=$?
5960   grep -v '^ *+' conftest.er1 >conftest.err
5961   rm -f conftest.er1
5962   cat conftest.err >&5
5963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964   (exit $ac_status); } &&
5965          { ac_try='test -z "$ac_c_werror_flag"
5966                          || test ! -s conftest.err'
5967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5968   (eval $ac_try) 2>&5
5969   ac_status=$?
5970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971   (exit $ac_status); }; } &&
5972          { ac_try='test -s conftest.$ac_objext'
5973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974   (eval $ac_try) 2>&5
5975   ac_status=$?
5976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977   (exit $ac_status); }; }; then
5978   ac_cv_header_stdc=yes
5979 else
5980   echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.$ac_ext >&5
5982
5983 ac_cv_header_stdc=no
5984 fi
5985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5986
5987 if test $ac_cv_header_stdc = yes; then
5988   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5989   cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h.  */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h.  */
5995 #include <string.h>
5996
5997 _ACEOF
5998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5999   $EGREP "memchr" >/dev/null 2>&1; then
6000   :
6001 else
6002   ac_cv_header_stdc=no
6003 fi
6004 rm -f conftest*
6005
6006 fi
6007
6008 if test $ac_cv_header_stdc = yes; then
6009   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6010   cat >conftest.$ac_ext <<_ACEOF
6011 /* confdefs.h.  */
6012 _ACEOF
6013 cat confdefs.h >>conftest.$ac_ext
6014 cat >>conftest.$ac_ext <<_ACEOF
6015 /* end confdefs.h.  */
6016 #include <stdlib.h>
6017
6018 _ACEOF
6019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6020   $EGREP "free" >/dev/null 2>&1; then
6021   :
6022 else
6023   ac_cv_header_stdc=no
6024 fi
6025 rm -f conftest*
6026
6027 fi
6028
6029 if test $ac_cv_header_stdc = yes; then
6030   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6031   if test "$cross_compiling" = yes; then
6032   :
6033 else
6034   cat >conftest.$ac_ext <<_ACEOF
6035 /* confdefs.h.  */
6036 _ACEOF
6037 cat confdefs.h >>conftest.$ac_ext
6038 cat >>conftest.$ac_ext <<_ACEOF
6039 /* end confdefs.h.  */
6040 #include <ctype.h>
6041 #if ((' ' & 0x0FF) == 0x020)
6042 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6043 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6044 #else
6045 # define ISLOWER(c) \
6046                    (('a' <= (c) && (c) <= 'i') \
6047                      || ('j' <= (c) && (c) <= 'r') \
6048                      || ('s' <= (c) && (c) <= 'z'))
6049 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6050 #endif
6051
6052 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6053 int
6054 main ()
6055 {
6056   int i;
6057   for (i = 0; i < 256; i++)
6058     if (XOR (islower (i), ISLOWER (i))
6059         || toupper (i) != TOUPPER (i))
6060       exit(2);
6061   exit (0);
6062 }
6063 _ACEOF
6064 rm -f conftest$ac_exeext
6065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6066   (eval $ac_link) 2>&5
6067   ac_status=$?
6068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071   (eval $ac_try) 2>&5
6072   ac_status=$?
6073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074   (exit $ac_status); }; }; then
6075   :
6076 else
6077   echo "$as_me: program exited with status $ac_status" >&5
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.$ac_ext >&5
6080
6081 ( exit $ac_status )
6082 ac_cv_header_stdc=no
6083 fi
6084 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6085 fi
6086 fi
6087 fi
6088 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6089 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6090 if test $ac_cv_header_stdc = yes; then
6091
6092 cat >>confdefs.h <<\_ACEOF
6093 #define STDC_HEADERS 1
6094 _ACEOF
6095
6096 fi
6097
6098 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6109                   inttypes.h stdint.h unistd.h
6110 do
6111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6112 echo "$as_me:$LINENO: checking for $ac_header" >&5
6113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6115   echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117   cat >conftest.$ac_ext <<_ACEOF
6118 /* confdefs.h.  */
6119 _ACEOF
6120 cat confdefs.h >>conftest.$ac_ext
6121 cat >>conftest.$ac_ext <<_ACEOF
6122 /* end confdefs.h.  */
6123 $ac_includes_default
6124
6125 #include <$ac_header>
6126 _ACEOF
6127 rm -f conftest.$ac_objext
6128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6129   (eval $ac_compile) 2>conftest.er1
6130   ac_status=$?
6131   grep -v '^ *+' conftest.er1 >conftest.err
6132   rm -f conftest.er1
6133   cat conftest.err >&5
6134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135   (exit $ac_status); } &&
6136          { ac_try='test -z "$ac_c_werror_flag"
6137                          || test ! -s conftest.err'
6138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139   (eval $ac_try) 2>&5
6140   ac_status=$?
6141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142   (exit $ac_status); }; } &&
6143          { ac_try='test -s conftest.$ac_objext'
6144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145   (eval $ac_try) 2>&5
6146   ac_status=$?
6147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148   (exit $ac_status); }; }; then
6149   eval "$as_ac_Header=yes"
6150 else
6151   echo "$as_me: failed program was:" >&5
6152 sed 's/^/| /' conftest.$ac_ext >&5
6153
6154 eval "$as_ac_Header=no"
6155 fi
6156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6157 fi
6158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6161   cat >>confdefs.h <<_ACEOF
6162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6163 _ACEOF
6164
6165 fi
6166
6167 done
6168
6169
6170
6171 for ac_header in dlfcn.h
6172 do
6173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6174 echo "$as_me:$LINENO: checking for $ac_header" >&5
6175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6177   echo $ECHO_N "(cached) $ECHO_C" >&6
6178 else
6179   cat >conftest.$ac_ext <<_ACEOF
6180 /* confdefs.h.  */
6181 _ACEOF
6182 cat confdefs.h >>conftest.$ac_ext
6183 cat >>conftest.$ac_ext <<_ACEOF
6184 /* end confdefs.h.  */
6185 $ac_includes_default
6186
6187 #include <$ac_header>
6188 _ACEOF
6189 rm -f conftest.$ac_objext
6190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6191   (eval $ac_compile) 2>conftest.er1
6192   ac_status=$?
6193   grep -v '^ *+' conftest.er1 >conftest.err
6194   rm -f conftest.er1
6195   cat conftest.err >&5
6196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197   (exit $ac_status); } &&
6198          { ac_try='test -z "$ac_c_werror_flag"
6199                          || test ! -s conftest.err'
6200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6201   (eval $ac_try) 2>&5
6202   ac_status=$?
6203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204   (exit $ac_status); }; } &&
6205          { ac_try='test -s conftest.$ac_objext'
6206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207   (eval $ac_try) 2>&5
6208   ac_status=$?
6209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210   (exit $ac_status); }; }; then
6211   eval "$as_ac_Header=yes"
6212 else
6213   echo "$as_me: failed program was:" >&5
6214 sed 's/^/| /' conftest.$ac_ext >&5
6215
6216 eval "$as_ac_Header=no"
6217 fi
6218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6219 fi
6220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6223   cat >>confdefs.h <<_ACEOF
6224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6225 _ACEOF
6226
6227 fi
6228
6229 done
6230
6231
6232
6233 ac_ext=cc
6234 ac_cpp='$CXXCPP $CPPFLAGS'
6235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6238 if test -n "$ac_tool_prefix"; then
6239   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6240   do
6241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6243 echo "$as_me:$LINENO: checking for $ac_word" >&5
6244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6245 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6246   echo $ECHO_N "(cached) $ECHO_C" >&6
6247 else
6248   if test -n "$CXX"; then
6249   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6253 do
6254   IFS=$as_save_IFS
6255   test -z "$as_dir" && as_dir=.
6256   for ac_exec_ext in '' $ac_executable_extensions; do
6257   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6258     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6259     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6260     break 2
6261   fi
6262 done
6263 done
6264
6265 fi
6266 fi
6267 CXX=$glibcxx_cv_prog_CXX
6268 if test -n "$CXX"; then
6269   echo "$as_me:$LINENO: result: $CXX" >&5
6270 echo "${ECHO_T}$CXX" >&6
6271 else
6272   echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276     test -n "$CXX" && break
6277   done
6278 fi
6279 if test -z "$CXX"; then
6280   ac_ct_CXX=$CXX
6281   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6282 do
6283   # Extract the first word of "$ac_prog", so it can be a program name with args.
6284 set dummy $ac_prog; ac_word=$2
6285 echo "$as_me:$LINENO: checking for $ac_word" >&5
6286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6287 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6288   echo $ECHO_N "(cached) $ECHO_C" >&6
6289 else
6290   if test -n "$ac_ct_CXX"; then
6291   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6292 else
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 for as_dir in $PATH
6295 do
6296   IFS=$as_save_IFS
6297   test -z "$as_dir" && as_dir=.
6298   for ac_exec_ext in '' $ac_executable_extensions; do
6299   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6300     ac_cv_prog_ac_ct_CXX="$ac_prog"
6301     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6302     break 2
6303   fi
6304 done
6305 done
6306
6307 fi
6308 fi
6309 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6310 if test -n "$ac_ct_CXX"; then
6311   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6312 echo "${ECHO_T}$ac_ct_CXX" >&6
6313 else
6314   echo "$as_me:$LINENO: result: no" >&5
6315 echo "${ECHO_T}no" >&6
6316 fi
6317
6318   test -n "$ac_ct_CXX" && break
6319 done
6320 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6321
6322   CXX=$ac_ct_CXX
6323 fi
6324
6325
6326 # Provide some information about the compiler.
6327 echo "$as_me:$LINENO:" \
6328      "checking for C++ compiler version" >&5
6329 ac_compiler=`set X $ac_compile; echo $2`
6330 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6331   (eval $ac_compiler --version </dev/null >&5) 2>&5
6332   ac_status=$?
6333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334   (exit $ac_status); }
6335 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6336   (eval $ac_compiler -v </dev/null >&5) 2>&5
6337   ac_status=$?
6338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339   (exit $ac_status); }
6340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6341   (eval $ac_compiler -V </dev/null >&5) 2>&5
6342   ac_status=$?
6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344   (exit $ac_status); }
6345
6346 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6347 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6348 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6349   echo $ECHO_N "(cached) $ECHO_C" >&6
6350 else
6351   cat >conftest.$ac_ext <<_ACEOF
6352 /* confdefs.h.  */
6353 _ACEOF
6354 cat confdefs.h >>conftest.$ac_ext
6355 cat >>conftest.$ac_ext <<_ACEOF
6356 /* end confdefs.h.  */
6357
6358 int
6359 main ()
6360 {
6361 #ifndef __GNUC__
6362        choke me
6363 #endif
6364
6365   ;
6366   return 0;
6367 }
6368 _ACEOF
6369 rm -f conftest.$ac_objext
6370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6371   (eval $ac_compile) 2>conftest.er1
6372   ac_status=$?
6373   grep -v '^ *+' conftest.er1 >conftest.err
6374   rm -f conftest.er1
6375   cat conftest.err >&5
6376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377   (exit $ac_status); } &&
6378          { ac_try='test -z "$ac_cxx_werror_flag"
6379                          || test ! -s conftest.err'
6380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381   (eval $ac_try) 2>&5
6382   ac_status=$?
6383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384   (exit $ac_status); }; } &&
6385          { ac_try='test -s conftest.$ac_objext'
6386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387   (eval $ac_try) 2>&5
6388   ac_status=$?
6389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390   (exit $ac_status); }; }; then
6391   ac_compiler_gnu=yes
6392 else
6393   echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.$ac_ext >&5
6395
6396 ac_compiler_gnu=no
6397 fi
6398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6399 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6400
6401 fi
6402 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6403 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6404 GXX=`test $ac_compiler_gnu = yes && echo yes`
6405 ac_test_CXXFLAGS=${CXXFLAGS+set}
6406 ac_save_CXXFLAGS=$CXXFLAGS
6407 CXXFLAGS="-g"
6408 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6409 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6410 if test "${ac_cv_prog_cxx_g+set}" = set; then
6411   echo $ECHO_N "(cached) $ECHO_C" >&6
6412 else
6413   cat >conftest.$ac_ext <<_ACEOF
6414 /* confdefs.h.  */
6415 _ACEOF
6416 cat confdefs.h >>conftest.$ac_ext
6417 cat >>conftest.$ac_ext <<_ACEOF
6418 /* end confdefs.h.  */
6419
6420 int
6421 main ()
6422 {
6423
6424   ;
6425   return 0;
6426 }
6427 _ACEOF
6428 rm -f conftest.$ac_objext
6429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6430   (eval $ac_compile) 2>conftest.er1
6431   ac_status=$?
6432   grep -v '^ *+' conftest.er1 >conftest.err
6433   rm -f conftest.er1
6434   cat conftest.err >&5
6435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436   (exit $ac_status); } &&
6437          { ac_try='test -z "$ac_cxx_werror_flag"
6438                          || test ! -s conftest.err'
6439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440   (eval $ac_try) 2>&5
6441   ac_status=$?
6442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443   (exit $ac_status); }; } &&
6444          { ac_try='test -s conftest.$ac_objext'
6445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446   (eval $ac_try) 2>&5
6447   ac_status=$?
6448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449   (exit $ac_status); }; }; then
6450   ac_cv_prog_cxx_g=yes
6451 else
6452   echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5
6454
6455 ac_cv_prog_cxx_g=no
6456 fi
6457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6458 fi
6459 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6460 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6461 if test "$ac_test_CXXFLAGS" = set; then
6462   CXXFLAGS=$ac_save_CXXFLAGS
6463 elif test $ac_cv_prog_cxx_g = yes; then
6464   if test "$GXX" = yes; then
6465     CXXFLAGS="-g -O2"
6466   else
6467     CXXFLAGS="-g"
6468   fi
6469 else
6470   if test "$GXX" = yes; then
6471     CXXFLAGS="-O2"
6472   else
6473     CXXFLAGS=
6474   fi
6475 fi
6476 for ac_declaration in \
6477    '' \
6478    'extern "C" void std::exit (int) throw (); using std::exit;' \
6479    'extern "C" void std::exit (int); using std::exit;' \
6480    'extern "C" void exit (int) throw ();' \
6481    'extern "C" void exit (int);' \
6482    'void exit (int);'
6483 do
6484   cat >conftest.$ac_ext <<_ACEOF
6485 /* confdefs.h.  */
6486 _ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h.  */
6490 $ac_declaration
6491 #include <stdlib.h>
6492 int
6493 main ()
6494 {
6495 exit (42);
6496   ;
6497   return 0;
6498 }
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502   (eval $ac_compile) 2>conftest.er1
6503   ac_status=$?
6504   grep -v '^ *+' conftest.er1 >conftest.err
6505   rm -f conftest.er1
6506   cat conftest.err >&5
6507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508   (exit $ac_status); } &&
6509          { ac_try='test -z "$ac_cxx_werror_flag"
6510                          || test ! -s conftest.err'
6511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512   (eval $ac_try) 2>&5
6513   ac_status=$?
6514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515   (exit $ac_status); }; } &&
6516          { ac_try='test -s conftest.$ac_objext'
6517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518   (eval $ac_try) 2>&5
6519   ac_status=$?
6520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521   (exit $ac_status); }; }; then
6522   :
6523 else
6524   echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6526
6527 continue
6528 fi
6529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6530   cat >conftest.$ac_ext <<_ACEOF
6531 /* confdefs.h.  */
6532 _ACEOF
6533 cat confdefs.h >>conftest.$ac_ext
6534 cat >>conftest.$ac_ext <<_ACEOF
6535 /* end confdefs.h.  */
6536 $ac_declaration
6537 int
6538 main ()
6539 {
6540 exit (42);
6541   ;
6542   return 0;
6543 }
6544 _ACEOF
6545 rm -f conftest.$ac_objext
6546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6547   (eval $ac_compile) 2>conftest.er1
6548   ac_status=$?
6549   grep -v '^ *+' conftest.er1 >conftest.err
6550   rm -f conftest.er1
6551   cat conftest.err >&5
6552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553   (exit $ac_status); } &&
6554          { ac_try='test -z "$ac_cxx_werror_flag"
6555                          || test ! -s conftest.err'
6556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6557   (eval $ac_try) 2>&5
6558   ac_status=$?
6559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560   (exit $ac_status); }; } &&
6561          { ac_try='test -s conftest.$ac_objext'
6562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563   (eval $ac_try) 2>&5
6564   ac_status=$?
6565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566   (exit $ac_status); }; }; then
6567   break
6568 else
6569   echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6571
6572 fi
6573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6574 done
6575 rm -f conftest*
6576 if test -n "$ac_declaration"; then
6577   echo '#ifdef __cplusplus' >>confdefs.h
6578   echo $ac_declaration      >>confdefs.h
6579   echo '#endif'             >>confdefs.h
6580 fi
6581
6582 ac_ext=c
6583 ac_cpp='$CPP $CPPFLAGS'
6584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6587
6588 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6589     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6590     (test "X$CXX" != "Xg++"))) ; then
6591   ac_ext=cc
6592 ac_cpp='$CXXCPP $CPPFLAGS'
6593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6596 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6597 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6598 if test -z "$CXXCPP"; then
6599   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6600   echo $ECHO_N "(cached) $ECHO_C" >&6
6601 else
6602       # Double quotes because CXXCPP needs to be expanded
6603     for CXXCPP in "$CXX -E" "/lib/cpp"
6604     do
6605       ac_preproc_ok=false
6606 for ac_cxx_preproc_warn_flag in '' yes
6607 do
6608   # Use a header file that comes with gcc, so configuring glibc
6609   # with a fresh cross-compiler works.
6610   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611   # <limits.h> exists even on freestanding compilers.
6612   # On the NeXT, cc -E runs the code through the compiler's parser,
6613   # not just through cpp. "Syntax error" is here to catch this case.
6614   cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h.  */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h.  */
6620 #ifdef __STDC__
6621 # include <limits.h>
6622 #else
6623 # include <assert.h>
6624 #endif
6625                      Syntax error
6626 _ACEOF
6627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6628   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6629   ac_status=$?
6630   grep -v '^ *+' conftest.er1 >conftest.err
6631   rm -f conftest.er1
6632   cat conftest.err >&5
6633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634   (exit $ac_status); } >/dev/null; then
6635   if test -s conftest.err; then
6636     ac_cpp_err=$ac_cxx_preproc_warn_flag
6637     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6638   else
6639     ac_cpp_err=
6640   fi
6641 else
6642   ac_cpp_err=yes
6643 fi
6644 if test -z "$ac_cpp_err"; then
6645   :
6646 else
6647   echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.$ac_ext >&5
6649
6650   # Broken: fails on valid input.
6651 continue
6652 fi
6653 rm -f conftest.err conftest.$ac_ext
6654
6655   # OK, works on sane cases.  Now check whether non-existent headers
6656   # can be detected and how.
6657   cat >conftest.$ac_ext <<_ACEOF
6658 /* confdefs.h.  */
6659 _ACEOF
6660 cat confdefs.h >>conftest.$ac_ext
6661 cat >>conftest.$ac_ext <<_ACEOF
6662 /* end confdefs.h.  */
6663 #include <ac_nonexistent.h>
6664 _ACEOF
6665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6666   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6667   ac_status=$?
6668   grep -v '^ *+' conftest.er1 >conftest.err
6669   rm -f conftest.er1
6670   cat conftest.err >&5
6671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672   (exit $ac_status); } >/dev/null; then
6673   if test -s conftest.err; then
6674     ac_cpp_err=$ac_cxx_preproc_warn_flag
6675     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6676   else
6677     ac_cpp_err=
6678   fi
6679 else
6680   ac_cpp_err=yes
6681 fi
6682 if test -z "$ac_cpp_err"; then
6683   # Broken: success on invalid input.
6684 continue
6685 else
6686   echo "$as_me: failed program was:" >&5
6687 sed 's/^/| /' conftest.$ac_ext >&5
6688
6689   # Passes both tests.
6690 ac_preproc_ok=:
6691 break
6692 fi
6693 rm -f conftest.err conftest.$ac_ext
6694
6695 done
6696 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697 rm -f conftest.err conftest.$ac_ext
6698 if $ac_preproc_ok; then
6699   break
6700 fi
6701
6702     done
6703     ac_cv_prog_CXXCPP=$CXXCPP
6704
6705 fi
6706   CXXCPP=$ac_cv_prog_CXXCPP
6707 else
6708   ac_cv_prog_CXXCPP=$CXXCPP
6709 fi
6710 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6711 echo "${ECHO_T}$CXXCPP" >&6
6712 ac_preproc_ok=false
6713 for ac_cxx_preproc_warn_flag in '' yes
6714 do
6715   # Use a header file that comes with gcc, so configuring glibc
6716   # with a fresh cross-compiler works.
6717   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6718   # <limits.h> exists even on freestanding compilers.
6719   # On the NeXT, cc -E runs the code through the compiler's parser,
6720   # not just through cpp. "Syntax error" is here to catch this case.
6721   cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h.  */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h.  */
6727 #ifdef __STDC__
6728 # include <limits.h>
6729 #else
6730 # include <assert.h>
6731 #endif
6732                      Syntax error
6733 _ACEOF
6734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6735   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6736   ac_status=$?
6737   grep -v '^ *+' conftest.er1 >conftest.err
6738   rm -f conftest.er1
6739   cat conftest.err >&5
6740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741   (exit $ac_status); } >/dev/null; then
6742   if test -s conftest.err; then
6743     ac_cpp_err=$ac_cxx_preproc_warn_flag
6744     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6745   else
6746     ac_cpp_err=
6747   fi
6748 else
6749   ac_cpp_err=yes
6750 fi
6751 if test -z "$ac_cpp_err"; then
6752   :
6753 else
6754   echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6756
6757   # Broken: fails on valid input.
6758 continue
6759 fi
6760 rm -f conftest.err conftest.$ac_ext
6761
6762   # OK, works on sane cases.  Now check whether non-existent headers
6763   # can be detected and how.
6764   cat >conftest.$ac_ext <<_ACEOF
6765 /* confdefs.h.  */
6766 _ACEOF
6767 cat confdefs.h >>conftest.$ac_ext
6768 cat >>conftest.$ac_ext <<_ACEOF
6769 /* end confdefs.h.  */
6770 #include <ac_nonexistent.h>
6771 _ACEOF
6772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6773   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6774   ac_status=$?
6775   grep -v '^ *+' conftest.er1 >conftest.err
6776   rm -f conftest.er1
6777   cat conftest.err >&5
6778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779   (exit $ac_status); } >/dev/null; then
6780   if test -s conftest.err; then
6781     ac_cpp_err=$ac_cxx_preproc_warn_flag
6782     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6783   else
6784     ac_cpp_err=
6785   fi
6786 else
6787   ac_cpp_err=yes
6788 fi
6789 if test -z "$ac_cpp_err"; then
6790   # Broken: success on invalid input.
6791 continue
6792 else
6793   echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.$ac_ext >&5
6795
6796   # Passes both tests.
6797 ac_preproc_ok=:
6798 break
6799 fi
6800 rm -f conftest.err conftest.$ac_ext
6801
6802 done
6803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6804 rm -f conftest.err conftest.$ac_ext
6805 if $ac_preproc_ok; then
6806   :
6807 else
6808   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6809 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6810 _lt_caught_CXX_error=yes; }
6811 fi
6812
6813 ac_ext=c
6814 ac_cpp='$CPP $CPPFLAGS'
6815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6818
6819 else
6820   _lt_caught_CXX_error=yes
6821 fi
6822
6823
6824
6825
6826
6827 # This can be used to rebuild libtool when needed
6828 LIBTOOL_DEPS="$ltmain"
6829
6830 # Always use our own libtool.
6831 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857 test -z "$LN_S" && LN_S="ln -s"
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872 if test -n "${ZSH_VERSION+set}" ; then
6873    setopt NO_GLOB_SUBST
6874 fi
6875
6876 echo "$as_me:$LINENO: checking for objdir" >&5
6877 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6878 if test "${lt_cv_objdir+set}" = set; then
6879   echo $ECHO_N "(cached) $ECHO_C" >&6
6880 else
6881   rm -f .libs 2>/dev/null
6882 mkdir .libs 2>/dev/null
6883 if test -d .libs; then
6884   lt_cv_objdir=.libs
6885 else
6886   # MS-DOS does not allow filenames that begin with a dot.
6887   lt_cv_objdir=_libs
6888 fi
6889 rmdir .libs 2>/dev/null
6890 fi
6891 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6892 echo "${ECHO_T}$lt_cv_objdir" >&6
6893 objdir=$lt_cv_objdir
6894
6895
6896
6897
6898
6899 cat >>confdefs.h <<_ACEOF
6900 #define LT_OBJDIR "$lt_cv_objdir/"
6901 _ACEOF
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919 case $host_os in
6920 aix3*)
6921   # AIX sometimes has problems with the GCC collect2 program.  For some
6922   # reason, if we set the COLLECT_NAMES environment variable, the problems
6923   # vanish in a puff of smoke.
6924   if test "X${COLLECT_NAMES+set}" != Xset; then
6925     COLLECT_NAMES=
6926     export COLLECT_NAMES
6927   fi
6928   ;;
6929 esac
6930
6931 # Sed substitution that helps us do robust quoting.  It backslashifies
6932 # metacharacters that are still active within double-quoted strings.
6933 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6934
6935 # Same as above, but do not quote variable references.
6936 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6937
6938 # Sed substitution to delay expansion of an escaped shell variable in a
6939 # double_quote_subst'ed string.
6940 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6941
6942 # Sed substitution to delay expansion of an escaped single quote.
6943 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6944
6945 # Sed substitution to avoid accidental globbing in evaled expressions
6946 no_glob_subst='s/\*/\\\*/g'
6947
6948 # Global variables:
6949 ofile=libtool
6950 can_build_shared=yes
6951
6952 # All known linkers require a `.a' archive for static linking (except MSVC,
6953 # which needs '.lib').
6954 libext=a
6955
6956 with_gnu_ld="$lt_cv_prog_gnu_ld"
6957
6958 old_CC="$CC"
6959 old_CFLAGS="$CFLAGS"
6960
6961 # Set sane defaults for various variables
6962 test -z "$CC" && CC=cc
6963 test -z "$LTCC" && LTCC=$CC
6964 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6965 test -z "$LD" && LD=ld
6966 test -z "$ac_objext" && ac_objext=o
6967
6968 for cc_temp in $compiler""; do
6969   case $cc_temp in
6970     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6971     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6972     \-*) ;;
6973     *) break;;
6974   esac
6975 done
6976 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6977
6978
6979 # Only perform the check for file, if the check method requires it
6980 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6981 case $deplibs_check_method in
6982 file_magic*)
6983   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6984     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6985 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6986 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6987   echo $ECHO_N "(cached) $ECHO_C" >&6
6988 else
6989   case $MAGIC_CMD in
6990 [\\/*] |  ?:[\\/]*)
6991   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6992   ;;
6993 *)
6994   lt_save_MAGIC_CMD="$MAGIC_CMD"
6995   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6996   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6997   for ac_dir in $ac_dummy; do
6998     IFS="$lt_save_ifs"
6999     test -z "$ac_dir" && ac_dir=.
7000     if test -f $ac_dir/${ac_tool_prefix}file; then
7001       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7002       if test -n "$file_magic_test_file"; then
7003         case $deplibs_check_method in
7004         "file_magic "*)
7005           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7006           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7007           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7008             $EGREP "$file_magic_regex" > /dev/null; then
7009             :
7010           else
7011             cat <<_LT_EOF 1>&2
7012
7013 *** Warning: the command libtool uses to detect shared libraries,
7014 *** $file_magic_cmd, produces output that libtool cannot recognize.
7015 *** The result is that libtool may fail to recognize shared libraries
7016 *** as such.  This will affect the creation of libtool libraries that
7017 *** depend on shared libraries, but programs linked with such libtool
7018 *** libraries will work regardless of this problem.  Nevertheless, you
7019 *** may want to report the problem to your system manager and/or to
7020 *** bug-libtool@gnu.org
7021
7022 _LT_EOF
7023           fi ;;
7024         esac
7025       fi
7026       break
7027     fi
7028   done
7029   IFS="$lt_save_ifs"
7030   MAGIC_CMD="$lt_save_MAGIC_CMD"
7031   ;;
7032 esac
7033 fi
7034
7035 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7036 if test -n "$MAGIC_CMD"; then
7037   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7038 echo "${ECHO_T}$MAGIC_CMD" >&6
7039 else
7040   echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6
7042 fi
7043
7044
7045
7046
7047
7048 if test -z "$lt_cv_path_MAGIC_CMD"; then
7049   if test -n "$ac_tool_prefix"; then
7050     echo "$as_me:$LINENO: checking for file" >&5
7051 echo $ECHO_N "checking for file... $ECHO_C" >&6
7052 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7053   echo $ECHO_N "(cached) $ECHO_C" >&6
7054 else
7055   case $MAGIC_CMD in
7056 [\\/*] |  ?:[\\/]*)
7057   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7058   ;;
7059 *)
7060   lt_save_MAGIC_CMD="$MAGIC_CMD"
7061   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7062   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7063   for ac_dir in $ac_dummy; do
7064     IFS="$lt_save_ifs"
7065     test -z "$ac_dir" && ac_dir=.
7066     if test -f $ac_dir/file; then
7067       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7068       if test -n "$file_magic_test_file"; then
7069         case $deplibs_check_method in
7070         "file_magic "*)
7071           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7072           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7074             $EGREP "$file_magic_regex" > /dev/null; then
7075             :
7076           else
7077             cat <<_LT_EOF 1>&2
7078
7079 *** Warning: the command libtool uses to detect shared libraries,
7080 *** $file_magic_cmd, produces output that libtool cannot recognize.
7081 *** The result is that libtool may fail to recognize shared libraries
7082 *** as such.  This will affect the creation of libtool libraries that
7083 *** depend on shared libraries, but programs linked with such libtool
7084 *** libraries will work regardless of this problem.  Nevertheless, you
7085 *** may want to report the problem to your system manager and/or to
7086 *** bug-libtool@gnu.org
7087
7088 _LT_EOF
7089           fi ;;
7090         esac
7091       fi
7092       break
7093     fi
7094   done
7095   IFS="$lt_save_ifs"
7096   MAGIC_CMD="$lt_save_MAGIC_CMD"
7097   ;;
7098 esac
7099 fi
7100
7101 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7102 if test -n "$MAGIC_CMD"; then
7103   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7104 echo "${ECHO_T}$MAGIC_CMD" >&6
7105 else
7106   echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6
7108 fi
7109
7110
7111   else
7112     MAGIC_CMD=:
7113   fi
7114 fi
7115
7116   fi
7117   ;;
7118 esac
7119
7120 # Use C for the default configuration in the libtool script
7121
7122 lt_save_CC="$CC"
7123 ac_ext=c
7124 ac_cpp='$CPP $CPPFLAGS'
7125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128
7129
7130 # Source file extension for C test sources.
7131 ac_ext=c
7132
7133 # Object file extension for compiled C test sources.
7134 objext=o
7135 objext=$objext
7136
7137 # Code to be used in simple compile tests
7138 lt_simple_compile_test_code="int some_variable = 0;"
7139
7140 # Code to be used in simple link tests
7141 lt_simple_link_test_code='int main(){return(0);}'
7142
7143
7144
7145
7146
7147
7148
7149 # If no C compiler was specified, use CC.
7150 LTCC=${LTCC-"$CC"}
7151
7152 # If no C compiler flags were specified, use CFLAGS.
7153 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7154
7155 # Allow CC to be a program name with arguments.
7156 compiler=$CC
7157
7158 # Save the default compiler, since it gets overwritten when the other
7159 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7160 compiler_DEFAULT=$CC
7161
7162 # save warnings/boilerplate of simple test code
7163 ac_outfile=conftest.$ac_objext
7164 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7165 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7166 _lt_compiler_boilerplate=`cat conftest.err`
7167 $RM conftest*
7168
7169 ac_outfile=conftest.$ac_objext
7170 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7171 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7172 _lt_linker_boilerplate=`cat conftest.err`
7173 $RM conftest*
7174
7175
7176 ## CAVEAT EMPTOR:
7177 ## There is no encapsulation within the following macros, do not change
7178 ## the running order or otherwise move them around unless you know exactly
7179 ## what you are doing...
7180 if test -n "$compiler"; then
7181
7182 lt_prog_compiler_no_builtin_flag=
7183
7184 if test "$GCC" = yes; then
7185   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7186
7187   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7188 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7189 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7190   echo $ECHO_N "(cached) $ECHO_C" >&6
7191 else
7192   lt_cv_prog_compiler_rtti_exceptions=no
7193    ac_outfile=conftest.$ac_objext
7194    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7195    lt_compiler_flag="-fno-rtti -fno-exceptions"
7196    # Insert the option either (1) after the last *FLAGS variable, or
7197    # (2) before a word containing "conftest.", or (3) at the end.
7198    # Note that $ac_compile itself does not contain backslashes and begins
7199    # with a dollar sign (not a hyphen), so the echo should work correctly.
7200    # The option is referenced via a variable to avoid confusing sed.
7201    lt_compile=`echo "$ac_compile" | $SED \
7202    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7203    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7204    -e 's:$: $lt_compiler_flag:'`
7205    (eval echo "\"\$as_me:7205: $lt_compile\"" >&5)
7206    (eval "$lt_compile" 2>conftest.err)
7207    ac_status=$?
7208    cat conftest.err >&5
7209    echo "$as_me:7209: \$? = $ac_status" >&5
7210    if (exit $ac_status) && test -s "$ac_outfile"; then
7211      # The compiler can only warn and ignore the option if not recognized
7212      # So say no if there are warnings other than the usual output.
7213      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7214      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7215      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7216        lt_cv_prog_compiler_rtti_exceptions=yes
7217      fi
7218    fi
7219    $RM conftest*
7220
7221 fi
7222 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7223 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7224
7225 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7226     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7227 else
7228     :
7229 fi
7230
7231 fi
7232
7233
7234
7235
7236
7237
7238   lt_prog_compiler_wl=
7239 lt_prog_compiler_pic=
7240 lt_prog_compiler_static=
7241
7242 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7243 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7244
7245   if test "$GCC" = yes; then
7246     lt_prog_compiler_wl='-Wl,'
7247     lt_prog_compiler_static='-static'
7248
7249     case $host_os in
7250       aix*)
7251       # All AIX code is PIC.
7252       if test "$host_cpu" = ia64; then
7253         # AIX 5 now supports IA64 processor
7254         lt_prog_compiler_static='-Bstatic'
7255       fi
7256       ;;
7257
7258     amigaos*)
7259       if test "$host_cpu" = m68k; then
7260         # FIXME: we need at least 68020 code to build shared libraries, but
7261         # adding the `-m68020' flag to GCC prevents building anything better,
7262         # like `-m68040'.
7263         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7264       fi
7265       ;;
7266
7267     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7268       # PIC is the default for these OSes.
7269       ;;
7270
7271     mingw* | cygwin* | pw32* | os2*)
7272       # This hack is so that the source file can tell whether it is being
7273       # built for inclusion in a dll (and should export symbols for example).
7274       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7275       # (--disable-auto-import) libraries
7276       lt_prog_compiler_pic='-DDLL_EXPORT'
7277       ;;
7278
7279     darwin* | rhapsody*)
7280       # PIC is the default on this platform
7281       # Common symbols not allowed in MH_DYLIB files
7282       lt_prog_compiler_pic='-fno-common'
7283       ;;
7284
7285     hpux*)
7286       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7287       # not for PA HP-UX.
7288       case $host_cpu in
7289       hppa*64*|ia64*)
7290         # +Z the default
7291         ;;
7292       *)
7293         lt_prog_compiler_pic='-fPIC'
7294         ;;
7295       esac
7296       ;;
7297
7298     interix[3-9]*)
7299       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7300       # Instead, we relocate shared libraries at runtime.
7301       ;;
7302
7303     msdosdjgpp*)
7304       # Just because we use GCC doesn't mean we suddenly get shared libraries
7305       # on systems that don't support them.
7306       lt_prog_compiler_can_build_shared=no
7307       enable_shared=no
7308       ;;
7309
7310     *nto* | *qnx*)
7311       # QNX uses GNU C++, but need to define -shared option too, otherwise
7312       # it will coredump.
7313       lt_prog_compiler_pic='-fPIC -shared'
7314       ;;
7315
7316     sysv4*MP*)
7317       if test -d /usr/nec; then
7318         lt_prog_compiler_pic=-Kconform_pic
7319       fi
7320       ;;
7321
7322     *)
7323       lt_prog_compiler_pic='-fPIC'
7324       ;;
7325     esac
7326   else
7327     # PORTME Check for flag to pass linker flags through the system compiler.
7328     case $host_os in
7329     aix*)
7330       lt_prog_compiler_wl='-Wl,'
7331       if test "$host_cpu" = ia64; then
7332         # AIX 5 now supports IA64 processor
7333         lt_prog_compiler_static='-Bstatic'
7334       else
7335         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7336       fi
7337       ;;
7338     darwin*)
7339       # PIC is the default on this platform
7340       # Common symbols not allowed in MH_DYLIB files
7341       case $cc_basename in
7342       xlc*)
7343         lt_prog_compiler_pic='-qnocommon'
7344         lt_prog_compiler_wl='-Wl,'
7345         ;;
7346       esac
7347       ;;
7348
7349     mingw* | cygwin* | pw32* | os2*)
7350       # This hack is so that the source file can tell whether it is being
7351       # built for inclusion in a dll (and should export symbols for example).
7352       lt_prog_compiler_pic='-DDLL_EXPORT'
7353       ;;
7354
7355     hpux9* | hpux10* | hpux11*)
7356       lt_prog_compiler_wl='-Wl,'
7357       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7358       # not for PA HP-UX.
7359       case $host_cpu in
7360       hppa*64*|ia64*)
7361         # +Z the default
7362         ;;
7363       *)
7364         lt_prog_compiler_pic='+Z'
7365         ;;
7366       esac
7367       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7368       lt_prog_compiler_static='${wl}-a ${wl}archive'
7369       ;;
7370
7371     irix5* | irix6* | nonstopux*)
7372       lt_prog_compiler_wl='-Wl,'
7373       # PIC (with -KPIC) is the default.
7374       lt_prog_compiler_static='-non_shared'
7375       ;;
7376
7377     linux* | k*bsd*-gnu)
7378       case $cc_basename in
7379       icc* | ecc*)
7380         lt_prog_compiler_wl='-Wl,'
7381         lt_prog_compiler_pic='-KPIC'
7382         lt_prog_compiler_static='-static'
7383         ;;
7384       pgcc* | pgf77* | pgf90* | pgf95*)
7385         # Portland Group compilers (*not* the Pentium gcc compiler,
7386         # which looks to be a dead project)
7387         lt_prog_compiler_wl='-Wl,'
7388         lt_prog_compiler_pic='-fpic'
7389         lt_prog_compiler_static='-Bstatic'
7390         ;;
7391       ccc*)
7392         lt_prog_compiler_wl='-Wl,'
7393         # All Alpha code is PIC.
7394         lt_prog_compiler_static='-non_shared'
7395         ;;
7396       *)
7397         case `$CC -V 2>&1 | sed 5q` in
7398         *Sun\ C*)
7399           # Sun C 5.9
7400           lt_prog_compiler_pic='-KPIC'
7401           lt_prog_compiler_static='-Bstatic'
7402           lt_prog_compiler_wl='-Wl,'
7403           ;;
7404         *Sun\ F*)
7405           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7406           lt_prog_compiler_pic='-KPIC'
7407           lt_prog_compiler_static='-Bstatic'
7408           lt_prog_compiler_wl=''
7409           ;;
7410         esac
7411         ;;
7412       esac
7413       ;;
7414
7415     newsos6)
7416       lt_prog_compiler_pic='-KPIC'
7417       lt_prog_compiler_static='-Bstatic'
7418       ;;
7419
7420     *nto* | *qnx*)
7421       # QNX uses GNU C++, but need to define -shared option too, otherwise
7422       # it will coredump.
7423       lt_prog_compiler_pic='-fPIC -shared'
7424       ;;
7425
7426     osf3* | osf4* | osf5*)
7427       lt_prog_compiler_wl='-Wl,'
7428       # All OSF/1 code is PIC.
7429       lt_prog_compiler_static='-non_shared'
7430       ;;
7431
7432     rdos*)
7433       lt_prog_compiler_static='-non_shared'
7434       ;;
7435
7436     solaris*)
7437       lt_prog_compiler_pic='-KPIC'
7438       lt_prog_compiler_static='-Bstatic'
7439       case $cc_basename in
7440       f77* | f90* | f95*)
7441         lt_prog_compiler_wl='-Qoption ld ';;
7442       *)
7443         lt_prog_compiler_wl='-Wl,';;
7444       esac
7445       ;;
7446
7447     sunos4*)
7448       lt_prog_compiler_wl='-Qoption ld '
7449       lt_prog_compiler_pic='-PIC'
7450       lt_prog_compiler_static='-Bstatic'
7451       ;;
7452
7453     sysv4 | sysv4.2uw2* | sysv4.3*)
7454       lt_prog_compiler_wl='-Wl,'
7455       lt_prog_compiler_pic='-KPIC'
7456       lt_prog_compiler_static='-Bstatic'
7457       ;;
7458
7459     sysv4*MP*)
7460       if test -d /usr/nec ;then
7461         lt_prog_compiler_pic='-Kconform_pic'
7462         lt_prog_compiler_static='-Bstatic'
7463       fi
7464       ;;
7465
7466     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7467       lt_prog_compiler_wl='-Wl,'
7468       lt_prog_compiler_pic='-KPIC'
7469       lt_prog_compiler_static='-Bstatic'
7470       ;;
7471
7472     unicos*)
7473       lt_prog_compiler_wl='-Wl,'
7474       lt_prog_compiler_can_build_shared=no
7475       ;;
7476
7477     uts4*)
7478       lt_prog_compiler_pic='-pic'
7479       lt_prog_compiler_static='-Bstatic'
7480       ;;
7481
7482     *)
7483       lt_prog_compiler_can_build_shared=no
7484       ;;
7485     esac
7486   fi
7487
7488 case $host_os in
7489   # For platforms which do not support PIC, -DPIC is meaningless:
7490   *djgpp*)
7491     lt_prog_compiler_pic=
7492     ;;
7493   *)
7494     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7495     ;;
7496 esac
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7499
7500
7501
7502
7503
7504
7505 #
7506 # Check to make sure the PIC flag actually works.
7507 #
7508 if test -n "$lt_prog_compiler_pic"; then
7509   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7510 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7511 if test "${lt_prog_compiler_pic_works+set}" = set; then
7512   echo $ECHO_N "(cached) $ECHO_C" >&6
7513 else
7514   lt_prog_compiler_pic_works=no
7515    ac_outfile=conftest.$ac_objext
7516    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7517    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7518    # Insert the option either (1) after the last *FLAGS variable, or
7519    # (2) before a word containing "conftest.", or (3) at the end.
7520    # Note that $ac_compile itself does not contain backslashes and begins
7521    # with a dollar sign (not a hyphen), so the echo should work correctly.
7522    # The option is referenced via a variable to avoid confusing sed.
7523    lt_compile=`echo "$ac_compile" | $SED \
7524    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7525    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7526    -e 's:$: $lt_compiler_flag:'`
7527    (eval echo "\"\$as_me:7527: $lt_compile\"" >&5)
7528    (eval "$lt_compile" 2>conftest.err)
7529    ac_status=$?
7530    cat conftest.err >&5
7531    echo "$as_me:7531: \$? = $ac_status" >&5
7532    if (exit $ac_status) && test -s "$ac_outfile"; then
7533      # The compiler can only warn and ignore the option if not recognized
7534      # So say no if there are warnings other than the usual output.
7535      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7536      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7537      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7538        lt_prog_compiler_pic_works=yes
7539      fi
7540    fi
7541    $RM conftest*
7542
7543 fi
7544 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7545 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7546
7547 if test x"$lt_prog_compiler_pic_works" = xyes; then
7548     case $lt_prog_compiler_pic in
7549      "" | " "*) ;;
7550      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7551      esac
7552 else
7553     lt_prog_compiler_pic=
7554      lt_prog_compiler_can_build_shared=no
7555 fi
7556
7557 fi
7558
7559
7560
7561
7562
7563
7564 #
7565 # Check to make sure the static flag actually works.
7566 #
7567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7568 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7569 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7570 if test "${lt_prog_compiler_static_works+set}" = set; then
7571   echo $ECHO_N "(cached) $ECHO_C" >&6
7572 else
7573   lt_prog_compiler_static_works=no
7574    save_LDFLAGS="$LDFLAGS"
7575    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7576    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7577    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7578      # The linker can only warn and ignore the option if not recognized
7579      # So say no if there are warnings
7580      if test -s conftest.err; then
7581        # Append any errors to the config.log.
7582        cat conftest.err 1>&5
7583        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7584        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7585        if diff conftest.exp conftest.er2 >/dev/null; then
7586          lt_prog_compiler_static_works=yes
7587        fi
7588      else
7589        lt_prog_compiler_static_works=yes
7590      fi
7591    fi
7592    $RM conftest*
7593    LDFLAGS="$save_LDFLAGS"
7594
7595 fi
7596 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7597 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7598
7599 if test x"$lt_prog_compiler_static_works" = xyes; then
7600     :
7601 else
7602     lt_prog_compiler_static=
7603 fi
7604
7605
7606
7607
7608
7609
7610
7611   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7612 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7613 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7614   echo $ECHO_N "(cached) $ECHO_C" >&6
7615 else
7616   lt_cv_prog_compiler_c_o=no
7617    $RM -r conftest 2>/dev/null
7618    mkdir conftest
7619    cd conftest
7620    mkdir out
7621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7622
7623    lt_compiler_flag="-o out/conftest2.$ac_objext"
7624    # Insert the option either (1) after the last *FLAGS variable, or
7625    # (2) before a word containing "conftest.", or (3) at the end.
7626    # Note that $ac_compile itself does not contain backslashes and begins
7627    # with a dollar sign (not a hyphen), so the echo should work correctly.
7628    lt_compile=`echo "$ac_compile" | $SED \
7629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7631    -e 's:$: $lt_compiler_flag:'`
7632    (eval echo "\"\$as_me:7632: $lt_compile\"" >&5)
7633    (eval "$lt_compile" 2>out/conftest.err)
7634    ac_status=$?
7635    cat out/conftest.err >&5
7636    echo "$as_me:7636: \$? = $ac_status" >&5
7637    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7638    then
7639      # The compiler can only warn and ignore the option if not recognized
7640      # So say no if there are warnings
7641      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7642      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7643      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7644        lt_cv_prog_compiler_c_o=yes
7645      fi
7646    fi
7647    chmod u+w . 2>&5
7648    $RM conftest*
7649    # SGI C++ compiler will create directory out/ii_files/ for
7650    # template instantiation
7651    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7652    $RM out/* && rmdir out
7653    cd ..
7654    $RM -r conftest
7655    $RM conftest*
7656
7657 fi
7658 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7659 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7660
7661
7662
7663
7664
7665
7666   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7667 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7668 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7669   echo $ECHO_N "(cached) $ECHO_C" >&6
7670 else
7671   lt_cv_prog_compiler_c_o=no
7672    $RM -r conftest 2>/dev/null
7673    mkdir conftest
7674    cd conftest
7675    mkdir out
7676    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7677
7678    lt_compiler_flag="-o out/conftest2.$ac_objext"
7679    # Insert the option either (1) after the last *FLAGS variable, or
7680    # (2) before a word containing "conftest.", or (3) at the end.
7681    # Note that $ac_compile itself does not contain backslashes and begins
7682    # with a dollar sign (not a hyphen), so the echo should work correctly.
7683    lt_compile=`echo "$ac_compile" | $SED \
7684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7686    -e 's:$: $lt_compiler_flag:'`
7687    (eval echo "\"\$as_me:7687: $lt_compile\"" >&5)
7688    (eval "$lt_compile" 2>out/conftest.err)
7689    ac_status=$?
7690    cat out/conftest.err >&5
7691    echo "$as_me:7691: \$? = $ac_status" >&5
7692    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7693    then
7694      # The compiler can only warn and ignore the option if not recognized
7695      # So say no if there are warnings
7696      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7697      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7698      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7699        lt_cv_prog_compiler_c_o=yes
7700      fi
7701    fi
7702    chmod u+w . 2>&5
7703    $RM conftest*
7704    # SGI C++ compiler will create directory out/ii_files/ for
7705    # template instantiation
7706    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7707    $RM out/* && rmdir out
7708    cd ..
7709    $RM -r conftest
7710    $RM conftest*
7711
7712 fi
7713 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7714 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7715
7716
7717
7718
7719 hard_links="nottested"
7720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7721   # do not overwrite the value of need_locks provided by the user
7722   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7723 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7724   hard_links=yes
7725   $RM conftest*
7726   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7727   touch conftest.a
7728   ln conftest.a conftest.b 2>&5 || hard_links=no
7729   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7730   echo "$as_me:$LINENO: result: $hard_links" >&5
7731 echo "${ECHO_T}$hard_links" >&6
7732   if test "$hard_links" = no; then
7733     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7734 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7735     need_locks=warn
7736   fi
7737 else
7738   need_locks=no
7739 fi
7740
7741
7742
7743
7744
7745
7746   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7747 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7748
7749   runpath_var=
7750   allow_undefined_flag=
7751   always_export_symbols=no
7752   archive_cmds=
7753   archive_expsym_cmds=
7754   compiler_needs_object=no
7755   enable_shared_with_static_runtimes=no
7756   export_dynamic_flag_spec=
7757   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7758   hardcode_automatic=no
7759   hardcode_direct=no
7760   hardcode_direct_absolute=no
7761   hardcode_libdir_flag_spec=
7762   hardcode_libdir_flag_spec_ld=
7763   hardcode_libdir_separator=
7764   hardcode_minus_L=no
7765   hardcode_shlibpath_var=unsupported
7766   inherit_rpath=no
7767   link_all_deplibs=unknown
7768   module_cmds=
7769   module_expsym_cmds=
7770   old_archive_from_new_cmds=
7771   old_archive_from_expsyms_cmds=
7772   thread_safe_flag_spec=
7773   whole_archive_flag_spec=
7774   # include_expsyms should be a list of space-separated symbols to be *always*
7775   # included in the symbol list
7776   include_expsyms=
7777   # exclude_expsyms can be an extended regexp of symbols to exclude
7778   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7779   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7780   # as well as any symbol that contains `d'.
7781   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7782   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7783   # platforms (ab)use it in PIC code, but their linkers get confused if
7784   # the symbol is explicitly referenced.  Since portable code cannot
7785   # rely on this symbol name, it's probably fine to never include it in
7786   # preloaded symbol tables.
7787   extract_expsyms_cmds=
7788
7789   case $host_os in
7790   cygwin* | mingw* | pw32*)
7791     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7792     # When not using gcc, we currently assume that we are using
7793     # Microsoft Visual C++.
7794     if test "$GCC" != yes; then
7795       with_gnu_ld=no
7796     fi
7797     ;;
7798   interix*)
7799     # we just hope/assume this is gcc and not c89 (= MSVC++)
7800     with_gnu_ld=yes
7801     ;;
7802   openbsd*)
7803     with_gnu_ld=no
7804     ;;
7805   esac
7806
7807   ld_shlibs=yes
7808   if test "$with_gnu_ld" = yes; then
7809     # If archive_cmds runs LD, not CC, wlarc should be empty
7810     wlarc='${wl}'
7811
7812     # Set some defaults for GNU ld with shared library support. These
7813     # are reset later if shared libraries are not supported. Putting them
7814     # here allows them to be overridden if necessary.
7815     runpath_var=LD_RUN_PATH
7816     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7817     export_dynamic_flag_spec='${wl}--export-dynamic'
7818     # ancient GNU ld didn't support --whole-archive et. al.
7819     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7820       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7821     else
7822       whole_archive_flag_spec=
7823     fi
7824     supports_anon_versioning=no
7825     case `$LD -v 2>&1` in
7826       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7827       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7828       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7829       *\ 2.11.*) ;; # other 2.11 versions
7830       *) supports_anon_versioning=yes ;;
7831     esac
7832
7833     # See if GNU ld supports shared libraries.
7834     case $host_os in
7835     aix[3-9]*)
7836       # On AIX/PPC, the GNU linker is very broken
7837       if test "$host_cpu" != ia64; then
7838         ld_shlibs=no
7839         cat <<_LT_EOF 1>&2
7840
7841 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7842 *** to be unable to reliably create shared libraries on AIX.
7843 *** Therefore, libtool is disabling shared libraries support.  If you
7844 *** really care for shared libraries, you may want to modify your PATH
7845 *** so that a non-GNU linker is found, and then restart.
7846
7847 _LT_EOF
7848       fi
7849       ;;
7850
7851     amigaos*)
7852       if test "$host_cpu" = m68k; then
7853         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)'
7854         hardcode_libdir_flag_spec='-L$libdir'
7855         hardcode_minus_L=yes
7856       fi
7857
7858       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7859       # that the semantics of dynamic libraries on AmigaOS, at least up
7860       # to version 4, is to share data among multiple programs linked
7861       # with the same dynamic library.  Since this doesn't match the
7862       # behavior of shared libraries on other platforms, we can't use
7863       # them.
7864       ld_shlibs=no
7865       ;;
7866
7867     beos*)
7868       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7869         allow_undefined_flag=unsupported
7870         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7871         # support --undefined.  This deserves some investigation.  FIXME
7872         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7873       else
7874         ld_shlibs=no
7875       fi
7876       ;;
7877
7878     cygwin* | mingw* | pw32*)
7879       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7880       # as there is no search path for DLLs.
7881       hardcode_libdir_flag_spec='-L$libdir'
7882       allow_undefined_flag=unsupported
7883       always_export_symbols=no
7884       enable_shared_with_static_runtimes=yes
7885       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7886
7887       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7888         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7889         # If the export-symbols file already is a .def file (1st line
7890         # is EXPORTS), use it as is; otherwise, prepend...
7891         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7892           cp $export_symbols $output_objdir/$soname.def;
7893         else
7894           echo EXPORTS > $output_objdir/$soname.def;
7895           cat $export_symbols >> $output_objdir/$soname.def;
7896         fi~
7897         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7898       else
7899         ld_shlibs=no
7900       fi
7901       ;;
7902
7903     interix[3-9]*)
7904       hardcode_direct=no
7905       hardcode_shlibpath_var=no
7906       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7907       export_dynamic_flag_spec='${wl}-E'
7908       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7909       # Instead, shared libraries are loaded at an image base (0x10000000 by
7910       # default) and relocated if they conflict, which is a slow very memory
7911       # consuming and fragmenting process.  To avoid this, we pick a random,
7912       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7913       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7914       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7915       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'
7916       ;;
7917
7918     gnu* | linux* | tpf* | k*bsd*-gnu)
7919       tmp_diet=no
7920       if test "$host_os" = linux-dietlibc; then
7921         case $cc_basename in
7922           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7923         esac
7924       fi
7925       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7926          && test "$tmp_diet" = no
7927       then
7928         tmp_addflag=
7929         case $cc_basename,$host_cpu in
7930         pgcc*)                          # Portland Group C compiler
7931           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'
7932           tmp_addflag=' $pic_flag'
7933           ;;
7934         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7935           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'
7936           tmp_addflag=' $pic_flag -Mnomain' ;;
7937         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7938           tmp_addflag=' -i_dynamic' ;;
7939         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7940           tmp_addflag=' -i_dynamic -nofor_main' ;;
7941         ifc* | ifort*)                  # Intel Fortran compiler
7942           tmp_addflag=' -nofor_main' ;;
7943         esac
7944         case `$CC -V 2>&1 | sed 5q` in
7945         *Sun\ C*)                       # Sun C 5.9
7946           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'
7947           compiler_needs_object=yes
7948           tmp_sharedflag='-G' ;;
7949         *Sun\ F*)                       # Sun Fortran 8.3
7950           tmp_sharedflag='-G' ;;
7951         *)
7952           tmp_sharedflag='-shared' ;;
7953         esac
7954         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7955
7956         if test "x$supports_anon_versioning" = xyes; then
7957           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7958             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7959             echo "local: *; };" >> $output_objdir/$libname.ver~
7960             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7961         fi
7962       else
7963         ld_shlibs=no
7964       fi
7965       ;;
7966
7967     netbsd*)
7968       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7969         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7970         wlarc=
7971       else
7972         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7973         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7974       fi
7975       ;;
7976
7977     solaris*)
7978       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7979         ld_shlibs=no
7980         cat <<_LT_EOF 1>&2
7981
7982 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7983 *** create shared libraries on Solaris systems.  Therefore, libtool
7984 *** is disabling shared libraries support.  We urge you to upgrade GNU
7985 *** binutils to release 2.9.1 or newer.  Another option is to modify
7986 *** your PATH or compiler configuration so that the native linker is
7987 *** used, and then restart.
7988
7989 _LT_EOF
7990       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993       else
7994         ld_shlibs=no
7995       fi
7996       ;;
7997
7998     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7999       case `$LD -v 2>&1` in
8000         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8001         ld_shlibs=no
8002         cat <<_LT_EOF 1>&2
8003
8004 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8005 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8006 *** is disabling shared libraries support.  We urge you to upgrade GNU
8007 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8008 *** your PATH or compiler configuration so that the native linker is
8009 *** used, and then restart.
8010
8011 _LT_EOF
8012         ;;
8013         *)
8014           # For security reasons, it is highly recommended that you always
8015           # use absolute paths for naming shared libraries, and exclude the
8016           # DT_RUNPATH tag from executables and libraries.  But doing so
8017           # requires that you compile everything twice, which is a pain.
8018           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8019             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8020             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8021             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8022           else
8023             ld_shlibs=no
8024           fi
8025         ;;
8026       esac
8027       ;;
8028
8029     sunos4*)
8030       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8031       wlarc=
8032       hardcode_direct=yes
8033       hardcode_shlibpath_var=no
8034       ;;
8035
8036     *)
8037       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8038         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8040       else
8041         ld_shlibs=no
8042       fi
8043       ;;
8044     esac
8045
8046     if test "$ld_shlibs" = no; then
8047       runpath_var=
8048       hardcode_libdir_flag_spec=
8049       export_dynamic_flag_spec=
8050       whole_archive_flag_spec=
8051     fi
8052   else
8053     # PORTME fill in a description of your system's linker (not GNU ld)
8054     case $host_os in
8055     aix3*)
8056       allow_undefined_flag=unsupported
8057       always_export_symbols=yes
8058       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'
8059       # Note: this linker hardcodes the directories in LIBPATH if there
8060       # are no directories specified by -L.
8061       hardcode_minus_L=yes
8062       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8063         # Neither direct hardcoding nor static linking is supported with a
8064         # broken collect2.
8065         hardcode_direct=unsupported
8066       fi
8067       ;;
8068
8069     aix[4-9]*)
8070       if test "$host_cpu" = ia64; then
8071         # On IA64, the linker does run time linking by default, so we don't
8072         # have to do anything special.
8073         aix_use_runtimelinking=no
8074         exp_sym_flag='-Bexport'
8075         no_entry_flag=""
8076       else
8077         # If we're using GNU nm, then we don't want the "-C" option.
8078         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8079         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8080           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'
8081         else
8082           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'
8083         fi
8084         aix_use_runtimelinking=no
8085
8086         # Test if we are trying to use run time linking or normal
8087         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8088         # need to do runtime linking.
8089         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8090           for ld_flag in $LDFLAGS; do
8091           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8092             aix_use_runtimelinking=yes
8093             break
8094           fi
8095           done
8096           ;;
8097         esac
8098
8099         exp_sym_flag='-bexport'
8100         no_entry_flag='-bnoentry'
8101       fi
8102
8103       # When large executables or shared objects are built, AIX ld can
8104       # have problems creating the table of contents.  If linking a library
8105       # or program results in "error TOC overflow" add -mminimal-toc to
8106       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8107       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8108
8109       archive_cmds=''
8110       hardcode_direct=yes
8111       hardcode_direct_absolute=yes
8112       hardcode_libdir_separator=':'
8113       link_all_deplibs=yes
8114       file_list_spec='${wl}-f,'
8115
8116       if test "$GCC" = yes; then
8117         case $host_os in aix4.[012]|aix4.[012].*)
8118         # We only want to do this on AIX 4.2 and lower, the check
8119         # below for broken collect2 doesn't work under 4.3+
8120           collect2name=`${CC} -print-prog-name=collect2`
8121           if test -f "$collect2name" &&
8122            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8123           then
8124           # We have reworked collect2
8125           :
8126           else
8127           # We have old collect2
8128           hardcode_direct=unsupported
8129           # It fails to find uninstalled libraries when the uninstalled
8130           # path is not listed in the libpath.  Setting hardcode_minus_L
8131           # to unsupported forces relinking
8132           hardcode_minus_L=yes
8133           hardcode_libdir_flag_spec='-L$libdir'
8134           hardcode_libdir_separator=
8135           fi
8136           ;;
8137         esac
8138         shared_flag='-shared'
8139         if test "$aix_use_runtimelinking" = yes; then
8140           shared_flag="$shared_flag "'${wl}-G'
8141         fi
8142       else
8143         # not using gcc
8144         if test "$host_cpu" = ia64; then
8145         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8146         # chokes on -Wl,-G. The following line is correct:
8147           shared_flag='-G'
8148         else
8149           if test "$aix_use_runtimelinking" = yes; then
8150             shared_flag='${wl}-G'
8151           else
8152             shared_flag='${wl}-bM:SRE'
8153           fi
8154         fi
8155       fi
8156
8157       # It seems that -bexpall does not export symbols beginning with
8158       # underscore (_), so it is better to generate a list of symbols to export.
8159       always_export_symbols=yes
8160       if test "$aix_use_runtimelinking" = yes; then
8161         # Warning - without using the other runtime loading flags (-brtl),
8162         # -berok will link without error, but may produce a broken library.
8163         allow_undefined_flag='-berok'
8164         # Determine the default libpath from the value encoded in an
8165         # empty executable.
8166         if test x$gcc_no_link = xyes; then
8167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8169    { (exit 1); exit 1; }; }
8170 fi
8171 cat >conftest.$ac_ext <<_ACEOF
8172 /* confdefs.h.  */
8173 _ACEOF
8174 cat confdefs.h >>conftest.$ac_ext
8175 cat >>conftest.$ac_ext <<_ACEOF
8176 /* end confdefs.h.  */
8177
8178 int
8179 main ()
8180 {
8181
8182   ;
8183   return 0;
8184 }
8185 _ACEOF
8186 rm -f conftest.$ac_objext conftest$ac_exeext
8187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8188   (eval $ac_link) 2>conftest.er1
8189   ac_status=$?
8190   grep -v '^ *+' conftest.er1 >conftest.err
8191   rm -f conftest.er1
8192   cat conftest.err >&5
8193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194   (exit $ac_status); } &&
8195          { ac_try='test -z "$ac_c_werror_flag"
8196                          || test ! -s conftest.err'
8197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8198   (eval $ac_try) 2>&5
8199   ac_status=$?
8200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201   (exit $ac_status); }; } &&
8202          { ac_try='test -s conftest$ac_exeext'
8203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204   (eval $ac_try) 2>&5
8205   ac_status=$?
8206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207   (exit $ac_status); }; }; then
8208
8209 lt_aix_libpath_sed='
8210     /Import File Strings/,/^$/ {
8211         /^0/ {
8212             s/^0  *\(.*\)$/\1/
8213             p
8214         }
8215     }'
8216 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8217 # Check for a 64-bit object if we didn't find anything.
8218 if test -z "$aix_libpath"; then
8219   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8220 fi
8221 else
8222   echo "$as_me: failed program was:" >&5
8223 sed 's/^/| /' conftest.$ac_ext >&5
8224
8225 fi
8226 rm -f conftest.err conftest.$ac_objext \
8227       conftest$ac_exeext conftest.$ac_ext
8228 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8229
8230         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8231         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"
8232       else
8233         if test "$host_cpu" = ia64; then
8234           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8235           allow_undefined_flag="-z nodefs"
8236           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"
8237         else
8238          # Determine the default libpath from the value encoded in an
8239          # empty executable.
8240          if test x$gcc_no_link = xyes; then
8241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8243    { (exit 1); exit 1; }; }
8244 fi
8245 cat >conftest.$ac_ext <<_ACEOF
8246 /* confdefs.h.  */
8247 _ACEOF
8248 cat confdefs.h >>conftest.$ac_ext
8249 cat >>conftest.$ac_ext <<_ACEOF
8250 /* end confdefs.h.  */
8251
8252 int
8253 main ()
8254 {
8255
8256   ;
8257   return 0;
8258 }
8259 _ACEOF
8260 rm -f conftest.$ac_objext conftest$ac_exeext
8261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8262   (eval $ac_link) 2>conftest.er1
8263   ac_status=$?
8264   grep -v '^ *+' conftest.er1 >conftest.err
8265   rm -f conftest.er1
8266   cat conftest.err >&5
8267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268   (exit $ac_status); } &&
8269          { ac_try='test -z "$ac_c_werror_flag"
8270                          || test ! -s conftest.err'
8271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272   (eval $ac_try) 2>&5
8273   ac_status=$?
8274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275   (exit $ac_status); }; } &&
8276          { ac_try='test -s conftest$ac_exeext'
8277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278   (eval $ac_try) 2>&5
8279   ac_status=$?
8280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281   (exit $ac_status); }; }; then
8282
8283 lt_aix_libpath_sed='
8284     /Import File Strings/,/^$/ {
8285         /^0/ {
8286             s/^0  *\(.*\)$/\1/
8287             p
8288         }
8289     }'
8290 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8291 # Check for a 64-bit object if we didn't find anything.
8292 if test -z "$aix_libpath"; then
8293   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8294 fi
8295 else
8296   echo "$as_me: failed program was:" >&5
8297 sed 's/^/| /' conftest.$ac_ext >&5
8298
8299 fi
8300 rm -f conftest.err conftest.$ac_objext \
8301       conftest$ac_exeext conftest.$ac_ext
8302 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8303
8304          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8305           # Warning - without using the other run time loading flags,
8306           # -berok will link without error, but may produce a broken library.
8307           no_undefined_flag=' ${wl}-bernotok'
8308           allow_undefined_flag=' ${wl}-berok'
8309           # Exported symbols can be pulled into shared objects from archives
8310           whole_archive_flag_spec='$convenience'
8311           archive_cmds_need_lc=yes
8312           # This is similar to how AIX traditionally builds its shared libraries.
8313           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'
8314         fi
8315       fi
8316       ;;
8317
8318     amigaos*)
8319       if test "$host_cpu" = m68k; then
8320         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)'
8321         hardcode_libdir_flag_spec='-L$libdir'
8322         hardcode_minus_L=yes
8323       fi
8324       # see comment about different semantics on the GNU ld section
8325       ld_shlibs=no
8326       ;;
8327
8328     bsdi[45]*)
8329       export_dynamic_flag_spec=-rdynamic
8330       ;;
8331
8332     cygwin* | mingw* | pw32*)
8333       # When not using gcc, we currently assume that we are using
8334       # Microsoft Visual C++.
8335       # hardcode_libdir_flag_spec is actually meaningless, as there is
8336       # no search path for DLLs.
8337       hardcode_libdir_flag_spec=' '
8338       allow_undefined_flag=unsupported
8339       # Tell ltmain to make .lib files, not .a files.
8340       libext=lib
8341       # Tell ltmain to make .dll files, not .so files.
8342       shrext_cmds=".dll"
8343       # FIXME: Setting linknames here is a bad hack.
8344       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8345       # The linker will automatically build a .lib file if we build a DLL.
8346       old_archive_from_new_cmds='true'
8347       # FIXME: Should let the user specify the lib program.
8348       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8349       fix_srcfile_path='`cygpath -w "$srcfile"`'
8350       enable_shared_with_static_runtimes=yes
8351       ;;
8352
8353     darwin* | rhapsody*)
8354       case $host_os in
8355       rhapsody* | darwin1.[012])
8356         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8357         ;;
8358       *) # Darwin 1.3 on
8359         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8360         10.[012])
8361           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8362           ;;
8363         10.*)
8364           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8365           ;;
8366         esac
8367         ;;
8368       esac
8369       archive_cmds_need_lc=no
8370       hardcode_direct=no
8371       hardcode_automatic=yes
8372       hardcode_shlibpath_var=unsupported
8373       whole_archive_flag_spec=''
8374       link_all_deplibs=yes
8375       if test "$GCC" = yes ; then
8376         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8377   echo $ECHO_N "(cached) $ECHO_C" >&6
8378 else
8379   lt_cv_apple_cc_single_mod=no
8380         if test -z "${LT_MULTI_MODULE}"; then
8381           # By default we will add the -single_module flag. You can override
8382           # by either setting the environment variable LT_MULTI_MODULE
8383           # non-empty at configure time, or by adding -multi-module to the
8384           # link flags.
8385           echo "int foo(void){return 1;}" > conftest.c
8386           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8387               -dynamiclib ${wl}-single_module conftest.c
8388           if test -f libconftest.dylib; then
8389               lt_cv_apple_cc_single_mod=yes
8390               rm libconftest.dylib
8391           fi
8392           rm conftest.$ac_ext
8393         fi
8394 fi
8395
8396         output_verbose_link_cmd=echo
8397         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8398           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8399           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}'
8400         else
8401           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8402           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}'
8403         fi
8404         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8405         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}'
8406       else
8407         case $cc_basename in
8408         xlc*)
8409           output_verbose_link_cmd=echo
8410           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8411           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8412           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8413           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}'
8414           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}'
8415           ;;
8416         *)
8417           ld_shlibs=no
8418           ;;
8419         esac
8420       fi
8421       ;;
8422
8423     dgux*)
8424       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8425       hardcode_libdir_flag_spec='-L$libdir'
8426       hardcode_shlibpath_var=no
8427       ;;
8428
8429     freebsd1*)
8430       ld_shlibs=no
8431       ;;
8432
8433     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8434     # support.  Future versions do this automatically, but an explicit c++rt0.o
8435     # does not break anything, and helps significantly (at the cost of a little
8436     # extra space).
8437     freebsd2.2*)
8438       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8439       hardcode_libdir_flag_spec='-R$libdir'
8440       hardcode_direct=yes
8441       hardcode_shlibpath_var=no
8442       ;;
8443
8444     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8445     freebsd2*)
8446       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8447       hardcode_direct=yes
8448       hardcode_minus_L=yes
8449       hardcode_shlibpath_var=no
8450       ;;
8451
8452     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8453     freebsd* | dragonfly*)
8454       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8455       hardcode_libdir_flag_spec='-R$libdir'
8456       hardcode_direct=yes
8457       hardcode_shlibpath_var=no
8458       ;;
8459
8460     hpux9*)
8461       if test "$GCC" = yes; then
8462         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'
8463       else
8464         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'
8465       fi
8466       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8467       hardcode_libdir_separator=:
8468       hardcode_direct=yes
8469
8470       # hardcode_minus_L: Not really in the search PATH,
8471       # but as the default location of the library.
8472       hardcode_minus_L=yes
8473       export_dynamic_flag_spec='${wl}-E'
8474       ;;
8475
8476     hpux10*)
8477       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8478         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8479       else
8480         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8481       fi
8482       if test "$with_gnu_ld" = no; then
8483         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8484         hardcode_libdir_flag_spec_ld='+b $libdir'
8485         hardcode_libdir_separator=:
8486         hardcode_direct=yes
8487         hardcode_direct_absolute=yes
8488         export_dynamic_flag_spec='${wl}-E'
8489         # hardcode_minus_L: Not really in the search PATH,
8490         # but as the default location of the library.
8491         hardcode_minus_L=yes
8492       fi
8493       ;;
8494
8495     hpux11*)
8496       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8497         case $host_cpu in
8498         hppa*64*)
8499           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8500           ;;
8501         ia64*)
8502           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8503           ;;
8504         *)
8505           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8506           ;;
8507         esac
8508       else
8509         case $host_cpu in
8510         hppa*64*)
8511           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8512           ;;
8513         ia64*)
8514           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8515           ;;
8516         *)
8517           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8518           ;;
8519         esac
8520       fi
8521       if test "$with_gnu_ld" = no; then
8522         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8523         hardcode_libdir_separator=:
8524
8525         case $host_cpu in
8526         hppa*64*|ia64*)
8527           hardcode_direct=no
8528           hardcode_shlibpath_var=no
8529           ;;
8530         *)
8531           hardcode_direct=yes
8532           hardcode_direct_absolute=yes
8533           export_dynamic_flag_spec='${wl}-E'
8534
8535           # hardcode_minus_L: Not really in the search PATH,
8536           # but as the default location of the library.
8537           hardcode_minus_L=yes
8538           ;;
8539         esac
8540       fi
8541       ;;
8542
8543     irix5* | irix6* | nonstopux*)
8544       if test "$GCC" = yes; then
8545         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'
8546         # Try to use the -exported_symbol ld option, if it does not
8547         # work, assume that -exports_file does not work either and
8548         # implicitly export all symbols.
8549         save_LDFLAGS="$LDFLAGS"
8550         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8551         if test x$gcc_no_link = xyes; then
8552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8554    { (exit 1); exit 1; }; }
8555 fi
8556 cat >conftest.$ac_ext <<_ACEOF
8557 int foo(void) {}
8558 _ACEOF
8559 rm -f conftest.$ac_objext conftest$ac_exeext
8560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8561   (eval $ac_link) 2>conftest.er1
8562   ac_status=$?
8563   grep -v '^ *+' conftest.er1 >conftest.err
8564   rm -f conftest.er1
8565   cat conftest.err >&5
8566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567   (exit $ac_status); } &&
8568          { ac_try='test -z "$ac_c_werror_flag"
8569                          || test ! -s conftest.err'
8570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571   (eval $ac_try) 2>&5
8572   ac_status=$?
8573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574   (exit $ac_status); }; } &&
8575          { ac_try='test -s conftest$ac_exeext'
8576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577   (eval $ac_try) 2>&5
8578   ac_status=$?
8579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580   (exit $ac_status); }; }; then
8581   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'
8582
8583 else
8584   echo "$as_me: failed program was:" >&5
8585 sed 's/^/| /' conftest.$ac_ext >&5
8586
8587 fi
8588 rm -f conftest.err conftest.$ac_objext \
8589       conftest$ac_exeext conftest.$ac_ext
8590         LDFLAGS="$save_LDFLAGS"
8591       else
8592         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'
8593         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'
8594       fi
8595       archive_cmds_need_lc='no'
8596       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8597       hardcode_libdir_separator=:
8598       inherit_rpath=yes
8599       link_all_deplibs=yes
8600       ;;
8601
8602     netbsd*)
8603       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8604         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8605       else
8606         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8607       fi
8608       hardcode_libdir_flag_spec='-R$libdir'
8609       hardcode_direct=yes
8610       hardcode_shlibpath_var=no
8611       ;;
8612
8613     newsos6)
8614       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8615       hardcode_direct=yes
8616       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8617       hardcode_libdir_separator=:
8618       hardcode_shlibpath_var=no
8619       ;;
8620
8621     *nto* | *qnx*)
8622       ;;
8623
8624     openbsd*)
8625       hardcode_direct=yes
8626       hardcode_shlibpath_var=no
8627       hardcode_direct_absolute=yes
8628       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8629         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8630         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8631         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8632         export_dynamic_flag_spec='${wl}-E'
8633       else
8634         case $host_os in
8635         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8636           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8637           hardcode_libdir_flag_spec='-R$libdir'
8638           ;;
8639         *)
8640           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8641           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8642           ;;
8643         esac
8644       fi
8645       ;;
8646
8647     os2*)
8648       hardcode_libdir_flag_spec='-L$libdir'
8649       hardcode_minus_L=yes
8650       allow_undefined_flag=unsupported
8651       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'
8652       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8653       ;;
8654
8655     osf3*)
8656       if test "$GCC" = yes; then
8657         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8658         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'
8659       else
8660         allow_undefined_flag=' -expect_unresolved \*'
8661         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'
8662       fi
8663       archive_cmds_need_lc='no'
8664       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8665       hardcode_libdir_separator=:
8666       ;;
8667
8668     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8669       if test "$GCC" = yes; then
8670         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8671         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'
8672         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8673       else
8674         allow_undefined_flag=' -expect_unresolved \*'
8675         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'
8676         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~
8677         $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'
8678
8679         # Both c and cxx compiler support -rpath directly
8680         hardcode_libdir_flag_spec='-rpath $libdir'
8681       fi
8682       archive_cmds_need_lc='no'
8683       hardcode_libdir_separator=:
8684       ;;
8685
8686     solaris*)
8687       no_undefined_flag=' -z defs'
8688       if test "$GCC" = yes; then
8689         wlarc='${wl}'
8690         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8691         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8692           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8693       else
8694         case `$CC -V 2>&1` in
8695         *"Compilers 5.0"*)
8696           wlarc=''
8697           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8698           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8699           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8700           ;;
8701         *)
8702           wlarc='${wl}'
8703           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8704           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8705           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8706           ;;
8707         esac
8708       fi
8709       hardcode_libdir_flag_spec='-R$libdir'
8710       hardcode_shlibpath_var=no
8711       case $host_os in
8712       solaris2.[0-5] | solaris2.[0-5].*) ;;
8713       *)
8714         # The compiler driver will combine and reorder linker options,
8715         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8716         # but is careful enough not to reorder.
8717         # Supported since Solaris 2.6 (maybe 2.5.1?)
8718         if test "$GCC" = yes; then
8719           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8720         else
8721           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8722         fi
8723         ;;
8724       esac
8725       link_all_deplibs=yes
8726       ;;
8727
8728     sunos4*)
8729       if test "x$host_vendor" = xsequent; then
8730         # Use $CC to link under sequent, because it throws in some extra .o
8731         # files that make .init and .fini sections work.
8732         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8733       else
8734         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8735       fi
8736       hardcode_libdir_flag_spec='-L$libdir'
8737       hardcode_direct=yes
8738       hardcode_minus_L=yes
8739       hardcode_shlibpath_var=no
8740       ;;
8741
8742     sysv4)
8743       case $host_vendor in
8744         sni)
8745           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8746           hardcode_direct=yes # is this really true???
8747         ;;
8748         siemens)
8749           ## LD is ld it makes a PLAMLIB
8750           ## CC just makes a GrossModule.
8751           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8752           reload_cmds='$CC -r -o $output$reload_objs'
8753           hardcode_direct=no
8754         ;;
8755         motorola)
8756           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8757           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8758         ;;
8759       esac
8760       runpath_var='LD_RUN_PATH'
8761       hardcode_shlibpath_var=no
8762       ;;
8763
8764     sysv4.3*)
8765       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8766       hardcode_shlibpath_var=no
8767       export_dynamic_flag_spec='-Bexport'
8768       ;;
8769
8770     sysv4*MP*)
8771       if test -d /usr/nec; then
8772         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8773         hardcode_shlibpath_var=no
8774         runpath_var=LD_RUN_PATH
8775         hardcode_runpath_var=yes
8776         ld_shlibs=yes
8777       fi
8778       ;;
8779
8780     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8781       no_undefined_flag='${wl}-z,text'
8782       archive_cmds_need_lc=no
8783       hardcode_shlibpath_var=no
8784       runpath_var='LD_RUN_PATH'
8785
8786       if test "$GCC" = yes; then
8787         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8788         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789       else
8790         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8791         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8792       fi
8793       ;;
8794
8795     sysv5* | sco3.2v5* | sco5v6*)
8796       # Note: We can NOT use -z defs as we might desire, because we do not
8797       # link with -lc, and that would cause any symbols used from libc to
8798       # always be unresolved, which means just about no library would
8799       # ever link correctly.  If we're not using GNU ld we use -z text
8800       # though, which does catch some bad symbols but isn't as heavy-handed
8801       # as -z defs.
8802       no_undefined_flag='${wl}-z,text'
8803       allow_undefined_flag='${wl}-z,nodefs'
8804       archive_cmds_need_lc=no
8805       hardcode_shlibpath_var=no
8806       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8807       hardcode_libdir_separator=':'
8808       link_all_deplibs=yes
8809       export_dynamic_flag_spec='${wl}-Bexport'
8810       runpath_var='LD_RUN_PATH'
8811
8812       if test "$GCC" = yes; then
8813         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8814         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815       else
8816         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8817         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8818       fi
8819       ;;
8820
8821     uts4*)
8822       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8823       hardcode_libdir_flag_spec='-L$libdir'
8824       hardcode_shlibpath_var=no
8825       ;;
8826
8827     *)
8828       ld_shlibs=no
8829       ;;
8830     esac
8831
8832     if test x$host_vendor = xsni; then
8833       case $host in
8834       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8835         export_dynamic_flag_spec='${wl}-Blargedynsym'
8836         ;;
8837       esac
8838     fi
8839   fi
8840
8841 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8842 echo "${ECHO_T}$ld_shlibs" >&6
8843 test "$ld_shlibs" = no && can_build_shared=no
8844
8845 with_gnu_ld=$with_gnu_ld
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861 #
8862 # Do we need to explicitly link libc?
8863 #
8864 case "x$archive_cmds_need_lc" in
8865 x|xyes)
8866   # Assume -lc should be added
8867   archive_cmds_need_lc=yes
8868
8869   if test "$enable_shared" = yes && test "$GCC" = yes; then
8870     case $archive_cmds in
8871     *'~'*)
8872       # FIXME: we may have to deal with multi-command sequences.
8873       ;;
8874     '$CC '*)
8875       # Test whether the compiler implicitly links with -lc since on some
8876       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8877       # to ld, don't add -lc before -lgcc.
8878       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8879 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8880       $RM conftest*
8881       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8882
8883       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8884   (eval $ac_compile) 2>&5
8885   ac_status=$?
8886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887   (exit $ac_status); } 2>conftest.err; then
8888         soname=conftest
8889         lib=conftest
8890         libobjs=conftest.$ac_objext
8891         deplibs=
8892         wl=$lt_prog_compiler_wl
8893         pic_flag=$lt_prog_compiler_pic
8894         compiler_flags=-v
8895         linker_flags=-v
8896         verstring=
8897         output_objdir=.
8898         libname=conftest
8899         lt_save_allow_undefined_flag=$allow_undefined_flag
8900         allow_undefined_flag=
8901         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8902   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8903   ac_status=$?
8904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905   (exit $ac_status); }
8906         then
8907           archive_cmds_need_lc=no
8908         else
8909           archive_cmds_need_lc=yes
8910         fi
8911         allow_undefined_flag=$lt_save_allow_undefined_flag
8912       else
8913         cat conftest.err 1>&5
8914       fi
8915       $RM conftest*
8916       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8917 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8918       ;;
8919     esac
8920   fi
8921   ;;
8922 esac
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
9079
9080   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9081 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9082 withGCC=$GCC
9083 if test "$withGCC" = yes; then
9084   case $host_os in
9085     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9086     *) lt_awk_arg="/^libraries:/" ;;
9087   esac
9088   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9089   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9090     # if the path contains ";" then we assume it to be the separator
9091     # otherwise default to the standard path separator (i.e. ":") - it is
9092     # assumed that no part of a normal pathname contains ";" but that should
9093     # okay in the real world where ";" in dirpaths is itself problematic.
9094     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9095   else
9096     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9097   fi
9098   # Ok, now we have the path, separated by spaces, we can step through it
9099   # and add multilib dir if necessary.
9100   lt_tmp_lt_search_path_spec=
9101   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9102   for lt_sys_path in $lt_search_path_spec; do
9103     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9104       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9105     else
9106       test -d "$lt_sys_path" && \
9107         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9108     fi
9109   done
9110   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9111 BEGIN {RS=" "; FS="/|\n";} {
9112   lt_foo="";
9113   lt_count=0;
9114   for (lt_i = NF; lt_i > 0; lt_i--) {
9115     if ($lt_i != "" && $lt_i != ".") {
9116       if ($lt_i == "..") {
9117         lt_count++;
9118       } else {
9119         if (lt_count == 0) {
9120           lt_foo="/" $lt_i lt_foo;
9121         } else {
9122           lt_count--;
9123         }
9124       }
9125     }
9126   }
9127   if (lt_foo != "") { lt_freq[lt_foo]++; }
9128   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9129 }'`
9130   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9131 else
9132   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9133 fi
9134 library_names_spec=
9135 libname_spec='lib$name'
9136 soname_spec=
9137 shrext_cmds=".so"
9138 postinstall_cmds=
9139 postuninstall_cmds=
9140 finish_cmds=
9141 finish_eval=
9142 shlibpath_var=
9143 shlibpath_overrides_runpath=unknown
9144 version_type=none
9145 dynamic_linker="$host_os ld.so"
9146 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9147 need_lib_prefix=unknown
9148 hardcode_into_libs=no
9149
9150 # when you set need_version to no, make sure it does not cause -set_version
9151 # flags to be left without arguments
9152 need_version=unknown
9153
9154 case $host_os in
9155 aix3*)
9156   version_type=linux
9157   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9158   shlibpath_var=LIBPATH
9159
9160   # AIX 3 has no versioning support, so we append a major version to the name.
9161   soname_spec='${libname}${release}${shared_ext}$major'
9162   ;;
9163
9164 aix[4-9]*)
9165   version_type=linux
9166   need_lib_prefix=no
9167   need_version=no
9168   hardcode_into_libs=yes
9169   if test "$host_cpu" = ia64; then
9170     # AIX 5 supports IA64
9171     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9172     shlibpath_var=LD_LIBRARY_PATH
9173   else
9174     # With GCC up to 2.95.x, collect2 would create an import file
9175     # for dependence libraries.  The import file would start with
9176     # the line `#! .'.  This would cause the generated library to
9177     # depend on `.', always an invalid library.  This was fixed in
9178     # development snapshots of GCC prior to 3.0.
9179     case $host_os in
9180       aix4 | aix4.[01] | aix4.[01].*)
9181       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9182            echo ' yes '
9183            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9184         :
9185       else
9186         can_build_shared=no
9187       fi
9188       ;;
9189     esac
9190     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9191     # soname into executable. Probably we can add versioning support to
9192     # collect2, so additional links can be useful in future.
9193     if test "$aix_use_runtimelinking" = yes; then
9194       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9195       # instead of lib<name>.a to let people know that these are not
9196       # typical AIX shared libraries.
9197       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198     else
9199       # We preserve .a as extension for shared libraries through AIX4.2
9200       # and later when we are not doing run time linking.
9201       library_names_spec='${libname}${release}.a $libname.a'
9202       soname_spec='${libname}${release}${shared_ext}$major'
9203     fi
9204     shlibpath_var=LIBPATH
9205   fi
9206   ;;
9207
9208 amigaos*)
9209   if test "$host_cpu" = m68k; then
9210     library_names_spec='$libname.ixlibrary $libname.a'
9211     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9212     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'
9213   else
9214     dynamic_linker=no
9215   fi
9216   ;;
9217
9218 beos*)
9219   library_names_spec='${libname}${shared_ext}'
9220   dynamic_linker="$host_os ld.so"
9221   shlibpath_var=LIBRARY_PATH
9222   ;;
9223
9224 bsdi[45]*)
9225   version_type=linux
9226   need_version=no
9227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9228   soname_spec='${libname}${release}${shared_ext}$major'
9229   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9230   shlibpath_var=LD_LIBRARY_PATH
9231   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9232   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9233   # the default ld.so.conf also contains /usr/contrib/lib and
9234   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9235   # libtool to hard-code these into programs
9236   ;;
9237
9238 cygwin* | mingw* | pw32*)
9239   version_type=windows
9240   shrext_cmds=".dll"
9241   need_version=no
9242   need_lib_prefix=no
9243
9244   case $withGCC,$host_os in
9245   yes,cygwin* | yes,mingw* | yes,pw32*)
9246     library_names_spec='$libname.dll.a'
9247     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9248     postinstall_cmds='base_file=`basename \${file}`~
9249       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9250       dldir=$destdir/`dirname \$dlpath`~
9251       test -d \$dldir || mkdir -p \$dldir~
9252       $install_prog $dir/$dlname \$dldir/$dlname~
9253       chmod a+x \$dldir/$dlname~
9254       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9255         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9256       fi'
9257     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9258       dlpath=$dir/\$dldll~
9259        $RM \$dlpath'
9260     shlibpath_overrides_runpath=yes
9261
9262     case $host_os in
9263     cygwin*)
9264       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9265       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9266       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9267       ;;
9268     mingw*)
9269       # MinGW DLLs use traditional 'lib' prefix
9270       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9271       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9272       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9273         # It is most probably a Windows format PATH printed by
9274         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9275         # path with ; separators, and with drive letters. We can handle the
9276         # drive letters (cygwin fileutils understands them), so leave them,
9277         # especially as we might pass files found there to a mingw objdump,
9278         # which wouldn't understand a cygwinified path. Ahh.
9279         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9280       else
9281         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9282       fi
9283       ;;
9284     pw32*)
9285       # pw32 DLLs use 'pw' prefix rather than 'lib'
9286       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9287       ;;
9288     esac
9289     ;;
9290
9291   *)
9292     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9293     ;;
9294   esac
9295   dynamic_linker='Win32 ld.exe'
9296   # FIXME: first we should search . and the directory the executable is in
9297   shlibpath_var=PATH
9298   ;;
9299
9300 darwin* | rhapsody*)
9301   dynamic_linker="$host_os dyld"
9302   version_type=darwin
9303   need_lib_prefix=no
9304   need_version=no
9305   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9306   soname_spec='${libname}${release}${major}$shared_ext'
9307   shlibpath_overrides_runpath=yes
9308   shlibpath_var=DYLD_LIBRARY_PATH
9309   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9310
9311   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9312   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9313   ;;
9314
9315 dgux*)
9316   version_type=linux
9317   need_lib_prefix=no
9318   need_version=no
9319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9320   soname_spec='${libname}${release}${shared_ext}$major'
9321   shlibpath_var=LD_LIBRARY_PATH
9322   ;;
9323
9324 freebsd1*)
9325   dynamic_linker=no
9326   ;;
9327
9328 freebsd* | dragonfly*)
9329   # DragonFly does not have aout.  When/if they implement a new
9330   # versioning mechanism, adjust this.
9331   if test -x /usr/bin/objformat; then
9332     objformat=`/usr/bin/objformat`
9333   else
9334     case $host_os in
9335     freebsd[123]*) objformat=aout ;;
9336     *) objformat=elf ;;
9337     esac
9338   fi
9339   version_type=freebsd-$objformat
9340   case $version_type in
9341     freebsd-elf*)
9342       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9343       need_version=no
9344       need_lib_prefix=no
9345       ;;
9346     freebsd-*)
9347       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9348       need_version=yes
9349       ;;
9350   esac
9351   shlibpath_var=LD_LIBRARY_PATH
9352   case $host_os in
9353   freebsd2*)
9354     shlibpath_overrides_runpath=yes
9355     ;;
9356   freebsd3.[01]* | freebsdelf3.[01]*)
9357     shlibpath_overrides_runpath=yes
9358     hardcode_into_libs=yes
9359     ;;
9360   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9361   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9362     shlibpath_overrides_runpath=no
9363     hardcode_into_libs=yes
9364     ;;
9365   *) # from 4.6 on, and DragonFly
9366     shlibpath_overrides_runpath=yes
9367     hardcode_into_libs=yes
9368     ;;
9369   esac
9370   ;;
9371
9372 gnu*)
9373   version_type=linux
9374   need_lib_prefix=no
9375   need_version=no
9376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9377   soname_spec='${libname}${release}${shared_ext}$major'
9378   shlibpath_var=LD_LIBRARY_PATH
9379   hardcode_into_libs=yes
9380   ;;
9381
9382 hpux9* | hpux10* | hpux11*)
9383   # Give a soname corresponding to the major version so that dld.sl refuses to
9384   # link against other versions.
9385   version_type=sunos
9386   need_lib_prefix=no
9387   need_version=no
9388   case $host_cpu in
9389   ia64*)
9390     shrext_cmds='.so'
9391     hardcode_into_libs=yes
9392     dynamic_linker="$host_os dld.so"
9393     shlibpath_var=LD_LIBRARY_PATH
9394     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9395     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9396     soname_spec='${libname}${release}${shared_ext}$major'
9397     if test "X$HPUX_IA64_MODE" = X32; then
9398       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9399     else
9400       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9401     fi
9402     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9403     ;;
9404   hppa*64*)
9405     shrext_cmds='.sl'
9406     hardcode_into_libs=yes
9407     dynamic_linker="$host_os dld.sl"
9408     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9409     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9410     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9411     soname_spec='${libname}${release}${shared_ext}$major'
9412     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9413     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9414     ;;
9415   *)
9416     shrext_cmds='.sl'
9417     dynamic_linker="$host_os dld.sl"
9418     shlibpath_var=SHLIB_PATH
9419     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9420     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9421     soname_spec='${libname}${release}${shared_ext}$major'
9422     ;;
9423   esac
9424   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9425   postinstall_cmds='chmod 555 $lib'
9426   ;;
9427
9428 interix[3-9]*)
9429   version_type=linux
9430   need_lib_prefix=no
9431   need_version=no
9432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9433   soname_spec='${libname}${release}${shared_ext}$major'
9434   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9435   shlibpath_var=LD_LIBRARY_PATH
9436   shlibpath_overrides_runpath=no
9437   hardcode_into_libs=yes
9438   ;;
9439
9440 irix5* | irix6* | nonstopux*)
9441   case $host_os in
9442     nonstopux*) version_type=nonstopux ;;
9443     *)
9444         if test "$lt_cv_prog_gnu_ld" = yes; then
9445                 version_type=linux
9446         else
9447                 version_type=irix
9448         fi ;;
9449   esac
9450   need_lib_prefix=no
9451   need_version=no
9452   soname_spec='${libname}${release}${shared_ext}$major'
9453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9454   case $host_os in
9455   irix5* | nonstopux*)
9456     libsuff= shlibsuff=
9457     ;;
9458   *)
9459     case $LD in # libtool.m4 will add one of these switches to LD
9460     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9461       libsuff= shlibsuff= libmagic=32-bit;;
9462     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9463       libsuff=32 shlibsuff=N32 libmagic=N32;;
9464     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9465       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9466     *) libsuff= shlibsuff= libmagic=never-match;;
9467     esac
9468     ;;
9469   esac
9470   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9471   shlibpath_overrides_runpath=no
9472   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9473   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9474   hardcode_into_libs=yes
9475   ;;
9476
9477 # No shared lib support for Linux oldld, aout, or coff.
9478 linux*oldld* | linux*aout* | linux*coff*)
9479   dynamic_linker=no
9480   ;;
9481
9482 # This must be Linux ELF.
9483 linux* | k*bsd*-gnu)
9484   version_type=linux
9485   need_lib_prefix=no
9486   need_version=no
9487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9488   soname_spec='${libname}${release}${shared_ext}$major'
9489   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9490   shlibpath_var=LD_LIBRARY_PATH
9491   shlibpath_overrides_runpath=no
9492   # Some binutils ld are patched to set DT_RUNPATH
9493   save_LDFLAGS=$LDFLAGS
9494   save_libdir=$libdir
9495   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9496        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9497   if test x$gcc_no_link = xyes; then
9498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9500    { (exit 1); exit 1; }; }
9501 fi
9502 cat >conftest.$ac_ext <<_ACEOF
9503 /* confdefs.h.  */
9504 _ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h.  */
9508
9509 int
9510 main ()
9511 {
9512
9513   ;
9514   return 0;
9515 }
9516 _ACEOF
9517 rm -f conftest.$ac_objext conftest$ac_exeext
9518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9519   (eval $ac_link) 2>conftest.er1
9520   ac_status=$?
9521   grep -v '^ *+' conftest.er1 >conftest.err
9522   rm -f conftest.er1
9523   cat conftest.err >&5
9524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525   (exit $ac_status); } &&
9526          { ac_try='test -z "$ac_c_werror_flag"
9527                          || test ! -s conftest.err'
9528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9529   (eval $ac_try) 2>&5
9530   ac_status=$?
9531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532   (exit $ac_status); }; } &&
9533          { ac_try='test -s conftest$ac_exeext'
9534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9535   (eval $ac_try) 2>&5
9536   ac_status=$?
9537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538   (exit $ac_status); }; }; then
9539   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9540   shlibpath_overrides_runpath=yes
9541 fi
9542
9543 else
9544   echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9546
9547 fi
9548 rm -f conftest.err conftest.$ac_objext \
9549       conftest$ac_exeext conftest.$ac_ext
9550   LDFLAGS=$save_LDFLAGS
9551   libdir=$save_libdir
9552
9553   # This implies no fast_install, which is unacceptable.
9554   # Some rework will be needed to allow for fast_install
9555   # before this can be enabled.
9556   hardcode_into_libs=yes
9557
9558   # Append ld.so.conf contents to the search path
9559   if test -f /etc/ld.so.conf; then
9560     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' ' '`
9561     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9562   fi
9563
9564   # We used to test for /lib/ld.so.1 and disable shared libraries on
9565   # powerpc, because MkLinux only supported shared libraries with the
9566   # GNU dynamic linker.  Since this was broken with cross compilers,
9567   # most powerpc-linux boxes support dynamic linking these days and
9568   # people can always --disable-shared, the test was removed, and we
9569   # assume the GNU/Linux dynamic linker is in use.
9570   dynamic_linker='GNU/Linux ld.so'
9571   ;;
9572
9573 netbsd*)
9574   version_type=sunos
9575   need_lib_prefix=no
9576   need_version=no
9577   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9579     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9580     dynamic_linker='NetBSD (a.out) ld.so'
9581   else
9582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9583     soname_spec='${libname}${release}${shared_ext}$major'
9584     dynamic_linker='NetBSD ld.elf_so'
9585   fi
9586   shlibpath_var=LD_LIBRARY_PATH
9587   shlibpath_overrides_runpath=yes
9588   hardcode_into_libs=yes
9589   ;;
9590
9591 newsos6)
9592   version_type=linux
9593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9594   shlibpath_var=LD_LIBRARY_PATH
9595   shlibpath_overrides_runpath=yes
9596   ;;
9597
9598 *nto* | *qnx*)
9599   version_type=qnx
9600   need_lib_prefix=no
9601   need_version=no
9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9603   soname_spec='${libname}${release}${shared_ext}$major'
9604   shlibpath_var=LD_LIBRARY_PATH
9605   shlibpath_overrides_runpath=no
9606   hardcode_into_libs=yes
9607   dynamic_linker='ldqnx.so'
9608   ;;
9609
9610 openbsd*)
9611   version_type=sunos
9612   sys_lib_dlsearch_path_spec="/usr/lib"
9613   need_lib_prefix=no
9614   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9615   case $host_os in
9616     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9617     *)                          need_version=no  ;;
9618   esac
9619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9620   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9621   shlibpath_var=LD_LIBRARY_PATH
9622   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9623     case $host_os in
9624       openbsd2.[89] | openbsd2.[89].*)
9625         shlibpath_overrides_runpath=no
9626         ;;
9627       *)
9628         shlibpath_overrides_runpath=yes
9629         ;;
9630       esac
9631   else
9632     shlibpath_overrides_runpath=yes
9633   fi
9634   ;;
9635
9636 os2*)
9637   libname_spec='$name'
9638   shrext_cmds=".dll"
9639   need_lib_prefix=no
9640   library_names_spec='$libname${shared_ext} $libname.a'
9641   dynamic_linker='OS/2 ld.exe'
9642   shlibpath_var=LIBPATH
9643   ;;
9644
9645 osf3* | osf4* | osf5*)
9646   version_type=osf
9647   need_lib_prefix=no
9648   need_version=no
9649   soname_spec='${libname}${release}${shared_ext}$major'
9650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9651   shlibpath_var=LD_LIBRARY_PATH
9652   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9653   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9654   ;;
9655
9656 rdos*)
9657   dynamic_linker=no
9658   ;;
9659
9660 solaris*)
9661   version_type=linux
9662   need_lib_prefix=no
9663   need_version=no
9664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9665   soname_spec='${libname}${release}${shared_ext}$major'
9666   shlibpath_var=LD_LIBRARY_PATH
9667   shlibpath_overrides_runpath=yes
9668   hardcode_into_libs=yes
9669   # ldd complains unless libraries are executable
9670   postinstall_cmds='chmod +x $lib'
9671   ;;
9672
9673 sunos4*)
9674   version_type=sunos
9675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9676   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9677   shlibpath_var=LD_LIBRARY_PATH
9678   shlibpath_overrides_runpath=yes
9679   if test "$with_gnu_ld" = yes; then
9680     need_lib_prefix=no
9681   fi
9682   need_version=yes
9683   ;;
9684
9685 sysv4 | sysv4.3*)
9686   version_type=linux
9687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9688   soname_spec='${libname}${release}${shared_ext}$major'
9689   shlibpath_var=LD_LIBRARY_PATH
9690   case $host_vendor in
9691     sni)
9692       shlibpath_overrides_runpath=no
9693       need_lib_prefix=no
9694       runpath_var=LD_RUN_PATH
9695       ;;
9696     siemens)
9697       need_lib_prefix=no
9698       ;;
9699     motorola)
9700       need_lib_prefix=no
9701       need_version=no
9702       shlibpath_overrides_runpath=no
9703       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9704       ;;
9705   esac
9706   ;;
9707
9708 sysv4*MP*)
9709   if test -d /usr/nec ;then
9710     version_type=linux
9711     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9712     soname_spec='$libname${shared_ext}.$major'
9713     shlibpath_var=LD_LIBRARY_PATH
9714   fi
9715   ;;
9716
9717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9718   version_type=freebsd-elf
9719   need_lib_prefix=no
9720   need_version=no
9721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9722   soname_spec='${libname}${release}${shared_ext}$major'
9723   shlibpath_var=LD_LIBRARY_PATH
9724   shlibpath_overrides_runpath=yes
9725   hardcode_into_libs=yes
9726   if test "$with_gnu_ld" = yes; then
9727     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9728   else
9729     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9730     case $host_os in
9731       sco3.2v5*)
9732         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9733         ;;
9734     esac
9735   fi
9736   sys_lib_dlsearch_path_spec='/usr/lib'
9737   ;;
9738
9739 tpf*)
9740   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9741   version_type=linux
9742   need_lib_prefix=no
9743   need_version=no
9744   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9745   shlibpath_var=LD_LIBRARY_PATH
9746   shlibpath_overrides_runpath=no
9747   hardcode_into_libs=yes
9748   ;;
9749
9750 uts4*)
9751   version_type=linux
9752   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753   soname_spec='${libname}${release}${shared_ext}$major'
9754   shlibpath_var=LD_LIBRARY_PATH
9755   ;;
9756
9757 *)
9758   dynamic_linker=no
9759   ;;
9760 esac
9761 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9762 echo "${ECHO_T}$dynamic_linker" >&6
9763 test "$dynamic_linker" = no && can_build_shared=no
9764
9765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9766 if test "$GCC" = yes; then
9767   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9768 fi
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
9855
9856   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9857 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9858 hardcode_action=
9859 if test -n "$hardcode_libdir_flag_spec" ||
9860    test -n "$runpath_var" ||
9861    test "X$hardcode_automatic" = "Xyes" ; then
9862
9863   # We can hardcode non-existent directories.
9864   if test "$hardcode_direct" != no &&
9865      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9866      # have to relink, otherwise we might link with an installed library
9867      # when we should be linking with a yet-to-be-installed one
9868      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9869      test "$hardcode_minus_L" != no; then
9870     # Linking always hardcodes the temporary library directory.
9871     hardcode_action=relink
9872   else
9873     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9874     hardcode_action=immediate
9875   fi
9876 else
9877   # We cannot hardcode anything, or else we can only hardcode existing
9878   # directories.
9879   hardcode_action=unsupported
9880 fi
9881 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9882 echo "${ECHO_T}$hardcode_action" >&6
9883
9884 if test "$hardcode_action" = relink ||
9885    test "$inherit_rpath" = yes; then
9886   # Fast installation is not supported
9887   enable_fast_install=no
9888 elif test "$shlibpath_overrides_runpath" = yes ||
9889      test "$enable_shared" = no; then
9890   # Fast installation is not necessary
9891   enable_fast_install=needless
9892 fi
9893
9894
9895
9896
9897
9898
9899   if test "x$enable_dlopen" != xyes; then
9900   enable_dlopen=unknown
9901   enable_dlopen_self=unknown
9902   enable_dlopen_self_static=unknown
9903 else
9904   lt_cv_dlopen=no
9905   lt_cv_dlopen_libs=
9906
9907   case $host_os in
9908   beos*)
9909     lt_cv_dlopen="load_add_on"
9910     lt_cv_dlopen_libs=
9911     lt_cv_dlopen_self=yes
9912     ;;
9913
9914   mingw* | pw32*)
9915     lt_cv_dlopen="LoadLibrary"
9916     lt_cv_dlopen_libs=
9917     ;;
9918
9919   cygwin*)
9920     lt_cv_dlopen="dlopen"
9921     lt_cv_dlopen_libs=
9922     ;;
9923
9924   darwin*)
9925   # if libdl is installed we need to link against it
9926     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9927 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9928 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9929   echo $ECHO_N "(cached) $ECHO_C" >&6
9930 else
9931   ac_check_lib_save_LIBS=$LIBS
9932 LIBS="-ldl  $LIBS"
9933 if test x$gcc_no_link = xyes; then
9934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9936    { (exit 1); exit 1; }; }
9937 fi
9938 cat >conftest.$ac_ext <<_ACEOF
9939 /* confdefs.h.  */
9940 _ACEOF
9941 cat confdefs.h >>conftest.$ac_ext
9942 cat >>conftest.$ac_ext <<_ACEOF
9943 /* end confdefs.h.  */
9944
9945 /* Override any gcc2 internal prototype to avoid an error.  */
9946 #ifdef __cplusplus
9947 extern "C"
9948 #endif
9949 /* We use char because int might match the return type of a gcc2
9950    builtin and then its argument prototype would still apply.  */
9951 char dlopen ();
9952 int
9953 main ()
9954 {
9955 dlopen ();
9956   ;
9957   return 0;
9958 }
9959 _ACEOF
9960 rm -f conftest.$ac_objext conftest$ac_exeext
9961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9962   (eval $ac_link) 2>conftest.er1
9963   ac_status=$?
9964   grep -v '^ *+' conftest.er1 >conftest.err
9965   rm -f conftest.er1
9966   cat conftest.err >&5
9967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968   (exit $ac_status); } &&
9969          { ac_try='test -z "$ac_c_werror_flag"
9970                          || test ! -s conftest.err'
9971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9972   (eval $ac_try) 2>&5
9973   ac_status=$?
9974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975   (exit $ac_status); }; } &&
9976          { ac_try='test -s conftest$ac_exeext'
9977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9978   (eval $ac_try) 2>&5
9979   ac_status=$?
9980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981   (exit $ac_status); }; }; then
9982   ac_cv_lib_dl_dlopen=yes
9983 else
9984   echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.$ac_ext >&5
9986
9987 ac_cv_lib_dl_dlopen=no
9988 fi
9989 rm -f conftest.err conftest.$ac_objext \
9990       conftest$ac_exeext conftest.$ac_ext
9991 LIBS=$ac_check_lib_save_LIBS
9992 fi
9993 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9994 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9995 if test $ac_cv_lib_dl_dlopen = yes; then
9996   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9997 else
9998
9999     lt_cv_dlopen="dyld"
10000     lt_cv_dlopen_libs=
10001     lt_cv_dlopen_self=yes
10002
10003 fi
10004
10005     ;;
10006
10007   *)
10008     echo "$as_me:$LINENO: checking for shl_load" >&5
10009 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10010 if test "${ac_cv_func_shl_load+set}" = set; then
10011   echo $ECHO_N "(cached) $ECHO_C" >&6
10012 else
10013   if test x$gcc_no_link = xyes; then
10014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10016    { (exit 1); exit 1; }; }
10017 fi
10018 cat >conftest.$ac_ext <<_ACEOF
10019 /* confdefs.h.  */
10020 _ACEOF
10021 cat confdefs.h >>conftest.$ac_ext
10022 cat >>conftest.$ac_ext <<_ACEOF
10023 /* end confdefs.h.  */
10024 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10026 #define shl_load innocuous_shl_load
10027
10028 /* System header to define __stub macros and hopefully few prototypes,
10029     which can conflict with char shl_load (); below.
10030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10031     <limits.h> exists even on freestanding compilers.  */
10032
10033 #ifdef __STDC__
10034 # include <limits.h>
10035 #else
10036 # include <assert.h>
10037 #endif
10038
10039 #undef shl_load
10040
10041 /* Override any gcc2 internal prototype to avoid an error.  */
10042 #ifdef __cplusplus
10043 extern "C"
10044 {
10045 #endif
10046 /* We use char because int might match the return type of a gcc2
10047    builtin and then its argument prototype would still apply.  */
10048 char shl_load ();
10049 /* The GNU C library defines this for functions which it implements
10050     to always fail with ENOSYS.  Some functions are actually named
10051     something starting with __ and the normal name is an alias.  */
10052 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10053 choke me
10054 #else
10055 char (*f) () = shl_load;
10056 #endif
10057 #ifdef __cplusplus
10058 }
10059 #endif
10060
10061 int
10062 main ()
10063 {
10064 return f != shl_load;
10065   ;
10066   return 0;
10067 }
10068 _ACEOF
10069 rm -f conftest.$ac_objext conftest$ac_exeext
10070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10071   (eval $ac_link) 2>conftest.er1
10072   ac_status=$?
10073   grep -v '^ *+' conftest.er1 >conftest.err
10074   rm -f conftest.er1
10075   cat conftest.err >&5
10076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077   (exit $ac_status); } &&
10078          { ac_try='test -z "$ac_c_werror_flag"
10079                          || test ! -s conftest.err'
10080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10081   (eval $ac_try) 2>&5
10082   ac_status=$?
10083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084   (exit $ac_status); }; } &&
10085          { ac_try='test -s conftest$ac_exeext'
10086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10087   (eval $ac_try) 2>&5
10088   ac_status=$?
10089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090   (exit $ac_status); }; }; then
10091   ac_cv_func_shl_load=yes
10092 else
10093   echo "$as_me: failed program was:" >&5
10094 sed 's/^/| /' conftest.$ac_ext >&5
10095
10096 ac_cv_func_shl_load=no
10097 fi
10098 rm -f conftest.err conftest.$ac_objext \
10099       conftest$ac_exeext conftest.$ac_ext
10100 fi
10101 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10102 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10103 if test $ac_cv_func_shl_load = yes; then
10104   lt_cv_dlopen="shl_load"
10105 else
10106   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10107 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10109   echo $ECHO_N "(cached) $ECHO_C" >&6
10110 else
10111   ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-ldld  $LIBS"
10113 if test x$gcc_no_link = xyes; then
10114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10116    { (exit 1); exit 1; }; }
10117 fi
10118 cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h.  */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h.  */
10124
10125 /* Override any gcc2 internal prototype to avoid an error.  */
10126 #ifdef __cplusplus
10127 extern "C"
10128 #endif
10129 /* We use char because int might match the return type of a gcc2
10130    builtin and then its argument prototype would still apply.  */
10131 char shl_load ();
10132 int
10133 main ()
10134 {
10135 shl_load ();
10136   ;
10137   return 0;
10138 }
10139 _ACEOF
10140 rm -f conftest.$ac_objext conftest$ac_exeext
10141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10142   (eval $ac_link) 2>conftest.er1
10143   ac_status=$?
10144   grep -v '^ *+' conftest.er1 >conftest.err
10145   rm -f conftest.er1
10146   cat conftest.err >&5
10147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148   (exit $ac_status); } &&
10149          { ac_try='test -z "$ac_c_werror_flag"
10150                          || test ! -s conftest.err'
10151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152   (eval $ac_try) 2>&5
10153   ac_status=$?
10154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155   (exit $ac_status); }; } &&
10156          { ac_try='test -s conftest$ac_exeext'
10157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158   (eval $ac_try) 2>&5
10159   ac_status=$?
10160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161   (exit $ac_status); }; }; then
10162   ac_cv_lib_dld_shl_load=yes
10163 else
10164   echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10166
10167 ac_cv_lib_dld_shl_load=no
10168 fi
10169 rm -f conftest.err conftest.$ac_objext \
10170       conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS
10172 fi
10173 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10174 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10175 if test $ac_cv_lib_dld_shl_load = yes; then
10176   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10177 else
10178   echo "$as_me:$LINENO: checking for dlopen" >&5
10179 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10180 if test "${ac_cv_func_dlopen+set}" = set; then
10181   echo $ECHO_N "(cached) $ECHO_C" >&6
10182 else
10183   if test x$gcc_no_link = xyes; then
10184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10186    { (exit 1); exit 1; }; }
10187 fi
10188 cat >conftest.$ac_ext <<_ACEOF
10189 /* confdefs.h.  */
10190 _ACEOF
10191 cat confdefs.h >>conftest.$ac_ext
10192 cat >>conftest.$ac_ext <<_ACEOF
10193 /* end confdefs.h.  */
10194 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10196 #define dlopen innocuous_dlopen
10197
10198 /* System header to define __stub macros and hopefully few prototypes,
10199     which can conflict with char dlopen (); below.
10200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10201     <limits.h> exists even on freestanding compilers.  */
10202
10203 #ifdef __STDC__
10204 # include <limits.h>
10205 #else
10206 # include <assert.h>
10207 #endif
10208
10209 #undef dlopen
10210
10211 /* Override any gcc2 internal prototype to avoid an error.  */
10212 #ifdef __cplusplus
10213 extern "C"
10214 {
10215 #endif
10216 /* We use char because int might match the return type of a gcc2
10217    builtin and then its argument prototype would still apply.  */
10218 char dlopen ();
10219 /* The GNU C library defines this for functions which it implements
10220     to always fail with ENOSYS.  Some functions are actually named
10221     something starting with __ and the normal name is an alias.  */
10222 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10223 choke me
10224 #else
10225 char (*f) () = dlopen;
10226 #endif
10227 #ifdef __cplusplus
10228 }
10229 #endif
10230
10231 int
10232 main ()
10233 {
10234 return f != dlopen;
10235   ;
10236   return 0;
10237 }
10238 _ACEOF
10239 rm -f conftest.$ac_objext conftest$ac_exeext
10240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241   (eval $ac_link) 2>conftest.er1
10242   ac_status=$?
10243   grep -v '^ *+' conftest.er1 >conftest.err
10244   rm -f conftest.er1
10245   cat conftest.err >&5
10246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247   (exit $ac_status); } &&
10248          { ac_try='test -z "$ac_c_werror_flag"
10249                          || test ! -s conftest.err'
10250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10251   (eval $ac_try) 2>&5
10252   ac_status=$?
10253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254   (exit $ac_status); }; } &&
10255          { ac_try='test -s conftest$ac_exeext'
10256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257   (eval $ac_try) 2>&5
10258   ac_status=$?
10259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260   (exit $ac_status); }; }; then
10261   ac_cv_func_dlopen=yes
10262 else
10263   echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10265
10266 ac_cv_func_dlopen=no
10267 fi
10268 rm -f conftest.err conftest.$ac_objext \
10269       conftest$ac_exeext conftest.$ac_ext
10270 fi
10271 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10272 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10273 if test $ac_cv_func_dlopen = yes; then
10274   lt_cv_dlopen="dlopen"
10275 else
10276   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10277 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10278 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10279   echo $ECHO_N "(cached) $ECHO_C" >&6
10280 else
10281   ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-ldl  $LIBS"
10283 if test x$gcc_no_link = xyes; then
10284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10286    { (exit 1); exit 1; }; }
10287 fi
10288 cat >conftest.$ac_ext <<_ACEOF
10289 /* confdefs.h.  */
10290 _ACEOF
10291 cat confdefs.h >>conftest.$ac_ext
10292 cat >>conftest.$ac_ext <<_ACEOF
10293 /* end confdefs.h.  */
10294
10295 /* Override any gcc2 internal prototype to avoid an error.  */
10296 #ifdef __cplusplus
10297 extern "C"
10298 #endif
10299 /* We use char because int might match the return type of a gcc2
10300    builtin and then its argument prototype would still apply.  */
10301 char dlopen ();
10302 int
10303 main ()
10304 {
10305 dlopen ();
10306   ;
10307   return 0;
10308 }
10309 _ACEOF
10310 rm -f conftest.$ac_objext conftest$ac_exeext
10311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10312   (eval $ac_link) 2>conftest.er1
10313   ac_status=$?
10314   grep -v '^ *+' conftest.er1 >conftest.err
10315   rm -f conftest.er1
10316   cat conftest.err >&5
10317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318   (exit $ac_status); } &&
10319          { ac_try='test -z "$ac_c_werror_flag"
10320                          || test ! -s conftest.err'
10321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10322   (eval $ac_try) 2>&5
10323   ac_status=$?
10324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325   (exit $ac_status); }; } &&
10326          { ac_try='test -s conftest$ac_exeext'
10327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10328   (eval $ac_try) 2>&5
10329   ac_status=$?
10330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331   (exit $ac_status); }; }; then
10332   ac_cv_lib_dl_dlopen=yes
10333 else
10334   echo "$as_me: failed program was:" >&5
10335 sed 's/^/| /' conftest.$ac_ext >&5
10336
10337 ac_cv_lib_dl_dlopen=no
10338 fi
10339 rm -f conftest.err conftest.$ac_objext \
10340       conftest$ac_exeext conftest.$ac_ext
10341 LIBS=$ac_check_lib_save_LIBS
10342 fi
10343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10344 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10345 if test $ac_cv_lib_dl_dlopen = yes; then
10346   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10347 else
10348   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10349 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10350 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10351   echo $ECHO_N "(cached) $ECHO_C" >&6
10352 else
10353   ac_check_lib_save_LIBS=$LIBS
10354 LIBS="-lsvld  $LIBS"
10355 if test x$gcc_no_link = xyes; then
10356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10358    { (exit 1); exit 1; }; }
10359 fi
10360 cat >conftest.$ac_ext <<_ACEOF
10361 /* confdefs.h.  */
10362 _ACEOF
10363 cat confdefs.h >>conftest.$ac_ext
10364 cat >>conftest.$ac_ext <<_ACEOF
10365 /* end confdefs.h.  */
10366
10367 /* Override any gcc2 internal prototype to avoid an error.  */
10368 #ifdef __cplusplus
10369 extern "C"
10370 #endif
10371 /* We use char because int might match the return type of a gcc2
10372    builtin and then its argument prototype would still apply.  */
10373 char dlopen ();
10374 int
10375 main ()
10376 {
10377 dlopen ();
10378   ;
10379   return 0;
10380 }
10381 _ACEOF
10382 rm -f conftest.$ac_objext conftest$ac_exeext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10384   (eval $ac_link) 2>conftest.er1
10385   ac_status=$?
10386   grep -v '^ *+' conftest.er1 >conftest.err
10387   rm -f conftest.er1
10388   cat conftest.err >&5
10389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390   (exit $ac_status); } &&
10391          { ac_try='test -z "$ac_c_werror_flag"
10392                          || test ! -s conftest.err'
10393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10394   (eval $ac_try) 2>&5
10395   ac_status=$?
10396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397   (exit $ac_status); }; } &&
10398          { ac_try='test -s conftest$ac_exeext'
10399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400   (eval $ac_try) 2>&5
10401   ac_status=$?
10402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403   (exit $ac_status); }; }; then
10404   ac_cv_lib_svld_dlopen=yes
10405 else
10406   echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.$ac_ext >&5
10408
10409 ac_cv_lib_svld_dlopen=no
10410 fi
10411 rm -f conftest.err conftest.$ac_objext \
10412       conftest$ac_exeext conftest.$ac_ext
10413 LIBS=$ac_check_lib_save_LIBS
10414 fi
10415 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10416 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10417 if test $ac_cv_lib_svld_dlopen = yes; then
10418   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10419 else
10420   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10421 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10422 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10423   echo $ECHO_N "(cached) $ECHO_C" >&6
10424 else
10425   ac_check_lib_save_LIBS=$LIBS
10426 LIBS="-ldld  $LIBS"
10427 if test x$gcc_no_link = xyes; then
10428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10430    { (exit 1); exit 1; }; }
10431 fi
10432 cat >conftest.$ac_ext <<_ACEOF
10433 /* confdefs.h.  */
10434 _ACEOF
10435 cat confdefs.h >>conftest.$ac_ext
10436 cat >>conftest.$ac_ext <<_ACEOF
10437 /* end confdefs.h.  */
10438
10439 /* Override any gcc2 internal prototype to avoid an error.  */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 /* We use char because int might match the return type of a gcc2
10444    builtin and then its argument prototype would still apply.  */
10445 char dld_link ();
10446 int
10447 main ()
10448 {
10449 dld_link ();
10450   ;
10451   return 0;
10452 }
10453 _ACEOF
10454 rm -f conftest.$ac_objext conftest$ac_exeext
10455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10456   (eval $ac_link) 2>conftest.er1
10457   ac_status=$?
10458   grep -v '^ *+' conftest.er1 >conftest.err
10459   rm -f conftest.er1
10460   cat conftest.err >&5
10461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462   (exit $ac_status); } &&
10463          { ac_try='test -z "$ac_c_werror_flag"
10464                          || test ! -s conftest.err'
10465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466   (eval $ac_try) 2>&5
10467   ac_status=$?
10468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469   (exit $ac_status); }; } &&
10470          { ac_try='test -s conftest$ac_exeext'
10471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10472   (eval $ac_try) 2>&5
10473   ac_status=$?
10474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475   (exit $ac_status); }; }; then
10476   ac_cv_lib_dld_dld_link=yes
10477 else
10478   echo "$as_me: failed program was:" >&5
10479 sed 's/^/| /' conftest.$ac_ext >&5
10480
10481 ac_cv_lib_dld_dld_link=no
10482 fi
10483 rm -f conftest.err conftest.$ac_objext \
10484       conftest$ac_exeext conftest.$ac_ext
10485 LIBS=$ac_check_lib_save_LIBS
10486 fi
10487 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10488 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10489 if test $ac_cv_lib_dld_dld_link = yes; then
10490   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10491 fi
10492
10493
10494 fi
10495
10496
10497 fi
10498
10499
10500 fi
10501
10502
10503 fi
10504
10505
10506 fi
10507
10508     ;;
10509   esac
10510
10511   if test "x$lt_cv_dlopen" != xno; then
10512     enable_dlopen=yes
10513   else
10514     enable_dlopen=no
10515   fi
10516
10517   case $lt_cv_dlopen in
10518   dlopen)
10519     save_CPPFLAGS="$CPPFLAGS"
10520     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10521
10522     save_LDFLAGS="$LDFLAGS"
10523     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10524
10525     save_LIBS="$LIBS"
10526     LIBS="$lt_cv_dlopen_libs $LIBS"
10527
10528     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10529 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10530 if test "${lt_cv_dlopen_self+set}" = set; then
10531   echo $ECHO_N "(cached) $ECHO_C" >&6
10532 else
10533           if test "$cross_compiling" = yes; then :
10534   lt_cv_dlopen_self=cross
10535 else
10536   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10537   lt_status=$lt_dlunknown
10538   cat > conftest.$ac_ext <<_LT_EOF
10539 #line 10539 "configure"
10540 #include "confdefs.h"
10541
10542 #if HAVE_DLFCN_H
10543 #include <dlfcn.h>
10544 #endif
10545
10546 #include <stdio.h>
10547
10548 #ifdef RTLD_GLOBAL
10549 #  define LT_DLGLOBAL           RTLD_GLOBAL
10550 #else
10551 #  ifdef DL_GLOBAL
10552 #    define LT_DLGLOBAL         DL_GLOBAL
10553 #  else
10554 #    define LT_DLGLOBAL         0
10555 #  endif
10556 #endif
10557
10558 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10559    find out it does not work in some platform. */
10560 #ifndef LT_DLLAZY_OR_NOW
10561 #  ifdef RTLD_LAZY
10562 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10563 #  else
10564 #    ifdef DL_LAZY
10565 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10566 #    else
10567 #      ifdef RTLD_NOW
10568 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10569 #      else
10570 #        ifdef DL_NOW
10571 #          define LT_DLLAZY_OR_NOW      DL_NOW
10572 #        else
10573 #          define LT_DLLAZY_OR_NOW      0
10574 #        endif
10575 #      endif
10576 #    endif
10577 #  endif
10578 #endif
10579
10580 #ifdef __cplusplus
10581 extern "C" void exit (int);
10582 #endif
10583
10584 void fnord() { int i=42;}
10585 int main ()
10586 {
10587   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10588   int status = $lt_dlunknown;
10589
10590   if (self)
10591     {
10592       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10593       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10594       /* dlclose (self); */
10595     }
10596   else
10597     puts (dlerror ());
10598
10599     exit (status);
10600 }
10601 _LT_EOF
10602   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10603   (eval $ac_link) 2>&5
10604   ac_status=$?
10605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10607     (./conftest; exit; ) >&5 2>/dev/null
10608     lt_status=$?
10609     case x$lt_status in
10610       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10611       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10612       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10613     esac
10614   else :
10615     # compilation failed
10616     lt_cv_dlopen_self=no
10617   fi
10618 fi
10619 rm -fr conftest*
10620
10621
10622 fi
10623 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10624 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10625
10626     if test "x$lt_cv_dlopen_self" = xyes; then
10627       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10628       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10629 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10630 if test "${lt_cv_dlopen_self_static+set}" = set; then
10631   echo $ECHO_N "(cached) $ECHO_C" >&6
10632 else
10633           if test "$cross_compiling" = yes; then :
10634   lt_cv_dlopen_self_static=cross
10635 else
10636   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10637   lt_status=$lt_dlunknown
10638   cat > conftest.$ac_ext <<_LT_EOF
10639 #line 10639 "configure"
10640 #include "confdefs.h"
10641
10642 #if HAVE_DLFCN_H
10643 #include <dlfcn.h>
10644 #endif
10645
10646 #include <stdio.h>
10647
10648 #ifdef RTLD_GLOBAL
10649 #  define LT_DLGLOBAL           RTLD_GLOBAL
10650 #else
10651 #  ifdef DL_GLOBAL
10652 #    define LT_DLGLOBAL         DL_GLOBAL
10653 #  else
10654 #    define LT_DLGLOBAL         0
10655 #  endif
10656 #endif
10657
10658 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10659    find out it does not work in some platform. */
10660 #ifndef LT_DLLAZY_OR_NOW
10661 #  ifdef RTLD_LAZY
10662 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10663 #  else
10664 #    ifdef DL_LAZY
10665 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10666 #    else
10667 #      ifdef RTLD_NOW
10668 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10669 #      else
10670 #        ifdef DL_NOW
10671 #          define LT_DLLAZY_OR_NOW      DL_NOW
10672 #        else
10673 #          define LT_DLLAZY_OR_NOW      0
10674 #        endif
10675 #      endif
10676 #    endif
10677 #  endif
10678 #endif
10679
10680 #ifdef __cplusplus
10681 extern "C" void exit (int);
10682 #endif
10683
10684 void fnord() { int i=42;}
10685 int main ()
10686 {
10687   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10688   int status = $lt_dlunknown;
10689
10690   if (self)
10691     {
10692       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10693       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10694       /* dlclose (self); */
10695     }
10696   else
10697     puts (dlerror ());
10698
10699     exit (status);
10700 }
10701 _LT_EOF
10702   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10703   (eval $ac_link) 2>&5
10704   ac_status=$?
10705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10707     (./conftest; exit; ) >&5 2>/dev/null
10708     lt_status=$?
10709     case x$lt_status in
10710       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10711       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10712       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10713     esac
10714   else :
10715     # compilation failed
10716     lt_cv_dlopen_self_static=no
10717   fi
10718 fi
10719 rm -fr conftest*
10720
10721
10722 fi
10723 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10724 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10725     fi
10726
10727     CPPFLAGS="$save_CPPFLAGS"
10728     LDFLAGS="$save_LDFLAGS"
10729     LIBS="$save_LIBS"
10730     ;;
10731   esac
10732
10733   case $lt_cv_dlopen_self in
10734   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10735   *) enable_dlopen_self=unknown ;;
10736   esac
10737
10738   case $lt_cv_dlopen_self_static in
10739   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10740   *) enable_dlopen_self_static=unknown ;;
10741   esac
10742 fi
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760 striplib=
10761 old_striplib=
10762 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10763 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10765   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10766   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10767   echo "$as_me:$LINENO: result: yes" >&5
10768 echo "${ECHO_T}yes" >&6
10769 else
10770 # FIXME - insert some real tests, host_os isn't really good enough
10771   case $host_os in
10772   darwin*)
10773     if test -n "$STRIP" ; then
10774       striplib="$STRIP -x"
10775       old_striplib="$STRIP -S"
10776       echo "$as_me:$LINENO: result: yes" >&5
10777 echo "${ECHO_T}yes" >&6
10778     else
10779       echo "$as_me:$LINENO: result: no" >&5
10780 echo "${ECHO_T}no" >&6
10781     fi
10782     ;;
10783   *)
10784     echo "$as_me:$LINENO: result: no" >&5
10785 echo "${ECHO_T}no" >&6
10786     ;;
10787   esac
10788 fi
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801   # Report which library types will actually be built
10802   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10803 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10804   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10805 echo "${ECHO_T}$can_build_shared" >&6
10806
10807   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10808 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10809   test "$can_build_shared" = "no" && enable_shared=no
10810
10811   # On AIX, shared libraries and static libraries use the same namespace, and
10812   # are all built from PIC.
10813   case $host_os in
10814   aix3*)
10815     test "$enable_shared" = yes && enable_static=no
10816     if test -n "$RANLIB"; then
10817       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10818       postinstall_cmds='$RANLIB $lib'
10819     fi
10820     ;;
10821
10822   aix[4-9]*)
10823     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10824       test "$enable_shared" = yes && enable_static=no
10825     fi
10826     ;;
10827   esac
10828   echo "$as_me:$LINENO: result: $enable_shared" >&5
10829 echo "${ECHO_T}$enable_shared" >&6
10830
10831   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10832 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10833   # Make sure either enable_shared or enable_static is yes.
10834   test "$enable_shared" = yes || enable_static=yes
10835   echo "$as_me:$LINENO: result: $enable_static" >&5
10836 echo "${ECHO_T}$enable_static" >&6
10837
10838
10839
10840
10841 fi
10842 ac_ext=c
10843 ac_cpp='$CPP $CPPFLAGS'
10844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10847
10848 CC="$lt_save_CC"
10849
10850
10851 ac_ext=cc
10852 ac_cpp='$CXXCPP $CPPFLAGS'
10853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10856
10857 archive_cmds_need_lc_CXX=no
10858 allow_undefined_flag_CXX=
10859 always_export_symbols_CXX=no
10860 archive_expsym_cmds_CXX=
10861 compiler_needs_object_CXX=no
10862 export_dynamic_flag_spec_CXX=
10863 hardcode_direct_CXX=no
10864 hardcode_direct_absolute_CXX=no
10865 hardcode_libdir_flag_spec_CXX=
10866 hardcode_libdir_flag_spec_ld_CXX=
10867 hardcode_libdir_separator_CXX=
10868 hardcode_minus_L_CXX=no
10869 hardcode_shlibpath_var_CXX=unsupported
10870 hardcode_automatic_CXX=no
10871 inherit_rpath_CXX=no
10872 module_cmds_CXX=
10873 module_expsym_cmds_CXX=
10874 link_all_deplibs_CXX=unknown
10875 old_archive_cmds_CXX=$old_archive_cmds
10876 no_undefined_flag_CXX=
10877 whole_archive_flag_spec_CXX=
10878 enable_shared_with_static_runtimes_CXX=no
10879
10880 # Source file extension for C++ test sources.
10881 ac_ext=cpp
10882
10883 # Object file extension for compiled C++ test sources.
10884 objext=o
10885 objext_CXX=$objext
10886
10887 # No sense in running all these tests if we already determined that
10888 # the CXX compiler isn't working.  Some variables (like enable_shared)
10889 # are currently assumed to apply to all compilers on this platform,
10890 # and will be corrupted by setting them based on a non-working compiler.
10891 if test "$_lt_caught_CXX_error" != yes; then
10892   # Code to be used in simple compile tests
10893   lt_simple_compile_test_code="int some_variable = 0;"
10894
10895   # Code to be used in simple link tests
10896   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10897
10898   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10899
10900
10901
10902
10903
10904
10905 # If no C compiler was specified, use CC.
10906 LTCC=${LTCC-"$CC"}
10907
10908 # If no C compiler flags were specified, use CFLAGS.
10909 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10910
10911 # Allow CC to be a program name with arguments.
10912 compiler=$CC
10913
10914
10915   # save warnings/boilerplate of simple test code
10916   ac_outfile=conftest.$ac_objext
10917 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10918 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10919 _lt_compiler_boilerplate=`cat conftest.err`
10920 $RM conftest*
10921
10922   ac_outfile=conftest.$ac_objext
10923 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10924 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10925 _lt_linker_boilerplate=`cat conftest.err`
10926 $RM conftest*
10927
10928
10929   # Allow CC to be a program name with arguments.
10930   lt_save_CC=$CC
10931   lt_save_LD=$LD
10932   lt_save_GCC=$GCC
10933   GCC=$GXX
10934   lt_save_with_gnu_ld=$with_gnu_ld
10935   lt_save_path_LD=$lt_cv_path_LD
10936   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10937     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10938   else
10939     $as_unset lt_cv_prog_gnu_ld
10940   fi
10941   if test -n "${lt_cv_path_LDCXX+set}"; then
10942     lt_cv_path_LD=$lt_cv_path_LDCXX
10943   else
10944     $as_unset lt_cv_path_LD
10945   fi
10946   test -z "${LDCXX+set}" || LD=$LDCXX
10947   CC=${CXX-"c++"}
10948   compiler=$CC
10949   compiler_CXX=$CC
10950   for cc_temp in $compiler""; do
10951   case $cc_temp in
10952     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10953     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10954     \-*) ;;
10955     *) break;;
10956   esac
10957 done
10958 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10959
10960
10961   if test -n "$compiler"; then
10962     # We don't want -fno-exception when compiling C++ code, so set the
10963     # no_builtin_flag separately
10964     if test "$GXX" = yes; then
10965       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10966     else
10967       lt_prog_compiler_no_builtin_flag_CXX=
10968     fi
10969
10970     if test "$GXX" = yes; then
10971       # Set up default GNU C++ configuration
10972
10973
10974
10975 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10976 if test "${with_gnu_ld+set}" = set; then
10977   withval="$with_gnu_ld"
10978   test "$withval" = no || with_gnu_ld=yes
10979 else
10980   with_gnu_ld=no
10981 fi;
10982 ac_prog=ld
10983 if test "$GCC" = yes; then
10984   # Check if gcc -print-prog-name=ld gives a path.
10985   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10986 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10987   case $host in
10988   *-*-mingw*)
10989     # gcc leaves a trailing carriage return which upsets mingw
10990     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10991   *)
10992     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10993   esac
10994   case $ac_prog in
10995     # Accept absolute paths.
10996     [\\/]* | ?:[\\/]*)
10997       re_direlt='/[^/][^/]*/\.\./'
10998       # Canonicalize the pathname of ld
10999       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11000       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11001         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11002       done
11003       test -z "$LD" && LD="$ac_prog"
11004       ;;
11005   "")
11006     # If it fails, then pretend we aren't using GCC.
11007     ac_prog=ld
11008     ;;
11009   *)
11010     # If it is relative, then search for the first ld in PATH.
11011     with_gnu_ld=unknown
11012     ;;
11013   esac
11014 elif test "$with_gnu_ld" = yes; then
11015   echo "$as_me:$LINENO: checking for GNU ld" >&5
11016 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11017 else
11018   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11019 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11020 fi
11021 if test "${lt_cv_path_LD+set}" = set; then
11022   echo $ECHO_N "(cached) $ECHO_C" >&6
11023 else
11024   if test -z "$LD"; then
11025   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11026   for ac_dir in $PATH; do
11027     IFS="$lt_save_ifs"
11028     test -z "$ac_dir" && ac_dir=.
11029     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11030       lt_cv_path_LD="$ac_dir/$ac_prog"
11031       # Check to see if the program is GNU ld.  I'd rather use --version,
11032       # but apparently some variants of GNU ld only accept -v.
11033       # Break only if it was the GNU/non-GNU ld that we prefer.
11034       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11035       *GNU* | *'with BFD'*)
11036         test "$with_gnu_ld" != no && break
11037         ;;
11038       *)
11039         test "$with_gnu_ld" != yes && break
11040         ;;
11041       esac
11042     fi
11043   done
11044   IFS="$lt_save_ifs"
11045 else
11046   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11047 fi
11048 fi
11049
11050 LD="$lt_cv_path_LD"
11051 if test -n "$LD"; then
11052   echo "$as_me:$LINENO: result: $LD" >&5
11053 echo "${ECHO_T}$LD" >&6
11054 else
11055   echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11057 fi
11058 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11059 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11060    { (exit 1); exit 1; }; }
11061 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11062 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11063 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11064   echo $ECHO_N "(cached) $ECHO_C" >&6
11065 else
11066   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11067 case `$LD -v 2>&1 </dev/null` in
11068 *GNU* | *'with BFD'*)
11069   lt_cv_prog_gnu_ld=yes
11070   ;;
11071 *)
11072   lt_cv_prog_gnu_ld=no
11073   ;;
11074 esac
11075 fi
11076 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11077 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11078 with_gnu_ld=$lt_cv_prog_gnu_ld
11079
11080
11081
11082
11083
11084
11085
11086       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11087       # archiving commands below assume that GNU ld is being used.
11088       if test "$with_gnu_ld" = yes; then
11089         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11090         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'
11091
11092         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11093         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11094
11095         # If archive_cmds runs LD, not CC, wlarc should be empty
11096         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11097         #     investigate it a little bit more. (MM)
11098         wlarc='${wl}'
11099
11100         # ancient GNU ld didn't support --whole-archive et. al.
11101         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11102           $GREP 'no-whole-archive' > /dev/null; then
11103           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11104         else
11105           whole_archive_flag_spec_CXX=
11106         fi
11107       else
11108         with_gnu_ld=no
11109         wlarc=
11110
11111         # A generic and very simple default shared library creation
11112         # command for GNU C++ for the case where it uses the native
11113         # linker, instead of GNU ld.  If possible, this setting should
11114         # overridden to take advantage of the native linker features on
11115         # the platform it is being used on.
11116         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11117       fi
11118
11119       # Commands to make compiler produce verbose output that lists
11120       # what "hidden" libraries, object files and flags are used when
11121       # linking a shared library.
11122       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11123
11124     else
11125       GXX=no
11126       with_gnu_ld=no
11127       wlarc=
11128     fi
11129
11130     # PORTME: fill in a description of your system's C++ link characteristics
11131     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11132 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11133     ld_shlibs_CXX=yes
11134     case $host_os in
11135       aix3*)
11136         # FIXME: insert proper C++ library support
11137         ld_shlibs_CXX=no
11138         ;;
11139       aix[4-9]*)
11140         if test "$host_cpu" = ia64; then
11141           # On IA64, the linker does run time linking by default, so we don't
11142           # have to do anything special.
11143           aix_use_runtimelinking=no
11144           exp_sym_flag='-Bexport'
11145           no_entry_flag=""
11146         else
11147           aix_use_runtimelinking=no
11148
11149           # Test if we are trying to use run time linking or normal
11150           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11151           # need to do runtime linking.
11152           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11153             for ld_flag in $LDFLAGS; do
11154               case $ld_flag in
11155               *-brtl*)
11156                 aix_use_runtimelinking=yes
11157                 break
11158                 ;;
11159               esac
11160             done
11161             ;;
11162           esac
11163
11164           exp_sym_flag='-bexport'
11165           no_entry_flag='-bnoentry'
11166         fi
11167
11168         # When large executables or shared objects are built, AIX ld can
11169         # have problems creating the table of contents.  If linking a library
11170         # or program results in "error TOC overflow" add -mminimal-toc to
11171         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11172         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11173
11174         archive_cmds_CXX=''
11175         hardcode_direct_CXX=yes
11176         hardcode_direct_absolute_CXX=yes
11177         hardcode_libdir_separator_CXX=':'
11178         link_all_deplibs_CXX=yes
11179         file_list_spec_CXX='${wl}-f,'
11180
11181         if test "$GXX" = yes; then
11182           case $host_os in aix4.[012]|aix4.[012].*)
11183           # We only want to do this on AIX 4.2 and lower, the check
11184           # below for broken collect2 doesn't work under 4.3+
11185           collect2name=`${CC} -print-prog-name=collect2`
11186           if test -f "$collect2name" &&
11187              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11188           then
11189             # We have reworked collect2
11190             :
11191           else
11192             # We have old collect2
11193             hardcode_direct_CXX=unsupported
11194             # It fails to find uninstalled libraries when the uninstalled
11195             # path is not listed in the libpath.  Setting hardcode_minus_L
11196             # to unsupported forces relinking
11197             hardcode_minus_L_CXX=yes
11198             hardcode_libdir_flag_spec_CXX='-L$libdir'
11199             hardcode_libdir_separator_CXX=
11200           fi
11201           esac
11202           shared_flag='-shared'
11203           if test "$aix_use_runtimelinking" = yes; then
11204             shared_flag="$shared_flag "'${wl}-G'
11205           fi
11206         else
11207           # not using gcc
11208           if test "$host_cpu" = ia64; then
11209           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11210           # chokes on -Wl,-G. The following line is correct:
11211           shared_flag='-G'
11212           else
11213             if test "$aix_use_runtimelinking" = yes; then
11214               shared_flag='${wl}-G'
11215             else
11216               shared_flag='${wl}-bM:SRE'
11217             fi
11218           fi
11219         fi
11220
11221         # It seems that -bexpall does not export symbols beginning with
11222         # underscore (_), so it is better to generate a list of symbols to
11223         # export.
11224         always_export_symbols_CXX=yes
11225         if test "$aix_use_runtimelinking" = yes; then
11226           # Warning - without using the other runtime loading flags (-brtl),
11227           # -berok will link without error, but may produce a broken library.
11228           allow_undefined_flag_CXX='-berok'
11229           # Determine the default libpath from the value encoded in an empty
11230           # executable.
11231           if test x$gcc_no_link = xyes; then
11232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11234    { (exit 1); exit 1; }; }
11235 fi
11236 cat >conftest.$ac_ext <<_ACEOF
11237 /* confdefs.h.  */
11238 _ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h.  */
11242
11243 int
11244 main ()
11245 {
11246
11247   ;
11248   return 0;
11249 }
11250 _ACEOF
11251 rm -f conftest.$ac_objext conftest$ac_exeext
11252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11253   (eval $ac_link) 2>conftest.er1
11254   ac_status=$?
11255   grep -v '^ *+' conftest.er1 >conftest.err
11256   rm -f conftest.er1
11257   cat conftest.err >&5
11258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259   (exit $ac_status); } &&
11260          { ac_try='test -z "$ac_cxx_werror_flag"
11261                          || test ! -s conftest.err'
11262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263   (eval $ac_try) 2>&5
11264   ac_status=$?
11265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266   (exit $ac_status); }; } &&
11267          { ac_try='test -s conftest$ac_exeext'
11268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269   (eval $ac_try) 2>&5
11270   ac_status=$?
11271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272   (exit $ac_status); }; }; then
11273
11274 lt_aix_libpath_sed='
11275     /Import File Strings/,/^$/ {
11276         /^0/ {
11277             s/^0  *\(.*\)$/\1/
11278             p
11279         }
11280     }'
11281 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11282 # Check for a 64-bit object if we didn't find anything.
11283 if test -z "$aix_libpath"; then
11284   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11285 fi
11286 else
11287   echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.$ac_ext >&5
11289
11290 fi
11291 rm -f conftest.err conftest.$ac_objext \
11292       conftest$ac_exeext conftest.$ac_ext
11293 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11294
11295           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11296
11297           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"
11298         else
11299           if test "$host_cpu" = ia64; then
11300             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11301             allow_undefined_flag_CXX="-z nodefs"
11302             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"
11303           else
11304             # Determine the default libpath from the value encoded in an
11305             # empty executable.
11306             if test x$gcc_no_link = xyes; then
11307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11309    { (exit 1); exit 1; }; }
11310 fi
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h.  */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h.  */
11317
11318 int
11319 main ()
11320 {
11321
11322   ;
11323   return 0;
11324 }
11325 _ACEOF
11326 rm -f conftest.$ac_objext conftest$ac_exeext
11327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11328   (eval $ac_link) 2>conftest.er1
11329   ac_status=$?
11330   grep -v '^ *+' conftest.er1 >conftest.err
11331   rm -f conftest.er1
11332   cat conftest.err >&5
11333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334   (exit $ac_status); } &&
11335          { ac_try='test -z "$ac_cxx_werror_flag"
11336                          || test ! -s conftest.err'
11337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338   (eval $ac_try) 2>&5
11339   ac_status=$?
11340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341   (exit $ac_status); }; } &&
11342          { ac_try='test -s conftest$ac_exeext'
11343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344   (eval $ac_try) 2>&5
11345   ac_status=$?
11346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347   (exit $ac_status); }; }; then
11348
11349 lt_aix_libpath_sed='
11350     /Import File Strings/,/^$/ {
11351         /^0/ {
11352             s/^0  *\(.*\)$/\1/
11353             p
11354         }
11355     }'
11356 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11357 # Check for a 64-bit object if we didn't find anything.
11358 if test -z "$aix_libpath"; then
11359   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11360 fi
11361 else
11362   echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.$ac_ext >&5
11364
11365 fi
11366 rm -f conftest.err conftest.$ac_objext \
11367       conftest$ac_exeext conftest.$ac_ext
11368 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11369
11370             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11371             # Warning - without using the other run time loading flags,
11372             # -berok will link without error, but may produce a broken library.
11373             no_undefined_flag_CXX=' ${wl}-bernotok'
11374             allow_undefined_flag_CXX=' ${wl}-berok'
11375             # Exported symbols can be pulled into shared objects from archives
11376             whole_archive_flag_spec_CXX='$convenience'
11377             archive_cmds_need_lc_CXX=yes
11378             # This is similar to how AIX traditionally builds its shared
11379             # libraries.
11380             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'
11381           fi
11382         fi
11383         ;;
11384
11385       beos*)
11386         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11387           allow_undefined_flag_CXX=unsupported
11388           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11389           # support --undefined.  This deserves some investigation.  FIXME
11390           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11391         else
11392           ld_shlibs_CXX=no
11393         fi
11394         ;;
11395
11396       chorus*)
11397         case $cc_basename in
11398           *)
11399           # FIXME: insert proper C++ library support
11400           ld_shlibs_CXX=no
11401           ;;
11402         esac
11403         ;;
11404
11405       cygwin* | mingw* | pw32*)
11406         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11407         # as there is no search path for DLLs.
11408         hardcode_libdir_flag_spec_CXX='-L$libdir'
11409         allow_undefined_flag_CXX=unsupported
11410         always_export_symbols_CXX=no
11411         enable_shared_with_static_runtimes_CXX=yes
11412
11413         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11414           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'
11415           # If the export-symbols file already is a .def file (1st line
11416           # is EXPORTS), use it as is; otherwise, prepend...
11417           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11418             cp $export_symbols $output_objdir/$soname.def;
11419           else
11420             echo EXPORTS > $output_objdir/$soname.def;
11421             cat $export_symbols >> $output_objdir/$soname.def;
11422           fi~
11423           $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'
11424         else
11425           ld_shlibs_CXX=no
11426         fi
11427         ;;
11428       darwin* | rhapsody*)
11429         case $host_os in
11430           rhapsody* | darwin1.[012])
11431             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11432             ;;
11433           *) # Darwin 1.3 on
11434             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11435               10.[012])
11436                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11437                 ;;
11438               10.*)
11439                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11440                 ;;
11441             esac
11442             ;;
11443         esac
11444         archive_cmds_need_lc_CXX=no
11445         hardcode_direct_CXX=no
11446         hardcode_automatic_CXX=yes
11447         hardcode_shlibpath_var_CXX=unsupported
11448         whole_archive_flag_spec_CXX=''
11449         link_all_deplibs_CXX=yes
11450
11451         if test "$GXX" = yes ; then
11452           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11453   echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455   lt_cv_apple_cc_single_mod=no
11456           if test -z "${LT_MULTI_MODULE}"; then
11457             # By default we will add the -single_module flag. You can override
11458             # by either setting the environment variable LT_MULTI_MODULE
11459             # non-empty at configure time, or by adding -multi-module to the
11460             # link flags.
11461             echo "int foo(void){return 1;}" > conftest.c
11462             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11463                 -dynamiclib ${wl}-single_module conftest.c
11464             if test -f libconftest.dylib; then
11465                 lt_cv_apple_cc_single_mod=yes
11466                 rm libconftest.dylib
11467             fi
11468             rm conftest.$ac_ext
11469           fi
11470 fi
11471
11472           output_verbose_link_cmd=echo
11473           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11474            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11475             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}'
11476           else
11477             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'
11478             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}'
11479           fi
11480           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11481           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}'
11482         else
11483           case $cc_basename in
11484             xlc*)
11485               output_verbose_link_cmd=echo
11486               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'
11487               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11488               # Don't fix this by using the ld -exported_symbols_list flag,
11489               # it doesn't exist in older darwin lds
11490               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}'
11491               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}'
11492               ;;
11493             *)
11494               ld_shlibs_CXX=no
11495               ;;
11496           esac
11497         fi
11498         ;;
11499
11500       dgux*)
11501         case $cc_basename in
11502           ec++*)
11503             # FIXME: insert proper C++ library support
11504             ld_shlibs_CXX=no
11505             ;;
11506           ghcx*)
11507             # Green Hills C++ Compiler
11508             # FIXME: insert proper C++ library support
11509             ld_shlibs_CXX=no
11510             ;;
11511           *)
11512             # FIXME: insert proper C++ library support
11513             ld_shlibs_CXX=no
11514             ;;
11515         esac
11516         ;;
11517
11518       freebsd[12]*)
11519         # C++ shared libraries reported to be fairly broken before
11520         # switch to ELF
11521         ld_shlibs_CXX=no
11522         ;;
11523
11524       freebsd-elf*)
11525         archive_cmds_need_lc_CXX=no
11526         ;;
11527
11528       freebsd* | dragonfly*)
11529         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11530         # conventions
11531         ld_shlibs_CXX=yes
11532         ;;
11533
11534       gnu*)
11535         ;;
11536
11537       hpux9*)
11538         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11539         hardcode_libdir_separator_CXX=:
11540         export_dynamic_flag_spec_CXX='${wl}-E'
11541         hardcode_direct_CXX=yes
11542         hardcode_minus_L_CXX=yes # Not in the search PATH,
11543                                              # but as the default
11544                                              # location of the library.
11545
11546         case $cc_basename in
11547           CC*)
11548             # FIXME: insert proper C++ library support
11549             ld_shlibs_CXX=no
11550             ;;
11551           aCC*)
11552             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'
11553             # Commands to make compiler produce verbose output that lists
11554             # what "hidden" libraries, object files and flags are used when
11555             # linking a shared library.
11556             #
11557             # There doesn't appear to be a way to prevent this compiler from
11558             # explicitly linking system object files so we need to strip them
11559             # from the output so that they don't get included in the library
11560             # dependencies.
11561             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'
11562             ;;
11563           *)
11564             if test "$GXX" = yes; then
11565               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'
11566             else
11567               # FIXME: insert proper C++ library support
11568               ld_shlibs_CXX=no
11569             fi
11570             ;;
11571         esac
11572         ;;
11573
11574       hpux10*|hpux11*)
11575         if test $with_gnu_ld = no; then
11576           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11577           hardcode_libdir_separator_CXX=:
11578
11579           case $host_cpu in
11580             hppa*64*|ia64*)
11581               ;;
11582             *)
11583               export_dynamic_flag_spec_CXX='${wl}-E'
11584               ;;
11585           esac
11586         fi
11587         case $host_cpu in
11588           hppa*64*|ia64*)
11589             hardcode_direct_CXX=no
11590             hardcode_shlibpath_var_CXX=no
11591             ;;
11592           *)
11593             hardcode_direct_CXX=yes
11594             hardcode_direct_absolute_CXX=yes
11595             hardcode_minus_L_CXX=yes # Not in the search PATH,
11596                                                  # but as the default
11597                                                  # location of the library.
11598             ;;
11599         esac
11600
11601         case $cc_basename in
11602           CC*)
11603             # FIXME: insert proper C++ library support
11604             ld_shlibs_CXX=no
11605             ;;
11606           aCC*)
11607             case $host_cpu in
11608               hppa*64*)
11609                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11610                 ;;
11611               ia64*)
11612                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613                 ;;
11614               *)
11615                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11616                 ;;
11617             esac
11618             # Commands to make compiler produce verbose output that lists
11619             # what "hidden" libraries, object files and flags are used when
11620             # linking a shared library.
11621             #
11622             # There doesn't appear to be a way to prevent this compiler from
11623             # explicitly linking system object files so we need to strip them
11624             # from the output so that they don't get included in the library
11625             # dependencies.
11626             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'
11627             ;;
11628           *)
11629             if test "$GXX" = yes; then
11630               if test $with_gnu_ld = no; then
11631                 case $host_cpu in
11632                   hppa*64*)
11633                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11634                     ;;
11635                   ia64*)
11636                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11637                     ;;
11638                   *)
11639                     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'
11640                     ;;
11641                 esac
11642               fi
11643             else
11644               # FIXME: insert proper C++ library support
11645               ld_shlibs_CXX=no
11646             fi
11647             ;;
11648         esac
11649         ;;
11650
11651       interix[3-9]*)
11652         hardcode_direct_CXX=no
11653         hardcode_shlibpath_var_CXX=no
11654         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11655         export_dynamic_flag_spec_CXX='${wl}-E'
11656         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11657         # Instead, shared libraries are loaded at an image base (0x10000000 by
11658         # default) and relocated if they conflict, which is a slow very memory
11659         # consuming and fragmenting process.  To avoid this, we pick a random,
11660         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11661         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11662         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'
11663         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'
11664         ;;
11665       irix5* | irix6*)
11666         case $cc_basename in
11667           CC*)
11668             # SGI C++
11669             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'
11670
11671             # Archives containing C++ object files must be created using
11672             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11673             # necessary to make sure instantiated templates are included
11674             # in the archive.
11675             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11676             ;;
11677           *)
11678             if test "$GXX" = yes; then
11679               if test "$with_gnu_ld" = no; then
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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11681               else
11682                 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'
11683               fi
11684             fi
11685             link_all_deplibs_CXX=yes
11686             ;;
11687         esac
11688         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11689         hardcode_libdir_separator_CXX=:
11690         inherit_rpath_CXX=yes
11691         ;;
11692
11693       linux* | k*bsd*-gnu)
11694         case $cc_basename in
11695           KCC*)
11696             # Kuck and Associates, Inc. (KAI) C++ Compiler
11697
11698             # KCC will only create a shared library if the output file
11699             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11700             # to its proper name (with version) after linking.
11701             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'
11702             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'
11703             # Commands to make compiler produce verbose output that lists
11704             # what "hidden" libraries, object files and flags are used when
11705             # linking a shared library.
11706             #
11707             # There doesn't appear to be a way to prevent this compiler from
11708             # explicitly linking system object files so we need to strip them
11709             # from the output so that they don't get included in the library
11710             # dependencies.
11711             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'
11712
11713             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11714             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11715
11716             # Archives containing C++ object files must be created using
11717             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11718             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11719             ;;
11720           icpc* | ecpc* )
11721             # Intel C++
11722             with_gnu_ld=yes
11723             # version 8.0 and above of icpc choke on multiply defined symbols
11724             # if we add $predep_objects and $postdep_objects, however 7.1 and
11725             # earlier do not add the objects themselves.
11726             case `$CC -V 2>&1` in
11727               *"Version 7."*)
11728                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11729                 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'
11730                 ;;
11731               *)  # Version 8.0 or newer
11732                 tmp_idyn=
11733                 case $host_cpu in
11734                   ia64*) tmp_idyn=' -i_dynamic';;
11735                 esac
11736                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11737                 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'
11738                 ;;
11739             esac
11740             archive_cmds_need_lc_CXX=no
11741             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11742             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11743             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11744             ;;
11745           pgCC*)
11746             # Portland Group C++ compiler
11747             case `$CC -V` in
11748             *pgCC\ [1-5]*)
11749               prelink_cmds_CXX='tpldir=Template.dir~
11750                 rm -rf $tpldir~
11751                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11752                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11753               old_archive_cmds_CXX='tpldir=Template.dir~
11754                 rm -rf $tpldir~
11755                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11756                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11757                 $RANLIB $oldlib'
11758               archive_cmds_CXX='tpldir=Template.dir~
11759                 rm -rf $tpldir~
11760                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11761                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11762               archive_expsym_cmds_CXX='tpldir=Template.dir~
11763                 rm -rf $tpldir~
11764                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11765                 $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'
11766               ;;
11767             *) # Version 6 will use weak symbols
11768               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11769               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'
11770               ;;
11771             esac
11772
11773             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11774             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11775             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'
11776             ;;
11777           cxx*)
11778             # Compaq C++
11779             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11780             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'
11781
11782             runpath_var=LD_RUN_PATH
11783             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11784             hardcode_libdir_separator_CXX=:
11785
11786             # Commands to make compiler produce verbose output that lists
11787             # what "hidden" libraries, object files and flags are used when
11788             # linking a shared library.
11789             #
11790             # There doesn't appear to be a way to prevent this compiler from
11791             # explicitly linking system object files so we need to strip them
11792             # from the output so that they don't get included in the library
11793             # dependencies.
11794             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'
11795             ;;
11796           *)
11797             case `$CC -V 2>&1 | sed 5q` in
11798             *Sun\ C*)
11799               # Sun C++ 5.9
11800               no_undefined_flag_CXX=' -zdefs'
11801               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11802               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'
11803               hardcode_libdir_flag_spec_CXX='-R$libdir'
11804               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'
11805               compiler_needs_object_CXX=yes
11806
11807               # Not sure whether something based on
11808               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11809               # would be better.
11810               output_verbose_link_cmd='echo'
11811
11812               # Archives containing C++ object files must be created using
11813               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11814               # necessary to make sure instantiated templates are included
11815               # in the archive.
11816               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11817               ;;
11818             esac
11819             ;;
11820         esac
11821         ;;
11822
11823       lynxos*)
11824         # FIXME: insert proper C++ library support
11825         ld_shlibs_CXX=no
11826         ;;
11827
11828       m88k*)
11829         # FIXME: insert proper C++ library support
11830         ld_shlibs_CXX=no
11831         ;;
11832
11833       mvs*)
11834         case $cc_basename in
11835           cxx*)
11836             # FIXME: insert proper C++ library support
11837             ld_shlibs_CXX=no
11838             ;;
11839           *)
11840             # FIXME: insert proper C++ library support
11841             ld_shlibs_CXX=no
11842             ;;
11843         esac
11844         ;;
11845
11846       netbsd*)
11847         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11848           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11849           wlarc=
11850           hardcode_libdir_flag_spec_CXX='-R$libdir'
11851           hardcode_direct_CXX=yes
11852           hardcode_shlibpath_var_CXX=no
11853         fi
11854         # Workaround some broken pre-1.5 toolchains
11855         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11856         ;;
11857
11858       *nto* | *qnx*)
11859         ld_shlibs_CXX=yes
11860         ;;
11861
11862       openbsd2*)
11863         # C++ shared libraries are fairly broken
11864         ld_shlibs_CXX=no
11865         ;;
11866
11867       openbsd*)
11868         hardcode_direct_CXX=yes
11869         hardcode_shlibpath_var_CXX=no
11870         hardcode_direct_absolute_CXX=yes
11871         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11872         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11873         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11874           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11875           export_dynamic_flag_spec_CXX='${wl}-E'
11876           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11877         fi
11878         output_verbose_link_cmd=echo
11879         ;;
11880
11881       osf3* | osf4* | osf5*)
11882         case $cc_basename in
11883           KCC*)
11884             # Kuck and Associates, Inc. (KAI) C++ Compiler
11885
11886             # KCC will only create a shared library if the output file
11887             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11888             # to its proper name (with version) after linking.
11889             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'
11890
11891             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11892             hardcode_libdir_separator_CXX=:
11893
11894             # Archives containing C++ object files must be created using
11895             # the KAI C++ compiler.
11896             case $host in
11897               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11898               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11899             esac
11900             ;;
11901           RCC*)
11902             # Rational C++ 2.4.1
11903             # FIXME: insert proper C++ library support
11904             ld_shlibs_CXX=no
11905             ;;
11906           cxx*)
11907             case $host in
11908               osf3*)
11909                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11910                 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'
11911                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11912                 ;;
11913               *)
11914                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11915                 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'
11916                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11917                   echo "-hidden">> $lib.exp~
11918                   $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~
11919                   $RM $lib.exp'
11920                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11921                 ;;
11922             esac
11923
11924             hardcode_libdir_separator_CXX=:
11925
11926             # Commands to make compiler produce verbose output that lists
11927             # what "hidden" libraries, object files and flags are used when
11928             # linking a shared library.
11929             #
11930             # There doesn't appear to be a way to prevent this compiler from
11931             # explicitly linking system object files so we need to strip them
11932             # from the output so that they don't get included in the library
11933             # dependencies.
11934             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'
11935             ;;
11936           *)
11937             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11938               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11939               case $host in
11940                 osf3*)
11941                   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'
11942                   ;;
11943                 *)
11944                   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'
11945                   ;;
11946               esac
11947
11948               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11949               hardcode_libdir_separator_CXX=:
11950
11951               # Commands to make compiler produce verbose output that lists
11952               # what "hidden" libraries, object files and flags are used when
11953               # linking a shared library.
11954               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11955
11956             else
11957               # FIXME: insert proper C++ library support
11958               ld_shlibs_CXX=no
11959             fi
11960             ;;
11961         esac
11962         ;;
11963
11964       psos*)
11965         # FIXME: insert proper C++ library support
11966         ld_shlibs_CXX=no
11967         ;;
11968
11969       sunos4*)
11970         case $cc_basename in
11971           CC*)
11972             # Sun C++ 4.x
11973             # FIXME: insert proper C++ library support
11974             ld_shlibs_CXX=no
11975             ;;
11976           lcc*)
11977             # Lucid
11978             # FIXME: insert proper C++ library support
11979             ld_shlibs_CXX=no
11980             ;;
11981           *)
11982             # FIXME: insert proper C++ library support
11983             ld_shlibs_CXX=no
11984             ;;
11985         esac
11986         ;;
11987
11988       solaris*)
11989         case $cc_basename in
11990           CC*)
11991             # Sun C++ 4.2, 5.x and Centerline C++
11992             archive_cmds_need_lc_CXX=yes
11993             no_undefined_flag_CXX=' -zdefs'
11994             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11995             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11996               $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'
11997
11998             hardcode_libdir_flag_spec_CXX='-R$libdir'
11999             hardcode_shlibpath_var_CXX=no
12000             case $host_os in
12001               solaris2.[0-5] | solaris2.[0-5].*) ;;
12002               *)
12003                 # The compiler driver will combine and reorder linker options,
12004                 # but understands `-z linker_flag'.
12005                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12006                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12007                 ;;
12008             esac
12009             link_all_deplibs_CXX=yes
12010
12011             output_verbose_link_cmd='echo'
12012
12013             # Archives containing C++ object files must be created using
12014             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12015             # necessary to make sure instantiated templates are included
12016             # in the archive.
12017             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12018             ;;
12019           gcx*)
12020             # Green Hills C++ Compiler
12021             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12022
12023             # The C++ compiler must be used to create the archive.
12024             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12025             ;;
12026           *)
12027             # GNU C++ compiler with Solaris linker
12028             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12029               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12030               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12031                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12032                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12033                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12034
12035                 # Commands to make compiler produce verbose output that lists
12036                 # what "hidden" libraries, object files and flags are used when
12037                 # linking a shared library.
12038                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12039               else
12040                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12041                 # platform.
12042                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12043                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12044                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12045
12046                 # Commands to make compiler produce verbose output that lists
12047                 # what "hidden" libraries, object files and flags are used when
12048                 # linking a shared library.
12049                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12050               fi
12051
12052               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12053               case $host_os in
12054                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12055                 *)
12056                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12057                   ;;
12058               esac
12059             fi
12060             ;;
12061         esac
12062         ;;
12063
12064     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12065       no_undefined_flag_CXX='${wl}-z,text'
12066       archive_cmds_need_lc_CXX=no
12067       hardcode_shlibpath_var_CXX=no
12068       runpath_var='LD_RUN_PATH'
12069
12070       case $cc_basename in
12071         CC*)
12072           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12073           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074           ;;
12075         *)
12076           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12078           ;;
12079       esac
12080       ;;
12081
12082       sysv5* | sco3.2v5* | sco5v6*)
12083         # Note: We can NOT use -z defs as we might desire, because we do not
12084         # link with -lc, and that would cause any symbols used from libc to
12085         # always be unresolved, which means just about no library would
12086         # ever link correctly.  If we're not using GNU ld we use -z text
12087         # though, which does catch some bad symbols but isn't as heavy-handed
12088         # as -z defs.
12089         no_undefined_flag_CXX='${wl}-z,text'
12090         allow_undefined_flag_CXX='${wl}-z,nodefs'
12091         archive_cmds_need_lc_CXX=no
12092         hardcode_shlibpath_var_CXX=no
12093         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12094         hardcode_libdir_separator_CXX=':'
12095         link_all_deplibs_CXX=yes
12096         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12097         runpath_var='LD_RUN_PATH'
12098
12099         case $cc_basename in
12100           CC*)
12101             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12102             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12103             ;;
12104           *)
12105             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12106             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12107             ;;
12108         esac
12109       ;;
12110
12111       tandem*)
12112         case $cc_basename in
12113           NCC*)
12114             # NonStop-UX NCC 3.20
12115             # FIXME: insert proper C++ library support
12116             ld_shlibs_CXX=no
12117             ;;
12118           *)
12119             # FIXME: insert proper C++ library support
12120             ld_shlibs_CXX=no
12121             ;;
12122         esac
12123         ;;
12124
12125       vxworks*)
12126         # FIXME: insert proper C++ library support
12127         ld_shlibs_CXX=no
12128         ;;
12129
12130       *)
12131         # FIXME: insert proper C++ library support
12132         ld_shlibs_CXX=no
12133         ;;
12134     esac
12135
12136     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12137 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12138     test "$ld_shlibs_CXX" = no && can_build_shared=no
12139
12140     GCC_CXX="$GXX"
12141     LD_CXX="$LD"
12142
12143     ## CAVEAT EMPTOR:
12144     ## There is no encapsulation within the following macros, do not change
12145     ## the running order or otherwise move them around unless you know exactly
12146     ## what you are doing...
12147     # Dependencies to place before and after the object being linked:
12148 predep_objects_CXX=
12149 postdep_objects_CXX=
12150 predeps_CXX=
12151 postdeps_CXX=
12152 compiler_lib_search_path_CXX=
12153
12154 cat > conftest.$ac_ext <<_LT_EOF
12155 class Foo
12156 {
12157 public:
12158   Foo (void) { a = 0; }
12159 private:
12160   int a;
12161 };
12162 _LT_EOF
12163
12164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12165   (eval $ac_compile) 2>&5
12166   ac_status=$?
12167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168   (exit $ac_status); }; then
12169   # Parse the compiler output and extract the necessary
12170   # objects, libraries and library flags.
12171
12172   # Sentinel used to keep track of whether or not we are before
12173   # the conftest object file.
12174   pre_test_object_deps_done=no
12175
12176   # The `*' in the case matches for architectures that use `case' in
12177   # $output_verbose_cmd can trigger glob expansion during the loop
12178   # eval without this substitution.
12179   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12180
12181   for p in `eval $output_verbose_link_cmd`; do
12182     case $p in
12183
12184     -L* | -R* | -l*)
12185        # Some compilers place space between "-{L,R}" and the path.
12186        # Remove the space.
12187        if test $p = "-L" ||
12188           test $p = "-R"; then
12189          prev=$p
12190          continue
12191        else
12192          prev=
12193        fi
12194
12195        if test "$pre_test_object_deps_done" = no; then
12196          case $p in
12197          -L* | -R*)
12198            # Internal compiler library paths should come after those
12199            # provided the user.  The postdeps already come after the
12200            # user supplied libs so there is no need to process them.
12201            if test -z "$compiler_lib_search_path_CXX"; then
12202              compiler_lib_search_path_CXX="${prev}${p}"
12203            else
12204              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12205            fi
12206            ;;
12207          # The "-l" case would never come before the object being
12208          # linked, so don't bother handling this case.
12209          esac
12210        else
12211          if test -z "$postdeps_CXX"; then
12212            postdeps_CXX="${prev}${p}"
12213          else
12214            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12215          fi
12216        fi
12217        ;;
12218
12219     *.$objext)
12220        # This assumes that the test object file only shows up
12221        # once in the compiler output.
12222        if test "$p" = "conftest.$objext"; then
12223          pre_test_object_deps_done=yes
12224          continue
12225        fi
12226
12227        if test "$pre_test_object_deps_done" = no; then
12228          if test -z "$predep_objects_CXX"; then
12229            predep_objects_CXX="$p"
12230          else
12231            predep_objects_CXX="$predep_objects_CXX $p"
12232          fi
12233        else
12234          if test -z "$postdep_objects_CXX"; then
12235            postdep_objects_CXX="$p"
12236          else
12237            postdep_objects_CXX="$postdep_objects_CXX $p"
12238          fi
12239        fi
12240        ;;
12241
12242     *) ;; # Ignore the rest.
12243
12244     esac
12245   done
12246
12247   # Clean up.
12248   rm -f a.out a.exe
12249 else
12250   echo "libtool.m4: error: problem compiling CXX test program"
12251 fi
12252
12253 $RM -f confest.$objext
12254
12255 # PORTME: override above test on systems where it is broken
12256 case $host_os in
12257 interix[3-9]*)
12258   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12259   # hack all around it, let's just trust "g++" to DTRT.
12260   predep_objects_CXX=
12261   postdep_objects_CXX=
12262   postdeps_CXX=
12263   ;;
12264
12265 linux*)
12266   case `$CC -V 2>&1 | sed 5q` in
12267   *Sun\ C*)
12268     # Sun C++ 5.9
12269
12270     # The more standards-conforming stlport4 library is
12271     # incompatible with the Cstd library. Avoid specifying
12272     # it if it's in CXXFLAGS. Ignore libCrun as
12273     # -library=stlport4 depends on it.
12274     case " $CXX $CXXFLAGS " in
12275     *" -library=stlport4 "*)
12276       solaris_use_stlport4=yes
12277       ;;
12278     esac
12279
12280     if test "$solaris_use_stlport4" != yes; then
12281       postdeps_CXX='-library=Cstd -library=Crun'
12282     fi
12283     ;;
12284   esac
12285   ;;
12286
12287 solaris*)
12288   case $cc_basename in
12289   CC*)
12290     # The more standards-conforming stlport4 library is
12291     # incompatible with the Cstd library. Avoid specifying
12292     # it if it's in CXXFLAGS. Ignore libCrun as
12293     # -library=stlport4 depends on it.
12294     case " $CXX $CXXFLAGS " in
12295     *" -library=stlport4 "*)
12296       solaris_use_stlport4=yes
12297       ;;
12298     esac
12299
12300     # Adding this requires a known-good setup of shared libraries for
12301     # Sun compiler versions before 5.6, else PIC objects from an old
12302     # archive will be linked into the output, leading to subtle bugs.
12303     if test "$solaris_use_stlport4" != yes; then
12304       postdeps_CXX='-library=Cstd -library=Crun'
12305     fi
12306     ;;
12307   esac
12308   ;;
12309 esac
12310
12311
12312 case " $postdeps_CXX " in
12313 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12314 esac
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
12340
12341     lt_prog_compiler_wl_CXX=
12342 lt_prog_compiler_pic_CXX=
12343 lt_prog_compiler_static_CXX=
12344
12345 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12346 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12347
12348   # C++ specific cases for pic, static, wl, etc.
12349   if test "$GXX" = yes; then
12350     lt_prog_compiler_wl_CXX='-Wl,'
12351     lt_prog_compiler_static_CXX='-static'
12352
12353     case $host_os in
12354     aix*)
12355       # All AIX code is PIC.
12356       if test "$host_cpu" = ia64; then
12357         # AIX 5 now supports IA64 processor
12358         lt_prog_compiler_static_CXX='-Bstatic'
12359       fi
12360       ;;
12361     amigaos*)
12362       if test "$host_cpu" = m68k; then
12363         # FIXME: we need at least 68020 code to build shared libraries, but
12364         # adding the `-m68020' flag to GCC prevents building anything better,
12365         # like `-m68040'.
12366         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12367       fi
12368       ;;
12369     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12370       # PIC is the default for these OSes.
12371       ;;
12372     mingw* | cygwin* | os2* | pw32*)
12373       # This hack is so that the source file can tell whether it is being
12374       # built for inclusion in a dll (and should export symbols for example).
12375       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12376       # (--disable-auto-import) libraries
12377       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12378       ;;
12379     darwin* | rhapsody*)
12380       # PIC is the default on this platform
12381       # Common symbols not allowed in MH_DYLIB files
12382       lt_prog_compiler_pic_CXX='-fno-common'
12383       ;;
12384     *djgpp*)
12385       # DJGPP does not support shared libraries at all
12386       lt_prog_compiler_pic_CXX=
12387       ;;
12388     interix[3-9]*)
12389       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12390       # Instead, we relocate shared libraries at runtime.
12391       ;;
12392     sysv4*MP*)
12393       if test -d /usr/nec; then
12394         lt_prog_compiler_pic_CXX=-Kconform_pic
12395       fi
12396       ;;
12397     hpux*)
12398       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12399       # not for PA HP-UX.
12400       case $host_cpu in
12401       hppa*64*|ia64*)
12402         ;;
12403       *)
12404         lt_prog_compiler_pic_CXX='-fPIC'
12405         ;;
12406       esac
12407       ;;
12408     *qnx* | *nto*)
12409       # QNX uses GNU C++, but need to define -shared option too, otherwise
12410       # it will coredump.
12411       lt_prog_compiler_pic_CXX='-fPIC -shared'
12412       ;;
12413     *)
12414       lt_prog_compiler_pic_CXX='-fPIC'
12415       ;;
12416     esac
12417   else
12418     case $host_os in
12419       aix[4-9]*)
12420         # All AIX code is PIC.
12421         if test "$host_cpu" = ia64; then
12422           # AIX 5 now supports IA64 processor
12423           lt_prog_compiler_static_CXX='-Bstatic'
12424         else
12425           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12426         fi
12427         ;;
12428       chorus*)
12429         case $cc_basename in
12430         cxch68*)
12431           # Green Hills C++ Compiler
12432           # _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"
12433           ;;
12434         esac
12435         ;;
12436       darwin*)
12437         # PIC is the default on this platform
12438         # Common symbols not allowed in MH_DYLIB files
12439         case $cc_basename in
12440           xlc*)
12441           lt_prog_compiler_pic_CXX='-qnocommon'
12442           lt_prog_compiler_wl_CXX='-Wl,'
12443           ;;
12444         esac
12445         ;;
12446       dgux*)
12447         case $cc_basename in
12448           ec++*)
12449             lt_prog_compiler_pic_CXX='-KPIC'
12450             ;;
12451           ghcx*)
12452             # Green Hills C++ Compiler
12453             lt_prog_compiler_pic_CXX='-pic'
12454             ;;
12455           *)
12456             ;;
12457         esac
12458         ;;
12459       freebsd* | dragonfly*)
12460         # FreeBSD uses GNU C++
12461         ;;
12462       hpux9* | hpux10* | hpux11*)
12463         case $cc_basename in
12464           CC*)
12465             lt_prog_compiler_wl_CXX='-Wl,'
12466             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12467             if test "$host_cpu" != ia64; then
12468               lt_prog_compiler_pic_CXX='+Z'
12469             fi
12470             ;;
12471           aCC*)
12472             lt_prog_compiler_wl_CXX='-Wl,'
12473             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12474             case $host_cpu in
12475             hppa*64*|ia64*)
12476               # +Z the default
12477               ;;
12478             *)
12479               lt_prog_compiler_pic_CXX='+Z'
12480               ;;
12481             esac
12482             ;;
12483           *)
12484             ;;
12485         esac
12486         ;;
12487       interix*)
12488         # This is c89, which is MS Visual C++ (no shared libs)
12489         # Anyone wants to do a port?
12490         ;;
12491       irix5* | irix6* | nonstopux*)
12492         case $cc_basename in
12493           CC*)
12494             lt_prog_compiler_wl_CXX='-Wl,'
12495             lt_prog_compiler_static_CXX='-non_shared'
12496             # CC pic flag -KPIC is the default.
12497             ;;
12498           *)
12499             ;;
12500         esac
12501         ;;
12502       linux* | k*bsd*-gnu)
12503         case $cc_basename in
12504           KCC*)
12505             # KAI C++ Compiler
12506             lt_prog_compiler_wl_CXX='--backend -Wl,'
12507             lt_prog_compiler_pic_CXX='-fPIC'
12508             ;;
12509           icpc* | ecpc* )
12510             # Intel C++
12511             lt_prog_compiler_wl_CXX='-Wl,'
12512             lt_prog_compiler_pic_CXX='-KPIC'
12513             lt_prog_compiler_static_CXX='-static'
12514             ;;
12515           pgCC*)
12516             # Portland Group C++ compiler
12517             lt_prog_compiler_wl_CXX='-Wl,'
12518             lt_prog_compiler_pic_CXX='-fpic'
12519             lt_prog_compiler_static_CXX='-Bstatic'
12520             ;;
12521           cxx*)
12522             # Compaq C++
12523             # Make sure the PIC flag is empty.  It appears that all Alpha
12524             # Linux and Compaq Tru64 Unix objects are PIC.
12525             lt_prog_compiler_pic_CXX=
12526             lt_prog_compiler_static_CXX='-non_shared'
12527             ;;
12528           *)
12529             case `$CC -V 2>&1 | sed 5q` in
12530             *Sun\ C*)
12531               # Sun C++ 5.9
12532               lt_prog_compiler_pic_CXX='-KPIC'
12533               lt_prog_compiler_static_CXX='-Bstatic'
12534               lt_prog_compiler_wl_CXX='-Qoption ld '
12535               ;;
12536             esac
12537             ;;
12538         esac
12539         ;;
12540       lynxos*)
12541         ;;
12542       m88k*)
12543         ;;
12544       mvs*)
12545         case $cc_basename in
12546           cxx*)
12547             lt_prog_compiler_pic_CXX='-W c,exportall'
12548             ;;
12549           *)
12550             ;;
12551         esac
12552         ;;
12553       netbsd*)
12554         ;;
12555       *qnx* | *nto*)
12556         # QNX uses GNU C++, but need to define -shared option too, otherwise
12557         # it will coredump.
12558         lt_prog_compiler_pic_CXX='-fPIC -shared'
12559         ;;
12560       osf3* | osf4* | osf5*)
12561         case $cc_basename in
12562           KCC*)
12563             lt_prog_compiler_wl_CXX='--backend -Wl,'
12564             ;;
12565           RCC*)
12566             # Rational C++ 2.4.1
12567             lt_prog_compiler_pic_CXX='-pic'
12568             ;;
12569           cxx*)
12570             # Digital/Compaq C++
12571             lt_prog_compiler_wl_CXX='-Wl,'
12572             # Make sure the PIC flag is empty.  It appears that all Alpha
12573             # Linux and Compaq Tru64 Unix objects are PIC.
12574             lt_prog_compiler_pic_CXX=
12575             lt_prog_compiler_static_CXX='-non_shared'
12576             ;;
12577           *)
12578             ;;
12579         esac
12580         ;;
12581       psos*)
12582         ;;
12583       solaris*)
12584         case $cc_basename in
12585           CC*)
12586             # Sun C++ 4.2, 5.x and Centerline C++
12587             lt_prog_compiler_pic_CXX='-KPIC'
12588             lt_prog_compiler_static_CXX='-Bstatic'
12589             lt_prog_compiler_wl_CXX='-Qoption ld '
12590             ;;
12591           gcx*)
12592             # Green Hills C++ Compiler
12593             lt_prog_compiler_pic_CXX='-PIC'
12594             ;;
12595           *)
12596             ;;
12597         esac
12598         ;;
12599       sunos4*)
12600         case $cc_basename in
12601           CC*)
12602             # Sun C++ 4.x
12603             lt_prog_compiler_pic_CXX='-pic'
12604             lt_prog_compiler_static_CXX='-Bstatic'
12605             ;;
12606           lcc*)
12607             # Lucid
12608             lt_prog_compiler_pic_CXX='-pic'
12609             ;;
12610           *)
12611             ;;
12612         esac
12613         ;;
12614       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12615         case $cc_basename in
12616           CC*)
12617             lt_prog_compiler_wl_CXX='-Wl,'
12618             lt_prog_compiler_pic_CXX='-KPIC'
12619             lt_prog_compiler_static_CXX='-Bstatic'
12620             ;;
12621         esac
12622         ;;
12623       tandem*)
12624         case $cc_basename in
12625           NCC*)
12626             # NonStop-UX NCC 3.20
12627             lt_prog_compiler_pic_CXX='-KPIC'
12628             ;;
12629           *)
12630             ;;
12631         esac
12632         ;;
12633       vxworks*)
12634         ;;
12635       *)
12636         lt_prog_compiler_can_build_shared_CXX=no
12637         ;;
12638     esac
12639   fi
12640
12641 case $host_os in
12642   # For platforms which do not support PIC, -DPIC is meaningless:
12643   *djgpp*)
12644     lt_prog_compiler_pic_CXX=
12645     ;;
12646   *)
12647     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12648     ;;
12649 esac
12650 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12651 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12652
12653
12654
12655 #
12656 # Check to make sure the PIC flag actually works.
12657 #
12658 if test -n "$lt_prog_compiler_pic_CXX"; then
12659   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12660 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12661 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12662   echo $ECHO_N "(cached) $ECHO_C" >&6
12663 else
12664   lt_prog_compiler_pic_works_CXX=no
12665    ac_outfile=conftest.$ac_objext
12666    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12667    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12668    # Insert the option either (1) after the last *FLAGS variable, or
12669    # (2) before a word containing "conftest.", or (3) at the end.
12670    # Note that $ac_compile itself does not contain backslashes and begins
12671    # with a dollar sign (not a hyphen), so the echo should work correctly.
12672    # The option is referenced via a variable to avoid confusing sed.
12673    lt_compile=`echo "$ac_compile" | $SED \
12674    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12675    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12676    -e 's:$: $lt_compiler_flag:'`
12677    (eval echo "\"\$as_me:12677: $lt_compile\"" >&5)
12678    (eval "$lt_compile" 2>conftest.err)
12679    ac_status=$?
12680    cat conftest.err >&5
12681    echo "$as_me:12681: \$? = $ac_status" >&5
12682    if (exit $ac_status) && test -s "$ac_outfile"; then
12683      # The compiler can only warn and ignore the option if not recognized
12684      # So say no if there are warnings other than the usual output.
12685      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12686      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12687      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12688        lt_prog_compiler_pic_works_CXX=yes
12689      fi
12690    fi
12691    $RM conftest*
12692
12693 fi
12694 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12695 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12696
12697 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12698     case $lt_prog_compiler_pic_CXX in
12699      "" | " "*) ;;
12700      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12701      esac
12702 else
12703     lt_prog_compiler_pic_CXX=
12704      lt_prog_compiler_can_build_shared_CXX=no
12705 fi
12706
12707 fi
12708
12709
12710
12711 #
12712 # Check to make sure the static flag actually works.
12713 #
12714 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12715 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12716 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12717 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12718   echo $ECHO_N "(cached) $ECHO_C" >&6
12719 else
12720   lt_prog_compiler_static_works_CXX=no
12721    save_LDFLAGS="$LDFLAGS"
12722    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12723    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12724    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12725      # The linker can only warn and ignore the option if not recognized
12726      # So say no if there are warnings
12727      if test -s conftest.err; then
12728        # Append any errors to the config.log.
12729        cat conftest.err 1>&5
12730        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12731        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12732        if diff conftest.exp conftest.er2 >/dev/null; then
12733          lt_prog_compiler_static_works_CXX=yes
12734        fi
12735      else
12736        lt_prog_compiler_static_works_CXX=yes
12737      fi
12738    fi
12739    $RM conftest*
12740    LDFLAGS="$save_LDFLAGS"
12741
12742 fi
12743 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12744 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12745
12746 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12747     :
12748 else
12749     lt_prog_compiler_static_CXX=
12750 fi
12751
12752
12753
12754
12755     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12756 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12757 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12758   echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760   lt_cv_prog_compiler_c_o_CXX=no
12761    $RM -r conftest 2>/dev/null
12762    mkdir conftest
12763    cd conftest
12764    mkdir out
12765    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12766
12767    lt_compiler_flag="-o out/conftest2.$ac_objext"
12768    # Insert the option either (1) after the last *FLAGS variable, or
12769    # (2) before a word containing "conftest.", or (3) at the end.
12770    # Note that $ac_compile itself does not contain backslashes and begins
12771    # with a dollar sign (not a hyphen), so the echo should work correctly.
12772    lt_compile=`echo "$ac_compile" | $SED \
12773    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12774    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12775    -e 's:$: $lt_compiler_flag:'`
12776    (eval echo "\"\$as_me:12776: $lt_compile\"" >&5)
12777    (eval "$lt_compile" 2>out/conftest.err)
12778    ac_status=$?
12779    cat out/conftest.err >&5
12780    echo "$as_me:12780: \$? = $ac_status" >&5
12781    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12782    then
12783      # The compiler can only warn and ignore the option if not recognized
12784      # So say no if there are warnings
12785      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12786      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12787      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12788        lt_cv_prog_compiler_c_o_CXX=yes
12789      fi
12790    fi
12791    chmod u+w . 2>&5
12792    $RM conftest*
12793    # SGI C++ compiler will create directory out/ii_files/ for
12794    # template instantiation
12795    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12796    $RM out/* && rmdir out
12797    cd ..
12798    $RM -r conftest
12799    $RM conftest*
12800
12801 fi
12802 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12803 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12804
12805
12806
12807     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12808 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12809 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12810   echo $ECHO_N "(cached) $ECHO_C" >&6
12811 else
12812   lt_cv_prog_compiler_c_o_CXX=no
12813    $RM -r conftest 2>/dev/null
12814    mkdir conftest
12815    cd conftest
12816    mkdir out
12817    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12818
12819    lt_compiler_flag="-o out/conftest2.$ac_objext"
12820    # Insert the option either (1) after the last *FLAGS variable, or
12821    # (2) before a word containing "conftest.", or (3) at the end.
12822    # Note that $ac_compile itself does not contain backslashes and begins
12823    # with a dollar sign (not a hyphen), so the echo should work correctly.
12824    lt_compile=`echo "$ac_compile" | $SED \
12825    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12826    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12827    -e 's:$: $lt_compiler_flag:'`
12828    (eval echo "\"\$as_me:12828: $lt_compile\"" >&5)
12829    (eval "$lt_compile" 2>out/conftest.err)
12830    ac_status=$?
12831    cat out/conftest.err >&5
12832    echo "$as_me:12832: \$? = $ac_status" >&5
12833    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12834    then
12835      # The compiler can only warn and ignore the option if not recognized
12836      # So say no if there are warnings
12837      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12838      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12839      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12840        lt_cv_prog_compiler_c_o_CXX=yes
12841      fi
12842    fi
12843    chmod u+w . 2>&5
12844    $RM conftest*
12845    # SGI C++ compiler will create directory out/ii_files/ for
12846    # template instantiation
12847    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12848    $RM out/* && rmdir out
12849    cd ..
12850    $RM -r conftest
12851    $RM conftest*
12852
12853 fi
12854 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12855 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12856
12857
12858
12859
12860 hard_links="nottested"
12861 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12862   # do not overwrite the value of need_locks provided by the user
12863   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12864 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12865   hard_links=yes
12866   $RM conftest*
12867   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12868   touch conftest.a
12869   ln conftest.a conftest.b 2>&5 || hard_links=no
12870   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12871   echo "$as_me:$LINENO: result: $hard_links" >&5
12872 echo "${ECHO_T}$hard_links" >&6
12873   if test "$hard_links" = no; then
12874     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12875 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12876     need_locks=warn
12877   fi
12878 else
12879   need_locks=no
12880 fi
12881
12882
12883
12884     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12885 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12886
12887   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12888   case $host_os in
12889   aix[4-9]*)
12890     # If we're using GNU nm, then we don't want the "-C" option.
12891     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12892     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12893       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'
12894     else
12895       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'
12896     fi
12897     ;;
12898   pw32*)
12899     export_symbols_cmds_CXX="$ltdll_cmds"
12900   ;;
12901   cygwin* | mingw*)
12902     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'
12903   ;;
12904   *)
12905     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12906   ;;
12907   esac
12908
12909 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12910 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12911 test "$ld_shlibs_CXX" = no && can_build_shared=no
12912
12913 with_gnu_ld_CXX=$with_gnu_ld
12914
12915
12916
12917
12918
12919
12920 #
12921 # Do we need to explicitly link libc?
12922 #
12923 case "x$archive_cmds_need_lc_CXX" in
12924 x|xyes)
12925   # Assume -lc should be added
12926   archive_cmds_need_lc_CXX=yes
12927
12928   if test "$enable_shared" = yes && test "$GCC" = yes; then
12929     case $archive_cmds_CXX in
12930     *'~'*)
12931       # FIXME: we may have to deal with multi-command sequences.
12932       ;;
12933     '$CC '*)
12934       # Test whether the compiler implicitly links with -lc since on some
12935       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12936       # to ld, don't add -lc before -lgcc.
12937       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12938 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12939       $RM conftest*
12940       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12941
12942       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12943   (eval $ac_compile) 2>&5
12944   ac_status=$?
12945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12946   (exit $ac_status); } 2>conftest.err; then
12947         soname=conftest
12948         lib=conftest
12949         libobjs=conftest.$ac_objext
12950         deplibs=
12951         wl=$lt_prog_compiler_wl_CXX
12952         pic_flag=$lt_prog_compiler_pic_CXX
12953         compiler_flags=-v
12954         linker_flags=-v
12955         verstring=
12956         output_objdir=.
12957         libname=conftest
12958         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12959         allow_undefined_flag_CXX=
12960         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12961   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12962   ac_status=$?
12963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964   (exit $ac_status); }
12965         then
12966           archive_cmds_need_lc_CXX=no
12967         else
12968           archive_cmds_need_lc_CXX=yes
12969         fi
12970         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12971       else
12972         cat conftest.err 1>&5
12973       fi
12974       $RM conftest*
12975       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12976 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12977       ;;
12978     esac
12979   fi
12980   ;;
12981 esac
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
13045
13046     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13047 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13048 withGCC=$GXX
13049 library_names_spec=
13050 libname_spec='lib$name'
13051 soname_spec=
13052 shrext_cmds=".so"
13053 postinstall_cmds=
13054 postuninstall_cmds=
13055 finish_cmds=
13056 finish_eval=
13057 shlibpath_var=
13058 shlibpath_overrides_runpath=unknown
13059 version_type=none
13060 dynamic_linker="$host_os ld.so"
13061 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13062 need_lib_prefix=unknown
13063 hardcode_into_libs=no
13064
13065 # when you set need_version to no, make sure it does not cause -set_version
13066 # flags to be left without arguments
13067 need_version=unknown
13068
13069 case $host_os in
13070 aix3*)
13071   version_type=linux
13072   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13073   shlibpath_var=LIBPATH
13074
13075   # AIX 3 has no versioning support, so we append a major version to the name.
13076   soname_spec='${libname}${release}${shared_ext}$major'
13077   ;;
13078
13079 aix[4-9]*)
13080   version_type=linux
13081   need_lib_prefix=no
13082   need_version=no
13083   hardcode_into_libs=yes
13084   if test "$host_cpu" = ia64; then
13085     # AIX 5 supports IA64
13086     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13087     shlibpath_var=LD_LIBRARY_PATH
13088   else
13089     # With GCC up to 2.95.x, collect2 would create an import file
13090     # for dependence libraries.  The import file would start with
13091     # the line `#! .'.  This would cause the generated library to
13092     # depend on `.', always an invalid library.  This was fixed in
13093     # development snapshots of GCC prior to 3.0.
13094     case $host_os in
13095       aix4 | aix4.[01] | aix4.[01].*)
13096       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13097            echo ' yes '
13098            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13099         :
13100       else
13101         can_build_shared=no
13102       fi
13103       ;;
13104     esac
13105     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13106     # soname into executable. Probably we can add versioning support to
13107     # collect2, so additional links can be useful in future.
13108     if test "$aix_use_runtimelinking" = yes; then
13109       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13110       # instead of lib<name>.a to let people know that these are not
13111       # typical AIX shared libraries.
13112       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13113     else
13114       # We preserve .a as extension for shared libraries through AIX4.2
13115       # and later when we are not doing run time linking.
13116       library_names_spec='${libname}${release}.a $libname.a'
13117       soname_spec='${libname}${release}${shared_ext}$major'
13118     fi
13119     shlibpath_var=LIBPATH
13120   fi
13121   ;;
13122
13123 amigaos*)
13124   if test "$host_cpu" = m68k; then
13125     library_names_spec='$libname.ixlibrary $libname.a'
13126     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13127     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'
13128   else
13129     dynamic_linker=no
13130   fi
13131   ;;
13132
13133 beos*)
13134   library_names_spec='${libname}${shared_ext}'
13135   dynamic_linker="$host_os ld.so"
13136   shlibpath_var=LIBRARY_PATH
13137   ;;
13138
13139 bsdi[45]*)
13140   version_type=linux
13141   need_version=no
13142   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13143   soname_spec='${libname}${release}${shared_ext}$major'
13144   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13145   shlibpath_var=LD_LIBRARY_PATH
13146   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13147   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13148   # the default ld.so.conf also contains /usr/contrib/lib and
13149   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13150   # libtool to hard-code these into programs
13151   ;;
13152
13153 cygwin* | mingw* | pw32*)
13154   version_type=windows
13155   shrext_cmds=".dll"
13156   need_version=no
13157   need_lib_prefix=no
13158
13159   case $withGCC,$host_os in
13160   yes,cygwin* | yes,mingw* | yes,pw32*)
13161     library_names_spec='$libname.dll.a'
13162     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13163     postinstall_cmds='base_file=`basename \${file}`~
13164       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13165       dldir=$destdir/`dirname \$dlpath`~
13166       test -d \$dldir || mkdir -p \$dldir~
13167       $install_prog $dir/$dlname \$dldir/$dlname~
13168       chmod a+x \$dldir/$dlname~
13169       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13170         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13171       fi'
13172     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13173       dlpath=$dir/\$dldll~
13174        $RM \$dlpath'
13175     shlibpath_overrides_runpath=yes
13176
13177     case $host_os in
13178     cygwin*)
13179       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13180       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13181       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13182       ;;
13183     mingw*)
13184       # MinGW DLLs use traditional 'lib' prefix
13185       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13186       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13187       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13188         # It is most probably a Windows format PATH printed by
13189         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13190         # path with ; separators, and with drive letters. We can handle the
13191         # drive letters (cygwin fileutils understands them), so leave them,
13192         # especially as we might pass files found there to a mingw objdump,
13193         # which wouldn't understand a cygwinified path. Ahh.
13194         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13195       else
13196         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13197       fi
13198       ;;
13199     pw32*)
13200       # pw32 DLLs use 'pw' prefix rather than 'lib'
13201       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13202       ;;
13203     esac
13204     ;;
13205
13206   *)
13207     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13208     ;;
13209   esac
13210   dynamic_linker='Win32 ld.exe'
13211   # FIXME: first we should search . and the directory the executable is in
13212   shlibpath_var=PATH
13213   ;;
13214
13215 darwin* | rhapsody*)
13216   dynamic_linker="$host_os dyld"
13217   version_type=darwin
13218   need_lib_prefix=no
13219   need_version=no
13220   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13221   soname_spec='${libname}${release}${major}$shared_ext'
13222   shlibpath_overrides_runpath=yes
13223   shlibpath_var=DYLD_LIBRARY_PATH
13224   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13225
13226   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13227   ;;
13228
13229 dgux*)
13230   version_type=linux
13231   need_lib_prefix=no
13232   need_version=no
13233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13234   soname_spec='${libname}${release}${shared_ext}$major'
13235   shlibpath_var=LD_LIBRARY_PATH
13236   ;;
13237
13238 freebsd1*)
13239   dynamic_linker=no
13240   ;;
13241
13242 freebsd* | dragonfly*)
13243   # DragonFly does not have aout.  When/if they implement a new
13244   # versioning mechanism, adjust this.
13245   if test -x /usr/bin/objformat; then
13246     objformat=`/usr/bin/objformat`
13247   else
13248     case $host_os in
13249     freebsd[123]*) objformat=aout ;;
13250     *) objformat=elf ;;
13251     esac
13252   fi
13253   version_type=freebsd-$objformat
13254   case $version_type in
13255     freebsd-elf*)
13256       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13257       need_version=no
13258       need_lib_prefix=no
13259       ;;
13260     freebsd-*)
13261       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13262       need_version=yes
13263       ;;
13264   esac
13265   shlibpath_var=LD_LIBRARY_PATH
13266   case $host_os in
13267   freebsd2*)
13268     shlibpath_overrides_runpath=yes
13269     ;;
13270   freebsd3.[01]* | freebsdelf3.[01]*)
13271     shlibpath_overrides_runpath=yes
13272     hardcode_into_libs=yes
13273     ;;
13274   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13275   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13276     shlibpath_overrides_runpath=no
13277     hardcode_into_libs=yes
13278     ;;
13279   *) # from 4.6 on, and DragonFly
13280     shlibpath_overrides_runpath=yes
13281     hardcode_into_libs=yes
13282     ;;
13283   esac
13284   ;;
13285
13286 gnu*)
13287   version_type=linux
13288   need_lib_prefix=no
13289   need_version=no
13290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13291   soname_spec='${libname}${release}${shared_ext}$major'
13292   shlibpath_var=LD_LIBRARY_PATH
13293   hardcode_into_libs=yes
13294   ;;
13295
13296 hpux9* | hpux10* | hpux11*)
13297   # Give a soname corresponding to the major version so that dld.sl refuses to
13298   # link against other versions.
13299   version_type=sunos
13300   need_lib_prefix=no
13301   need_version=no
13302   case $host_cpu in
13303   ia64*)
13304     shrext_cmds='.so'
13305     hardcode_into_libs=yes
13306     dynamic_linker="$host_os dld.so"
13307     shlibpath_var=LD_LIBRARY_PATH
13308     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13309     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13310     soname_spec='${libname}${release}${shared_ext}$major'
13311     if test "X$HPUX_IA64_MODE" = X32; then
13312       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13313     else
13314       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13315     fi
13316     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13317     ;;
13318   hppa*64*)
13319     shrext_cmds='.sl'
13320     hardcode_into_libs=yes
13321     dynamic_linker="$host_os dld.sl"
13322     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13323     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13324     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13325     soname_spec='${libname}${release}${shared_ext}$major'
13326     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13327     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13328     ;;
13329   *)
13330     shrext_cmds='.sl'
13331     dynamic_linker="$host_os dld.sl"
13332     shlibpath_var=SHLIB_PATH
13333     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13335     soname_spec='${libname}${release}${shared_ext}$major'
13336     ;;
13337   esac
13338   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13339   postinstall_cmds='chmod 555 $lib'
13340   ;;
13341
13342 interix[3-9]*)
13343   version_type=linux
13344   need_lib_prefix=no
13345   need_version=no
13346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13347   soname_spec='${libname}${release}${shared_ext}$major'
13348   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13349   shlibpath_var=LD_LIBRARY_PATH
13350   shlibpath_overrides_runpath=no
13351   hardcode_into_libs=yes
13352   ;;
13353
13354 irix5* | irix6* | nonstopux*)
13355   case $host_os in
13356     nonstopux*) version_type=nonstopux ;;
13357     *)
13358         if test "$lt_cv_prog_gnu_ld" = yes; then
13359                 version_type=linux
13360         else
13361                 version_type=irix
13362         fi ;;
13363   esac
13364   need_lib_prefix=no
13365   need_version=no
13366   soname_spec='${libname}${release}${shared_ext}$major'
13367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13368   case $host_os in
13369   irix5* | nonstopux*)
13370     libsuff= shlibsuff=
13371     ;;
13372   *)
13373     case $LD in # libtool.m4 will add one of these switches to LD
13374     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13375       libsuff= shlibsuff= libmagic=32-bit;;
13376     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13377       libsuff=32 shlibsuff=N32 libmagic=N32;;
13378     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13379       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13380     *) libsuff= shlibsuff= libmagic=never-match;;
13381     esac
13382     ;;
13383   esac
13384   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13385   shlibpath_overrides_runpath=no
13386   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13387   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13388   hardcode_into_libs=yes
13389   ;;
13390
13391 # No shared lib support for Linux oldld, aout, or coff.
13392 linux*oldld* | linux*aout* | linux*coff*)
13393   dynamic_linker=no
13394   ;;
13395
13396 # This must be Linux ELF.
13397 linux* | k*bsd*-gnu)
13398   version_type=linux
13399   need_lib_prefix=no
13400   need_version=no
13401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13402   soname_spec='${libname}${release}${shared_ext}$major'
13403   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13404   shlibpath_var=LD_LIBRARY_PATH
13405   shlibpath_overrides_runpath=no
13406   # Some binutils ld are patched to set DT_RUNPATH
13407   save_LDFLAGS=$LDFLAGS
13408   save_libdir=$libdir
13409   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13410        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13411   if test x$gcc_no_link = xyes; then
13412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13414    { (exit 1); exit 1; }; }
13415 fi
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h.  */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h.  */
13422
13423 int
13424 main ()
13425 {
13426
13427   ;
13428   return 0;
13429 }
13430 _ACEOF
13431 rm -f conftest.$ac_objext conftest$ac_exeext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13433   (eval $ac_link) 2>conftest.er1
13434   ac_status=$?
13435   grep -v '^ *+' conftest.er1 >conftest.err
13436   rm -f conftest.er1
13437   cat conftest.err >&5
13438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439   (exit $ac_status); } &&
13440          { ac_try='test -z "$ac_cxx_werror_flag"
13441                          || test ! -s conftest.err'
13442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443   (eval $ac_try) 2>&5
13444   ac_status=$?
13445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446   (exit $ac_status); }; } &&
13447          { ac_try='test -s conftest$ac_exeext'
13448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449   (eval $ac_try) 2>&5
13450   ac_status=$?
13451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452   (exit $ac_status); }; }; then
13453   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13454   shlibpath_overrides_runpath=yes
13455 fi
13456
13457 else
13458   echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13460
13461 fi
13462 rm -f conftest.err conftest.$ac_objext \
13463       conftest$ac_exeext conftest.$ac_ext
13464   LDFLAGS=$save_LDFLAGS
13465   libdir=$save_libdir
13466
13467   # This implies no fast_install, which is unacceptable.
13468   # Some rework will be needed to allow for fast_install
13469   # before this can be enabled.
13470   hardcode_into_libs=yes
13471
13472   # Append ld.so.conf contents to the search path
13473   if test -f /etc/ld.so.conf; then
13474     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' ' '`
13475     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13476   fi
13477
13478   # We used to test for /lib/ld.so.1 and disable shared libraries on
13479   # powerpc, because MkLinux only supported shared libraries with the
13480   # GNU dynamic linker.  Since this was broken with cross compilers,
13481   # most powerpc-linux boxes support dynamic linking these days and
13482   # people can always --disable-shared, the test was removed, and we
13483   # assume the GNU/Linux dynamic linker is in use.
13484   dynamic_linker='GNU/Linux ld.so'
13485   ;;
13486
13487 netbsd*)
13488   version_type=sunos
13489   need_lib_prefix=no
13490   need_version=no
13491   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13492     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13493     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13494     dynamic_linker='NetBSD (a.out) ld.so'
13495   else
13496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13497     soname_spec='${libname}${release}${shared_ext}$major'
13498     dynamic_linker='NetBSD ld.elf_so'
13499   fi
13500   shlibpath_var=LD_LIBRARY_PATH
13501   shlibpath_overrides_runpath=yes
13502   hardcode_into_libs=yes
13503   ;;
13504
13505 newsos6)
13506   version_type=linux
13507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13508   shlibpath_var=LD_LIBRARY_PATH
13509   shlibpath_overrides_runpath=yes
13510   ;;
13511
13512 *nto* | *qnx*)
13513   version_type=qnx
13514   need_lib_prefix=no
13515   need_version=no
13516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13517   soname_spec='${libname}${release}${shared_ext}$major'
13518   shlibpath_var=LD_LIBRARY_PATH
13519   shlibpath_overrides_runpath=no
13520   hardcode_into_libs=yes
13521   dynamic_linker='ldqnx.so'
13522   ;;
13523
13524 openbsd*)
13525   version_type=sunos
13526   sys_lib_dlsearch_path_spec="/usr/lib"
13527   need_lib_prefix=no
13528   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13529   case $host_os in
13530     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13531     *)                          need_version=no  ;;
13532   esac
13533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13534   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13535   shlibpath_var=LD_LIBRARY_PATH
13536   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13537     case $host_os in
13538       openbsd2.[89] | openbsd2.[89].*)
13539         shlibpath_overrides_runpath=no
13540         ;;
13541       *)
13542         shlibpath_overrides_runpath=yes
13543         ;;
13544       esac
13545   else
13546     shlibpath_overrides_runpath=yes
13547   fi
13548   ;;
13549
13550 os2*)
13551   libname_spec='$name'
13552   shrext_cmds=".dll"
13553   need_lib_prefix=no
13554   library_names_spec='$libname${shared_ext} $libname.a'
13555   dynamic_linker='OS/2 ld.exe'
13556   shlibpath_var=LIBPATH
13557   ;;
13558
13559 osf3* | osf4* | osf5*)
13560   version_type=osf
13561   need_lib_prefix=no
13562   need_version=no
13563   soname_spec='${libname}${release}${shared_ext}$major'
13564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13565   shlibpath_var=LD_LIBRARY_PATH
13566   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13567   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13568   ;;
13569
13570 rdos*)
13571   dynamic_linker=no
13572   ;;
13573
13574 solaris*)
13575   version_type=linux
13576   need_lib_prefix=no
13577   need_version=no
13578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13579   soname_spec='${libname}${release}${shared_ext}$major'
13580   shlibpath_var=LD_LIBRARY_PATH
13581   shlibpath_overrides_runpath=yes
13582   hardcode_into_libs=yes
13583   # ldd complains unless libraries are executable
13584   postinstall_cmds='chmod +x $lib'
13585   ;;
13586
13587 sunos4*)
13588   version_type=sunos
13589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13590   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13591   shlibpath_var=LD_LIBRARY_PATH
13592   shlibpath_overrides_runpath=yes
13593   if test "$with_gnu_ld" = yes; then
13594     need_lib_prefix=no
13595   fi
13596   need_version=yes
13597   ;;
13598
13599 sysv4 | sysv4.3*)
13600   version_type=linux
13601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13602   soname_spec='${libname}${release}${shared_ext}$major'
13603   shlibpath_var=LD_LIBRARY_PATH
13604   case $host_vendor in
13605     sni)
13606       shlibpath_overrides_runpath=no
13607       need_lib_prefix=no
13608       runpath_var=LD_RUN_PATH
13609       ;;
13610     siemens)
13611       need_lib_prefix=no
13612       ;;
13613     motorola)
13614       need_lib_prefix=no
13615       need_version=no
13616       shlibpath_overrides_runpath=no
13617       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13618       ;;
13619   esac
13620   ;;
13621
13622 sysv4*MP*)
13623   if test -d /usr/nec ;then
13624     version_type=linux
13625     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13626     soname_spec='$libname${shared_ext}.$major'
13627     shlibpath_var=LD_LIBRARY_PATH
13628   fi
13629   ;;
13630
13631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13632   version_type=freebsd-elf
13633   need_lib_prefix=no
13634   need_version=no
13635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13636   soname_spec='${libname}${release}${shared_ext}$major'
13637   shlibpath_var=LD_LIBRARY_PATH
13638   shlibpath_overrides_runpath=yes
13639   hardcode_into_libs=yes
13640   if test "$with_gnu_ld" = yes; then
13641     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13642   else
13643     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13644     case $host_os in
13645       sco3.2v5*)
13646         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13647         ;;
13648     esac
13649   fi
13650   sys_lib_dlsearch_path_spec='/usr/lib'
13651   ;;
13652
13653 tpf*)
13654   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13655   version_type=linux
13656   need_lib_prefix=no
13657   need_version=no
13658   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13659   shlibpath_var=LD_LIBRARY_PATH
13660   shlibpath_overrides_runpath=no
13661   hardcode_into_libs=yes
13662   ;;
13663
13664 uts4*)
13665   version_type=linux
13666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13667   soname_spec='${libname}${release}${shared_ext}$major'
13668   shlibpath_var=LD_LIBRARY_PATH
13669   ;;
13670
13671 *)
13672   dynamic_linker=no
13673   ;;
13674 esac
13675 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13676 echo "${ECHO_T}$dynamic_linker" >&6
13677 test "$dynamic_linker" = no && can_build_shared=no
13678
13679 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13680 if test "$GCC" = yes; then
13681   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13682 fi
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
13718
13719     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13720 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13721 hardcode_action_CXX=
13722 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13723    test -n "$runpath_var_CXX" ||
13724    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13725
13726   # We can hardcode non-existent directories.
13727   if test "$hardcode_direct_CXX" != no &&
13728      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13729      # have to relink, otherwise we might link with an installed library
13730      # when we should be linking with a yet-to-be-installed one
13731      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13732      test "$hardcode_minus_L_CXX" != no; then
13733     # Linking always hardcodes the temporary library directory.
13734     hardcode_action_CXX=relink
13735   else
13736     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13737     hardcode_action_CXX=immediate
13738   fi
13739 else
13740   # We cannot hardcode anything, or else we can only hardcode existing
13741   # directories.
13742   hardcode_action_CXX=unsupported
13743 fi
13744 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13745 echo "${ECHO_T}$hardcode_action_CXX" >&6
13746
13747 if test "$hardcode_action_CXX" = relink ||
13748    test "$inherit_rpath_CXX" = yes; then
13749   # Fast installation is not supported
13750   enable_fast_install=no
13751 elif test "$shlibpath_overrides_runpath" = yes ||
13752      test "$enable_shared" = no; then
13753   # Fast installation is not necessary
13754   enable_fast_install=needless
13755 fi
13756
13757
13758
13759
13760
13761
13762
13763   fi # test -n "$compiler"
13764
13765   CC=$lt_save_CC
13766   LDCXX=$LD
13767   LD=$lt_save_LD
13768   GCC=$lt_save_GCC
13769   with_gnu_ld=$lt_save_with_gnu_ld
13770   lt_cv_path_LDCXX=$lt_cv_path_LD
13771   lt_cv_path_LD=$lt_save_path_LD
13772   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13773   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13774 fi # test "$_lt_caught_CXX_error" != yes
13775
13776 ac_ext=c
13777 ac_cpp='$CPP $CPPFLAGS'
13778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794                   ac_config_commands="$ac_config_commands libtool"
13795
13796
13797
13798
13799 # Only expand once:
13800
13801
13802
13803
13804
13805 # Possibly disable most of the library.
13806 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13807 ## than just ignoring the results.  Faster /and/ more correct, win win.
13808
13809   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13810 if test "${enable_hosted_libstdcxx+set}" = set; then
13811   enableval="$enable_hosted_libstdcxx"
13812
13813 else
13814   case "$host" in
13815         arm*-*-symbianelf*)
13816             enable_hosted_libstdcxx=no
13817             ;;
13818         *)
13819             enable_hosted_libstdcxx=yes
13820             ;;
13821      esac
13822 fi;
13823   if test "$enable_hosted_libstdcxx" = no; then
13824     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13825 echo "$as_me: Only freestanding libraries will be built" >&6;}
13826     is_hosted=no
13827     hosted_define=0
13828     enable_abi_check=no
13829     enable_libstdcxx_pch=no
13830   else
13831     is_hosted=yes
13832     hosted_define=1
13833   fi
13834
13835
13836 cat >>confdefs.h <<_ACEOF
13837 #define _GLIBCXX_HOSTED $hosted_define
13838 _ACEOF
13839
13840
13841
13842 # Enable compiler support that doesn't require linking.
13843
13844   echo "$as_me:$LINENO: checking for exception model to use" >&5
13845 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13846
13847
13848   ac_ext=cc
13849 ac_cpp='$CXXCPP $CPPFLAGS'
13850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13853
13854    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13855 if test "${enable_sjlj_exceptions+set}" = set; then
13856   enableval="$enable_sjlj_exceptions"
13857
13858       case "$enableval" in
13859        yes|no|auto) ;;
13860        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13861 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13862    { (exit 1); exit 1; }; } ;;
13863                           esac
13864
13865 else
13866   enable_sjlj_exceptions=auto
13867 fi;
13868
13869
13870   if test $enable_sjlj_exceptions = auto; then
13871     # Botheration.  Now we've got to detect the exception model.  Link tests
13872     # against libgcc.a are problematic since we've not been given proper -L
13873     # bits for single-tree newlib and libgloss.
13874     #
13875     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13876     cat > conftest.$ac_ext << EOF
13877 #line 13877 "configure"
13878 struct S { ~S(); };
13879 void bar();
13880 void foo()
13881 {
13882   S s;
13883   bar();
13884 }
13885 EOF
13886     old_CXXFLAGS="$CXXFLAGS"
13887     CXXFLAGS=-S
13888     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13889   (eval $ac_compile) 2>&5
13890   ac_status=$?
13891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892   (exit $ac_status); }; then
13893       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13894         enable_sjlj_exceptions=yes
13895       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13896         enable_sjlj_exceptions=no
13897       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13898         enable_sjlj_exceptions=no
13899       fi
13900     fi
13901     CXXFLAGS="$old_CXXFLAGS"
13902     rm -f conftest*
13903   fi
13904
13905   # This is a tad weird, for hysterical raisins.  We have to map
13906   # enable/disable to two different models.
13907   case $enable_sjlj_exceptions in
13908     yes)
13909
13910 cat >>confdefs.h <<\_ACEOF
13911 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13912 _ACEOF
13913
13914       ac_exception_model_name=sjlj
13915       ;;
13916     no)
13917       ac_exception_model_name="call frame"
13918       ;;
13919     *)
13920       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13921 echo "$as_me: error: unable to detect exception model" >&2;}
13922    { (exit 1); exit 1; }; }
13923       ;;
13924   esac
13925  ac_ext=c
13926 ac_cpp='$CPP $CPPFLAGS'
13927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13930
13931  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13932 echo "${ECHO_T}$ac_exception_model_name" >&6
13933
13934
13935    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13936 if test "${enable_libstdcxx_pch+set}" = set; then
13937   enableval="$enable_libstdcxx_pch"
13938
13939       case "$enableval" in
13940        yes|no) ;;
13941        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13942 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13943    { (exit 1); exit 1; }; } ;;
13944       esac
13945
13946 else
13947   enable_libstdcxx_pch=$is_hosted
13948 fi;
13949
13950   if test $enable_libstdcxx_pch = yes; then
13951     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13952 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13953 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13954   echo $ECHO_N "(cached) $ECHO_C" >&6
13955 else
13956   ac_save_CXXFLAGS="$CXXFLAGS"
13957        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13958
13959
13960        ac_ext=cc
13961 ac_cpp='$CXXCPP $CPPFLAGS'
13962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13965
13966        echo '#include <math.h>' > conftest.h
13967        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13968                           -o conftest.h.gch 1>&5 2>&1 &&
13969                 echo '#error "pch failed"' > conftest.h &&
13970           echo '#include "conftest.h"' > conftest.cc &&
13971                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13972        then
13973          glibcxx_cv_prog_CXX_pch=yes
13974        else
13975          glibcxx_cv_prog_CXX_pch=no
13976        fi
13977        rm -f conftest*
13978        CXXFLAGS=$ac_save_CXXFLAGS
13979        ac_ext=c
13980 ac_cpp='$CPP $CPPFLAGS'
13981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13984
13985
13986 fi
13987 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13988 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13989     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13990   fi
13991
13992   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13993 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13994   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13995 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13996
13997
13998   if test $enable_libstdcxx_pch = yes; then
13999     glibcxx_PCHFLAGS="-include bits/stdc++.h"
14000   else
14001     glibcxx_PCHFLAGS=""
14002   fi
14003
14004
14005
14006
14007
14008   ac_ext=cc
14009 ac_cpp='$CXXCPP $CPPFLAGS'
14010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14013
14014   old_CXXFLAGS="$CXXFLAGS"
14015
14016   # Compile unoptimized.
14017   CXXFLAGS='-O0 -S'
14018
14019   # Fake what AC_TRY_COMPILE does, without linking as this is
14020   # unnecessary for a builtins test.
14021
14022     cat > conftest.$ac_ext << EOF
14023 #line 14023 "configure"
14024 int main()
14025 {
14026   // NB: _Atomic_word not necessarily int.
14027   typedef int atomic_type;
14028   atomic_type c1;
14029   atomic_type c2;
14030   const atomic_type c3(0);
14031   __sync_fetch_and_add(&c1, c2);
14032   __sync_val_compare_and_swap(&c1, c3, c2);
14033   __sync_lock_test_and_set(&c1, c3);
14034   __sync_lock_release(&c1);
14035   __sync_synchronize();
14036   return 0;
14037 }
14038 EOF
14039
14040     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14041 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14042     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043   (eval $ac_compile) 2>&5
14044   ac_status=$?
14045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046   (exit $ac_status); }; then
14047       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14048         enable_atomic_builtinsi=no
14049       else
14050
14051 cat >>confdefs.h <<\_ACEOF
14052 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14053 _ACEOF
14054
14055         enable_atomic_builtinsi=yes
14056       fi
14057     fi
14058     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14059 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14060     rm -f conftest*
14061
14062     cat > conftest.$ac_ext << EOF
14063 #line 14063 "configure"
14064 int main()
14065 {
14066   typedef bool atomic_type;
14067   atomic_type c1;
14068   atomic_type c2;
14069   const atomic_type c3(0);
14070   __sync_fetch_and_add(&c1, c2);
14071   __sync_val_compare_and_swap(&c1, c3, c2);
14072   __sync_lock_test_and_set(&c1, c3);
14073   __sync_lock_release(&c1);
14074   __sync_synchronize();
14075   return 0;
14076 }
14077 EOF
14078
14079     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14080 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14081     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14082   (eval $ac_compile) 2>&5
14083   ac_status=$?
14084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085   (exit $ac_status); }; then
14086       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14087         enable_atomic_builtinsb=no
14088       else
14089
14090 cat >>confdefs.h <<\_ACEOF
14091 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14092 _ACEOF
14093
14094         enable_atomic_builtinsb=yes
14095       fi
14096     fi
14097     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14098 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14099     rm -f conftest*
14100
14101   CXXFLAGS="$old_CXXFLAGS"
14102   ac_ext=c
14103 ac_cpp='$CPP $CPPFLAGS'
14104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107
14108
14109   # Set atomicity_dir to builtins if either of above tests pass.
14110   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14111     atomicity_dir=cpu/generic/atomicity_builtins
14112   fi
14113
14114   # If still generic, set to mutex.
14115   if test $atomicity_dir = "cpu/generic" ; then
14116     atomicity_dir=cpu/generic/atomicity_mutex
14117     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14118 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14119       if test $target_thread_file = single; then
14120         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14121 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14122         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14123 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14124       else
14125         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14126 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14127         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14128 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14129       fi
14130   fi
14131
14132
14133
14134   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14135 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14136   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14137   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14138 echo "${ECHO_T}$target_thread_file" >&6
14139
14140   if test $target_thread_file != single; then
14141
14142 cat >>confdefs.h <<\_ACEOF
14143 #define HAVE_GTHR_DEFAULT 1
14144 _ACEOF
14145
14146   fi
14147
14148   glibcxx_thread_h=gthr-$target_thread_file.h
14149
14150     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14151   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14152     enable_thread=yes
14153   else
14154    enable_thread=no
14155   fi
14156
14157
14158
14159
14160 # Checks for compiler support that doesn't require linking.
14161
14162   # All these tests are for C++; save the language and the compiler flags.
14163   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14164   # found in GLIBCXX_CONFIGURE.
14165
14166
14167   ac_ext=cc
14168 ac_cpp='$CXXCPP $CPPFLAGS'
14169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14172
14173   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14174   ac_save_CXXFLAGS="$CXXFLAGS"
14175
14176   # Check for maintainer-mode bits.
14177   if test x"$USE_MAINTAINER_MODE" = xno; then
14178     WERROR=''
14179   else
14180     WERROR='-Werror'
14181   fi
14182
14183   # Check for -ffunction-sections -fdata-sections
14184   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14185 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14186   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14187   cat >conftest.$ac_ext <<_ACEOF
14188 /* confdefs.h.  */
14189 _ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h.  */
14193 int foo; void bar() { };
14194 int
14195 main ()
14196 {
14197
14198   ;
14199   return 0;
14200 }
14201 _ACEOF
14202 rm -f conftest.$ac_objext
14203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14204   (eval $ac_compile) 2>conftest.er1
14205   ac_status=$?
14206   grep -v '^ *+' conftest.er1 >conftest.err
14207   rm -f conftest.er1
14208   cat conftest.err >&5
14209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210   (exit $ac_status); } &&
14211          { ac_try='test -z "$ac_cxx_werror_flag"
14212                          || test ! -s conftest.err'
14213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214   (eval $ac_try) 2>&5
14215   ac_status=$?
14216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217   (exit $ac_status); }; } &&
14218          { ac_try='test -s conftest.$ac_objext'
14219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220   (eval $ac_try) 2>&5
14221   ac_status=$?
14222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223   (exit $ac_status); }; }; then
14224   ac_fdsections=yes
14225 else
14226   echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.$ac_ext >&5
14228
14229 ac_fdsections=no
14230 fi
14231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14232   if test "$ac_test_CXXFLAGS" = set; then
14233     CXXFLAGS="$ac_save_CXXFLAGS"
14234   else
14235     # this is the suspicious part
14236     CXXFLAGS=''
14237   fi
14238   if test x"$ac_fdsections" = x"yes"; then
14239     SECTION_FLAGS='-ffunction-sections -fdata-sections'
14240   fi
14241   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14242 echo "${ECHO_T}$ac_fdsections" >&6
14243
14244   ac_ext=c
14245 ac_cpp='$CPP $CPPFLAGS'
14246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14249
14250
14251
14252
14253
14254
14255   echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14256 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14257   if test "${ac_standard_layout+set}" = set; then
14258   echo $ECHO_N "(cached) $ECHO_C" >&6
14259 else
14260
14261
14262
14263   ac_ext=cc
14264 ac_cpp='$CXXCPP $CPPFLAGS'
14265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14268
14269   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14270   ac_save_CXXFLAGS="$CXXFLAGS"
14271   CXXFLAGS='-std=gnu++0x'
14272
14273   cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h.  */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h.  */
14279 struct b
14280                   {
14281                     bool t;
14282
14283                     // Need standard layout relaxation from POD
14284                     private:
14285                     b& operator=(const b&);
14286                     b(const b&);
14287                     };
14288
14289                     int main()
14290                     {
14291                       b tst1 = { false };
14292                        return 0;
14293                     }
14294 int
14295 main ()
14296 {
14297
14298   ;
14299   return 0;
14300 }
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304   (eval $ac_compile) 2>conftest.er1
14305   ac_status=$?
14306   grep -v '^ *+' conftest.er1 >conftest.err
14307   rm -f conftest.er1
14308   cat conftest.err >&5
14309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310   (exit $ac_status); } &&
14311          { ac_try='test -z "$ac_cxx_werror_flag"
14312                          || test ! -s conftest.err'
14313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314   (eval $ac_try) 2>&5
14315   ac_status=$?
14316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317   (exit $ac_status); }; } &&
14318          { ac_try='test -s conftest.$ac_objext'
14319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320   (eval $ac_try) 2>&5
14321   ac_status=$?
14322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323   (exit $ac_status); }; }; then
14324   ac_standard_layout=yes
14325 else
14326   echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 ac_standard_layout=no
14330 fi
14331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14332
14333   CXXFLAGS="$ac_save_CXXFLAGS"
14334   ac_ext=c
14335 ac_cpp='$CPP $CPPFLAGS'
14336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14339
14340
14341 fi
14342
14343   echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14344 echo "${ECHO_T}$ac_standard_layout" >&6
14345   if test x"$ac_standard_layout" = x"yes"; then
14346
14347 cat >>confdefs.h <<\_ACEOF
14348 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14349 _ACEOF
14350
14351   fi
14352
14353
14354 # Enable all the variable C++ runtime options that don't require linking.
14355
14356   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14357 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14358    # Check whether --enable-cstdio or --disable-cstdio was given.
14359 if test "${enable_cstdio+set}" = set; then
14360   enableval="$enable_cstdio"
14361
14362       case "$enableval" in
14363        stdio) ;;
14364        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14365 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14366    { (exit 1); exit 1; }; } ;;
14367                           esac
14368
14369 else
14370   enable_cstdio=stdio
14371 fi;
14372
14373
14374   # Now that libio has been removed, you can have any color you want as long
14375   # as it's black.  This is one big no-op until other packages are added, but
14376   # showing the framework never hurts.
14377   case ${enable_cstdio} in
14378     stdio)
14379       CSTDIO_H=config/io/c_io_stdio.h
14380       BASIC_FILE_H=config/io/basic_file_stdio.h
14381       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14382       echo "$as_me:$LINENO: result: stdio" >&5
14383 echo "${ECHO_T}stdio" >&6
14384       ;;
14385   esac
14386
14387
14388
14389
14390
14391
14392    # Check whether --enable-clocale or --disable-clocale was given.
14393 if test "${enable_clocale+set}" = set; then
14394   enableval="$enable_clocale"
14395
14396       case "$enableval" in
14397        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14398        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14399 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14400    { (exit 1); exit 1; }; } ;;
14401                           esac
14402
14403 else
14404   enable_clocale=auto
14405 fi;
14406
14407
14408   # Deal with gettext issues.  Default to not using it (=no) until we detect
14409   # support for it later.  Let the user turn it off via --e/d, but let that
14410   # default to on for easier handling.
14411   USE_NLS=no
14412   # Check whether --enable-nls or --disable-nls was given.
14413 if test "${enable_nls+set}" = set; then
14414   enableval="$enable_nls"
14415
14416 else
14417   enable_nls=yes
14418 fi;
14419
14420   # Either a known packaage, or "auto"
14421   if test $enable_clocale = no || test $enable_clocale = yes; then
14422      enable_clocale=auto
14423   fi
14424   enable_clocale_flag=$enable_clocale
14425
14426   # Probe for locale model to use if none specified.
14427   # Default to "generic".
14428   if test $enable_clocale_flag = auto; then
14429     case ${target_os} in
14430       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14431         enable_clocale_flag=gnu
14432         ;;
14433       darwin* | freebsd*)
14434         enable_clocale_flag=darwin
14435         ;;
14436       *)
14437         enable_clocale_flag=generic
14438         ;;
14439     esac
14440   fi
14441
14442   # Sanity check model, and test for special functionality.
14443   if test $enable_clocale_flag = gnu; then
14444     cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h.  */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h.  */
14450
14451     #include <features.h>
14452     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14453       _GLIBCXX_ok
14454     #endif
14455
14456 _ACEOF
14457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14458   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14459   enable_clocale_flag=gnu
14460 else
14461   enable_clocale_flag=generic
14462 fi
14463 rm -f conftest*
14464
14465
14466     if test $enable_clocale = auto; then
14467       # Test for bugs early in glibc-2.2.x series
14468       if test "$cross_compiling" = yes; then
14469   enable_clocale_flag=generic
14470 else
14471   cat >conftest.$ac_ext <<_ACEOF
14472 /* confdefs.h.  */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h.  */
14477
14478       #define _GNU_SOURCE 1
14479       #include <locale.h>
14480       #include <string.h>
14481       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14482       extern __typeof(newlocale) __newlocale;
14483       extern __typeof(duplocale) __duplocale;
14484       extern __typeof(strcoll_l) __strcoll_l;
14485       #endif
14486       int main()
14487       {
14488         const char __one[] = "Äuglein Augmen";
14489         const char __two[] = "Äuglein";
14490         int i;
14491         int j;
14492         __locale_t        loc;
14493         __locale_t        loc_dup;
14494         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14495         loc_dup = __duplocale(loc);
14496         i = __strcoll_l(__one, __two, loc);
14497         j = __strcoll_l(__one, __two, loc_dup);
14498         return 0;
14499       }
14500
14501 _ACEOF
14502 rm -f conftest$ac_exeext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14504   (eval $ac_link) 2>&5
14505   ac_status=$?
14506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509   (eval $ac_try) 2>&5
14510   ac_status=$?
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); }; }; then
14513   enable_clocale_flag=gnu
14514 else
14515   echo "$as_me: program exited with status $ac_status" >&5
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14518
14519 ( exit $ac_status )
14520 enable_clocale_flag=generic
14521 fi
14522 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14523 fi
14524     fi
14525
14526     # Set it to scream when it hurts.
14527     ac_save_CFLAGS="$CFLAGS"
14528     CFLAGS="-Wimplicit-function-declaration -Werror"
14529
14530     # Use strxfrm_l if available.
14531     cat >conftest.$ac_ext <<_ACEOF
14532 /* confdefs.h.  */
14533 _ACEOF
14534 cat confdefs.h >>conftest.$ac_ext
14535 cat >>conftest.$ac_ext <<_ACEOF
14536 /* end confdefs.h.  */
14537 #define _GNU_SOURCE 1
14538                     #include <string.h>
14539                     #include <locale.h>
14540 int
14541 main ()
14542 {
14543 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14544   ;
14545   return 0;
14546 }
14547 _ACEOF
14548 rm -f conftest.$ac_objext
14549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14550   (eval $ac_compile) 2>conftest.er1
14551   ac_status=$?
14552   grep -v '^ *+' conftest.er1 >conftest.err
14553   rm -f conftest.er1
14554   cat conftest.err >&5
14555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556   (exit $ac_status); } &&
14557          { ac_try='test -z "$ac_c_werror_flag"
14558                          || test ! -s conftest.err'
14559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14560   (eval $ac_try) 2>&5
14561   ac_status=$?
14562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563   (exit $ac_status); }; } &&
14564          { ac_try='test -s conftest.$ac_objext'
14565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566   (eval $ac_try) 2>&5
14567   ac_status=$?
14568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569   (exit $ac_status); }; }; then
14570
14571 cat >>confdefs.h <<\_ACEOF
14572 #define HAVE_STRXFRM_L 1
14573 _ACEOF
14574
14575 else
14576   echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14578
14579 fi
14580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14581
14582     # Use strerror_l if available.
14583     cat >conftest.$ac_ext <<_ACEOF
14584 /* confdefs.h.  */
14585 _ACEOF
14586 cat confdefs.h >>conftest.$ac_ext
14587 cat >>conftest.$ac_ext <<_ACEOF
14588 /* end confdefs.h.  */
14589 #define _GNU_SOURCE 1
14590                     #include <string.h>
14591                     #include <locale.h>
14592 int
14593 main ()
14594 {
14595 __locale_t loc; strerror_l(5, loc);
14596   ;
14597   return 0;
14598 }
14599 _ACEOF
14600 rm -f conftest.$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602   (eval $ac_compile) 2>conftest.er1
14603   ac_status=$?
14604   grep -v '^ *+' conftest.er1 >conftest.err
14605   rm -f conftest.er1
14606   cat conftest.err >&5
14607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608   (exit $ac_status); } &&
14609          { ac_try='test -z "$ac_c_werror_flag"
14610                          || test ! -s conftest.err'
14611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612   (eval $ac_try) 2>&5
14613   ac_status=$?
14614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615   (exit $ac_status); }; } &&
14616          { ac_try='test -s conftest.$ac_objext'
14617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14618   (eval $ac_try) 2>&5
14619   ac_status=$?
14620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621   (exit $ac_status); }; }; then
14622
14623 cat >>confdefs.h <<\_ACEOF
14624 #define HAVE_STRERROR_L 1
14625 _ACEOF
14626
14627 else
14628   echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14630
14631 fi
14632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14633
14634     CFLAGS="$ac_save_CFLAGS"
14635   fi
14636
14637   # Perhaps use strerror_r if available, and strerror_l isn't.
14638   ac_save_CFLAGS="$CFLAGS"
14639   CFLAGS="-Wimplicit-function-declaration -Werror"
14640   cat >conftest.$ac_ext <<_ACEOF
14641 /* confdefs.h.  */
14642 _ACEOF
14643 cat confdefs.h >>conftest.$ac_ext
14644 cat >>conftest.$ac_ext <<_ACEOF
14645 /* end confdefs.h.  */
14646 #define _GNU_SOURCE 1
14647                   #include <string.h>
14648                   #include <locale.h>
14649 int
14650 main ()
14651 {
14652 char s[128]; strerror_r(5, s, 128);
14653   ;
14654   return 0;
14655 }
14656 _ACEOF
14657 rm -f conftest.$ac_objext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14659   (eval $ac_compile) 2>conftest.er1
14660   ac_status=$?
14661   grep -v '^ *+' conftest.er1 >conftest.err
14662   rm -f conftest.er1
14663   cat conftest.err >&5
14664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665   (exit $ac_status); } &&
14666          { ac_try='test -z "$ac_c_werror_flag"
14667                          || test ! -s conftest.err'
14668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669   (eval $ac_try) 2>&5
14670   ac_status=$?
14671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672   (exit $ac_status); }; } &&
14673          { ac_try='test -s conftest.$ac_objext'
14674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675   (eval $ac_try) 2>&5
14676   ac_status=$?
14677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678   (exit $ac_status); }; }; then
14679
14680 cat >>confdefs.h <<\_ACEOF
14681 #define HAVE_STRERROR_R 1
14682 _ACEOF
14683
14684 else
14685   echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14687
14688 fi
14689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14690   CFLAGS="$ac_save_CFLAGS"
14691
14692   # Set configure bits for specified locale package
14693   echo "$as_me:$LINENO: checking for C locale to use" >&5
14694 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14695   case ${enable_clocale_flag} in
14696     generic)
14697       echo "$as_me:$LINENO: result: generic" >&5
14698 echo "${ECHO_T}generic" >&6
14699
14700       CLOCALE_H=config/locale/generic/c_locale.h
14701       CLOCALE_CC=config/locale/generic/c_locale.cc
14702       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14703       CCOLLATE_CC=config/locale/generic/collate_members.cc
14704       CCTYPE_CC=config/locale/generic/ctype_members.cc
14705       CMESSAGES_H=config/locale/generic/messages_members.h
14706       CMESSAGES_CC=config/locale/generic/messages_members.cc
14707       CMONEY_CC=config/locale/generic/monetary_members.cc
14708       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14709       CTIME_H=config/locale/generic/time_members.h
14710       CTIME_CC=config/locale/generic/time_members.cc
14711       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14712       ;;
14713     darwin)
14714       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14715 echo "${ECHO_T}darwin or freebsd" >&6
14716
14717       CLOCALE_H=config/locale/generic/c_locale.h
14718       CLOCALE_CC=config/locale/generic/c_locale.cc
14719       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14720       CCOLLATE_CC=config/locale/generic/collate_members.cc
14721       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14722       CMESSAGES_H=config/locale/generic/messages_members.h
14723       CMESSAGES_CC=config/locale/generic/messages_members.cc
14724       CMONEY_CC=config/locale/generic/monetary_members.cc
14725       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14726       CTIME_H=config/locale/generic/time_members.h
14727       CTIME_CC=config/locale/generic/time_members.cc
14728       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14729       ;;
14730
14731     gnu)
14732       echo "$as_me:$LINENO: result: gnu" >&5
14733 echo "${ECHO_T}gnu" >&6
14734
14735       # Declare intention to use gettext, and add support for specific
14736       # languages.
14737       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14738       ALL_LINGUAS="de fr"
14739
14740       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14741       # Extract the first word of "msgfmt", so it can be a program name with args.
14742 set dummy msgfmt; ac_word=$2
14743 echo "$as_me:$LINENO: checking for $ac_word" >&5
14744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14745 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14746   echo $ECHO_N "(cached) $ECHO_C" >&6
14747 else
14748   if test -n "$check_msgfmt"; then
14749   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14750 else
14751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14752 for as_dir in $PATH
14753 do
14754   IFS=$as_save_IFS
14755   test -z "$as_dir" && as_dir=.
14756   for ac_exec_ext in '' $ac_executable_extensions; do
14757   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14758     ac_cv_prog_check_msgfmt="yes"
14759     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14760     break 2
14761   fi
14762 done
14763 done
14764
14765   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14766 fi
14767 fi
14768 check_msgfmt=$ac_cv_prog_check_msgfmt
14769 if test -n "$check_msgfmt"; then
14770   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14771 echo "${ECHO_T}$check_msgfmt" >&6
14772 else
14773   echo "$as_me:$LINENO: result: no" >&5
14774 echo "${ECHO_T}no" >&6
14775 fi
14776
14777       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14778         USE_NLS=yes
14779       fi
14780       # Export the build objects.
14781       for ling in $ALL_LINGUAS; do \
14782         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14783         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14784       done
14785
14786
14787
14788       CLOCALE_H=config/locale/gnu/c_locale.h
14789       CLOCALE_CC=config/locale/gnu/c_locale.cc
14790       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14791       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14792       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14793       CMESSAGES_H=config/locale/gnu/messages_members.h
14794       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14795       CMONEY_CC=config/locale/gnu/monetary_members.cc
14796       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14797       CTIME_H=config/locale/gnu/time_members.h
14798       CTIME_CC=config/locale/gnu/time_members.cc
14799       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14800       ;;
14801     ieee_1003.1-2001)
14802       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14803 echo "${ECHO_T}IEEE 1003.1" >&6
14804
14805       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14806       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14807       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14808       CCOLLATE_CC=config/locale/generic/collate_members.cc
14809       CCTYPE_CC=config/locale/generic/ctype_members.cc
14810       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14811       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14812       CMONEY_CC=config/locale/generic/monetary_members.cc
14813       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14814       CTIME_H=config/locale/generic/time_members.h
14815       CTIME_CC=config/locale/generic/time_members.cc
14816       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14817       ;;
14818   esac
14819
14820   # This is where the testsuite looks for locale catalogs, using the
14821   # -DLOCALEDIR define during testsuite compilation.
14822   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14823
14824
14825   # A standalone libintl (e.g., GNU libintl) may be in use.
14826   if test $USE_NLS = yes; then
14827
14828 for ac_header in libintl.h
14829 do
14830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14832   echo "$as_me:$LINENO: checking for $ac_header" >&5
14833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14835   echo $ECHO_N "(cached) $ECHO_C" >&6
14836 fi
14837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14839 else
14840   # Is the header compilable?
14841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14843 cat >conftest.$ac_ext <<_ACEOF
14844 /* confdefs.h.  */
14845 _ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h.  */
14849 $ac_includes_default
14850 #include <$ac_header>
14851 _ACEOF
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854   (eval $ac_compile) 2>conftest.er1
14855   ac_status=$?
14856   grep -v '^ *+' conftest.er1 >conftest.err
14857   rm -f conftest.er1
14858   cat conftest.err >&5
14859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860   (exit $ac_status); } &&
14861          { ac_try='test -z "$ac_c_werror_flag"
14862                          || test ! -s conftest.err'
14863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864   (eval $ac_try) 2>&5
14865   ac_status=$?
14866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867   (exit $ac_status); }; } &&
14868          { ac_try='test -s conftest.$ac_objext'
14869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870   (eval $ac_try) 2>&5
14871   ac_status=$?
14872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873   (exit $ac_status); }; }; then
14874   ac_header_compiler=yes
14875 else
14876   echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14878
14879 ac_header_compiler=no
14880 fi
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14883 echo "${ECHO_T}$ac_header_compiler" >&6
14884
14885 # Is the header present?
14886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h.  */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h.  */
14894 #include <$ac_header>
14895 _ACEOF
14896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14897   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14898   ac_status=$?
14899   grep -v '^ *+' conftest.er1 >conftest.err
14900   rm -f conftest.er1
14901   cat conftest.err >&5
14902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903   (exit $ac_status); } >/dev/null; then
14904   if test -s conftest.err; then
14905     ac_cpp_err=$ac_c_preproc_warn_flag
14906     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14907   else
14908     ac_cpp_err=
14909   fi
14910 else
14911   ac_cpp_err=yes
14912 fi
14913 if test -z "$ac_cpp_err"; then
14914   ac_header_preproc=yes
14915 else
14916   echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14918
14919   ac_header_preproc=no
14920 fi
14921 rm -f conftest.err conftest.$ac_ext
14922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14923 echo "${ECHO_T}$ac_header_preproc" >&6
14924
14925 # So?  What about this header?
14926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14927   yes:no: )
14928     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14930     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14932     ac_header_preproc=yes
14933     ;;
14934   no:yes:* )
14935     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14937     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14938 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14939     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14941     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14942 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14943     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14945     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14947     (
14948       cat <<\_ASBOX
14949 ## ----------------------------------------- ##
14950 ## Report this to the package-unused lists.  ##
14951 ## ----------------------------------------- ##
14952 _ASBOX
14953     ) |
14954       sed "s/^/$as_me: WARNING:     /" >&2
14955     ;;
14956 esac
14957 echo "$as_me:$LINENO: checking for $ac_header" >&5
14958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14960   echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962   eval "$as_ac_Header=\$ac_header_preproc"
14963 fi
14964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14966
14967 fi
14968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14969   cat >>confdefs.h <<_ACEOF
14970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14971 _ACEOF
14972
14973 else
14974   USE_NLS=no
14975 fi
14976
14977 done
14978
14979     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14980 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14981 if test "${ac_cv_search_gettext+set}" = set; then
14982   echo $ECHO_N "(cached) $ECHO_C" >&6
14983 else
14984   ac_func_search_save_LIBS=$LIBS
14985 ac_cv_search_gettext=no
14986 if test x$gcc_no_link = xyes; then
14987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14989    { (exit 1); exit 1; }; }
14990 fi
14991 cat >conftest.$ac_ext <<_ACEOF
14992 /* confdefs.h.  */
14993 _ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h.  */
14997
14998 /* Override any gcc2 internal prototype to avoid an error.  */
14999 #ifdef __cplusplus
15000 extern "C"
15001 #endif
15002 /* We use char because int might match the return type of a gcc2
15003    builtin and then its argument prototype would still apply.  */
15004 char gettext ();
15005 int
15006 main ()
15007 {
15008 gettext ();
15009   ;
15010   return 0;
15011 }
15012 _ACEOF
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015   (eval $ac_link) 2>conftest.er1
15016   ac_status=$?
15017   grep -v '^ *+' conftest.er1 >conftest.err
15018   rm -f conftest.er1
15019   cat conftest.err >&5
15020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021   (exit $ac_status); } &&
15022          { ac_try='test -z "$ac_c_werror_flag"
15023                          || test ! -s conftest.err'
15024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025   (eval $ac_try) 2>&5
15026   ac_status=$?
15027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028   (exit $ac_status); }; } &&
15029          { ac_try='test -s conftest$ac_exeext'
15030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031   (eval $ac_try) 2>&5
15032   ac_status=$?
15033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034   (exit $ac_status); }; }; then
15035   ac_cv_search_gettext="none required"
15036 else
15037   echo "$as_me: failed program was:" >&5
15038 sed 's/^/| /' conftest.$ac_ext >&5
15039
15040 fi
15041 rm -f conftest.err conftest.$ac_objext \
15042       conftest$ac_exeext conftest.$ac_ext
15043 if test "$ac_cv_search_gettext" = no; then
15044   for ac_lib in intl; do
15045     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15046     if test x$gcc_no_link = xyes; then
15047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15049    { (exit 1); exit 1; }; }
15050 fi
15051 cat >conftest.$ac_ext <<_ACEOF
15052 /* confdefs.h.  */
15053 _ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h.  */
15057
15058 /* Override any gcc2 internal prototype to avoid an error.  */
15059 #ifdef __cplusplus
15060 extern "C"
15061 #endif
15062 /* We use char because int might match the return type of a gcc2
15063    builtin and then its argument prototype would still apply.  */
15064 char gettext ();
15065 int
15066 main ()
15067 {
15068 gettext ();
15069   ;
15070   return 0;
15071 }
15072 _ACEOF
15073 rm -f conftest.$ac_objext conftest$ac_exeext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15075   (eval $ac_link) 2>conftest.er1
15076   ac_status=$?
15077   grep -v '^ *+' conftest.er1 >conftest.err
15078   rm -f conftest.er1
15079   cat conftest.err >&5
15080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081   (exit $ac_status); } &&
15082          { ac_try='test -z "$ac_c_werror_flag"
15083                          || test ! -s conftest.err'
15084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085   (eval $ac_try) 2>&5
15086   ac_status=$?
15087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088   (exit $ac_status); }; } &&
15089          { ac_try='test -s conftest$ac_exeext'
15090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091   (eval $ac_try) 2>&5
15092   ac_status=$?
15093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094   (exit $ac_status); }; }; then
15095   ac_cv_search_gettext="-l$ac_lib"
15096 break
15097 else
15098   echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15100
15101 fi
15102 rm -f conftest.err conftest.$ac_objext \
15103       conftest$ac_exeext conftest.$ac_ext
15104   done
15105 fi
15106 LIBS=$ac_func_search_save_LIBS
15107 fi
15108 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15109 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15110 if test "$ac_cv_search_gettext" != no; then
15111   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15112
15113 else
15114   USE_NLS=no
15115 fi
15116
15117   fi
15118   if test $USE_NLS = yes; then
15119
15120 cat >>confdefs.h <<\_ACEOF
15121 #define _GLIBCXX_USE_NLS 1
15122 _ACEOF
15123
15124   fi
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15142 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15143    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15144 if test "${enable_libstdcxx_allocator+set}" = set; then
15145   enableval="$enable_libstdcxx_allocator"
15146
15147       case "$enableval" in
15148        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15149        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15150 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15151    { (exit 1); exit 1; }; } ;;
15152                           esac
15153
15154 else
15155   enable_libstdcxx_allocator=auto
15156 fi;
15157
15158
15159   # If they didn't use this option switch, or if they specified --enable
15160   # with no specific model, we'll have to look for one.  If they
15161   # specified --disable (???), do likewise.
15162   if test $enable_libstdcxx_allocator = no ||
15163      test $enable_libstdcxx_allocator = yes;
15164   then
15165      enable_libstdcxx_allocator=auto
15166   fi
15167
15168   # Either a known package, or "auto". Auto implies the default choice
15169   # for a particular platform.
15170   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15171
15172   # Probe for host-specific support if no specific model is specified.
15173   # Default to "new".
15174   if test $enable_libstdcxx_allocator_flag = auto; then
15175     case ${target_os} in
15176       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15177         enable_libstdcxx_allocator_flag=new
15178         ;;
15179       *)
15180         enable_libstdcxx_allocator_flag=new
15181         ;;
15182     esac
15183   fi
15184   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15185 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15186
15187
15188   # Set configure bits for specified locale package
15189   case ${enable_libstdcxx_allocator_flag} in
15190     bitmap)
15191       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15192       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15193       ;;
15194     malloc)
15195       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15196       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15197       ;;
15198     mt)
15199       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15200       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15201       ;;
15202     new)
15203       ALLOCATOR_H=config/allocator/new_allocator_base.h
15204       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15205       ;;
15206     pool)
15207       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15208       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15209       ;;
15210   esac
15211
15212
15213
15214
15215
15216    # Check whether --enable-cheaders or --disable-cheaders was given.
15217 if test "${enable_cheaders+set}" = set; then
15218   enableval="$enable_cheaders"
15219
15220       case "$enableval" in
15221        c|c_std|c_global) ;;
15222        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15223 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15224    { (exit 1); exit 1; }; } ;;
15225                           esac
15226
15227 else
15228   enable_cheaders=$c_model
15229 fi;
15230
15231   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15232 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15233
15234   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15235
15236   # Allow overrides to configure.host here.
15237   if test $enable_cheaders = c_global; then
15238      c_compatibility=yes
15239   fi
15240
15241   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15242      c_extra=yes
15243   fi
15244
15245
15246
15247
15248
15249
15250
15251
15252    # Check whether --enable-long-long or --disable-long-long was given.
15253 if test "${enable_long_long+set}" = set; then
15254   enableval="$enable_long_long"
15255
15256       case "$enableval" in
15257        yes|no) ;;
15258        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15259 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15260    { (exit 1); exit 1; }; } ;;
15261       esac
15262
15263 else
15264   enable_long_long=yes
15265 fi;
15266
15267   if test $enable_long_long = yes; then
15268
15269 cat >>confdefs.h <<\_ACEOF
15270 #define _GLIBCXX_USE_LONG_LONG 1
15271 _ACEOF
15272
15273   fi
15274   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15275 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15276   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15277 echo "${ECHO_T}$enable_long_long" >&6
15278
15279
15280    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15281 if test "${enable_wchar_t+set}" = set; then
15282   enableval="$enable_wchar_t"
15283
15284       case "$enableval" in
15285        yes|no) ;;
15286        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15287 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15288    { (exit 1); exit 1; }; } ;;
15289       esac
15290
15291 else
15292   enable_wchar_t=yes
15293 fi;
15294
15295
15296   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15297
15298 for ac_header in wchar.h
15299 do
15300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15302   echo "$as_me:$LINENO: checking for $ac_header" >&5
15303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15305   echo $ECHO_N "(cached) $ECHO_C" >&6
15306 fi
15307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15309 else
15310   # Is the header compilable?
15311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15313 cat >conftest.$ac_ext <<_ACEOF
15314 /* confdefs.h.  */
15315 _ACEOF
15316 cat confdefs.h >>conftest.$ac_ext
15317 cat >>conftest.$ac_ext <<_ACEOF
15318 /* end confdefs.h.  */
15319 $ac_includes_default
15320 #include <$ac_header>
15321 _ACEOF
15322 rm -f conftest.$ac_objext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324   (eval $ac_compile) 2>conftest.er1
15325   ac_status=$?
15326   grep -v '^ *+' conftest.er1 >conftest.err
15327   rm -f conftest.er1
15328   cat conftest.err >&5
15329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330   (exit $ac_status); } &&
15331          { ac_try='test -z "$ac_c_werror_flag"
15332                          || test ! -s conftest.err'
15333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334   (eval $ac_try) 2>&5
15335   ac_status=$?
15336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337   (exit $ac_status); }; } &&
15338          { ac_try='test -s conftest.$ac_objext'
15339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340   (eval $ac_try) 2>&5
15341   ac_status=$?
15342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343   (exit $ac_status); }; }; then
15344   ac_header_compiler=yes
15345 else
15346   echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15348
15349 ac_header_compiler=no
15350 fi
15351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15353 echo "${ECHO_T}$ac_header_compiler" >&6
15354
15355 # Is the header present?
15356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15358 cat >conftest.$ac_ext <<_ACEOF
15359 /* confdefs.h.  */
15360 _ACEOF
15361 cat confdefs.h >>conftest.$ac_ext
15362 cat >>conftest.$ac_ext <<_ACEOF
15363 /* end confdefs.h.  */
15364 #include <$ac_header>
15365 _ACEOF
15366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15367   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15368   ac_status=$?
15369   grep -v '^ *+' conftest.er1 >conftest.err
15370   rm -f conftest.er1
15371   cat conftest.err >&5
15372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373   (exit $ac_status); } >/dev/null; then
15374   if test -s conftest.err; then
15375     ac_cpp_err=$ac_c_preproc_warn_flag
15376     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15377   else
15378     ac_cpp_err=
15379   fi
15380 else
15381   ac_cpp_err=yes
15382 fi
15383 if test -z "$ac_cpp_err"; then
15384   ac_header_preproc=yes
15385 else
15386   echo "$as_me: failed program was:" >&5
15387 sed 's/^/| /' conftest.$ac_ext >&5
15388
15389   ac_header_preproc=no
15390 fi
15391 rm -f conftest.err conftest.$ac_ext
15392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15393 echo "${ECHO_T}$ac_header_preproc" >&6
15394
15395 # So?  What about this header?
15396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15397   yes:no: )
15398     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15400     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15402     ac_header_preproc=yes
15403     ;;
15404   no:yes:* )
15405     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15407     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15408 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15409     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15411     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15412 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15413     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15415     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15417     (
15418       cat <<\_ASBOX
15419 ## ----------------------------------------- ##
15420 ## Report this to the package-unused lists.  ##
15421 ## ----------------------------------------- ##
15422 _ASBOX
15423     ) |
15424       sed "s/^/$as_me: WARNING:     /" >&2
15425     ;;
15426 esac
15427 echo "$as_me:$LINENO: checking for $ac_header" >&5
15428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15430   echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432   eval "$as_ac_Header=\$ac_header_preproc"
15433 fi
15434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15436
15437 fi
15438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15439   cat >>confdefs.h <<_ACEOF
15440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15441 _ACEOF
15442  ac_has_wchar_h=yes
15443 else
15444   ac_has_wchar_h=no
15445 fi
15446
15447 done
15448
15449   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15450 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15451   cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h.  */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h.  */
15457 #include <wchar.h>
15458 int
15459 main ()
15460 {
15461 mbstate_t teststate;
15462   ;
15463   return 0;
15464 }
15465 _ACEOF
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468   (eval $ac_compile) 2>conftest.er1
15469   ac_status=$?
15470   grep -v '^ *+' conftest.er1 >conftest.err
15471   rm -f conftest.er1
15472   cat conftest.err >&5
15473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474   (exit $ac_status); } &&
15475          { ac_try='test -z "$ac_c_werror_flag"
15476                          || test ! -s conftest.err'
15477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15478   (eval $ac_try) 2>&5
15479   ac_status=$?
15480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15481   (exit $ac_status); }; } &&
15482          { ac_try='test -s conftest.$ac_objext'
15483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15484   (eval $ac_try) 2>&5
15485   ac_status=$?
15486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487   (exit $ac_status); }; }; then
15488   have_mbstate_t=yes
15489 else
15490   echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15492
15493 have_mbstate_t=no
15494 fi
15495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15496   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15497 echo "${ECHO_T}$have_mbstate_t" >&6
15498   if test x"$have_mbstate_t" = xyes; then
15499
15500 cat >>confdefs.h <<\_ACEOF
15501 #define HAVE_MBSTATE_T 1
15502 _ACEOF
15503
15504   fi
15505
15506   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15507   # ac_has_wchar_h.
15508
15509 for ac_header in wctype.h
15510 do
15511 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15513   echo "$as_me:$LINENO: checking for $ac_header" >&5
15514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15516   echo $ECHO_N "(cached) $ECHO_C" >&6
15517 fi
15518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15520 else
15521   # Is the header compilable?
15522 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h.  */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h.  */
15530 $ac_includes_default
15531 #include <$ac_header>
15532 _ACEOF
15533 rm -f conftest.$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535   (eval $ac_compile) 2>conftest.er1
15536   ac_status=$?
15537   grep -v '^ *+' conftest.er1 >conftest.err
15538   rm -f conftest.er1
15539   cat conftest.err >&5
15540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541   (exit $ac_status); } &&
15542          { ac_try='test -z "$ac_c_werror_flag"
15543                          || test ! -s conftest.err'
15544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15545   (eval $ac_try) 2>&5
15546   ac_status=$?
15547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548   (exit $ac_status); }; } &&
15549          { ac_try='test -s conftest.$ac_objext'
15550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551   (eval $ac_try) 2>&5
15552   ac_status=$?
15553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554   (exit $ac_status); }; }; then
15555   ac_header_compiler=yes
15556 else
15557   echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.$ac_ext >&5
15559
15560 ac_header_compiler=no
15561 fi
15562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15564 echo "${ECHO_T}$ac_header_compiler" >&6
15565
15566 # Is the header present?
15567 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15568 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h.  */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h.  */
15575 #include <$ac_header>
15576 _ACEOF
15577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15578   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15579   ac_status=$?
15580   grep -v '^ *+' conftest.er1 >conftest.err
15581   rm -f conftest.er1
15582   cat conftest.err >&5
15583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584   (exit $ac_status); } >/dev/null; then
15585   if test -s conftest.err; then
15586     ac_cpp_err=$ac_c_preproc_warn_flag
15587     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15588   else
15589     ac_cpp_err=
15590   fi
15591 else
15592   ac_cpp_err=yes
15593 fi
15594 if test -z "$ac_cpp_err"; then
15595   ac_header_preproc=yes
15596 else
15597   echo "$as_me: failed program was:" >&5
15598 sed 's/^/| /' conftest.$ac_ext >&5
15599
15600   ac_header_preproc=no
15601 fi
15602 rm -f conftest.err conftest.$ac_ext
15603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15604 echo "${ECHO_T}$ac_header_preproc" >&6
15605
15606 # So?  What about this header?
15607 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15608   yes:no: )
15609     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15610 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15611     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15612 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15613     ac_header_preproc=yes
15614     ;;
15615   no:yes:* )
15616     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15618     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15619 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15620     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15621 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15622     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15623 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15624     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15625 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15626     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15627 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15628     (
15629       cat <<\_ASBOX
15630 ## ----------------------------------------- ##
15631 ## Report this to the package-unused lists.  ##
15632 ## ----------------------------------------- ##
15633 _ASBOX
15634     ) |
15635       sed "s/^/$as_me: WARNING:     /" >&2
15636     ;;
15637 esac
15638 echo "$as_me:$LINENO: checking for $ac_header" >&5
15639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15641   echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643   eval "$as_ac_Header=\$ac_header_preproc"
15644 fi
15645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15647
15648 fi
15649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15650   cat >>confdefs.h <<_ACEOF
15651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15652 _ACEOF
15653  ac_has_wctype_h=yes
15654 else
15655   ac_has_wctype_h=no
15656 fi
15657
15658 done
15659
15660
15661   if test x"$enable_wchar_t" = x"yes"; then
15662
15663
15664
15665     ac_ext=cc
15666 ac_cpp='$CXXCPP $CPPFLAGS'
15667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15670
15671
15672     if test x"$ac_has_wchar_h" = xyes &&
15673        test x"$ac_has_wctype_h" = xyes; then
15674       cat >conftest.$ac_ext <<_ACEOF
15675 /* confdefs.h.  */
15676 _ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h.  */
15680 #include <wchar.h>
15681                       #include <stddef.h>
15682                       wint_t i;
15683                       long l = WEOF;
15684                       long j = WCHAR_MIN;
15685                       long k = WCHAR_MAX;
15686                       namespace test
15687                       {
15688                         using ::btowc;
15689                         using ::fgetwc;
15690                         using ::fgetws;
15691                         using ::fputwc;
15692                         using ::fputws;
15693                         using ::fwide;
15694                         using ::fwprintf;
15695                         using ::fwscanf;
15696                         using ::getwc;
15697                         using ::getwchar;
15698                         using ::mbrlen;
15699                         using ::mbrtowc;
15700                         using ::mbsinit;
15701                         using ::mbsrtowcs;
15702                         using ::putwc;
15703                         using ::putwchar;
15704                         using ::swprintf;
15705                         using ::swscanf;
15706                         using ::ungetwc;
15707                         using ::vfwprintf;
15708                         using ::vswprintf;
15709                         using ::vwprintf;
15710                         using ::wcrtomb;
15711                         using ::wcscat;
15712                         using ::wcschr;
15713                         using ::wcscmp;
15714                         using ::wcscoll;
15715                         using ::wcscpy;
15716                         using ::wcscspn;
15717                         using ::wcsftime;
15718                         using ::wcslen;
15719                         using ::wcsncat;
15720                         using ::wcsncmp;
15721                         using ::wcsncpy;
15722                         using ::wcspbrk;
15723                         using ::wcsrchr;
15724                         using ::wcsrtombs;
15725                         using ::wcsspn;
15726                         using ::wcsstr;
15727                         using ::wcstod;
15728                         using ::wcstok;
15729                         using ::wcstol;
15730                         using ::wcstoul;
15731                         using ::wcsxfrm;
15732                         using ::wctob;
15733                         using ::wmemchr;
15734                         using ::wmemcmp;
15735                         using ::wmemcpy;
15736                         using ::wmemmove;
15737                         using ::wmemset;
15738                         using ::wprintf;
15739                         using ::wscanf;
15740                       }
15741
15742 int
15743 main ()
15744 {
15745
15746   ;
15747   return 0;
15748 }
15749 _ACEOF
15750 rm -f conftest.$ac_objext
15751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752   (eval $ac_compile) 2>conftest.er1
15753   ac_status=$?
15754   grep -v '^ *+' conftest.er1 >conftest.err
15755   rm -f conftest.er1
15756   cat conftest.err >&5
15757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758   (exit $ac_status); } &&
15759          { ac_try='test -z "$ac_cxx_werror_flag"
15760                          || test ! -s conftest.err'
15761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762   (eval $ac_try) 2>&5
15763   ac_status=$?
15764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765   (exit $ac_status); }; } &&
15766          { ac_try='test -s conftest.$ac_objext'
15767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768   (eval $ac_try) 2>&5
15769   ac_status=$?
15770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771   (exit $ac_status); }; }; then
15772   :
15773 else
15774   echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.$ac_ext >&5
15776
15777 enable_wchar_t=no
15778 fi
15779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15780     else
15781       enable_wchar_t=no
15782     fi
15783
15784     ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789
15790   fi
15791
15792   if test x"$enable_wchar_t" = x"yes"; then
15793
15794 cat >>confdefs.h <<\_ACEOF
15795 #define _GLIBCXX_USE_WCHAR_T 1
15796 _ACEOF
15797
15798   fi
15799
15800   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15801 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15802   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15803 echo "${ECHO_T}$enable_wchar_t" >&6
15804
15805
15806
15807    # Check whether --enable-c99 or --disable-c99 was given.
15808 if test "${enable_c99+set}" = set; then
15809   enableval="$enable_c99"
15810
15811       case "$enableval" in
15812        yes|no) ;;
15813        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15814 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15815    { (exit 1); exit 1; }; } ;;
15816       esac
15817
15818 else
15819   enable_c99=yes
15820 fi;
15821
15822
15823   if test x"$enable_c99" = x"yes"; then
15824
15825
15826
15827   ac_ext=cc
15828 ac_cpp='$CXXCPP $CPPFLAGS'
15829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832
15833
15834   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15835   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15836   # spuriously enabled.
15837   # Long term, -std=c++0x could be even better, could manage to explicitely
15838   # request C99 facilities to the underlying C headers.
15839   ac_save_CXXFLAGS="$CXXFLAGS"
15840   CXXFLAGS="$CXXFLAGS -std=c++98"
15841   ac_save_LIBS="$LIBS"
15842   ac_save_gcc_no_link="$gcc_no_link"
15843
15844   if test x$gcc_no_link != xyes; then
15845     # Use -fno-exceptions to that the C driver can link these tests without
15846     # hitting undefined references to personality routines.
15847     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15848     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15849 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15850 if test "${ac_cv_lib_m_sin+set}" = set; then
15851   echo $ECHO_N "(cached) $ECHO_C" >&6
15852 else
15853   ac_check_lib_save_LIBS=$LIBS
15854 LIBS="-lm  $LIBS"
15855 if test x$gcc_no_link = xyes; then
15856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15858    { (exit 1); exit 1; }; }
15859 fi
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h.  */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h.  */
15866
15867 /* Override any gcc2 internal prototype to avoid an error.  */
15868 #ifdef __cplusplus
15869 extern "C"
15870 #endif
15871 /* We use char because int might match the return type of a gcc2
15872    builtin and then its argument prototype would still apply.  */
15873 char sin ();
15874 int
15875 main ()
15876 {
15877 sin ();
15878   ;
15879   return 0;
15880 }
15881 _ACEOF
15882 rm -f conftest.$ac_objext conftest$ac_exeext
15883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15884   (eval $ac_link) 2>conftest.er1
15885   ac_status=$?
15886   grep -v '^ *+' conftest.er1 >conftest.err
15887   rm -f conftest.er1
15888   cat conftest.err >&5
15889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890   (exit $ac_status); } &&
15891          { ac_try='test -z "$ac_cxx_werror_flag"
15892                          || test ! -s conftest.err'
15893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894   (eval $ac_try) 2>&5
15895   ac_status=$?
15896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897   (exit $ac_status); }; } &&
15898          { ac_try='test -s conftest$ac_exeext'
15899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900   (eval $ac_try) 2>&5
15901   ac_status=$?
15902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903   (exit $ac_status); }; }; then
15904   ac_cv_lib_m_sin=yes
15905 else
15906   echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15908
15909 ac_cv_lib_m_sin=no
15910 fi
15911 rm -f conftest.err conftest.$ac_objext \
15912       conftest$ac_exeext conftest.$ac_ext
15913 LIBS=$ac_check_lib_save_LIBS
15914 fi
15915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15916 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15917 if test $ac_cv_lib_m_sin = yes; then
15918
15919       LIBS="$LIBS -lm"
15920
15921 else
15922
15923       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15924       gcc_no_link=yes
15925
15926 fi
15927
15928   fi
15929
15930   # Check for the existence of <math.h> functions used if C99 is enabled.
15931   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15932 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15933   if test "${glibcxx_cv_c99_math+set}" = set; then
15934   echo $ECHO_N "(cached) $ECHO_C" >&6
15935 else
15936
15937   if test x$gcc_no_link = xyes; then
15938   cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h.  */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h.  */
15944 #include <math.h>
15945       volatile double d1, d2;
15946       volatile int i;
15947 int
15948 main ()
15949 {
15950 i = fpclassify(d1);
15951       i = isfinite(d1);
15952       i = isinf(d1);
15953       i = isnan(d1);
15954       i = isnormal(d1);
15955       i = signbit(d1);
15956       i = isgreater(d1, d2);
15957       i = isgreaterequal(d1, d2);
15958       i = isless(d1, d2);
15959       i = islessequal(d1, d2);
15960       i = islessgreater(d1, d2);
15961       i = islessgreater(d1, d2);
15962       i = isunordered(d1, d2);
15963
15964   ;
15965   return 0;
15966 }
15967 _ACEOF
15968 rm -f conftest.$ac_objext
15969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15970   (eval $ac_compile) 2>conftest.er1
15971   ac_status=$?
15972   grep -v '^ *+' conftest.er1 >conftest.err
15973   rm -f conftest.er1
15974   cat conftest.err >&5
15975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976   (exit $ac_status); } &&
15977          { ac_try='test -z "$ac_cxx_werror_flag"
15978                          || test ! -s conftest.err'
15979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980   (eval $ac_try) 2>&5
15981   ac_status=$?
15982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983   (exit $ac_status); }; } &&
15984          { ac_try='test -s conftest.$ac_objext'
15985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986   (eval $ac_try) 2>&5
15987   ac_status=$?
15988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989   (exit $ac_status); }; }; then
15990   glibcxx_cv_c99_math=yes
15991 else
15992   echo "$as_me: failed program was:" >&5
15993 sed 's/^/| /' conftest.$ac_ext >&5
15994
15995 glibcxx_cv_c99_math=no
15996 fi
15997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15998 else
15999   if test x$gcc_no_link = xyes; then
16000   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16002    { (exit 1); exit 1; }; }
16003 fi
16004 cat >conftest.$ac_ext <<_ACEOF
16005 /* confdefs.h.  */
16006 _ACEOF
16007 cat confdefs.h >>conftest.$ac_ext
16008 cat >>conftest.$ac_ext <<_ACEOF
16009 /* end confdefs.h.  */
16010 #include <math.h>
16011       volatile double d1, d2;
16012       volatile int i;
16013 int
16014 main ()
16015 {
16016 i = fpclassify(d1);
16017       i = isfinite(d1);
16018       i = isinf(d1);
16019       i = isnan(d1);
16020       i = isnormal(d1);
16021       i = signbit(d1);
16022       i = isgreater(d1, d2);
16023       i = isgreaterequal(d1, d2);
16024       i = isless(d1, d2);
16025       i = islessequal(d1, d2);
16026       i = islessgreater(d1, d2);
16027       i = islessgreater(d1, d2);
16028       i = isunordered(d1, d2);
16029
16030   ;
16031   return 0;
16032 }
16033 _ACEOF
16034 rm -f conftest.$ac_objext conftest$ac_exeext
16035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16036   (eval $ac_link) 2>conftest.er1
16037   ac_status=$?
16038   grep -v '^ *+' conftest.er1 >conftest.err
16039   rm -f conftest.er1
16040   cat conftest.err >&5
16041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042   (exit $ac_status); } &&
16043          { ac_try='test -z "$ac_cxx_werror_flag"
16044                          || test ! -s conftest.err'
16045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046   (eval $ac_try) 2>&5
16047   ac_status=$?
16048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049   (exit $ac_status); }; } &&
16050          { ac_try='test -s conftest$ac_exeext'
16051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16052   (eval $ac_try) 2>&5
16053   ac_status=$?
16054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055   (exit $ac_status); }; }; then
16056   glibcxx_cv_c99_math=yes
16057 else
16058   echo "$as_me: failed program was:" >&5
16059 sed 's/^/| /' conftest.$ac_ext >&5
16060
16061 glibcxx_cv_c99_math=no
16062 fi
16063 rm -f conftest.err conftest.$ac_objext \
16064       conftest$ac_exeext conftest.$ac_ext
16065 fi
16066
16067 fi
16068
16069   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16070 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16071   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16072
16073 cat >>confdefs.h <<\_ACEOF
16074 #define _GLIBCXX_USE_C99_MATH 1
16075 _ACEOF
16076
16077   fi
16078
16079   # Check for the existence of <complex.h> complex math functions.
16080   # This is necessary even though libstdc++ uses the builtin versions
16081   # of these functions, because if the builtin cannot be used, a reference
16082   # to the library function is emitted.
16083
16084 for ac_header in tgmath.h
16085 do
16086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16088   echo "$as_me:$LINENO: checking for $ac_header" >&5
16089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16091   echo $ECHO_N "(cached) $ECHO_C" >&6
16092 fi
16093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16095 else
16096   # Is the header compilable?
16097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h.  */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h.  */
16105 $ac_includes_default
16106 #include <$ac_header>
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16110   (eval $ac_compile) 2>conftest.er1
16111   ac_status=$?
16112   grep -v '^ *+' conftest.er1 >conftest.err
16113   rm -f conftest.er1
16114   cat conftest.err >&5
16115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116   (exit $ac_status); } &&
16117          { ac_try='test -z "$ac_cxx_werror_flag"
16118                          || test ! -s conftest.err'
16119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120   (eval $ac_try) 2>&5
16121   ac_status=$?
16122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123   (exit $ac_status); }; } &&
16124          { ac_try='test -s conftest.$ac_objext'
16125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126   (eval $ac_try) 2>&5
16127   ac_status=$?
16128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129   (exit $ac_status); }; }; then
16130   ac_header_compiler=yes
16131 else
16132   echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16134
16135 ac_header_compiler=no
16136 fi
16137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16139 echo "${ECHO_T}$ac_header_compiler" >&6
16140
16141 # Is the header present?
16142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16144 cat >conftest.$ac_ext <<_ACEOF
16145 /* confdefs.h.  */
16146 _ACEOF
16147 cat confdefs.h >>conftest.$ac_ext
16148 cat >>conftest.$ac_ext <<_ACEOF
16149 /* end confdefs.h.  */
16150 #include <$ac_header>
16151 _ACEOF
16152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16153   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16154   ac_status=$?
16155   grep -v '^ *+' conftest.er1 >conftest.err
16156   rm -f conftest.er1
16157   cat conftest.err >&5
16158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159   (exit $ac_status); } >/dev/null; then
16160   if test -s conftest.err; then
16161     ac_cpp_err=$ac_cxx_preproc_warn_flag
16162     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16163   else
16164     ac_cpp_err=
16165   fi
16166 else
16167   ac_cpp_err=yes
16168 fi
16169 if test -z "$ac_cpp_err"; then
16170   ac_header_preproc=yes
16171 else
16172   echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16174
16175   ac_header_preproc=no
16176 fi
16177 rm -f conftest.err conftest.$ac_ext
16178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16179 echo "${ECHO_T}$ac_header_preproc" >&6
16180
16181 # So?  What about this header?
16182 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16183   yes:no: )
16184     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16186     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16188     ac_header_preproc=yes
16189     ;;
16190   no:yes:* )
16191     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16193     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16194 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16195     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16197     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16198 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16199     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16201     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16203     (
16204       cat <<\_ASBOX
16205 ## ----------------------------------------- ##
16206 ## Report this to the package-unused lists.  ##
16207 ## ----------------------------------------- ##
16208 _ASBOX
16209     ) |
16210       sed "s/^/$as_me: WARNING:     /" >&2
16211     ;;
16212 esac
16213 echo "$as_me:$LINENO: checking for $ac_header" >&5
16214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16216   echo $ECHO_N "(cached) $ECHO_C" >&6
16217 else
16218   eval "$as_ac_Header=\$ac_header_preproc"
16219 fi
16220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16222
16223 fi
16224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16225   cat >>confdefs.h <<_ACEOF
16226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16227 _ACEOF
16228  ac_has_tgmath_h=yes
16229 else
16230   ac_has_tgmath_h=no
16231 fi
16232
16233 done
16234
16235
16236 for ac_header in complex.h
16237 do
16238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16240   echo "$as_me:$LINENO: checking for $ac_header" >&5
16241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16243   echo $ECHO_N "(cached) $ECHO_C" >&6
16244 fi
16245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16247 else
16248   # Is the header compilable?
16249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h.  */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h.  */
16257 $ac_includes_default
16258 #include <$ac_header>
16259 _ACEOF
16260 rm -f conftest.$ac_objext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16262   (eval $ac_compile) 2>conftest.er1
16263   ac_status=$?
16264   grep -v '^ *+' conftest.er1 >conftest.err
16265   rm -f conftest.er1
16266   cat conftest.err >&5
16267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268   (exit $ac_status); } &&
16269          { ac_try='test -z "$ac_cxx_werror_flag"
16270                          || test ! -s conftest.err'
16271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272   (eval $ac_try) 2>&5
16273   ac_status=$?
16274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275   (exit $ac_status); }; } &&
16276          { ac_try='test -s conftest.$ac_objext'
16277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278   (eval $ac_try) 2>&5
16279   ac_status=$?
16280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281   (exit $ac_status); }; }; then
16282   ac_header_compiler=yes
16283 else
16284   echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16286
16287 ac_header_compiler=no
16288 fi
16289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16291 echo "${ECHO_T}$ac_header_compiler" >&6
16292
16293 # Is the header present?
16294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16296 cat >conftest.$ac_ext <<_ACEOF
16297 /* confdefs.h.  */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h.  */
16302 #include <$ac_header>
16303 _ACEOF
16304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16305   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16306   ac_status=$?
16307   grep -v '^ *+' conftest.er1 >conftest.err
16308   rm -f conftest.er1
16309   cat conftest.err >&5
16310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311   (exit $ac_status); } >/dev/null; then
16312   if test -s conftest.err; then
16313     ac_cpp_err=$ac_cxx_preproc_warn_flag
16314     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16315   else
16316     ac_cpp_err=
16317   fi
16318 else
16319   ac_cpp_err=yes
16320 fi
16321 if test -z "$ac_cpp_err"; then
16322   ac_header_preproc=yes
16323 else
16324   echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327   ac_header_preproc=no
16328 fi
16329 rm -f conftest.err conftest.$ac_ext
16330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16331 echo "${ECHO_T}$ac_header_preproc" >&6
16332
16333 # So?  What about this header?
16334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16335   yes:no: )
16336     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16338     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16340     ac_header_preproc=yes
16341     ;;
16342   no:yes:* )
16343     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16345     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16346 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16347     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16349     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16350 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16351     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16353     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16355     (
16356       cat <<\_ASBOX
16357 ## ----------------------------------------- ##
16358 ## Report this to the package-unused lists.  ##
16359 ## ----------------------------------------- ##
16360 _ASBOX
16361     ) |
16362       sed "s/^/$as_me: WARNING:     /" >&2
16363     ;;
16364 esac
16365 echo "$as_me:$LINENO: checking for $ac_header" >&5
16366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16368   echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370   eval "$as_ac_Header=\$ac_header_preproc"
16371 fi
16372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16374
16375 fi
16376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16377   cat >>confdefs.h <<_ACEOF
16378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16379 _ACEOF
16380  ac_has_complex_h=yes
16381 else
16382   ac_has_complex_h=no
16383 fi
16384
16385 done
16386
16387   glibcxx_cv_c99_complex=no;
16388   if test x"$ac_has_complex_h" = x"yes"; then
16389     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16390 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16391     if test x$gcc_no_link = xyes; then
16392   cat >conftest.$ac_ext <<_ACEOF
16393 /* confdefs.h.  */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h.  */
16398 #include <complex.h>
16399         typedef __complex__ float float_type;
16400         typedef __complex__ double double_type;
16401         typedef __complex__ long double ld_type;
16402         volatile float_type tmpf;
16403         volatile double_type tmpd;
16404         volatile ld_type tmpld;
16405         volatile float f;
16406         volatile double d;
16407         volatile long double ld;
16408 int
16409 main ()
16410 {
16411 f = cabsf(tmpf);
16412         f = cargf(tmpf);
16413         tmpf = ccosf(tmpf);
16414         tmpf = ccoshf(tmpf);
16415         tmpf = cexpf(tmpf);
16416         tmpf = clogf(tmpf);
16417         tmpf = csinf(tmpf);
16418         tmpf = csinhf(tmpf);
16419         tmpf = csqrtf(tmpf);
16420         tmpf = ctanf(tmpf);
16421         tmpf = ctanhf(tmpf);
16422         tmpf = cpowf(tmpf, tmpf);
16423         tmpf = cprojf(tmpf);
16424         d = cabs(tmpd);
16425         d = carg(tmpd);
16426         tmpd = ccos(tmpd);
16427         tmpd = ccosh(tmpd);
16428         tmpd = cexp(tmpd);
16429         tmpd = clog(tmpd);
16430         tmpd = csin(tmpd);
16431         tmpd = csinh(tmpd);
16432         tmpd = csqrt(tmpd);
16433         tmpd = ctan(tmpd);
16434         tmpd = ctanh(tmpd);
16435         tmpd = cpow(tmpd, tmpd);
16436         tmpd = cproj(tmpd);
16437         ld = cabsl(tmpld);
16438         ld = cargl(tmpld);
16439         tmpld = ccosl(tmpld);
16440         tmpld = ccoshl(tmpld);
16441         tmpld = cexpl(tmpld);
16442         tmpld = clogl(tmpld);
16443         tmpld = csinl(tmpld);
16444         tmpld = csinhl(tmpld);
16445         tmpld = csqrtl(tmpld);
16446         tmpld = ctanl(tmpld);
16447         tmpld = ctanhl(tmpld);
16448         tmpld = cpowl(tmpld, tmpld);
16449         tmpld = cprojl(tmpld);
16450
16451   ;
16452   return 0;
16453 }
16454 _ACEOF
16455 rm -f conftest.$ac_objext
16456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16457   (eval $ac_compile) 2>conftest.er1
16458   ac_status=$?
16459   grep -v '^ *+' conftest.er1 >conftest.err
16460   rm -f conftest.er1
16461   cat conftest.err >&5
16462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463   (exit $ac_status); } &&
16464          { ac_try='test -z "$ac_cxx_werror_flag"
16465                          || test ! -s conftest.err'
16466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467   (eval $ac_try) 2>&5
16468   ac_status=$?
16469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470   (exit $ac_status); }; } &&
16471          { ac_try='test -s conftest.$ac_objext'
16472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473   (eval $ac_try) 2>&5
16474   ac_status=$?
16475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476   (exit $ac_status); }; }; then
16477   glibcxx_cv_c99_complex=yes
16478 else
16479   echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16481
16482 glibcxx_cv_c99_complex=no
16483 fi
16484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16485 else
16486   if test x$gcc_no_link = xyes; then
16487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16489    { (exit 1); exit 1; }; }
16490 fi
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h.  */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h.  */
16497 #include <complex.h>
16498         typedef __complex__ float float_type;
16499         typedef __complex__ double double_type;
16500         typedef __complex__ long double ld_type;
16501         volatile float_type tmpf;
16502         volatile double_type tmpd;
16503         volatile ld_type tmpld;
16504         volatile float f;
16505         volatile double d;
16506         volatile long double ld;
16507 int
16508 main ()
16509 {
16510 f = cabsf(tmpf);
16511         f = cargf(tmpf);
16512         tmpf = ccosf(tmpf);
16513         tmpf = ccoshf(tmpf);
16514         tmpf = cexpf(tmpf);
16515         tmpf = clogf(tmpf);
16516         tmpf = csinf(tmpf);
16517         tmpf = csinhf(tmpf);
16518         tmpf = csqrtf(tmpf);
16519         tmpf = ctanf(tmpf);
16520         tmpf = ctanhf(tmpf);
16521         tmpf = cpowf(tmpf, tmpf);
16522         tmpf = cprojf(tmpf);
16523         d = cabs(tmpd);
16524         d = carg(tmpd);
16525         tmpd = ccos(tmpd);
16526         tmpd = ccosh(tmpd);
16527         tmpd = cexp(tmpd);
16528         tmpd = clog(tmpd);
16529         tmpd = csin(tmpd);
16530         tmpd = csinh(tmpd);
16531         tmpd = csqrt(tmpd);
16532         tmpd = ctan(tmpd);
16533         tmpd = ctanh(tmpd);
16534         tmpd = cpow(tmpd, tmpd);
16535         tmpd = cproj(tmpd);
16536         ld = cabsl(tmpld);
16537         ld = cargl(tmpld);
16538         tmpld = ccosl(tmpld);
16539         tmpld = ccoshl(tmpld);
16540         tmpld = cexpl(tmpld);
16541         tmpld = clogl(tmpld);
16542         tmpld = csinl(tmpld);
16543         tmpld = csinhl(tmpld);
16544         tmpld = csqrtl(tmpld);
16545         tmpld = ctanl(tmpld);
16546         tmpld = ctanhl(tmpld);
16547         tmpld = cpowl(tmpld, tmpld);
16548         tmpld = cprojl(tmpld);
16549
16550   ;
16551   return 0;
16552 }
16553 _ACEOF
16554 rm -f conftest.$ac_objext conftest$ac_exeext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16556   (eval $ac_link) 2>conftest.er1
16557   ac_status=$?
16558   grep -v '^ *+' conftest.er1 >conftest.err
16559   rm -f conftest.er1
16560   cat conftest.err >&5
16561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562   (exit $ac_status); } &&
16563          { ac_try='test -z "$ac_cxx_werror_flag"
16564                          || test ! -s conftest.err'
16565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566   (eval $ac_try) 2>&5
16567   ac_status=$?
16568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569   (exit $ac_status); }; } &&
16570          { ac_try='test -s conftest$ac_exeext'
16571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572   (eval $ac_try) 2>&5
16573   ac_status=$?
16574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575   (exit $ac_status); }; }; then
16576   glibcxx_cv_c99_complex=yes
16577 else
16578   echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16580
16581 glibcxx_cv_c99_complex=no
16582 fi
16583 rm -f conftest.err conftest.$ac_objext \
16584       conftest$ac_exeext conftest.$ac_ext
16585 fi
16586   fi
16587   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16588 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16589   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16590
16591 cat >>confdefs.h <<\_ACEOF
16592 #define _GLIBCXX_USE_C99_COMPLEX 1
16593 _ACEOF
16594
16595   fi
16596
16597   # Check for the existence in <stdio.h> of vscanf, et. al.
16598   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16599 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16600   if test "${glibcxx_cv_c99_stdio+set}" = set; then
16601   echo $ECHO_N "(cached) $ECHO_C" >&6
16602 else
16603
16604   if test x$gcc_no_link = xyes; then
16605   cat >conftest.$ac_ext <<_ACEOF
16606 /* confdefs.h.  */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h.  */
16611 #include <stdio.h>
16612       #include <stdarg.h>
16613       void foo(char* fmt, ...)
16614       {
16615         va_list args; va_start(args, fmt);
16616         vfscanf(stderr, "%i", args);
16617         vscanf("%i", args);
16618         vsnprintf(fmt, 0, "%i", args);
16619         vsscanf(fmt, "%i", args);
16620       }
16621 int
16622 main ()
16623 {
16624 snprintf("12", 0, "%i");
16625   ;
16626   return 0;
16627 }
16628 _ACEOF
16629 rm -f conftest.$ac_objext
16630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16631   (eval $ac_compile) 2>conftest.er1
16632   ac_status=$?
16633   grep -v '^ *+' conftest.er1 >conftest.err
16634   rm -f conftest.er1
16635   cat conftest.err >&5
16636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637   (exit $ac_status); } &&
16638          { ac_try='test -z "$ac_cxx_werror_flag"
16639                          || test ! -s conftest.err'
16640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641   (eval $ac_try) 2>&5
16642   ac_status=$?
16643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644   (exit $ac_status); }; } &&
16645          { ac_try='test -s conftest.$ac_objext'
16646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647   (eval $ac_try) 2>&5
16648   ac_status=$?
16649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650   (exit $ac_status); }; }; then
16651   glibcxx_cv_c99_stdio=yes
16652 else
16653   echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16655
16656 glibcxx_cv_c99_stdio=no
16657 fi
16658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660   if test x$gcc_no_link = xyes; then
16661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16663    { (exit 1); exit 1; }; }
16664 fi
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h.  */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h.  */
16671 #include <stdio.h>
16672       #include <stdarg.h>
16673       void foo(char* fmt, ...)
16674       {
16675         va_list args; va_start(args, fmt);
16676         vfscanf(stderr, "%i", args);
16677         vscanf("%i", args);
16678         vsnprintf(fmt, 0, "%i", args);
16679         vsscanf(fmt, "%i", args);
16680       }
16681 int
16682 main ()
16683 {
16684 snprintf("12", 0, "%i");
16685   ;
16686   return 0;
16687 }
16688 _ACEOF
16689 rm -f conftest.$ac_objext conftest$ac_exeext
16690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16691   (eval $ac_link) 2>conftest.er1
16692   ac_status=$?
16693   grep -v '^ *+' conftest.er1 >conftest.err
16694   rm -f conftest.er1
16695   cat conftest.err >&5
16696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697   (exit $ac_status); } &&
16698          { ac_try='test -z "$ac_cxx_werror_flag"
16699                          || test ! -s conftest.err'
16700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701   (eval $ac_try) 2>&5
16702   ac_status=$?
16703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704   (exit $ac_status); }; } &&
16705          { ac_try='test -s conftest$ac_exeext'
16706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707   (eval $ac_try) 2>&5
16708   ac_status=$?
16709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710   (exit $ac_status); }; }; then
16711   glibcxx_cv_c99_stdio=yes
16712 else
16713   echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16715
16716 glibcxx_cv_c99_stdio=no
16717 fi
16718 rm -f conftest.err conftest.$ac_objext \
16719       conftest$ac_exeext conftest.$ac_ext
16720 fi
16721
16722 fi
16723
16724   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16725 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16726
16727   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16728   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16729 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16730   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16731   echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733
16734   if test x$gcc_no_link = xyes; then
16735   cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h.  */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h.  */
16741 #include <stdlib.h>
16742       volatile float f;
16743       volatile long double ld;
16744       volatile unsigned long long ll;
16745       lldiv_t mydivt;
16746 int
16747 main ()
16748 {
16749 char* tmp;
16750       f = strtof("gnu", &tmp);
16751       ld = strtold("gnu", &tmp);
16752       ll = strtoll("gnu", &tmp, 10);
16753       ll = strtoull("gnu", &tmp, 10);
16754       ll = llabs(10);
16755       mydivt = lldiv(10,1);
16756       ll = mydivt.quot;
16757       ll = mydivt.rem;
16758       ll = atoll("10");
16759       _Exit(0);
16760
16761   ;
16762   return 0;
16763 }
16764 _ACEOF
16765 rm -f conftest.$ac_objext
16766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16767   (eval $ac_compile) 2>conftest.er1
16768   ac_status=$?
16769   grep -v '^ *+' conftest.er1 >conftest.err
16770   rm -f conftest.er1
16771   cat conftest.err >&5
16772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773   (exit $ac_status); } &&
16774          { ac_try='test -z "$ac_cxx_werror_flag"
16775                          || test ! -s conftest.err'
16776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777   (eval $ac_try) 2>&5
16778   ac_status=$?
16779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780   (exit $ac_status); }; } &&
16781          { ac_try='test -s conftest.$ac_objext'
16782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783   (eval $ac_try) 2>&5
16784   ac_status=$?
16785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786   (exit $ac_status); }; }; then
16787   glibcxx_cv_c99_stdlib=yes
16788 else
16789   echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16791
16792 glibcxx_cv_c99_stdlib=no
16793 fi
16794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16795 else
16796   if test x$gcc_no_link = xyes; then
16797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16799    { (exit 1); exit 1; }; }
16800 fi
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h.  */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h.  */
16807 #include <stdlib.h>
16808       volatile float f;
16809       volatile long double ld;
16810       volatile unsigned long long ll;
16811       lldiv_t mydivt;
16812 int
16813 main ()
16814 {
16815 char* tmp;
16816       f = strtof("gnu", &tmp);
16817       ld = strtold("gnu", &tmp);
16818       ll = strtoll("gnu", &tmp, 10);
16819       ll = strtoull("gnu", &tmp, 10);
16820       ll = llabs(10);
16821       mydivt = lldiv(10,1);
16822       ll = mydivt.quot;
16823       ll = mydivt.rem;
16824       ll = atoll("10");
16825       _Exit(0);
16826
16827   ;
16828   return 0;
16829 }
16830 _ACEOF
16831 rm -f conftest.$ac_objext conftest$ac_exeext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833   (eval $ac_link) 2>conftest.er1
16834   ac_status=$?
16835   grep -v '^ *+' conftest.er1 >conftest.err
16836   rm -f conftest.er1
16837   cat conftest.err >&5
16838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839   (exit $ac_status); } &&
16840          { ac_try='test -z "$ac_cxx_werror_flag"
16841                          || test ! -s conftest.err'
16842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843   (eval $ac_try) 2>&5
16844   ac_status=$?
16845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846   (exit $ac_status); }; } &&
16847          { ac_try='test -s conftest$ac_exeext'
16848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849   (eval $ac_try) 2>&5
16850   ac_status=$?
16851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852   (exit $ac_status); }; }; then
16853   glibcxx_cv_c99_stdlib=yes
16854 else
16855   echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 glibcxx_cv_c99_stdlib=no
16859 fi
16860 rm -f conftest.err conftest.$ac_objext \
16861       conftest$ac_exeext conftest.$ac_ext
16862 fi
16863
16864 fi
16865
16866   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16867 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16868
16869   # Check for the existence in <wchar.h> of wcstold, etc.
16870   glibcxx_cv_c99_wchar=no;
16871   if test x"$ac_has_wchar_h" = xyes &&
16872      test x"$ac_has_wctype_h" = xyes; then
16873     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16874 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16875     cat >conftest.$ac_ext <<_ACEOF
16876 /* confdefs.h.  */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h.  */
16881 #include <wchar.h>
16882                     namespace test
16883                     {
16884                       using ::wcstold;
16885                       using ::wcstoll;
16886                       using ::wcstoull;
16887                     }
16888
16889 int
16890 main ()
16891 {
16892
16893   ;
16894   return 0;
16895 }
16896 _ACEOF
16897 rm -f conftest.$ac_objext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16899   (eval $ac_compile) 2>conftest.er1
16900   ac_status=$?
16901   grep -v '^ *+' conftest.er1 >conftest.err
16902   rm -f conftest.er1
16903   cat conftest.err >&5
16904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905   (exit $ac_status); } &&
16906          { ac_try='test -z "$ac_cxx_werror_flag"
16907                          || test ! -s conftest.err'
16908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16909   (eval $ac_try) 2>&5
16910   ac_status=$?
16911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912   (exit $ac_status); }; } &&
16913          { ac_try='test -s conftest.$ac_objext'
16914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915   (eval $ac_try) 2>&5
16916   ac_status=$?
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); }; }; then
16919   glibcxx_cv_c99_wchar=yes
16920 else
16921   echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.$ac_ext >&5
16923
16924 glibcxx_cv_c99_wchar=no
16925 fi
16926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16927
16928     # Checks for wide character functions that may not be present.
16929     # Injection of these is wrapped with guard macros.
16930     # NB: only put functions here, instead of immediately above, if
16931     # absolutely necessary.
16932     cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h.  */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h.  */
16938 #include <wchar.h>
16939                     namespace test { using ::vfwscanf; }
16940 int
16941 main ()
16942 {
16943
16944   ;
16945   return 0;
16946 }
16947 _ACEOF
16948 rm -f conftest.$ac_objext
16949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16950   (eval $ac_compile) 2>conftest.er1
16951   ac_status=$?
16952   grep -v '^ *+' conftest.er1 >conftest.err
16953   rm -f conftest.er1
16954   cat conftest.err >&5
16955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956   (exit $ac_status); } &&
16957          { ac_try='test -z "$ac_cxx_werror_flag"
16958                          || test ! -s conftest.err'
16959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960   (eval $ac_try) 2>&5
16961   ac_status=$?
16962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963   (exit $ac_status); }; } &&
16964          { ac_try='test -s conftest.$ac_objext'
16965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966   (eval $ac_try) 2>&5
16967   ac_status=$?
16968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969   (exit $ac_status); }; }; then
16970
16971 cat >>confdefs.h <<\_ACEOF
16972 #define HAVE_VFWSCANF 1
16973 _ACEOF
16974
16975 else
16976   echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16978
16979 fi
16980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16981
16982     cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h.  */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h.  */
16988 #include <wchar.h>
16989                     namespace test { using ::vswscanf; }
16990 int
16991 main ()
16992 {
16993
16994   ;
16995   return 0;
16996 }
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000   (eval $ac_compile) 2>conftest.er1
17001   ac_status=$?
17002   grep -v '^ *+' conftest.er1 >conftest.err
17003   rm -f conftest.er1
17004   cat conftest.err >&5
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); } &&
17007          { ac_try='test -z "$ac_cxx_werror_flag"
17008                          || test ! -s conftest.err'
17009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010   (eval $ac_try) 2>&5
17011   ac_status=$?
17012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013   (exit $ac_status); }; } &&
17014          { ac_try='test -s conftest.$ac_objext'
17015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016   (eval $ac_try) 2>&5
17017   ac_status=$?
17018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019   (exit $ac_status); }; }; then
17020
17021 cat >>confdefs.h <<\_ACEOF
17022 #define HAVE_VSWSCANF 1
17023 _ACEOF
17024
17025 else
17026   echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 fi
17030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17031
17032     cat >conftest.$ac_ext <<_ACEOF
17033 /* confdefs.h.  */
17034 _ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h.  */
17038 #include <wchar.h>
17039                     namespace test { using ::vwscanf; }
17040 int
17041 main ()
17042 {
17043
17044   ;
17045   return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050   (eval $ac_compile) 2>conftest.er1
17051   ac_status=$?
17052   grep -v '^ *+' conftest.er1 >conftest.err
17053   rm -f conftest.er1
17054   cat conftest.err >&5
17055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056   (exit $ac_status); } &&
17057          { ac_try='test -z "$ac_cxx_werror_flag"
17058                          || test ! -s conftest.err'
17059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17060   (eval $ac_try) 2>&5
17061   ac_status=$?
17062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063   (exit $ac_status); }; } &&
17064          { ac_try='test -s conftest.$ac_objext'
17065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066   (eval $ac_try) 2>&5
17067   ac_status=$?
17068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069   (exit $ac_status); }; }; then
17070
17071 cat >>confdefs.h <<\_ACEOF
17072 #define HAVE_VWSCANF 1
17073 _ACEOF
17074
17075 else
17076   echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17078
17079 fi
17080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17081
17082     cat >conftest.$ac_ext <<_ACEOF
17083 /* confdefs.h.  */
17084 _ACEOF
17085 cat confdefs.h >>conftest.$ac_ext
17086 cat >>conftest.$ac_ext <<_ACEOF
17087 /* end confdefs.h.  */
17088 #include <wchar.h>
17089                     namespace test { using ::wcstof; }
17090 int
17091 main ()
17092 {
17093
17094   ;
17095   return 0;
17096 }
17097 _ACEOF
17098 rm -f conftest.$ac_objext
17099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17100   (eval $ac_compile) 2>conftest.er1
17101   ac_status=$?
17102   grep -v '^ *+' conftest.er1 >conftest.err
17103   rm -f conftest.er1
17104   cat conftest.err >&5
17105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106   (exit $ac_status); } &&
17107          { ac_try='test -z "$ac_cxx_werror_flag"
17108                          || test ! -s conftest.err'
17109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110   (eval $ac_try) 2>&5
17111   ac_status=$?
17112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113   (exit $ac_status); }; } &&
17114          { ac_try='test -s conftest.$ac_objext'
17115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116   (eval $ac_try) 2>&5
17117   ac_status=$?
17118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119   (exit $ac_status); }; }; then
17120
17121 cat >>confdefs.h <<\_ACEOF
17122 #define HAVE_WCSTOF 1
17123 _ACEOF
17124
17125 else
17126   echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.$ac_ext >&5
17128
17129 fi
17130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17131
17132     cat >conftest.$ac_ext <<_ACEOF
17133 /* confdefs.h.  */
17134 _ACEOF
17135 cat confdefs.h >>conftest.$ac_ext
17136 cat >>conftest.$ac_ext <<_ACEOF
17137 /* end confdefs.h.  */
17138 #include <wctype.h>
17139 int
17140 main ()
17141 {
17142  wint_t t; int i = iswblank(t);
17143   ;
17144   return 0;
17145 }
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149   (eval $ac_compile) 2>conftest.er1
17150   ac_status=$?
17151   grep -v '^ *+' conftest.er1 >conftest.err
17152   rm -f conftest.er1
17153   cat conftest.err >&5
17154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155   (exit $ac_status); } &&
17156          { ac_try='test -z "$ac_cxx_werror_flag"
17157                          || test ! -s conftest.err'
17158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159   (eval $ac_try) 2>&5
17160   ac_status=$?
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); }; } &&
17163          { ac_try='test -s conftest.$ac_objext'
17164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165   (eval $ac_try) 2>&5
17166   ac_status=$?
17167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168   (exit $ac_status); }; }; then
17169
17170 cat >>confdefs.h <<\_ACEOF
17171 #define HAVE_ISWBLANK 1
17172 _ACEOF
17173
17174 else
17175   echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 fi
17179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17180
17181     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17182 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17183   fi
17184
17185   # Option parsed, now set things appropriately.
17186   if test x"$glibcxx_cv_c99_math" = x"no" ||
17187      test x"$glibcxx_cv_c99_complex" = x"no" ||
17188      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17189      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17190      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17191     enable_c99=no;
17192   else
17193
17194 cat >>confdefs.h <<\_ACEOF
17195 #define _GLIBCXX_USE_C99 1
17196 _ACEOF
17197
17198   fi
17199
17200   gcc_no_link="$ac_save_gcc_no_link"
17201   LIBS="$ac_save_LIBS"
17202   CXXFLAGS="$ac_save_CXXFLAGS"
17203   ac_ext=c
17204 ac_cpp='$CPP $CPPFLAGS'
17205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17208
17209   fi
17210
17211   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17212 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17213   echo "$as_me:$LINENO: result: $enable_c99" >&5
17214 echo "${ECHO_T}$enable_c99" >&6
17215
17216
17217    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17218 if test "${enable_concept_checks+set}" = set; then
17219   enableval="$enable_concept_checks"
17220
17221       case "$enableval" in
17222        yes|no) ;;
17223        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17224 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17225    { (exit 1); exit 1; }; } ;;
17226       esac
17227
17228 else
17229   enable_concept_checks=no
17230 fi;
17231
17232   if test $enable_concept_checks = yes; then
17233
17234 cat >>confdefs.h <<\_ACEOF
17235 #define _GLIBCXX_CONCEPT_CHECKS 1
17236 _ACEOF
17237
17238   fi
17239
17240
17241    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17242 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17243   enableval="$enable_libstdcxx_debug_flags"
17244   case "x$enable_libstdcxx_debug_flags" in
17245       xno | x)    enable_libstdcxx_debug_flags= ;;
17246       x-*)        ;;
17247       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17248 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17249    { (exit 1); exit 1; }; } ;;
17250      esac
17251 else
17252   enable_libstdcxx_debug_flags="-g3 -O0"
17253 fi;
17254
17255
17256   # Option parsed, now set things appropriately
17257   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17258
17259
17260   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17261 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17262
17263
17264   echo "$as_me:$LINENO: checking for additional debug build" >&5
17265 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17266    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17267 if test "${enable_libstdcxx_debug+set}" = set; then
17268   enableval="$enable_libstdcxx_debug"
17269
17270       case "$enableval" in
17271        yes|no) ;;
17272        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17273 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17274    { (exit 1); exit 1; }; } ;;
17275       esac
17276
17277 else
17278   enable_libstdcxx_debug=no
17279 fi;
17280
17281   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17282 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17283
17284
17285
17286
17287   enable_parallel=no;
17288
17289   # See if configured libgomp/omp.h exists. (libgomp may be in
17290   # noconfigdirs but not explicitly disabled.)
17291   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17292     enable_parallel=yes;
17293   else
17294     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17295 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17296   fi
17297
17298   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17299 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17300   echo "$as_me:$LINENO: result: $enable_parallel" >&5
17301 echo "${ECHO_T}$enable_parallel" >&6
17302
17303
17304   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17305 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17306    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17307 if test "${enable_cxx_flags+set}" = set; then
17308   enableval="$enable_cxx_flags"
17309   case "x$enable_cxx_flags" in
17310       xno | x)   enable_cxx_flags= ;;
17311       x-*)       ;;
17312       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17313 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17314    { (exit 1); exit 1; }; } ;;
17315      esac
17316 else
17317   enable_cxx_flags=
17318 fi;
17319
17320
17321   # Run through flags (either default or command-line) and set anything
17322   # extra (e.g., #defines) that must accompany particular g++ options.
17323   if test -n "$enable_cxx_flags"; then
17324     for f in $enable_cxx_flags; do
17325       case "$f" in
17326         -fhonor-std)  ;;
17327         -*)  ;;
17328         *)   # and we're trying to pass /what/ exactly?
17329              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17330 echo "$as_me: error: compiler flags start with a -" >&2;}
17331    { (exit 1); exit 1; }; } ;;
17332       esac
17333     done
17334   fi
17335
17336   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17337   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17338 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17339
17340
17341
17342    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17343 if test "${enable_fully_dynamic_string+set}" = set; then
17344   enableval="$enable_fully_dynamic_string"
17345
17346       case "$enableval" in
17347        yes|no) ;;
17348        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17349 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17350    { (exit 1); exit 1; }; } ;;
17351       esac
17352
17353 else
17354   enable_fully_dynamic_string=no
17355 fi;
17356
17357   if test $enable_fully_dynamic_string = yes; then
17358
17359 cat >>confdefs.h <<\_ACEOF
17360 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17361 _ACEOF
17362
17363   fi
17364
17365
17366 # Checks for operating systems support that doesn't require linking.
17367
17368
17369 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17370 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17371 if test "${glibcxx_cv_system_error1+set}" = set; then
17372   echo $ECHO_N "(cached) $ECHO_C" >&6
17373 else
17374
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h.  */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h.  */
17381 #include <errno.h>
17382 int
17383 main ()
17384 {
17385 int i = EOWNERDEAD;
17386   ;
17387   return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392   (eval $ac_compile) 2>conftest.er1
17393   ac_status=$?
17394   grep -v '^ *+' conftest.er1 >conftest.err
17395   rm -f conftest.er1
17396   cat conftest.err >&5
17397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398   (exit $ac_status); } &&
17399          { ac_try='test -z "$ac_c_werror_flag"
17400                          || test ! -s conftest.err'
17401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402   (eval $ac_try) 2>&5
17403   ac_status=$?
17404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405   (exit $ac_status); }; } &&
17406          { ac_try='test -s conftest.$ac_objext'
17407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408   (eval $ac_try) 2>&5
17409   ac_status=$?
17410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411   (exit $ac_status); }; }; then
17412   glibcxx_cv_system_error1=yes
17413 else
17414   echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17416
17417 glibcxx_cv_system_error1=no
17418 fi
17419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17420
17421 fi
17422
17423 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17424 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17425 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17426
17427 cat >>confdefs.h <<\_ACEOF
17428 #define HAVE_EOWNERDEAD 1
17429 _ACEOF
17430
17431 fi
17432 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17433 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17434 if test "${glibcxx_cv_system_error2+set}" = set; then
17435   echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437
17438 cat >conftest.$ac_ext <<_ACEOF
17439 /* confdefs.h.  */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h.  */
17444 #include <errno.h>
17445 int
17446 main ()
17447 {
17448 int i = ENOTRECOVERABLE;
17449   ;
17450   return 0;
17451 }
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455   (eval $ac_compile) 2>conftest.er1
17456   ac_status=$?
17457   grep -v '^ *+' conftest.er1 >conftest.err
17458   rm -f conftest.er1
17459   cat conftest.err >&5
17460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461   (exit $ac_status); } &&
17462          { ac_try='test -z "$ac_c_werror_flag"
17463                          || test ! -s conftest.err'
17464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465   (eval $ac_try) 2>&5
17466   ac_status=$?
17467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468   (exit $ac_status); }; } &&
17469          { ac_try='test -s conftest.$ac_objext'
17470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471   (eval $ac_try) 2>&5
17472   ac_status=$?
17473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474   (exit $ac_status); }; }; then
17475   glibcxx_cv_system_error2=yes
17476 else
17477   echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 glibcxx_cv_system_error2=no
17481 fi
17482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17483
17484 fi
17485
17486 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17487 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17488 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17489
17490 cat >>confdefs.h <<\_ACEOF
17491 #define HAVE_ENOTRECOVERABLE 1
17492 _ACEOF
17493
17494 fi
17495 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17496 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17497 if test "${glibcxx_cv_system_error3+set}" = set; then
17498   echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h.  */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h.  */
17507 #include <errno.h>
17508 int
17509 main ()
17510 {
17511 int i = ENOLINK;
17512   ;
17513   return 0;
17514 }
17515 _ACEOF
17516 rm -f conftest.$ac_objext
17517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17518   (eval $ac_compile) 2>conftest.er1
17519   ac_status=$?
17520   grep -v '^ *+' conftest.er1 >conftest.err
17521   rm -f conftest.er1
17522   cat conftest.err >&5
17523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524   (exit $ac_status); } &&
17525          { ac_try='test -z "$ac_c_werror_flag"
17526                          || test ! -s conftest.err'
17527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528   (eval $ac_try) 2>&5
17529   ac_status=$?
17530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531   (exit $ac_status); }; } &&
17532          { ac_try='test -s conftest.$ac_objext'
17533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534   (eval $ac_try) 2>&5
17535   ac_status=$?
17536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537   (exit $ac_status); }; }; then
17538   glibcxx_cv_system_error3=yes
17539 else
17540   echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17542
17543 glibcxx_cv_system_error3=no
17544 fi
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17546
17547 fi
17548
17549 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17550 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17551 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17552
17553 cat >>confdefs.h <<\_ACEOF
17554 #define HAVE_ENOLINK 1
17555 _ACEOF
17556
17557 fi
17558 echo "$as_me:$LINENO: checking for EPROTO" >&5
17559 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17560 if test "${glibcxx_cv_system_error4+set}" = set; then
17561   echo $ECHO_N "(cached) $ECHO_C" >&6
17562 else
17563
17564 cat >conftest.$ac_ext <<_ACEOF
17565 /* confdefs.h.  */
17566 _ACEOF
17567 cat confdefs.h >>conftest.$ac_ext
17568 cat >>conftest.$ac_ext <<_ACEOF
17569 /* end confdefs.h.  */
17570 #include <errno.h>
17571 int
17572 main ()
17573 {
17574 int i = EPROTO;
17575   ;
17576   return 0;
17577 }
17578 _ACEOF
17579 rm -f conftest.$ac_objext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581   (eval $ac_compile) 2>conftest.er1
17582   ac_status=$?
17583   grep -v '^ *+' conftest.er1 >conftest.err
17584   rm -f conftest.er1
17585   cat conftest.err >&5
17586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587   (exit $ac_status); } &&
17588          { ac_try='test -z "$ac_c_werror_flag"
17589                          || test ! -s conftest.err'
17590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17591   (eval $ac_try) 2>&5
17592   ac_status=$?
17593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594   (exit $ac_status); }; } &&
17595          { ac_try='test -s conftest.$ac_objext'
17596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597   (eval $ac_try) 2>&5
17598   ac_status=$?
17599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600   (exit $ac_status); }; }; then
17601   glibcxx_cv_system_error4=yes
17602 else
17603   echo "$as_me: failed program was:" >&5
17604 sed 's/^/| /' conftest.$ac_ext >&5
17605
17606 glibcxx_cv_system_error4=no
17607 fi
17608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17609
17610 fi
17611
17612 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17613 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17614 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17615
17616 cat >>confdefs.h <<\_ACEOF
17617 #define HAVE_EPROTO 1
17618 _ACEOF
17619
17620 fi
17621 echo "$as_me:$LINENO: checking for ENODATA" >&5
17622 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17623 if test "${glibcxx_cv_system_error5+set}" = set; then
17624   echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626
17627 cat >conftest.$ac_ext <<_ACEOF
17628 /* confdefs.h.  */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h.  */
17633 #include <errno.h>
17634 int
17635 main ()
17636 {
17637 int i = ENODATA;
17638   ;
17639   return 0;
17640 }
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644   (eval $ac_compile) 2>conftest.er1
17645   ac_status=$?
17646   grep -v '^ *+' conftest.er1 >conftest.err
17647   rm -f conftest.er1
17648   cat conftest.err >&5
17649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650   (exit $ac_status); } &&
17651          { ac_try='test -z "$ac_c_werror_flag"
17652                          || test ! -s conftest.err'
17653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654   (eval $ac_try) 2>&5
17655   ac_status=$?
17656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657   (exit $ac_status); }; } &&
17658          { ac_try='test -s conftest.$ac_objext'
17659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660   (eval $ac_try) 2>&5
17661   ac_status=$?
17662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663   (exit $ac_status); }; }; then
17664   glibcxx_cv_system_error5=yes
17665 else
17666   echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 glibcxx_cv_system_error5=no
17670 fi
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672
17673 fi
17674
17675 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17676 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17677 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17678
17679 cat >>confdefs.h <<\_ACEOF
17680 #define HAVE_ENODATA 1
17681 _ACEOF
17682
17683 fi
17684 echo "$as_me:$LINENO: checking for ENOSR" >&5
17685 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17686 if test "${glibcxx_cv_system_error6+set}" = set; then
17687   echo $ECHO_N "(cached) $ECHO_C" >&6
17688 else
17689
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h.  */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h.  */
17696 #include <errno.h>
17697 int
17698 main ()
17699 {
17700 int i = ENOSR;
17701   ;
17702   return 0;
17703 }
17704 _ACEOF
17705 rm -f conftest.$ac_objext
17706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17707   (eval $ac_compile) 2>conftest.er1
17708   ac_status=$?
17709   grep -v '^ *+' conftest.er1 >conftest.err
17710   rm -f conftest.er1
17711   cat conftest.err >&5
17712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713   (exit $ac_status); } &&
17714          { ac_try='test -z "$ac_c_werror_flag"
17715                          || test ! -s conftest.err'
17716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717   (eval $ac_try) 2>&5
17718   ac_status=$?
17719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720   (exit $ac_status); }; } &&
17721          { ac_try='test -s conftest.$ac_objext'
17722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723   (eval $ac_try) 2>&5
17724   ac_status=$?
17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726   (exit $ac_status); }; }; then
17727   glibcxx_cv_system_error6=yes
17728 else
17729   echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 glibcxx_cv_system_error6=no
17733 fi
17734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735
17736 fi
17737
17738 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17739 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17740 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17741
17742 cat >>confdefs.h <<\_ACEOF
17743 #define HAVE_ENOSR 1
17744 _ACEOF
17745
17746 fi
17747 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17748 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17749 if test "${glibcxx_cv_system_error7+set}" = set; then
17750   echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h.  */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h.  */
17759 #include <errno.h>
17760 int
17761 main ()
17762 {
17763 int i = ENOSTR;
17764   ;
17765   return 0;
17766 }
17767 _ACEOF
17768 rm -f conftest.$ac_objext
17769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17770   (eval $ac_compile) 2>conftest.er1
17771   ac_status=$?
17772   grep -v '^ *+' conftest.er1 >conftest.err
17773   rm -f conftest.er1
17774   cat conftest.err >&5
17775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776   (exit $ac_status); } &&
17777          { ac_try='test -z "$ac_c_werror_flag"
17778                          || test ! -s conftest.err'
17779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780   (eval $ac_try) 2>&5
17781   ac_status=$?
17782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783   (exit $ac_status); }; } &&
17784          { ac_try='test -s conftest.$ac_objext'
17785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786   (eval $ac_try) 2>&5
17787   ac_status=$?
17788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789   (exit $ac_status); }; }; then
17790   glibcxx_cv_system_error7=yes
17791 else
17792   echo "$as_me: failed program was:" >&5
17793 sed 's/^/| /' conftest.$ac_ext >&5
17794
17795 glibcxx_cv_system_error7=no
17796 fi
17797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17798
17799 fi
17800
17801 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17802 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17803 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17804
17805 cat >>confdefs.h <<\_ACEOF
17806 #define HAVE_ENOSTR 1
17807 _ACEOF
17808
17809 fi
17810 echo "$as_me:$LINENO: checking for ETIME" >&5
17811 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17812 if test "${glibcxx_cv_system_error8+set}" = set; then
17813   echo $ECHO_N "(cached) $ECHO_C" >&6
17814 else
17815
17816 cat >conftest.$ac_ext <<_ACEOF
17817 /* confdefs.h.  */
17818 _ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h.  */
17822 #include <errno.h>
17823 int
17824 main ()
17825 {
17826 int i = ETIME;
17827   ;
17828   return 0;
17829 }
17830 _ACEOF
17831 rm -f conftest.$ac_objext
17832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17833   (eval $ac_compile) 2>conftest.er1
17834   ac_status=$?
17835   grep -v '^ *+' conftest.er1 >conftest.err
17836   rm -f conftest.er1
17837   cat conftest.err >&5
17838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839   (exit $ac_status); } &&
17840          { ac_try='test -z "$ac_c_werror_flag"
17841                          || test ! -s conftest.err'
17842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843   (eval $ac_try) 2>&5
17844   ac_status=$?
17845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846   (exit $ac_status); }; } &&
17847          { ac_try='test -s conftest.$ac_objext'
17848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849   (eval $ac_try) 2>&5
17850   ac_status=$?
17851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852   (exit $ac_status); }; }; then
17853   glibcxx_cv_system_error8=yes
17854 else
17855   echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 glibcxx_cv_system_error8=no
17859 fi
17860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17861
17862 fi
17863
17864 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17865 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17866 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17867
17868 cat >>confdefs.h <<\_ACEOF
17869 #define HAVE_ETIME 1
17870 _ACEOF
17871
17872 fi
17873 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17874 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17875 if test "${glibcxx_cv_system_error9+set}" = set; then
17876   echo $ECHO_N "(cached) $ECHO_C" >&6
17877 else
17878
17879 cat >conftest.$ac_ext <<_ACEOF
17880 /* confdefs.h.  */
17881 _ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h.  */
17885 #include <errno.h>
17886 int
17887 main ()
17888 {
17889 int i = EBADMSG;
17890   ;
17891   return 0;
17892 }
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896   (eval $ac_compile) 2>conftest.er1
17897   ac_status=$?
17898   grep -v '^ *+' conftest.er1 >conftest.err
17899   rm -f conftest.er1
17900   cat conftest.err >&5
17901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902   (exit $ac_status); } &&
17903          { ac_try='test -z "$ac_c_werror_flag"
17904                          || test ! -s conftest.err'
17905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906   (eval $ac_try) 2>&5
17907   ac_status=$?
17908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909   (exit $ac_status); }; } &&
17910          { ac_try='test -s conftest.$ac_objext'
17911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912   (eval $ac_try) 2>&5
17913   ac_status=$?
17914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915   (exit $ac_status); }; }; then
17916   glibcxx_cv_system_error9=yes
17917 else
17918   echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 glibcxx_cv_system_error9=no
17922 fi
17923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17924
17925 fi
17926
17927 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17928 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17929 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17930
17931 cat >>confdefs.h <<\_ACEOF
17932 #define HAVE_EBADMSG 1
17933 _ACEOF
17934
17935 fi
17936 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17937 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17938 if test "${glibcxx_cv_system_error10+set}" = set; then
17939   echo $ECHO_N "(cached) $ECHO_C" >&6
17940 else
17941
17942 cat >conftest.$ac_ext <<_ACEOF
17943 /* confdefs.h.  */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h.  */
17948 #include <errno.h>
17949 int
17950 main ()
17951 {
17952 int i = ECANCELED;
17953   ;
17954   return 0;
17955 }
17956 _ACEOF
17957 rm -f conftest.$ac_objext
17958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17959   (eval $ac_compile) 2>conftest.er1
17960   ac_status=$?
17961   grep -v '^ *+' conftest.er1 >conftest.err
17962   rm -f conftest.er1
17963   cat conftest.err >&5
17964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965   (exit $ac_status); } &&
17966          { ac_try='test -z "$ac_c_werror_flag"
17967                          || test ! -s conftest.err'
17968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17969   (eval $ac_try) 2>&5
17970   ac_status=$?
17971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972   (exit $ac_status); }; } &&
17973          { ac_try='test -s conftest.$ac_objext'
17974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975   (eval $ac_try) 2>&5
17976   ac_status=$?
17977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978   (exit $ac_status); }; }; then
17979   glibcxx_cv_system_error10=yes
17980 else
17981   echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17983
17984 glibcxx_cv_system_error10=no
17985 fi
17986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17987
17988 fi
17989
17990 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17991 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17992 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17993
17994 cat >>confdefs.h <<\_ACEOF
17995 #define HAVE_ECANCELED 1
17996 _ACEOF
17997
17998 fi
17999 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18000 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18001 if test "${glibcxx_cv_system_error11+set}" = set; then
18002   echo $ECHO_N "(cached) $ECHO_C" >&6
18003 else
18004
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h.  */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h.  */
18011 #include <errno.h>
18012 int
18013 main ()
18014 {
18015 int i = EOVERFLOW;
18016   ;
18017   return 0;
18018 }
18019 _ACEOF
18020 rm -f conftest.$ac_objext
18021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18022   (eval $ac_compile) 2>conftest.er1
18023   ac_status=$?
18024   grep -v '^ *+' conftest.er1 >conftest.err
18025   rm -f conftest.er1
18026   cat conftest.err >&5
18027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028   (exit $ac_status); } &&
18029          { ac_try='test -z "$ac_c_werror_flag"
18030                          || test ! -s conftest.err'
18031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18032   (eval $ac_try) 2>&5
18033   ac_status=$?
18034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18035   (exit $ac_status); }; } &&
18036          { ac_try='test -s conftest.$ac_objext'
18037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038   (eval $ac_try) 2>&5
18039   ac_status=$?
18040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041   (exit $ac_status); }; }; then
18042   glibcxx_cv_system_error11=yes
18043 else
18044   echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.$ac_ext >&5
18046
18047 glibcxx_cv_system_error11=no
18048 fi
18049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18050
18051 fi
18052
18053 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18054 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18055 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18056
18057 cat >>confdefs.h <<\_ACEOF
18058 #define HAVE_EOVERFLOW 1
18059 _ACEOF
18060
18061 fi
18062 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18063 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18064 if test "${glibcxx_cv_system_error12+set}" = set; then
18065   echo $ECHO_N "(cached) $ECHO_C" >&6
18066 else
18067
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h.  */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h.  */
18074 #include <errno.h>
18075 int
18076 main ()
18077 {
18078 int i = ENOTSUP;
18079   ;
18080   return 0;
18081 }
18082 _ACEOF
18083 rm -f conftest.$ac_objext
18084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18085   (eval $ac_compile) 2>conftest.er1
18086   ac_status=$?
18087   grep -v '^ *+' conftest.er1 >conftest.err
18088   rm -f conftest.er1
18089   cat conftest.err >&5
18090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091   (exit $ac_status); } &&
18092          { ac_try='test -z "$ac_c_werror_flag"
18093                          || test ! -s conftest.err'
18094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18095   (eval $ac_try) 2>&5
18096   ac_status=$?
18097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098   (exit $ac_status); }; } &&
18099          { ac_try='test -s conftest.$ac_objext'
18100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101   (eval $ac_try) 2>&5
18102   ac_status=$?
18103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104   (exit $ac_status); }; }; then
18105   glibcxx_cv_system_error12=yes
18106 else
18107   echo "$as_me: failed program was:" >&5
18108 sed 's/^/| /' conftest.$ac_ext >&5
18109
18110 glibcxx_cv_system_error12=no
18111 fi
18112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18113
18114 fi
18115
18116 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18117 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18118 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18119
18120 cat >>confdefs.h <<\_ACEOF
18121 #define HAVE_ENOTSUP 1
18122 _ACEOF
18123
18124 fi
18125 echo "$as_me:$LINENO: checking for EIDRM" >&5
18126 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18127 if test "${glibcxx_cv_system_error13+set}" = set; then
18128   echo $ECHO_N "(cached) $ECHO_C" >&6
18129 else
18130
18131 cat >conftest.$ac_ext <<_ACEOF
18132 /* confdefs.h.  */
18133 _ACEOF
18134 cat confdefs.h >>conftest.$ac_ext
18135 cat >>conftest.$ac_ext <<_ACEOF
18136 /* end confdefs.h.  */
18137 #include <errno.h>
18138 int
18139 main ()
18140 {
18141 int i = EIDRM;
18142   ;
18143   return 0;
18144 }
18145 _ACEOF
18146 rm -f conftest.$ac_objext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148   (eval $ac_compile) 2>conftest.er1
18149   ac_status=$?
18150   grep -v '^ *+' conftest.er1 >conftest.err
18151   rm -f conftest.er1
18152   cat conftest.err >&5
18153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154   (exit $ac_status); } &&
18155          { ac_try='test -z "$ac_c_werror_flag"
18156                          || test ! -s conftest.err'
18157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158   (eval $ac_try) 2>&5
18159   ac_status=$?
18160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161   (exit $ac_status); }; } &&
18162          { ac_try='test -s conftest.$ac_objext'
18163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164   (eval $ac_try) 2>&5
18165   ac_status=$?
18166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167   (exit $ac_status); }; }; then
18168   glibcxx_cv_system_error13=yes
18169 else
18170   echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.$ac_ext >&5
18172
18173 glibcxx_cv_system_error13=no
18174 fi
18175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18176
18177 fi
18178
18179 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18180 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18181 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18182
18183 cat >>confdefs.h <<\_ACEOF
18184 #define HAVE_EIDRM 1
18185 _ACEOF
18186
18187 fi
18188 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18189 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18190 if test "${glibcxx_cv_system_error14+set}" = set; then
18191   echo $ECHO_N "(cached) $ECHO_C" >&6
18192 else
18193
18194 cat >conftest.$ac_ext <<_ACEOF
18195 /* confdefs.h.  */
18196 _ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h.  */
18200 #include <errno.h>
18201 int
18202 main ()
18203 {
18204 int i = ETXTBSY;
18205   ;
18206   return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18211   (eval $ac_compile) 2>conftest.er1
18212   ac_status=$?
18213   grep -v '^ *+' conftest.er1 >conftest.err
18214   rm -f conftest.er1
18215   cat conftest.err >&5
18216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217   (exit $ac_status); } &&
18218          { ac_try='test -z "$ac_c_werror_flag"
18219                          || test ! -s conftest.err'
18220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221   (eval $ac_try) 2>&5
18222   ac_status=$?
18223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224   (exit $ac_status); }; } &&
18225          { ac_try='test -s conftest.$ac_objext'
18226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227   (eval $ac_try) 2>&5
18228   ac_status=$?
18229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230   (exit $ac_status); }; }; then
18231   glibcxx_cv_system_error14=yes
18232 else
18233   echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 glibcxx_cv_system_error14=no
18237 fi
18238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18239
18240 fi
18241
18242 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18243 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18244 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18245
18246 cat >>confdefs.h <<\_ACEOF
18247 #define HAVE_ETXTBSY 1
18248 _ACEOF
18249
18250 fi
18251
18252
18253
18254 # For the streamoff typedef.
18255
18256
18257
18258
18259   ac_ext=cc
18260 ac_cpp='$CXXCPP $CPPFLAGS'
18261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18264
18265
18266   echo "$as_me:$LINENO: checking for int64_t" >&5
18267 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18268   if test "${glibcxx_cv_INT64_T+set}" = set; then
18269   echo $ECHO_N "(cached) $ECHO_C" >&6
18270 else
18271
18272     cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h.  */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h.  */
18278 #include <stdint.h>
18279 int
18280 main ()
18281 {
18282 int64_t var;
18283   ;
18284   return 0;
18285 }
18286 _ACEOF
18287 rm -f conftest.$ac_objext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18289   (eval $ac_compile) 2>conftest.er1
18290   ac_status=$?
18291   grep -v '^ *+' conftest.er1 >conftest.err
18292   rm -f conftest.er1
18293   cat conftest.err >&5
18294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295   (exit $ac_status); } &&
18296          { ac_try='test -z "$ac_cxx_werror_flag"
18297                          || test ! -s conftest.err'
18298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299   (eval $ac_try) 2>&5
18300   ac_status=$?
18301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302   (exit $ac_status); }; } &&
18303          { ac_try='test -s conftest.$ac_objext'
18304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18305   (eval $ac_try) 2>&5
18306   ac_status=$?
18307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308   (exit $ac_status); }; }; then
18309   glibcxx_cv_INT64_T=yes
18310 else
18311   echo "$as_me: failed program was:" >&5
18312 sed 's/^/| /' conftest.$ac_ext >&5
18313
18314 glibcxx_cv_INT64_T=no
18315 fi
18316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18317
18318 fi
18319
18320
18321   if test $glibcxx_cv_INT64_T = yes; then
18322
18323 cat >>confdefs.h <<\_ACEOF
18324 #define HAVE_INT64_T 1
18325 _ACEOF
18326
18327     echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
18328 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
18329
18330     echo "$as_me:$LINENO: checking for int64_t as long" >&5
18331 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
18332     if test "${glibcxx_cv_int64_t_long+set}" = set; then
18333   echo $ECHO_N "(cached) $ECHO_C" >&6
18334 else
18335
18336       cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h.  */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h.  */
18342 #include <stdint.h>
18343         template<typename, typename> struct same { enum { value = -1 }; };
18344         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18345         int array[same<int64_t, long>::value];
18346 int
18347 main ()
18348 {
18349
18350   ;
18351   return 0;
18352 }
18353 _ACEOF
18354 rm -f conftest.$ac_objext
18355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18356   (eval $ac_compile) 2>conftest.er1
18357   ac_status=$?
18358   grep -v '^ *+' conftest.er1 >conftest.err
18359   rm -f conftest.er1
18360   cat conftest.err >&5
18361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362   (exit $ac_status); } &&
18363          { ac_try='test -z "$ac_cxx_werror_flag"
18364                          || test ! -s conftest.err'
18365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366   (eval $ac_try) 2>&5
18367   ac_status=$?
18368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369   (exit $ac_status); }; } &&
18370          { ac_try='test -s conftest.$ac_objext'
18371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372   (eval $ac_try) 2>&5
18373   ac_status=$?
18374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375   (exit $ac_status); }; }; then
18376   glibcxx_cv_int64_t_long=yes
18377 else
18378   echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18380
18381 glibcxx_cv_int64_t_long=no
18382 fi
18383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18384
18385 fi
18386
18387
18388     if test $glibcxx_cv_int64_t_long = yes; then
18389
18390 cat >>confdefs.h <<\_ACEOF
18391 #define HAVE_INT64_T_LONG 1
18392 _ACEOF
18393
18394       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
18395 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
18396     fi
18397
18398     echo "$as_me:$LINENO: checking for int64_t as long long" >&5
18399 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
18400     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
18401   echo $ECHO_N "(cached) $ECHO_C" >&6
18402 else
18403
18404       cat >conftest.$ac_ext <<_ACEOF
18405 /* confdefs.h.  */
18406 _ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h.  */
18410 #include <stdint.h>
18411         template<typename, typename> struct same { enum { value = -1 }; };
18412         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18413         int array[same<int64_t, long long>::value];
18414 int
18415 main ()
18416 {
18417
18418   ;
18419   return 0;
18420 }
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424   (eval $ac_compile) 2>conftest.er1
18425   ac_status=$?
18426   grep -v '^ *+' conftest.er1 >conftest.err
18427   rm -f conftest.er1
18428   cat conftest.err >&5
18429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430   (exit $ac_status); } &&
18431          { ac_try='test -z "$ac_cxx_werror_flag"
18432                          || test ! -s conftest.err'
18433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434   (eval $ac_try) 2>&5
18435   ac_status=$?
18436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437   (exit $ac_status); }; } &&
18438          { ac_try='test -s conftest.$ac_objext'
18439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440   (eval $ac_try) 2>&5
18441   ac_status=$?
18442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443   (exit $ac_status); }; }; then
18444   glibcxx_cv_int64_t_long_long=yes
18445 else
18446   echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.$ac_ext >&5
18448
18449 glibcxx_cv_int64_t_long_long=no
18450 fi
18451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18452
18453 fi
18454
18455
18456     if test $glibcxx_cv_int64_t_long_long = yes; then
18457
18458 cat >>confdefs.h <<\_ACEOF
18459 #define HAVE_INT64_T_LONG_LONG 1
18460 _ACEOF
18461
18462       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
18463 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
18464     fi
18465   fi
18466
18467   ac_ext=c
18468 ac_cpp='$CPP $CPPFLAGS'
18469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472
18473
18474
18475 # For LFS support.
18476
18477
18478
18479   ac_ext=cc
18480 ac_cpp='$CXXCPP $CPPFLAGS'
18481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18484
18485   ac_save_CXXFLAGS="$CXXFLAGS"
18486   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18487   echo "$as_me:$LINENO: checking for LFS support" >&5
18488 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
18489   if test "${glibcxx_cv_LFS+set}" = set; then
18490   echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492
18493     if test x$gcc_no_link = xyes; then
18494   cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h.  */
18496 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h.  */
18500 #include <unistd.h>
18501        #include <stdio.h>
18502        #include <sys/stat.h>
18503
18504 int
18505 main ()
18506 {
18507 FILE* fp;
18508        fopen64("t", "w");
18509        fseeko64(fp, 0, SEEK_CUR);
18510        ftello64(fp);
18511        lseek64(1, 0, SEEK_CUR);
18512        struct stat64 buf;
18513        fstat64(1, &buf);
18514   ;
18515   return 0;
18516 }
18517 _ACEOF
18518 rm -f conftest.$ac_objext
18519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18520   (eval $ac_compile) 2>conftest.er1
18521   ac_status=$?
18522   grep -v '^ *+' conftest.er1 >conftest.err
18523   rm -f conftest.er1
18524   cat conftest.err >&5
18525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526   (exit $ac_status); } &&
18527          { ac_try='test -z "$ac_cxx_werror_flag"
18528                          || test ! -s conftest.err'
18529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530   (eval $ac_try) 2>&5
18531   ac_status=$?
18532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533   (exit $ac_status); }; } &&
18534          { ac_try='test -s conftest.$ac_objext'
18535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536   (eval $ac_try) 2>&5
18537   ac_status=$?
18538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539   (exit $ac_status); }; }; then
18540   glibcxx_cv_LFS=yes
18541 else
18542   echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 glibcxx_cv_LFS=no
18546 fi
18547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18548 else
18549   if test x$gcc_no_link = xyes; then
18550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18552    { (exit 1); exit 1; }; }
18553 fi
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h.  */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h.  */
18560 #include <unistd.h>
18561        #include <stdio.h>
18562        #include <sys/stat.h>
18563
18564 int
18565 main ()
18566 {
18567 FILE* fp;
18568        fopen64("t", "w");
18569        fseeko64(fp, 0, SEEK_CUR);
18570        ftello64(fp);
18571        lseek64(1, 0, SEEK_CUR);
18572        struct stat64 buf;
18573        fstat64(1, &buf);
18574   ;
18575   return 0;
18576 }
18577 _ACEOF
18578 rm -f conftest.$ac_objext conftest$ac_exeext
18579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18580   (eval $ac_link) 2>conftest.er1
18581   ac_status=$?
18582   grep -v '^ *+' conftest.er1 >conftest.err
18583   rm -f conftest.er1
18584   cat conftest.err >&5
18585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586   (exit $ac_status); } &&
18587          { ac_try='test -z "$ac_cxx_werror_flag"
18588                          || test ! -s conftest.err'
18589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590   (eval $ac_try) 2>&5
18591   ac_status=$?
18592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593   (exit $ac_status); }; } &&
18594          { ac_try='test -s conftest$ac_exeext'
18595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596   (eval $ac_try) 2>&5
18597   ac_status=$?
18598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599   (exit $ac_status); }; }; then
18600   glibcxx_cv_LFS=yes
18601 else
18602   echo "$as_me: failed program was:" >&5
18603 sed 's/^/| /' conftest.$ac_ext >&5
18604
18605 glibcxx_cv_LFS=no
18606 fi
18607 rm -f conftest.err conftest.$ac_objext \
18608       conftest$ac_exeext conftest.$ac_ext
18609 fi
18610
18611 fi
18612
18613   if test $glibcxx_cv_LFS = yes; then
18614
18615 cat >>confdefs.h <<\_ACEOF
18616 #define _GLIBCXX_USE_LFS 1
18617 _ACEOF
18618
18619   fi
18620   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
18621 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
18622   CXXFLAGS="$ac_save_CXXFLAGS"
18623   ac_ext=c
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18628
18629
18630
18631 # For showmanyc_helper().
18632
18633
18634 for ac_header in sys/ioctl.h sys/filio.h
18635 do
18636 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18638   echo "$as_me:$LINENO: checking for $ac_header" >&5
18639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18641   echo $ECHO_N "(cached) $ECHO_C" >&6
18642 fi
18643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18645 else
18646   # Is the header compilable?
18647 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18648 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h.  */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h.  */
18655 $ac_includes_default
18656 #include <$ac_header>
18657 _ACEOF
18658 rm -f conftest.$ac_objext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18660   (eval $ac_compile) 2>conftest.er1
18661   ac_status=$?
18662   grep -v '^ *+' conftest.er1 >conftest.err
18663   rm -f conftest.er1
18664   cat conftest.err >&5
18665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666   (exit $ac_status); } &&
18667          { ac_try='test -z "$ac_c_werror_flag"
18668                          || test ! -s conftest.err'
18669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670   (eval $ac_try) 2>&5
18671   ac_status=$?
18672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673   (exit $ac_status); }; } &&
18674          { ac_try='test -s conftest.$ac_objext'
18675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676   (eval $ac_try) 2>&5
18677   ac_status=$?
18678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679   (exit $ac_status); }; }; then
18680   ac_header_compiler=yes
18681 else
18682   echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 ac_header_compiler=no
18686 fi
18687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18688 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18689 echo "${ECHO_T}$ac_header_compiler" >&6
18690
18691 # Is the header present?
18692 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18694 cat >conftest.$ac_ext <<_ACEOF
18695 /* confdefs.h.  */
18696 _ACEOF
18697 cat confdefs.h >>conftest.$ac_ext
18698 cat >>conftest.$ac_ext <<_ACEOF
18699 /* end confdefs.h.  */
18700 #include <$ac_header>
18701 _ACEOF
18702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18703   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18704   ac_status=$?
18705   grep -v '^ *+' conftest.er1 >conftest.err
18706   rm -f conftest.er1
18707   cat conftest.err >&5
18708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709   (exit $ac_status); } >/dev/null; then
18710   if test -s conftest.err; then
18711     ac_cpp_err=$ac_c_preproc_warn_flag
18712     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18713   else
18714     ac_cpp_err=
18715   fi
18716 else
18717   ac_cpp_err=yes
18718 fi
18719 if test -z "$ac_cpp_err"; then
18720   ac_header_preproc=yes
18721 else
18722   echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18724
18725   ac_header_preproc=no
18726 fi
18727 rm -f conftest.err conftest.$ac_ext
18728 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18729 echo "${ECHO_T}$ac_header_preproc" >&6
18730
18731 # So?  What about this header?
18732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18733   yes:no: )
18734     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18735 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18736     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18737 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18738     ac_header_preproc=yes
18739     ;;
18740   no:yes:* )
18741     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18743     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18744 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18745     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18746 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18747     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18748 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18749     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18750 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18751     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18752 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18753     (
18754       cat <<\_ASBOX
18755 ## ----------------------------------------- ##
18756 ## Report this to the package-unused lists.  ##
18757 ## ----------------------------------------- ##
18758 _ASBOX
18759     ) |
18760       sed "s/^/$as_me: WARNING:     /" >&2
18761     ;;
18762 esac
18763 echo "$as_me:$LINENO: checking for $ac_header" >&5
18764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18766   echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768   eval "$as_ac_Header=\$ac_header_preproc"
18769 fi
18770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18772
18773 fi
18774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18775   cat >>confdefs.h <<_ACEOF
18776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18777 _ACEOF
18778
18779 fi
18780
18781 done
18782
18783
18784
18785
18786
18787   ac_ext=cc
18788 ac_cpp='$CXXCPP $CPPFLAGS'
18789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18792
18793   ac_save_CXXFLAGS="$CXXFLAGS"
18794   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18795
18796   echo "$as_me:$LINENO: checking for poll" >&5
18797 echo $ECHO_N "checking for poll... $ECHO_C" >&6
18798   if test "${glibcxx_cv_POLL+set}" = set; then
18799   echo $ECHO_N "(cached) $ECHO_C" >&6
18800 else
18801
18802     if test x$gcc_no_link = xyes; then
18803   cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h.  */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h.  */
18809 #include <poll.h>
18810 int
18811 main ()
18812 {
18813 struct pollfd pfd[1];
18814        pfd[0].events = POLLIN;
18815        poll(pfd, 1, 0);
18816   ;
18817   return 0;
18818 }
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18822   (eval $ac_compile) 2>conftest.er1
18823   ac_status=$?
18824   grep -v '^ *+' conftest.er1 >conftest.err
18825   rm -f conftest.er1
18826   cat conftest.err >&5
18827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828   (exit $ac_status); } &&
18829          { ac_try='test -z "$ac_cxx_werror_flag"
18830                          || test ! -s conftest.err'
18831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18832   (eval $ac_try) 2>&5
18833   ac_status=$?
18834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835   (exit $ac_status); }; } &&
18836          { ac_try='test -s conftest.$ac_objext'
18837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18838   (eval $ac_try) 2>&5
18839   ac_status=$?
18840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841   (exit $ac_status); }; }; then
18842   glibcxx_cv_POLL=yes
18843 else
18844   echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 glibcxx_cv_POLL=no
18848 fi
18849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 else
18851   if test x$gcc_no_link = xyes; then
18852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18854    { (exit 1); exit 1; }; }
18855 fi
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h.  */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h.  */
18862 #include <poll.h>
18863 int
18864 main ()
18865 {
18866 struct pollfd pfd[1];
18867        pfd[0].events = POLLIN;
18868        poll(pfd, 1, 0);
18869   ;
18870   return 0;
18871 }
18872 _ACEOF
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18875   (eval $ac_link) 2>conftest.er1
18876   ac_status=$?
18877   grep -v '^ *+' conftest.er1 >conftest.err
18878   rm -f conftest.er1
18879   cat conftest.err >&5
18880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881   (exit $ac_status); } &&
18882          { ac_try='test -z "$ac_cxx_werror_flag"
18883                          || test ! -s conftest.err'
18884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885   (eval $ac_try) 2>&5
18886   ac_status=$?
18887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888   (exit $ac_status); }; } &&
18889          { ac_try='test -s conftest$ac_exeext'
18890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891   (eval $ac_try) 2>&5
18892   ac_status=$?
18893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894   (exit $ac_status); }; }; then
18895   glibcxx_cv_POLL=yes
18896 else
18897   echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.$ac_ext >&5
18899
18900 glibcxx_cv_POLL=no
18901 fi
18902 rm -f conftest.err conftest.$ac_objext \
18903       conftest$ac_exeext conftest.$ac_ext
18904 fi
18905
18906 fi
18907
18908   if test $glibcxx_cv_POLL = yes; then
18909
18910 cat >>confdefs.h <<\_ACEOF
18911 #define HAVE_POLL 1
18912 _ACEOF
18913
18914   fi
18915   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
18916 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
18917
18918   CXXFLAGS="$ac_save_CXXFLAGS"
18919   ac_ext=c
18920 ac_cpp='$CPP $CPPFLAGS'
18921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18924
18925
18926
18927
18928
18929
18930   ac_ext=cc
18931 ac_cpp='$CXXCPP $CPPFLAGS'
18932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935
18936   ac_save_CXXFLAGS="$CXXFLAGS"
18937   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18938
18939   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
18940 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
18941   if test "${glibcxx_cv_S_ISREG+set}" = set; then
18942   echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18944
18945     if test x$gcc_no_link = xyes; then
18946   cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h.  */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h.  */
18952 #include <sys/stat.h>
18953 int
18954 main ()
18955 {
18956 struct stat buffer;
18957        fstat(0, &buffer);
18958        S_ISREG(buffer.st_mode);
18959   ;
18960   return 0;
18961 }
18962 _ACEOF
18963 rm -f conftest.$ac_objext
18964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18965   (eval $ac_compile) 2>conftest.er1
18966   ac_status=$?
18967   grep -v '^ *+' conftest.er1 >conftest.err
18968   rm -f conftest.er1
18969   cat conftest.err >&5
18970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971   (exit $ac_status); } &&
18972          { ac_try='test -z "$ac_cxx_werror_flag"
18973                          || test ! -s conftest.err'
18974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975   (eval $ac_try) 2>&5
18976   ac_status=$?
18977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978   (exit $ac_status); }; } &&
18979          { ac_try='test -s conftest.$ac_objext'
18980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18981   (eval $ac_try) 2>&5
18982   ac_status=$?
18983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984   (exit $ac_status); }; }; then
18985   glibcxx_cv_S_ISREG=yes
18986 else
18987   echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.$ac_ext >&5
18989
18990 glibcxx_cv_S_ISREG=no
18991 fi
18992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18993 else
18994   if test x$gcc_no_link = xyes; then
18995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18997    { (exit 1); exit 1; }; }
18998 fi
18999 cat >conftest.$ac_ext <<_ACEOF
19000 /* confdefs.h.  */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h.  */
19005 #include <sys/stat.h>
19006 int
19007 main ()
19008 {
19009 struct stat buffer;
19010        fstat(0, &buffer);
19011        S_ISREG(buffer.st_mode);
19012   ;
19013   return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018   (eval $ac_link) 2>conftest.er1
19019   ac_status=$?
19020   grep -v '^ *+' conftest.er1 >conftest.err
19021   rm -f conftest.er1
19022   cat conftest.err >&5
19023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024   (exit $ac_status); } &&
19025          { ac_try='test -z "$ac_cxx_werror_flag"
19026                          || test ! -s conftest.err'
19027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028   (eval $ac_try) 2>&5
19029   ac_status=$?
19030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031   (exit $ac_status); }; } &&
19032          { ac_try='test -s conftest$ac_exeext'
19033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19034   (eval $ac_try) 2>&5
19035   ac_status=$?
19036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037   (exit $ac_status); }; }; then
19038   glibcxx_cv_S_ISREG=yes
19039 else
19040   echo "$as_me: failed program was:" >&5
19041 sed 's/^/| /' conftest.$ac_ext >&5
19042
19043 glibcxx_cv_S_ISREG=no
19044 fi
19045 rm -f conftest.err conftest.$ac_objext \
19046       conftest$ac_exeext conftest.$ac_ext
19047 fi
19048
19049 fi
19050
19051   if test "${glibcxx_cv_S_IFREG+set}" = set; then
19052   echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054
19055     if test x$gcc_no_link = xyes; then
19056   cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h.  */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h.  */
19062 #include <sys/stat.h>
19063 int
19064 main ()
19065 {
19066 struct stat buffer;
19067        fstat(0, &buffer);
19068        S_IFREG & buffer.st_mode;
19069   ;
19070   return 0;
19071 }
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075   (eval $ac_compile) 2>conftest.er1
19076   ac_status=$?
19077   grep -v '^ *+' conftest.er1 >conftest.err
19078   rm -f conftest.er1
19079   cat conftest.err >&5
19080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081   (exit $ac_status); } &&
19082          { ac_try='test -z "$ac_cxx_werror_flag"
19083                          || test ! -s conftest.err'
19084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085   (eval $ac_try) 2>&5
19086   ac_status=$?
19087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088   (exit $ac_status); }; } &&
19089          { ac_try='test -s conftest.$ac_objext'
19090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091   (eval $ac_try) 2>&5
19092   ac_status=$?
19093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094   (exit $ac_status); }; }; then
19095   glibcxx_cv_S_IFREG=yes
19096 else
19097   echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19099
19100 glibcxx_cv_S_IFREG=no
19101 fi
19102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19103 else
19104   if test x$gcc_no_link = xyes; then
19105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19107    { (exit 1); exit 1; }; }
19108 fi
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h.  */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h.  */
19115 #include <sys/stat.h>
19116 int
19117 main ()
19118 {
19119 struct stat buffer;
19120        fstat(0, &buffer);
19121        S_IFREG & buffer.st_mode;
19122   ;
19123   return 0;
19124 }
19125 _ACEOF
19126 rm -f conftest.$ac_objext conftest$ac_exeext
19127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19128   (eval $ac_link) 2>conftest.er1
19129   ac_status=$?
19130   grep -v '^ *+' conftest.er1 >conftest.err
19131   rm -f conftest.er1
19132   cat conftest.err >&5
19133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134   (exit $ac_status); } &&
19135          { ac_try='test -z "$ac_cxx_werror_flag"
19136                          || test ! -s conftest.err'
19137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138   (eval $ac_try) 2>&5
19139   ac_status=$?
19140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141   (exit $ac_status); }; } &&
19142          { ac_try='test -s conftest$ac_exeext'
19143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144   (eval $ac_try) 2>&5
19145   ac_status=$?
19146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147   (exit $ac_status); }; }; then
19148   glibcxx_cv_S_IFREG=yes
19149 else
19150   echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 glibcxx_cv_S_IFREG=no
19154 fi
19155 rm -f conftest.err conftest.$ac_objext \
19156       conftest$ac_exeext conftest.$ac_ext
19157 fi
19158
19159 fi
19160
19161   res=no
19162   if test $glibcxx_cv_S_ISREG = yes; then
19163
19164 cat >>confdefs.h <<\_ACEOF
19165 #define HAVE_S_ISREG 1
19166 _ACEOF
19167
19168     res=S_ISREG
19169   elif test $glibcxx_cv_S_IFREG = yes; then
19170
19171 cat >>confdefs.h <<\_ACEOF
19172 #define HAVE_S_IFREG 1
19173 _ACEOF
19174
19175     res=S_IFREG
19176   fi
19177   echo "$as_me:$LINENO: result: $res" >&5
19178 echo "${ECHO_T}$res" >&6
19179
19180   CXXFLAGS="$ac_save_CXXFLAGS"
19181   ac_ext=c
19182 ac_cpp='$CPP $CPPFLAGS'
19183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19186
19187
19188
19189 # For xsputn_2().
19190
19191 for ac_header in sys/uio.h
19192 do
19193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19195   echo "$as_me:$LINENO: checking for $ac_header" >&5
19196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19198   echo $ECHO_N "(cached) $ECHO_C" >&6
19199 fi
19200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19202 else
19203   # Is the header compilable?
19204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h.  */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h.  */
19212 $ac_includes_default
19213 #include <$ac_header>
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217   (eval $ac_compile) 2>conftest.er1
19218   ac_status=$?
19219   grep -v '^ *+' conftest.er1 >conftest.err
19220   rm -f conftest.er1
19221   cat conftest.err >&5
19222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223   (exit $ac_status); } &&
19224          { ac_try='test -z "$ac_c_werror_flag"
19225                          || test ! -s conftest.err'
19226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227   (eval $ac_try) 2>&5
19228   ac_status=$?
19229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230   (exit $ac_status); }; } &&
19231          { ac_try='test -s conftest.$ac_objext'
19232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233   (eval $ac_try) 2>&5
19234   ac_status=$?
19235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236   (exit $ac_status); }; }; then
19237   ac_header_compiler=yes
19238 else
19239   echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19241
19242 ac_header_compiler=no
19243 fi
19244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19246 echo "${ECHO_T}$ac_header_compiler" >&6
19247
19248 # Is the header present?
19249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h.  */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h.  */
19257 #include <$ac_header>
19258 _ACEOF
19259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19260   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19261   ac_status=$?
19262   grep -v '^ *+' conftest.er1 >conftest.err
19263   rm -f conftest.er1
19264   cat conftest.err >&5
19265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266   (exit $ac_status); } >/dev/null; then
19267   if test -s conftest.err; then
19268     ac_cpp_err=$ac_c_preproc_warn_flag
19269     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19270   else
19271     ac_cpp_err=
19272   fi
19273 else
19274   ac_cpp_err=yes
19275 fi
19276 if test -z "$ac_cpp_err"; then
19277   ac_header_preproc=yes
19278 else
19279   echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19281
19282   ac_header_preproc=no
19283 fi
19284 rm -f conftest.err conftest.$ac_ext
19285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19286 echo "${ECHO_T}$ac_header_preproc" >&6
19287
19288 # So?  What about this header?
19289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19290   yes:no: )
19291     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19293     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19295     ac_header_preproc=yes
19296     ;;
19297   no:yes:* )
19298     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19300     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19301 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19302     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19304     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19305 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19306     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19308     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19310     (
19311       cat <<\_ASBOX
19312 ## ----------------------------------------- ##
19313 ## Report this to the package-unused lists.  ##
19314 ## ----------------------------------------- ##
19315 _ASBOX
19316     ) |
19317       sed "s/^/$as_me: WARNING:     /" >&2
19318     ;;
19319 esac
19320 echo "$as_me:$LINENO: checking for $ac_header" >&5
19321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19323   echo $ECHO_N "(cached) $ECHO_C" >&6
19324 else
19325   eval "$as_ac_Header=\$ac_header_preproc"
19326 fi
19327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19329
19330 fi
19331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19332   cat >>confdefs.h <<_ACEOF
19333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19334 _ACEOF
19335
19336 fi
19337
19338 done
19339
19340
19341
19342
19343
19344   ac_ext=cc
19345 ac_cpp='$CXXCPP $CPPFLAGS'
19346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19349
19350   ac_save_CXXFLAGS="$CXXFLAGS"
19351   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19352
19353   echo "$as_me:$LINENO: checking for writev" >&5
19354 echo $ECHO_N "checking for writev... $ECHO_C" >&6
19355   if test "${glibcxx_cv_WRITEV+set}" = set; then
19356   echo $ECHO_N "(cached) $ECHO_C" >&6
19357 else
19358
19359     if test x$gcc_no_link = xyes; then
19360   cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h.  */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h.  */
19366 #include <sys/uio.h>
19367 int
19368 main ()
19369 {
19370 struct iovec iov[2];
19371        writev(0, iov, 0);
19372   ;
19373   return 0;
19374 }
19375 _ACEOF
19376 rm -f conftest.$ac_objext
19377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19378   (eval $ac_compile) 2>conftest.er1
19379   ac_status=$?
19380   grep -v '^ *+' conftest.er1 >conftest.err
19381   rm -f conftest.er1
19382   cat conftest.err >&5
19383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384   (exit $ac_status); } &&
19385          { ac_try='test -z "$ac_cxx_werror_flag"
19386                          || test ! -s conftest.err'
19387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19388   (eval $ac_try) 2>&5
19389   ac_status=$?
19390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391   (exit $ac_status); }; } &&
19392          { ac_try='test -s conftest.$ac_objext'
19393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394   (eval $ac_try) 2>&5
19395   ac_status=$?
19396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397   (exit $ac_status); }; }; then
19398   glibcxx_cv_WRITEV=yes
19399 else
19400   echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 glibcxx_cv_WRITEV=no
19404 fi
19405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19406 else
19407   if test x$gcc_no_link = xyes; then
19408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19410    { (exit 1); exit 1; }; }
19411 fi
19412 cat >conftest.$ac_ext <<_ACEOF
19413 /* confdefs.h.  */
19414 _ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h.  */
19418 #include <sys/uio.h>
19419 int
19420 main ()
19421 {
19422 struct iovec iov[2];
19423        writev(0, iov, 0);
19424   ;
19425   return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext conftest$ac_exeext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19430   (eval $ac_link) 2>conftest.er1
19431   ac_status=$?
19432   grep -v '^ *+' conftest.er1 >conftest.err
19433   rm -f conftest.er1
19434   cat conftest.err >&5
19435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436   (exit $ac_status); } &&
19437          { ac_try='test -z "$ac_cxx_werror_flag"
19438                          || test ! -s conftest.err'
19439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440   (eval $ac_try) 2>&5
19441   ac_status=$?
19442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443   (exit $ac_status); }; } &&
19444          { ac_try='test -s conftest$ac_exeext'
19445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446   (eval $ac_try) 2>&5
19447   ac_status=$?
19448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449   (exit $ac_status); }; }; then
19450   glibcxx_cv_WRITEV=yes
19451 else
19452   echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19454
19455 glibcxx_cv_WRITEV=no
19456 fi
19457 rm -f conftest.err conftest.$ac_objext \
19458       conftest$ac_exeext conftest.$ac_ext
19459 fi
19460
19461 fi
19462
19463   if test $glibcxx_cv_WRITEV = yes; then
19464
19465 cat >>confdefs.h <<\_ACEOF
19466 #define HAVE_WRITEV 1
19467 _ACEOF
19468
19469   fi
19470   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
19471 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
19472
19473   CXXFLAGS="$ac_save_CXXFLAGS"
19474   ac_ext=c
19475 ac_cpp='$CPP $CPPFLAGS'
19476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19479
19480
19481
19482 # For C99 support to TR1.
19483
19484
19485
19486
19487   ac_ext=cc
19488 ac_cpp='$CXXCPP $CPPFLAGS'
19489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19492
19493
19494   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19495   # undefined and fake C99 facilities may be spuriously enabled.
19496   ac_save_CXXFLAGS="$CXXFLAGS"
19497   CXXFLAGS="$CXXFLAGS -std=c++98"
19498
19499   # Check for the existence of <complex.h> complex math functions used
19500   # by tr1/complex.
19501
19502 for ac_header in complex.h
19503 do
19504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19506   echo "$as_me:$LINENO: checking for $ac_header" >&5
19507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19509   echo $ECHO_N "(cached) $ECHO_C" >&6
19510 fi
19511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19513 else
19514   # Is the header compilable?
19515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h.  */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h.  */
19523 $ac_includes_default
19524 #include <$ac_header>
19525 _ACEOF
19526 rm -f conftest.$ac_objext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19528   (eval $ac_compile) 2>conftest.er1
19529   ac_status=$?
19530   grep -v '^ *+' conftest.er1 >conftest.err
19531   rm -f conftest.er1
19532   cat conftest.err >&5
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); } &&
19535          { ac_try='test -z "$ac_cxx_werror_flag"
19536                          || test ! -s conftest.err'
19537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538   (eval $ac_try) 2>&5
19539   ac_status=$?
19540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541   (exit $ac_status); }; } &&
19542          { ac_try='test -s conftest.$ac_objext'
19543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19544   (eval $ac_try) 2>&5
19545   ac_status=$?
19546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547   (exit $ac_status); }; }; then
19548   ac_header_compiler=yes
19549 else
19550   echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 ac_header_compiler=no
19554 fi
19555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19557 echo "${ECHO_T}$ac_header_compiler" >&6
19558
19559 # Is the header present?
19560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h.  */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h.  */
19568 #include <$ac_header>
19569 _ACEOF
19570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19571   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19572   ac_status=$?
19573   grep -v '^ *+' conftest.er1 >conftest.err
19574   rm -f conftest.er1
19575   cat conftest.err >&5
19576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577   (exit $ac_status); } >/dev/null; then
19578   if test -s conftest.err; then
19579     ac_cpp_err=$ac_cxx_preproc_warn_flag
19580     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19581   else
19582     ac_cpp_err=
19583   fi
19584 else
19585   ac_cpp_err=yes
19586 fi
19587 if test -z "$ac_cpp_err"; then
19588   ac_header_preproc=yes
19589 else
19590   echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593   ac_header_preproc=no
19594 fi
19595 rm -f conftest.err conftest.$ac_ext
19596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19597 echo "${ECHO_T}$ac_header_preproc" >&6
19598
19599 # So?  What about this header?
19600 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19601   yes:no: )
19602     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19604     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19606     ac_header_preproc=yes
19607     ;;
19608   no:yes:* )
19609     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19611     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19612 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19613     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19615     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19616 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19617     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19619     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19621     (
19622       cat <<\_ASBOX
19623 ## ----------------------------------------- ##
19624 ## Report this to the package-unused lists.  ##
19625 ## ----------------------------------------- ##
19626 _ASBOX
19627     ) |
19628       sed "s/^/$as_me: WARNING:     /" >&2
19629     ;;
19630 esac
19631 echo "$as_me:$LINENO: checking for $ac_header" >&5
19632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19634   echo $ECHO_N "(cached) $ECHO_C" >&6
19635 else
19636   eval "$as_ac_Header=\$ac_header_preproc"
19637 fi
19638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19640
19641 fi
19642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19643   cat >>confdefs.h <<_ACEOF
19644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19645 _ACEOF
19646  ac_has_complex_h=yes
19647 else
19648   ac_has_complex_h=no
19649 fi
19650
19651 done
19652
19653   ac_c99_complex_tr1=no;
19654   if test x"$ac_has_complex_h" = x"yes"; then
19655     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
19656 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
19657     cat >conftest.$ac_ext <<_ACEOF
19658 /* confdefs.h.  */
19659 _ACEOF
19660 cat confdefs.h >>conftest.$ac_ext
19661 cat >>conftest.$ac_ext <<_ACEOF
19662 /* end confdefs.h.  */
19663 #include <complex.h>
19664 int
19665 main ()
19666 {
19667 typedef __complex__ float float_type; float_type tmpf;
19668                     cacosf(tmpf);
19669                     casinf(tmpf);
19670                     catanf(tmpf);
19671                     cacoshf(tmpf);
19672                     casinhf(tmpf);
19673                     catanhf(tmpf);
19674                     typedef __complex__ double double_type; double_type tmpd;
19675                     cacos(tmpd);
19676                     casin(tmpd);
19677                     catan(tmpd);
19678                     cacosh(tmpd);
19679                     casinh(tmpd);
19680                     catanh(tmpd);
19681                     typedef __complex__ long double ld_type; ld_type tmpld;
19682                     cacosl(tmpld);
19683                     casinl(tmpld);
19684                     catanl(tmpld);
19685                     cacoshl(tmpld);
19686                     casinhl(tmpld);
19687                     catanhl(tmpld);
19688
19689   ;
19690   return 0;
19691 }
19692 _ACEOF
19693 rm -f conftest.$ac_objext
19694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19695   (eval $ac_compile) 2>conftest.er1
19696   ac_status=$?
19697   grep -v '^ *+' conftest.er1 >conftest.err
19698   rm -f conftest.er1
19699   cat conftest.err >&5
19700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701   (exit $ac_status); } &&
19702          { ac_try='test -z "$ac_cxx_werror_flag"
19703                          || test ! -s conftest.err'
19704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705   (eval $ac_try) 2>&5
19706   ac_status=$?
19707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708   (exit $ac_status); }; } &&
19709          { ac_try='test -s conftest.$ac_objext'
19710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711   (eval $ac_try) 2>&5
19712   ac_status=$?
19713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714   (exit $ac_status); }; }; then
19715   ac_c99_complex_tr1=yes
19716 else
19717   echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 ac_c99_complex_tr1=no
19721 fi
19722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19723   fi
19724   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
19725 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
19726   if test x"$ac_c99_complex_tr1" = x"yes"; then
19727
19728 cat >>confdefs.h <<\_ACEOF
19729 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
19730 _ACEOF
19731
19732   fi
19733
19734   # Check for the existence of <ctype.h> functions.
19735   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19736 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
19737   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
19738   echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19740
19741   cat >conftest.$ac_ext <<_ACEOF
19742 /* confdefs.h.  */
19743 _ACEOF
19744 cat confdefs.h >>conftest.$ac_ext
19745 cat >>conftest.$ac_ext <<_ACEOF
19746 /* end confdefs.h.  */
19747 #include <ctype.h>
19748 int
19749 main ()
19750 {
19751 int ch;
19752                   int ret;
19753                   ret = isblank(ch);
19754
19755   ;
19756   return 0;
19757 }
19758 _ACEOF
19759 rm -f conftest.$ac_objext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19761   (eval $ac_compile) 2>conftest.er1
19762   ac_status=$?
19763   grep -v '^ *+' conftest.er1 >conftest.err
19764   rm -f conftest.er1
19765   cat conftest.err >&5
19766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767   (exit $ac_status); } &&
19768          { ac_try='test -z "$ac_cxx_werror_flag"
19769                          || test ! -s conftest.err'
19770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771   (eval $ac_try) 2>&5
19772   ac_status=$?
19773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774   (exit $ac_status); }; } &&
19775          { ac_try='test -s conftest.$ac_objext'
19776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777   (eval $ac_try) 2>&5
19778   ac_status=$?
19779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780   (exit $ac_status); }; }; then
19781   glibcxx_cv_c99_ctype_tr1=yes
19782 else
19783   echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19785
19786 glibcxx_cv_c99_ctype_tr1=no
19787 fi
19788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19789
19790 fi
19791
19792   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
19793 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
19794   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19795
19796 cat >>confdefs.h <<\_ACEOF
19797 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
19798 _ACEOF
19799
19800   fi
19801
19802   # Check for the existence of <fenv.h> functions.
19803
19804 for ac_header in fenv.h
19805 do
19806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19808   echo "$as_me:$LINENO: checking for $ac_header" >&5
19809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19811   echo $ECHO_N "(cached) $ECHO_C" >&6
19812 fi
19813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19815 else
19816   # Is the header compilable?
19817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19819 cat >conftest.$ac_ext <<_ACEOF
19820 /* confdefs.h.  */
19821 _ACEOF
19822 cat confdefs.h >>conftest.$ac_ext
19823 cat >>conftest.$ac_ext <<_ACEOF
19824 /* end confdefs.h.  */
19825 $ac_includes_default
19826 #include <$ac_header>
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830   (eval $ac_compile) 2>conftest.er1
19831   ac_status=$?
19832   grep -v '^ *+' conftest.er1 >conftest.err
19833   rm -f conftest.er1
19834   cat conftest.err >&5
19835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836   (exit $ac_status); } &&
19837          { ac_try='test -z "$ac_cxx_werror_flag"
19838                          || test ! -s conftest.err'
19839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840   (eval $ac_try) 2>&5
19841   ac_status=$?
19842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843   (exit $ac_status); }; } &&
19844          { ac_try='test -s conftest.$ac_objext'
19845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846   (eval $ac_try) 2>&5
19847   ac_status=$?
19848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849   (exit $ac_status); }; }; then
19850   ac_header_compiler=yes
19851 else
19852   echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.$ac_ext >&5
19854
19855 ac_header_compiler=no
19856 fi
19857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19859 echo "${ECHO_T}$ac_header_compiler" >&6
19860
19861 # Is the header present?
19862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h.  */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h.  */
19870 #include <$ac_header>
19871 _ACEOF
19872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19874   ac_status=$?
19875   grep -v '^ *+' conftest.er1 >conftest.err
19876   rm -f conftest.er1
19877   cat conftest.err >&5
19878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879   (exit $ac_status); } >/dev/null; then
19880   if test -s conftest.err; then
19881     ac_cpp_err=$ac_cxx_preproc_warn_flag
19882     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19883   else
19884     ac_cpp_err=
19885   fi
19886 else
19887   ac_cpp_err=yes
19888 fi
19889 if test -z "$ac_cpp_err"; then
19890   ac_header_preproc=yes
19891 else
19892   echo "$as_me: failed program was:" >&5
19893 sed 's/^/| /' conftest.$ac_ext >&5
19894
19895   ac_header_preproc=no
19896 fi
19897 rm -f conftest.err conftest.$ac_ext
19898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19899 echo "${ECHO_T}$ac_header_preproc" >&6
19900
19901 # So?  What about this header?
19902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19903   yes:no: )
19904     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19908     ac_header_preproc=yes
19909     ;;
19910   no:yes:* )
19911     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19913     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19914 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19915     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19917     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19918 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19919     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19921     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19923     (
19924       cat <<\_ASBOX
19925 ## ----------------------------------------- ##
19926 ## Report this to the package-unused lists.  ##
19927 ## ----------------------------------------- ##
19928 _ASBOX
19929     ) |
19930       sed "s/^/$as_me: WARNING:     /" >&2
19931     ;;
19932 esac
19933 echo "$as_me:$LINENO: checking for $ac_header" >&5
19934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19936   echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19938   eval "$as_ac_Header=\$ac_header_preproc"
19939 fi
19940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19942
19943 fi
19944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19945   cat >>confdefs.h <<_ACEOF
19946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19947 _ACEOF
19948  ac_has_fenv_h=yes
19949 else
19950   ac_has_fenv_h=no
19951 fi
19952
19953 done
19954
19955   ac_c99_fenv_tr1=no;
19956   if test x"$ac_has_fenv_h" = x"yes"; then
19957     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19958 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
19959     cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h.  */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h.  */
19965 #include <fenv.h>
19966 int
19967 main ()
19968 {
19969 int except, mode;
19970                     fexcept_t* pflag;
19971                     fenv_t* penv;
19972                     int ret;
19973                     ret = feclearexcept(except);
19974                     ret = fegetexceptflag(pflag, except);
19975                     ret = feraiseexcept(except);
19976                     ret = fesetexceptflag(pflag, except);
19977                     ret = fetestexcept(except);
19978                     ret = fegetround();
19979                     ret = fesetround(mode);
19980                     ret = fegetenv(penv);
19981                     ret = feholdexcept(penv);
19982                     ret = fesetenv(penv);
19983                     ret = feupdateenv(penv);
19984
19985   ;
19986   return 0;
19987 }
19988 _ACEOF
19989 rm -f conftest.$ac_objext
19990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19991   (eval $ac_compile) 2>conftest.er1
19992   ac_status=$?
19993   grep -v '^ *+' conftest.er1 >conftest.err
19994   rm -f conftest.er1
19995   cat conftest.err >&5
19996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997   (exit $ac_status); } &&
19998          { ac_try='test -z "$ac_cxx_werror_flag"
19999                          || test ! -s conftest.err'
20000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001   (eval $ac_try) 2>&5
20002   ac_status=$?
20003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004   (exit $ac_status); }; } &&
20005          { ac_try='test -s conftest.$ac_objext'
20006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007   (eval $ac_try) 2>&5
20008   ac_status=$?
20009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010   (exit $ac_status); }; }; then
20011   ac_c99_fenv_tr1=yes
20012 else
20013   echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20015
20016 ac_c99_fenv_tr1=no
20017 fi
20018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019   fi
20020   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20021 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20022   if test x"$ac_c99_fenv_tr1" = x"yes"; then
20023
20024 cat >>confdefs.h <<\_ACEOF
20025 #define _GLIBCXX_USE_C99_FENV_TR1 1
20026 _ACEOF
20027
20028   fi
20029
20030   # Check for the existence of <stdint.h> types.
20031   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20032 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20033   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20034   echo $ECHO_N "(cached) $ECHO_C" >&6
20035 else
20036
20037   cat >conftest.$ac_ext <<_ACEOF
20038 /* confdefs.h.  */
20039 _ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h.  */
20043 #define __STDC_LIMIT_MACROS
20044                   #define __STDC_CONSTANT_MACROS
20045                   #include <stdint.h>
20046 int
20047 main ()
20048 {
20049 typedef int8_t          my_int8_t;
20050                   my_int8_t               i8 = INT8_MIN;
20051                   i8 = INT8_MAX;
20052                   typedef int16_t         my_int16_t;
20053                   my_int16_t              i16 = INT16_MIN;
20054                   i16 = INT16_MAX;
20055                   typedef int32_t         my_int32_t;
20056                   my_int32_t              i32 = INT32_MIN;
20057                   i32 = INT32_MAX;
20058                   typedef int64_t         my_int64_t;
20059                   my_int64_t              i64 = INT64_MIN;
20060                   i64 = INT64_MAX;
20061                   typedef int_fast8_t     my_int_fast8_t;
20062                   my_int_fast8_t          if8 = INT_FAST8_MIN;
20063                   if8 = INT_FAST8_MAX;
20064                   typedef int_fast16_t    my_int_fast16_t;
20065                   my_int_fast16_t         if16 = INT_FAST16_MIN;
20066                   if16 = INT_FAST16_MAX;
20067                   typedef int_fast32_t    my_int_fast32_t;
20068                   my_int_fast32_t         if32 = INT_FAST32_MIN;
20069                   if32 = INT_FAST32_MAX;
20070                   typedef int_fast64_t    my_int_fast64_t;
20071                   my_int_fast64_t         if64 = INT_FAST64_MIN;
20072                   if64 = INT_FAST64_MAX;
20073                   typedef int_least8_t    my_int_least8_t;
20074                   my_int_least8_t         il8 = INT_LEAST8_MIN;
20075                   il8 = INT_LEAST8_MAX;
20076                   typedef int_least16_t   my_int_least16_t;
20077                   my_int_least16_t        il16 = INT_LEAST16_MIN;
20078                   il16 = INT_LEAST16_MAX;
20079                   typedef int_least32_t   my_int_least32_t;
20080                   my_int_least32_t        il32 = INT_LEAST32_MIN;
20081                   il32 = INT_LEAST32_MAX;
20082                   typedef int_least64_t   my_int_least64_t;
20083                   my_int_least64_t        il64 = INT_LEAST64_MIN;
20084                   il64 = INT_LEAST64_MAX;
20085                   typedef intmax_t        my_intmax_t;
20086                   my_intmax_t             im = INTMAX_MAX;
20087                   im = INTMAX_MIN;
20088                   typedef intptr_t        my_intptr_t;
20089                   my_intptr_t             ip = INTPTR_MAX;
20090                   ip = INTPTR_MIN;
20091                   typedef uint8_t         my_uint8_t;
20092                   my_uint8_t              ui8 = UINT8_MAX;
20093                   ui8 = UINT8_MAX;
20094                   typedef uint16_t        my_uint16_t;
20095                   my_uint16_t             ui16 = UINT16_MAX;
20096                   ui16 = UINT16_MAX;
20097                   typedef uint32_t        my_uint32_t;
20098                   my_uint32_t             ui32 = UINT32_MAX;
20099                   ui32 = UINT32_MAX;
20100                   typedef uint64_t        my_uint64_t;
20101                   my_uint64_t             ui64 = UINT64_MAX;
20102                   ui64 = UINT64_MAX;
20103                   typedef uint_fast8_t    my_uint_fast8_t;
20104                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20105                   uif8 = UINT_FAST8_MAX;
20106                   typedef uint_fast16_t   my_uint_fast16_t;
20107                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20108                   uif16 = UINT_FAST16_MAX;
20109                   typedef uint_fast32_t   my_uint_fast32_t;
20110                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20111                   uif32 = UINT_FAST32_MAX;
20112                   typedef uint_fast64_t   my_uint_fast64_t;
20113                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20114                   uif64 = UINT_FAST64_MAX;
20115                   typedef uint_least8_t   my_uint_least8_t;
20116                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20117                   uil8 = UINT_LEAST8_MAX;
20118                   typedef uint_least16_t  my_uint_least16_t;
20119                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20120                   uil16 = UINT_LEAST16_MAX;
20121                   typedef uint_least32_t  my_uint_least32_t;
20122                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20123                   uil32 = UINT_LEAST32_MAX;
20124                   typedef uint_least64_t  my_uint_least64_t;
20125                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20126                   uil64 = UINT_LEAST64_MAX;
20127                   typedef uintmax_t       my_uintmax_t;
20128                   my_uintmax_t            uim = UINTMAX_MAX;
20129                   uim = UINTMAX_MAX;
20130                   typedef uintptr_t       my_uintptr_t;
20131                   my_uintptr_t            uip = UINTPTR_MAX;
20132                   uip = UINTPTR_MAX;
20133
20134   ;
20135   return 0;
20136 }
20137 _ACEOF
20138 rm -f conftest.$ac_objext
20139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20140   (eval $ac_compile) 2>conftest.er1
20141   ac_status=$?
20142   grep -v '^ *+' conftest.er1 >conftest.err
20143   rm -f conftest.er1
20144   cat conftest.err >&5
20145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146   (exit $ac_status); } &&
20147          { ac_try='test -z "$ac_cxx_werror_flag"
20148                          || test ! -s conftest.err'
20149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150   (eval $ac_try) 2>&5
20151   ac_status=$?
20152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153   (exit $ac_status); }; } &&
20154          { ac_try='test -s conftest.$ac_objext'
20155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156   (eval $ac_try) 2>&5
20157   ac_status=$?
20158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159   (exit $ac_status); }; }; then
20160   glibcxx_cv_c99_stdint_tr1=yes
20161 else
20162   echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20164
20165 glibcxx_cv_c99_stdint_tr1=no
20166 fi
20167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20168
20169 fi
20170
20171   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20172 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20173   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20174
20175 cat >>confdefs.h <<\_ACEOF
20176 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20177 _ACEOF
20178
20179   fi
20180
20181   # Check for the existence of <math.h> functions.
20182   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20183 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20184   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20185   echo $ECHO_N "(cached) $ECHO_C" >&6
20186 else
20187
20188   cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h.  */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h.  */
20194 #include <math.h>
20195 int
20196 main ()
20197 {
20198 typedef double_t  my_double_t;
20199                   typedef float_t   my_float_t;
20200                   acosh(0.0);
20201                   acoshf(0.0f);
20202                   acoshl(0.0l);
20203                   asinh(0.0);
20204                   asinhf(0.0f);
20205                   asinhl(0.0l);
20206                   atanh(0.0);
20207                   atanhf(0.0f);
20208                   atanhl(0.0l);
20209                   cbrt(0.0);
20210                   cbrtf(0.0f);
20211                   cbrtl(0.0l);
20212                   copysign(0.0, 0.0);
20213                   copysignf(0.0f, 0.0f);
20214                   copysignl(0.0l, 0.0l);
20215                   erf(0.0);
20216                   erff(0.0f);
20217                   erfl(0.0l);
20218                   erfc(0.0);
20219                   erfcf(0.0f);
20220                   erfcl(0.0l);
20221                   exp2(0.0);
20222                   exp2f(0.0f);
20223                   exp2l(0.0l);
20224                   expm1(0.0);
20225                   expm1f(0.0f);
20226                   expm1l(0.0l);
20227                   fdim(0.0, 0.0);
20228                   fdimf(0.0f, 0.0f);
20229                   fdiml(0.0l, 0.0l);
20230                   fma(0.0, 0.0, 0.0);
20231                   fmaf(0.0f, 0.0f, 0.0f);
20232                   fmal(0.0l, 0.0l, 0.0l);
20233                   fmax(0.0, 0.0);
20234                   fmaxf(0.0f, 0.0f);
20235                   fmaxl(0.0l, 0.0l);
20236                   fmin(0.0, 0.0);
20237                   fminf(0.0f, 0.0f);
20238                   fminl(0.0l, 0.0l);
20239                   hypot(0.0, 0.0);
20240                   hypotf(0.0f, 0.0f);
20241                   hypotl(0.0l, 0.0l);
20242                   ilogb(0.0);
20243                   ilogbf(0.0f);
20244                   ilogbl(0.0l);
20245                   lgamma(0.0);
20246                   lgammaf(0.0f);
20247                   lgammal(0.0l);
20248                   llrint(0.0);
20249                   llrintf(0.0f);
20250                   llrintl(0.0l);
20251                   llround(0.0);
20252                   llroundf(0.0f);
20253                   llroundl(0.0l);
20254                   log1p(0.0);
20255                   log1pf(0.0f);
20256                   log1pl(0.0l);
20257                   log2(0.0);
20258                   log2f(0.0f);
20259                   log2l(0.0l);
20260                   logb(0.0);
20261                   logbf(0.0f);
20262                   logbl(0.0l);
20263                   lrint(0.0);
20264                   lrintf(0.0f);
20265                   lrintl(0.0l);
20266                   lround(0.0);
20267                   lroundf(0.0f);
20268                   lroundl(0.0l);
20269                   nan(0);
20270                   nanf(0);
20271                   nanl(0);
20272                   nearbyint(0.0);
20273                   nearbyintf(0.0f);
20274                   nearbyintl(0.0l);
20275                   nextafter(0.0, 0.0);
20276                   nextafterf(0.0f, 0.0f);
20277                   nextafterl(0.0l, 0.0l);
20278                   nexttoward(0.0, 0.0);
20279                   nexttowardf(0.0f, 0.0f);
20280                   nexttowardl(0.0l, 0.0l);
20281                   remainder(0.0, 0.0);
20282                   remainderf(0.0f, 0.0f);
20283                   remainderl(0.0l, 0.0l);
20284                   remquo(0.0, 0.0, 0);
20285                   remquo(0.0f, 0.0f, 0);
20286                   remquo(0.0l, 0.0l, 0);
20287                   rint(0.0);
20288                   rintf(0.0f);
20289                   rintl(0.0l);
20290                   round(0.0);
20291                   roundf(0.0f);
20292                   roundl(0.0l);
20293                   scalbln(0.0, 0l);
20294                   scalblnf(0.0f, 0l);
20295                   scalblnl(0.0l, 0l);
20296                   scalbn(0.0, 0);
20297                   scalbnf(0.0f, 0);
20298                   scalbnl(0.0l, 0);
20299                   tgamma(0.0);
20300                   tgammaf(0.0f);
20301                   tgammal(0.0l);
20302                   trunc(0.0);
20303                   truncf(0.0f);
20304                   truncl(0.0l);
20305
20306   ;
20307   return 0;
20308 }
20309 _ACEOF
20310 rm -f conftest.$ac_objext
20311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20312   (eval $ac_compile) 2>conftest.er1
20313   ac_status=$?
20314   grep -v '^ *+' conftest.er1 >conftest.err
20315   rm -f conftest.er1
20316   cat conftest.err >&5
20317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318   (exit $ac_status); } &&
20319          { ac_try='test -z "$ac_cxx_werror_flag"
20320                          || test ! -s conftest.err'
20321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322   (eval $ac_try) 2>&5
20323   ac_status=$?
20324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325   (exit $ac_status); }; } &&
20326          { ac_try='test -s conftest.$ac_objext'
20327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328   (eval $ac_try) 2>&5
20329   ac_status=$?
20330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331   (exit $ac_status); }; }; then
20332   glibcxx_cv_c99_math_tr1=yes
20333 else
20334   echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20336
20337 glibcxx_cv_c99_math_tr1=no
20338 fi
20339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20340
20341 fi
20342
20343   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
20344 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
20345   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20346
20347 cat >>confdefs.h <<\_ACEOF
20348 #define _GLIBCXX_USE_C99_MATH_TR1 1
20349 _ACEOF
20350
20351   fi
20352
20353   # Check for the existence of <inttypes.h> functions (NB: doesn't make
20354   # sense if the previous check fails, per C99, 7.8/1).
20355   ac_c99_inttypes_tr1=no;
20356   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20357     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20358 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
20359     cat >conftest.$ac_ext <<_ACEOF
20360 /* confdefs.h.  */
20361 _ACEOF
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h.  */
20365 #include <inttypes.h>
20366 int
20367 main ()
20368 {
20369 intmax_t i, numer, denom, base;
20370                     const char* s;
20371                     char** endptr;
20372                     intmax_t ret = imaxabs(i);
20373                     imaxdiv_t dret = imaxdiv(numer, denom);
20374                     ret = strtoimax(s, endptr, base);
20375                     uintmax_t uret = strtoumax(s, endptr, base);
20376
20377   ;
20378   return 0;
20379 }
20380 _ACEOF
20381 rm -f conftest.$ac_objext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20383   (eval $ac_compile) 2>conftest.er1
20384   ac_status=$?
20385   grep -v '^ *+' conftest.er1 >conftest.err
20386   rm -f conftest.er1
20387   cat conftest.err >&5
20388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389   (exit $ac_status); } &&
20390          { ac_try='test -z "$ac_cxx_werror_flag"
20391                          || test ! -s conftest.err'
20392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393   (eval $ac_try) 2>&5
20394   ac_status=$?
20395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396   (exit $ac_status); }; } &&
20397          { ac_try='test -s conftest.$ac_objext'
20398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399   (eval $ac_try) 2>&5
20400   ac_status=$?
20401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402   (exit $ac_status); }; }; then
20403   ac_c99_inttypes_tr1=yes
20404 else
20405   echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 ac_c99_inttypes_tr1=no
20409 fi
20410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20411   fi
20412   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
20413 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
20414   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20415
20416 cat >>confdefs.h <<\_ACEOF
20417 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
20418 _ACEOF
20419
20420   fi
20421
20422   # Check for the existence of the <stdbool.h> header.
20423
20424 for ac_header in stdbool.h
20425 do
20426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20428   echo "$as_me:$LINENO: checking for $ac_header" >&5
20429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20431   echo $ECHO_N "(cached) $ECHO_C" >&6
20432 fi
20433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20435 else
20436   # Is the header compilable?
20437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20439 cat >conftest.$ac_ext <<_ACEOF
20440 /* confdefs.h.  */
20441 _ACEOF
20442 cat confdefs.h >>conftest.$ac_ext
20443 cat >>conftest.$ac_ext <<_ACEOF
20444 /* end confdefs.h.  */
20445 $ac_includes_default
20446 #include <$ac_header>
20447 _ACEOF
20448 rm -f conftest.$ac_objext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20450   (eval $ac_compile) 2>conftest.er1
20451   ac_status=$?
20452   grep -v '^ *+' conftest.er1 >conftest.err
20453   rm -f conftest.er1
20454   cat conftest.err >&5
20455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456   (exit $ac_status); } &&
20457          { ac_try='test -z "$ac_cxx_werror_flag"
20458                          || test ! -s conftest.err'
20459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460   (eval $ac_try) 2>&5
20461   ac_status=$?
20462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463   (exit $ac_status); }; } &&
20464          { ac_try='test -s conftest.$ac_objext'
20465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466   (eval $ac_try) 2>&5
20467   ac_status=$?
20468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469   (exit $ac_status); }; }; then
20470   ac_header_compiler=yes
20471 else
20472   echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_header_compiler=no
20476 fi
20477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20479 echo "${ECHO_T}$ac_header_compiler" >&6
20480
20481 # Is the header present?
20482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h.  */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h.  */
20490 #include <$ac_header>
20491 _ACEOF
20492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20493   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20494   ac_status=$?
20495   grep -v '^ *+' conftest.er1 >conftest.err
20496   rm -f conftest.er1
20497   cat conftest.err >&5
20498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499   (exit $ac_status); } >/dev/null; then
20500   if test -s conftest.err; then
20501     ac_cpp_err=$ac_cxx_preproc_warn_flag
20502     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20503   else
20504     ac_cpp_err=
20505   fi
20506 else
20507   ac_cpp_err=yes
20508 fi
20509 if test -z "$ac_cpp_err"; then
20510   ac_header_preproc=yes
20511 else
20512   echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20514
20515   ac_header_preproc=no
20516 fi
20517 rm -f conftest.err conftest.$ac_ext
20518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20519 echo "${ECHO_T}$ac_header_preproc" >&6
20520
20521 # So?  What about this header?
20522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20523   yes:no: )
20524     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20526     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20528     ac_header_preproc=yes
20529     ;;
20530   no:yes:* )
20531     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20533     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20534 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20535     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20537     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20538 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20539     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20541     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20543     (
20544       cat <<\_ASBOX
20545 ## ----------------------------------------- ##
20546 ## Report this to the package-unused lists.  ##
20547 ## ----------------------------------------- ##
20548 _ASBOX
20549     ) |
20550       sed "s/^/$as_me: WARNING:     /" >&2
20551     ;;
20552 esac
20553 echo "$as_me:$LINENO: checking for $ac_header" >&5
20554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20556   echo $ECHO_N "(cached) $ECHO_C" >&6
20557 else
20558   eval "$as_ac_Header=\$ac_header_preproc"
20559 fi
20560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20562
20563 fi
20564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20565   cat >>confdefs.h <<_ACEOF
20566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20567 _ACEOF
20568
20569 fi
20570
20571 done
20572
20573
20574   CXXFLAGS="$ac_save_CXXFLAGS"
20575   ac_ext=c
20576 ac_cpp='$CPP $CPPFLAGS'
20577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20580
20581
20582
20583 # For common values of EOF, SEEK_CUR, SEEK_END.
20584
20585
20586   echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
20587 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
20588   if test "${glibcxx_cv_stdio_macros+set}" = set; then
20589   echo $ECHO_N "(cached) $ECHO_C" >&6
20590 else
20591
20592   cat >conftest.$ac_ext <<_ACEOF
20593 /* confdefs.h.  */
20594 _ACEOF
20595 cat confdefs.h >>conftest.$ac_ext
20596 cat >>conftest.$ac_ext <<_ACEOF
20597 /* end confdefs.h.  */
20598 #include <stdio.h>
20599 int
20600 main ()
20601 {
20602 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
20603                     unusual values...
20604                   #endif
20605
20606   ;
20607   return 0;
20608 }
20609 _ACEOF
20610 rm -f conftest.$ac_objext
20611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20612   (eval $ac_compile) 2>conftest.er1
20613   ac_status=$?
20614   grep -v '^ *+' conftest.er1 >conftest.err
20615   rm -f conftest.er1
20616   cat conftest.err >&5
20617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618   (exit $ac_status); } &&
20619          { ac_try='test -z "$ac_c_werror_flag"
20620                          || test ! -s conftest.err'
20621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622   (eval $ac_try) 2>&5
20623   ac_status=$?
20624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625   (exit $ac_status); }; } &&
20626          { ac_try='test -s conftest.$ac_objext'
20627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628   (eval $ac_try) 2>&5
20629   ac_status=$?
20630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631   (exit $ac_status); }; }; then
20632   glibcxx_cv_stdio_macros=yes
20633 else
20634   echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.$ac_ext >&5
20636
20637 glibcxx_cv_stdio_macros=no
20638 fi
20639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20640
20641 fi
20642
20643   echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
20644 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
20645   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
20646
20647 cat >>confdefs.h <<\_ACEOF
20648 #define _GLIBCXX_STDIO_MACROS 1
20649 _ACEOF
20650
20651   fi
20652
20653
20654
20655 # For gettimeofday support.
20656
20657
20658   echo "$as_me:$LINENO: checking for gettimeofday" >&5
20659 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
20660
20661
20662
20663   ac_ext=cc
20664 ac_cpp='$CXXCPP $CPPFLAGS'
20665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20668
20669   ac_save_CXXFLAGS="$CXXFLAGS"
20670   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20671
20672   ac_has_gettimeofday=no;
20673
20674 for ac_header in sys/time.h
20675 do
20676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20678   echo "$as_me:$LINENO: checking for $ac_header" >&5
20679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20681   echo $ECHO_N "(cached) $ECHO_C" >&6
20682 fi
20683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20685 else
20686   # Is the header compilable?
20687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h.  */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h.  */
20695 $ac_includes_default
20696 #include <$ac_header>
20697 _ACEOF
20698 rm -f conftest.$ac_objext
20699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20700   (eval $ac_compile) 2>conftest.er1
20701   ac_status=$?
20702   grep -v '^ *+' conftest.er1 >conftest.err
20703   rm -f conftest.er1
20704   cat conftest.err >&5
20705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706   (exit $ac_status); } &&
20707          { ac_try='test -z "$ac_cxx_werror_flag"
20708                          || test ! -s conftest.err'
20709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710   (eval $ac_try) 2>&5
20711   ac_status=$?
20712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713   (exit $ac_status); }; } &&
20714          { ac_try='test -s conftest.$ac_objext'
20715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716   (eval $ac_try) 2>&5
20717   ac_status=$?
20718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719   (exit $ac_status); }; }; then
20720   ac_header_compiler=yes
20721 else
20722   echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20724
20725 ac_header_compiler=no
20726 fi
20727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20729 echo "${ECHO_T}$ac_header_compiler" >&6
20730
20731 # Is the header present?
20732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h.  */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h.  */
20740 #include <$ac_header>
20741 _ACEOF
20742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20743   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20744   ac_status=$?
20745   grep -v '^ *+' conftest.er1 >conftest.err
20746   rm -f conftest.er1
20747   cat conftest.err >&5
20748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749   (exit $ac_status); } >/dev/null; then
20750   if test -s conftest.err; then
20751     ac_cpp_err=$ac_cxx_preproc_warn_flag
20752     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20753   else
20754     ac_cpp_err=
20755   fi
20756 else
20757   ac_cpp_err=yes
20758 fi
20759 if test -z "$ac_cpp_err"; then
20760   ac_header_preproc=yes
20761 else
20762   echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20764
20765   ac_header_preproc=no
20766 fi
20767 rm -f conftest.err conftest.$ac_ext
20768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20769 echo "${ECHO_T}$ac_header_preproc" >&6
20770
20771 # So?  What about this header?
20772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20773   yes:no: )
20774     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20776     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20778     ac_header_preproc=yes
20779     ;;
20780   no:yes:* )
20781     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20783     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20784 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20785     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20787     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20788 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20789     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20791     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20793     (
20794       cat <<\_ASBOX
20795 ## ----------------------------------------- ##
20796 ## Report this to the package-unused lists.  ##
20797 ## ----------------------------------------- ##
20798 _ASBOX
20799     ) |
20800       sed "s/^/$as_me: WARNING:     /" >&2
20801     ;;
20802 esac
20803 echo "$as_me:$LINENO: checking for $ac_header" >&5
20804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20806   echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808   eval "$as_ac_Header=\$ac_header_preproc"
20809 fi
20810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20812
20813 fi
20814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20815   cat >>confdefs.h <<_ACEOF
20816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20817 _ACEOF
20818  ac_has_sys_time_h=yes
20819 else
20820   ac_has_sys_time_h=no
20821 fi
20822
20823 done
20824
20825   if test x"$ac_has_sys_time_h" = x"yes"; then
20826     echo "$as_me:$LINENO: checking for gettimeofday" >&5
20827 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
20828     if test x$gcc_no_link = xyes; then
20829   cat >conftest.$ac_ext <<_ACEOF
20830 /* confdefs.h.  */
20831 _ACEOF
20832 cat confdefs.h >>conftest.$ac_ext
20833 cat >>conftest.$ac_ext <<_ACEOF
20834 /* end confdefs.h.  */
20835 #include <sys/time.h>
20836 int
20837 main ()
20838 {
20839 timeval tv; gettimeofday(&tv, 0);
20840   ;
20841   return 0;
20842 }
20843 _ACEOF
20844 rm -f conftest.$ac_objext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846   (eval $ac_compile) 2>conftest.er1
20847   ac_status=$?
20848   grep -v '^ *+' conftest.er1 >conftest.err
20849   rm -f conftest.er1
20850   cat conftest.err >&5
20851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852   (exit $ac_status); } &&
20853          { ac_try='test -z "$ac_cxx_werror_flag"
20854                          || test ! -s conftest.err'
20855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856   (eval $ac_try) 2>&5
20857   ac_status=$?
20858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859   (exit $ac_status); }; } &&
20860          { ac_try='test -s conftest.$ac_objext'
20861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862   (eval $ac_try) 2>&5
20863   ac_status=$?
20864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865   (exit $ac_status); }; }; then
20866   ac_has_gettimeofday=yes
20867 else
20868   echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20870
20871 ac_has_gettimeofday=no
20872 fi
20873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20874 else
20875   if test x$gcc_no_link = xyes; then
20876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20878    { (exit 1); exit 1; }; }
20879 fi
20880 cat >conftest.$ac_ext <<_ACEOF
20881 /* confdefs.h.  */
20882 _ACEOF
20883 cat confdefs.h >>conftest.$ac_ext
20884 cat >>conftest.$ac_ext <<_ACEOF
20885 /* end confdefs.h.  */
20886 #include <sys/time.h>
20887 int
20888 main ()
20889 {
20890 timeval tv; gettimeofday(&tv, 0);
20891   ;
20892   return 0;
20893 }
20894 _ACEOF
20895 rm -f conftest.$ac_objext conftest$ac_exeext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20897   (eval $ac_link) 2>conftest.er1
20898   ac_status=$?
20899   grep -v '^ *+' conftest.er1 >conftest.err
20900   rm -f conftest.er1
20901   cat conftest.err >&5
20902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903   (exit $ac_status); } &&
20904          { ac_try='test -z "$ac_cxx_werror_flag"
20905                          || test ! -s conftest.err'
20906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907   (eval $ac_try) 2>&5
20908   ac_status=$?
20909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910   (exit $ac_status); }; } &&
20911          { ac_try='test -s conftest$ac_exeext'
20912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913   (eval $ac_try) 2>&5
20914   ac_status=$?
20915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916   (exit $ac_status); }; }; then
20917   ac_has_gettimeofday=yes
20918 else
20919   echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20921
20922 ac_has_gettimeofday=no
20923 fi
20924 rm -f conftest.err conftest.$ac_objext \
20925       conftest$ac_exeext conftest.$ac_ext
20926 fi
20927
20928     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
20929 echo "${ECHO_T}$ac_has_gettimeofday" >&6
20930   fi
20931
20932   if test x"$ac_has_gettimeofday" = x"yes"; then
20933
20934 cat >>confdefs.h <<\_ACEOF
20935 #define _GLIBCXX_USE_GETTIMEOFDAY 1
20936 _ACEOF
20937
20938   fi
20939
20940   CXXFLAGS="$ac_save_CXXFLAGS"
20941   ac_ext=c
20942 ac_cpp='$CPP $CPPFLAGS'
20943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20946
20947
20948
20949 # For clock_gettime support.
20950 # NB: The default is [no], because otherwise it requires linking.
20951
20952
20953   echo "$as_me:$LINENO: checking for clock_gettime clocks" >&5
20954 echo $ECHO_N "checking for clock_gettime clocks... $ECHO_C" >&6
20955    # Check whether --enable-clock-gettime or --disable-clock-gettime was given.
20956 if test "${enable_clock_gettime+set}" = set; then
20957   enableval="$enable_clock_gettime"
20958
20959       case "$enableval" in
20960        yes|no|rt) ;;
20961        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clock-gettime" >&5
20962 echo "$as_me: error: Unknown argument to enable/disable clock-gettime" >&2;}
20963    { (exit 1); exit 1; }; } ;;
20964                           esac
20965
20966 else
20967   enable_clock_gettime=no
20968 fi;
20969
20970
20971
20972
20973   ac_ext=cc
20974 ac_cpp='$CXXCPP $CPPFLAGS'
20975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20978
20979   ac_save_CXXFLAGS="$CXXFLAGS"
20980   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20981   ac_save_LIBS="$LIBS"
20982
20983   ac_has_clock_monotonic=no;
20984   ac_has_clock_realtime=no;
20985
20986   if test x"$enable_clock_gettime" != x"no"; then
20987
20988     if test x"$enable_clock_gettime" = x"rt"; then
20989       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
20990 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
20991 if test "${ac_cv_search_clock_gettime+set}" = set; then
20992   echo $ECHO_N "(cached) $ECHO_C" >&6
20993 else
20994   ac_func_search_save_LIBS=$LIBS
20995 ac_cv_search_clock_gettime=no
20996 if test x$gcc_no_link = xyes; then
20997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20999    { (exit 1); exit 1; }; }
21000 fi
21001 cat >conftest.$ac_ext <<_ACEOF
21002 /* confdefs.h.  */
21003 _ACEOF
21004 cat confdefs.h >>conftest.$ac_ext
21005 cat >>conftest.$ac_ext <<_ACEOF
21006 /* end confdefs.h.  */
21007
21008 /* Override any gcc2 internal prototype to avoid an error.  */
21009 #ifdef __cplusplus
21010 extern "C"
21011 #endif
21012 /* We use char because int might match the return type of a gcc2
21013    builtin and then its argument prototype would still apply.  */
21014 char clock_gettime ();
21015 int
21016 main ()
21017 {
21018 clock_gettime ();
21019   ;
21020   return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext conftest$ac_exeext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21025   (eval $ac_link) 2>conftest.er1
21026   ac_status=$?
21027   grep -v '^ *+' conftest.er1 >conftest.err
21028   rm -f conftest.er1
21029   cat conftest.err >&5
21030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031   (exit $ac_status); } &&
21032          { ac_try='test -z "$ac_cxx_werror_flag"
21033                          || test ! -s conftest.err'
21034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035   (eval $ac_try) 2>&5
21036   ac_status=$?
21037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038   (exit $ac_status); }; } &&
21039          { ac_try='test -s conftest$ac_exeext'
21040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21041   (eval $ac_try) 2>&5
21042   ac_status=$?
21043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044   (exit $ac_status); }; }; then
21045   ac_cv_search_clock_gettime="none required"
21046 else
21047   echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 fi
21051 rm -f conftest.err conftest.$ac_objext \
21052       conftest$ac_exeext conftest.$ac_ext
21053 if test "$ac_cv_search_clock_gettime" = no; then
21054   for ac_lib in rt posix4; do
21055     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21056     if test x$gcc_no_link = xyes; then
21057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21059    { (exit 1); exit 1; }; }
21060 fi
21061 cat >conftest.$ac_ext <<_ACEOF
21062 /* confdefs.h.  */
21063 _ACEOF
21064 cat confdefs.h >>conftest.$ac_ext
21065 cat >>conftest.$ac_ext <<_ACEOF
21066 /* end confdefs.h.  */
21067
21068 /* Override any gcc2 internal prototype to avoid an error.  */
21069 #ifdef __cplusplus
21070 extern "C"
21071 #endif
21072 /* We use char because int might match the return type of a gcc2
21073    builtin and then its argument prototype would still apply.  */
21074 char clock_gettime ();
21075 int
21076 main ()
21077 {
21078 clock_gettime ();
21079   ;
21080   return 0;
21081 }
21082 _ACEOF
21083 rm -f conftest.$ac_objext conftest$ac_exeext
21084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21085   (eval $ac_link) 2>conftest.er1
21086   ac_status=$?
21087   grep -v '^ *+' conftest.er1 >conftest.err
21088   rm -f conftest.er1
21089   cat conftest.err >&5
21090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21091   (exit $ac_status); } &&
21092          { ac_try='test -z "$ac_cxx_werror_flag"
21093                          || test ! -s conftest.err'
21094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095   (eval $ac_try) 2>&5
21096   ac_status=$?
21097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098   (exit $ac_status); }; } &&
21099          { ac_try='test -s conftest$ac_exeext'
21100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101   (eval $ac_try) 2>&5
21102   ac_status=$?
21103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104   (exit $ac_status); }; }; then
21105   ac_cv_search_clock_gettime="-l$ac_lib"
21106 break
21107 else
21108   echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 fi
21112 rm -f conftest.err conftest.$ac_objext \
21113       conftest$ac_exeext conftest.$ac_ext
21114   done
21115 fi
21116 LIBS=$ac_func_search_save_LIBS
21117 fi
21118 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21119 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21120 if test "$ac_cv_search_clock_gettime" != no; then
21121   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21122
21123 fi
21124
21125     else
21126       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21127 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21128 if test "${ac_cv_search_clock_gettime+set}" = set; then
21129   echo $ECHO_N "(cached) $ECHO_C" >&6
21130 else
21131   ac_func_search_save_LIBS=$LIBS
21132 ac_cv_search_clock_gettime=no
21133 if test x$gcc_no_link = xyes; then
21134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21136    { (exit 1); exit 1; }; }
21137 fi
21138 cat >conftest.$ac_ext <<_ACEOF
21139 /* confdefs.h.  */
21140 _ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h.  */
21144
21145 /* Override any gcc2 internal prototype to avoid an error.  */
21146 #ifdef __cplusplus
21147 extern "C"
21148 #endif
21149 /* We use char because int might match the return type of a gcc2
21150    builtin and then its argument prototype would still apply.  */
21151 char clock_gettime ();
21152 int
21153 main ()
21154 {
21155 clock_gettime ();
21156   ;
21157   return 0;
21158 }
21159 _ACEOF
21160 rm -f conftest.$ac_objext conftest$ac_exeext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21162   (eval $ac_link) 2>conftest.er1
21163   ac_status=$?
21164   grep -v '^ *+' conftest.er1 >conftest.err
21165   rm -f conftest.er1
21166   cat conftest.err >&5
21167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168   (exit $ac_status); } &&
21169          { ac_try='test -z "$ac_cxx_werror_flag"
21170                          || test ! -s conftest.err'
21171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172   (eval $ac_try) 2>&5
21173   ac_status=$?
21174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175   (exit $ac_status); }; } &&
21176          { ac_try='test -s conftest$ac_exeext'
21177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21178   (eval $ac_try) 2>&5
21179   ac_status=$?
21180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181   (exit $ac_status); }; }; then
21182   ac_cv_search_clock_gettime="none required"
21183 else
21184   echo "$as_me: failed program was:" >&5
21185 sed 's/^/| /' conftest.$ac_ext >&5
21186
21187 fi
21188 rm -f conftest.err conftest.$ac_objext \
21189       conftest$ac_exeext conftest.$ac_ext
21190 if test "$ac_cv_search_clock_gettime" = no; then
21191   for ac_lib in posix4; do
21192     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21193     if test x$gcc_no_link = xyes; then
21194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21196    { (exit 1); exit 1; }; }
21197 fi
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h.  */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h.  */
21204
21205 /* Override any gcc2 internal prototype to avoid an error.  */
21206 #ifdef __cplusplus
21207 extern "C"
21208 #endif
21209 /* We use char because int might match the return type of a gcc2
21210    builtin and then its argument prototype would still apply.  */
21211 char clock_gettime ();
21212 int
21213 main ()
21214 {
21215 clock_gettime ();
21216   ;
21217   return 0;
21218 }
21219 _ACEOF
21220 rm -f conftest.$ac_objext conftest$ac_exeext
21221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21222   (eval $ac_link) 2>conftest.er1
21223   ac_status=$?
21224   grep -v '^ *+' conftest.er1 >conftest.err
21225   rm -f conftest.er1
21226   cat conftest.err >&5
21227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228   (exit $ac_status); } &&
21229          { ac_try='test -z "$ac_cxx_werror_flag"
21230                          || test ! -s conftest.err'
21231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232   (eval $ac_try) 2>&5
21233   ac_status=$?
21234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235   (exit $ac_status); }; } &&
21236          { ac_try='test -s conftest$ac_exeext'
21237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238   (eval $ac_try) 2>&5
21239   ac_status=$?
21240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241   (exit $ac_status); }; }; then
21242   ac_cv_search_clock_gettime="-l$ac_lib"
21243 break
21244 else
21245   echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 fi
21249 rm -f conftest.err conftest.$ac_objext \
21250       conftest$ac_exeext conftest.$ac_ext
21251   done
21252 fi
21253 LIBS=$ac_func_search_save_LIBS
21254 fi
21255 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21256 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21257 if test "$ac_cv_search_clock_gettime" != no; then
21258   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21259
21260 fi
21261
21262     fi
21263
21264     case "$ac_cv_search_clock_gettime" in
21265       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21266     esac
21267
21268
21269 for ac_header in unistd.h
21270 do
21271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21273   echo "$as_me:$LINENO: checking for $ac_header" >&5
21274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21276   echo $ECHO_N "(cached) $ECHO_C" >&6
21277 fi
21278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21280 else
21281   # Is the header compilable?
21282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21284 cat >conftest.$ac_ext <<_ACEOF
21285 /* confdefs.h.  */
21286 _ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h.  */
21290 $ac_includes_default
21291 #include <$ac_header>
21292 _ACEOF
21293 rm -f conftest.$ac_objext
21294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21295   (eval $ac_compile) 2>conftest.er1
21296   ac_status=$?
21297   grep -v '^ *+' conftest.er1 >conftest.err
21298   rm -f conftest.er1
21299   cat conftest.err >&5
21300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301   (exit $ac_status); } &&
21302          { ac_try='test -z "$ac_cxx_werror_flag"
21303                          || test ! -s conftest.err'
21304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305   (eval $ac_try) 2>&5
21306   ac_status=$?
21307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308   (exit $ac_status); }; } &&
21309          { ac_try='test -s conftest.$ac_objext'
21310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311   (eval $ac_try) 2>&5
21312   ac_status=$?
21313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314   (exit $ac_status); }; }; then
21315   ac_header_compiler=yes
21316 else
21317   echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21319
21320 ac_header_compiler=no
21321 fi
21322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21324 echo "${ECHO_T}$ac_header_compiler" >&6
21325
21326 # Is the header present?
21327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h.  */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h.  */
21335 #include <$ac_header>
21336 _ACEOF
21337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21338   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21339   ac_status=$?
21340   grep -v '^ *+' conftest.er1 >conftest.err
21341   rm -f conftest.er1
21342   cat conftest.err >&5
21343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344   (exit $ac_status); } >/dev/null; then
21345   if test -s conftest.err; then
21346     ac_cpp_err=$ac_cxx_preproc_warn_flag
21347     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21348   else
21349     ac_cpp_err=
21350   fi
21351 else
21352   ac_cpp_err=yes
21353 fi
21354 if test -z "$ac_cpp_err"; then
21355   ac_header_preproc=yes
21356 else
21357   echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21359
21360   ac_header_preproc=no
21361 fi
21362 rm -f conftest.err conftest.$ac_ext
21363 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21364 echo "${ECHO_T}$ac_header_preproc" >&6
21365
21366 # So?  What about this header?
21367 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21368   yes:no: )
21369     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21370 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21371     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21372 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21373     ac_header_preproc=yes
21374     ;;
21375   no:yes:* )
21376     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21377 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21378     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21379 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21380     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21381 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21382     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21383 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21384     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21385 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21386     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21387 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21388     (
21389       cat <<\_ASBOX
21390 ## ----------------------------------------- ##
21391 ## Report this to the package-unused lists.  ##
21392 ## ----------------------------------------- ##
21393 _ASBOX
21394     ) |
21395       sed "s/^/$as_me: WARNING:     /" >&2
21396     ;;
21397 esac
21398 echo "$as_me:$LINENO: checking for $ac_header" >&5
21399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21401   echo $ECHO_N "(cached) $ECHO_C" >&6
21402 else
21403   eval "$as_ac_Header=\$ac_header_preproc"
21404 fi
21405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21407
21408 fi
21409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21410   cat >>confdefs.h <<_ACEOF
21411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21412 _ACEOF
21413  ac_has_unistd_h=yes
21414 else
21415   ac_has_unistd_h=no
21416 fi
21417
21418 done
21419
21420
21421     if test x"$ac_has_unistd_h" = x"yes"; then
21422       echo "$as_me:$LINENO: checking for monotonic clock" >&5
21423 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
21424       if test x$gcc_no_link = xyes; then
21425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21427    { (exit 1); exit 1; }; }
21428 fi
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h.  */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h.  */
21435 #include <unistd.h>
21436          #include <time.h>
21437
21438 int
21439 main ()
21440 {
21441 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21442           timespec tp;
21443          #endif
21444           clock_gettime(CLOCK_MONOTONIC, &tp);
21445
21446   ;
21447   return 0;
21448 }
21449 _ACEOF
21450 rm -f conftest.$ac_objext conftest$ac_exeext
21451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21452   (eval $ac_link) 2>conftest.er1
21453   ac_status=$?
21454   grep -v '^ *+' conftest.er1 >conftest.err
21455   rm -f conftest.er1
21456   cat conftest.err >&5
21457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458   (exit $ac_status); } &&
21459          { ac_try='test -z "$ac_cxx_werror_flag"
21460                          || test ! -s conftest.err'
21461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462   (eval $ac_try) 2>&5
21463   ac_status=$?
21464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465   (exit $ac_status); }; } &&
21466          { ac_try='test -s conftest$ac_exeext'
21467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21468   (eval $ac_try) 2>&5
21469   ac_status=$?
21470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471   (exit $ac_status); }; }; then
21472   ac_has_clock_monotonic=yes
21473 else
21474   echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.$ac_ext >&5
21476
21477 ac_has_clock_monotonic=no
21478 fi
21479 rm -f conftest.err conftest.$ac_objext \
21480       conftest$ac_exeext conftest.$ac_ext
21481
21482       echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
21483 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
21484
21485       echo "$as_me:$LINENO: checking for realtime clock" >&5
21486 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
21487       if test x$gcc_no_link = xyes; then
21488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21490    { (exit 1); exit 1; }; }
21491 fi
21492 cat >conftest.$ac_ext <<_ACEOF
21493 /* confdefs.h.  */
21494 _ACEOF
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h.  */
21498 #include <unistd.h>
21499          #include <time.h>
21500
21501 int
21502 main ()
21503 {
21504 #if _POSIX_TIMERS > 0
21505           timespec tp;
21506          #endif
21507           clock_gettime(CLOCK_REALTIME, &tp);
21508
21509   ;
21510   return 0;
21511 }
21512 _ACEOF
21513 rm -f conftest.$ac_objext conftest$ac_exeext
21514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21515   (eval $ac_link) 2>conftest.er1
21516   ac_status=$?
21517   grep -v '^ *+' conftest.er1 >conftest.err
21518   rm -f conftest.er1
21519   cat conftest.err >&5
21520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521   (exit $ac_status); } &&
21522          { ac_try='test -z "$ac_cxx_werror_flag"
21523                          || test ! -s conftest.err'
21524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525   (eval $ac_try) 2>&5
21526   ac_status=$?
21527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528   (exit $ac_status); }; } &&
21529          { ac_try='test -s conftest$ac_exeext'
21530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531   (eval $ac_try) 2>&5
21532   ac_status=$?
21533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534   (exit $ac_status); }; }; then
21535   ac_has_clock_realtime=yes
21536 else
21537   echo "$as_me: failed program was:" >&5
21538 sed 's/^/| /' conftest.$ac_ext >&5
21539
21540 ac_has_clock_realtime=no
21541 fi
21542 rm -f conftest.err conftest.$ac_objext \
21543       conftest$ac_exeext conftest.$ac_ext
21544
21545       echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
21546 echo "${ECHO_T}$ac_has_clock_realtime" >&6
21547     fi
21548
21549   fi
21550
21551   if test x"$ac_has_clock_monotonic" = x"yes"; then
21552
21553 cat >>confdefs.h <<\_ACEOF
21554 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
21555 _ACEOF
21556
21557   fi
21558
21559   if test x"$ac_has_clock_realtime" = x"yes"; then
21560
21561 cat >>confdefs.h <<\_ACEOF
21562 #define _GLIBCXX_USE_CLOCK_REALTIME 1
21563 _ACEOF
21564
21565   fi
21566
21567
21568
21569   CXXFLAGS="$ac_save_CXXFLAGS"
21570   LIBS="$ac_save_LIBS"
21571   ac_ext=c
21572 ac_cpp='$CPP $CPPFLAGS'
21573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21576
21577
21578
21579
21580   if test "${ac_cv_header_locale_h+set}" = set; then
21581   echo "$as_me:$LINENO: checking for locale.h" >&5
21582 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
21583 if test "${ac_cv_header_locale_h+set}" = set; then
21584   echo $ECHO_N "(cached) $ECHO_C" >&6
21585 fi
21586 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
21587 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
21588 else
21589   # Is the header compilable?
21590 echo "$as_me:$LINENO: checking locale.h usability" >&5
21591 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
21592 cat >conftest.$ac_ext <<_ACEOF
21593 /* confdefs.h.  */
21594 _ACEOF
21595 cat confdefs.h >>conftest.$ac_ext
21596 cat >>conftest.$ac_ext <<_ACEOF
21597 /* end confdefs.h.  */
21598 $ac_includes_default
21599 #include <locale.h>
21600 _ACEOF
21601 rm -f conftest.$ac_objext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21603   (eval $ac_compile) 2>conftest.er1
21604   ac_status=$?
21605   grep -v '^ *+' conftest.er1 >conftest.err
21606   rm -f conftest.er1
21607   cat conftest.err >&5
21608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609   (exit $ac_status); } &&
21610          { ac_try='test -z "$ac_c_werror_flag"
21611                          || test ! -s conftest.err'
21612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21613   (eval $ac_try) 2>&5
21614   ac_status=$?
21615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616   (exit $ac_status); }; } &&
21617          { ac_try='test -s conftest.$ac_objext'
21618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619   (eval $ac_try) 2>&5
21620   ac_status=$?
21621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622   (exit $ac_status); }; }; then
21623   ac_header_compiler=yes
21624 else
21625   echo "$as_me: failed program was:" >&5
21626 sed 's/^/| /' conftest.$ac_ext >&5
21627
21628 ac_header_compiler=no
21629 fi
21630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21632 echo "${ECHO_T}$ac_header_compiler" >&6
21633
21634 # Is the header present?
21635 echo "$as_me:$LINENO: checking locale.h presence" >&5
21636 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
21637 cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h.  */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h.  */
21643 #include <locale.h>
21644 _ACEOF
21645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21646   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
21653   if test -s conftest.err; then
21654     ac_cpp_err=$ac_c_preproc_warn_flag
21655     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21656   else
21657     ac_cpp_err=
21658   fi
21659 else
21660   ac_cpp_err=yes
21661 fi
21662 if test -z "$ac_cpp_err"; then
21663   ac_header_preproc=yes
21664 else
21665   echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668   ac_header_preproc=no
21669 fi
21670 rm -f conftest.err conftest.$ac_ext
21671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21672 echo "${ECHO_T}$ac_header_preproc" >&6
21673
21674 # So?  What about this header?
21675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21676   yes:no: )
21677     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
21678 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21679     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
21680 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
21681     ac_header_preproc=yes
21682     ;;
21683   no:yes:* )
21684     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
21685 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
21686     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
21687 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
21688     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
21689 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
21690     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
21691 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
21692     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
21693 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
21694     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
21695 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
21696     (
21697       cat <<\_ASBOX
21698 ## ----------------------------------------- ##
21699 ## Report this to the package-unused lists.  ##
21700 ## ----------------------------------------- ##
21701 _ASBOX
21702     ) |
21703       sed "s/^/$as_me: WARNING:     /" >&2
21704     ;;
21705 esac
21706 echo "$as_me:$LINENO: checking for locale.h" >&5
21707 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
21708 if test "${ac_cv_header_locale_h+set}" = set; then
21709   echo $ECHO_N "(cached) $ECHO_C" >&6
21710 else
21711   ac_cv_header_locale_h=$ac_header_preproc
21712 fi
21713 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
21714 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
21715
21716 fi
21717 if test $ac_cv_header_locale_h = yes; then
21718
21719     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21720 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
21721 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
21722   echo $ECHO_N "(cached) $ECHO_C" >&6
21723 else
21724   cat >conftest.$ac_ext <<_ACEOF
21725 /* confdefs.h.  */
21726 _ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h.  */
21730 #include <locale.h>
21731 int
21732 main ()
21733 {
21734 return LC_MESSAGES
21735   ;
21736   return 0;
21737 }
21738 _ACEOF
21739 rm -f conftest.$ac_objext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21741   (eval $ac_compile) 2>conftest.er1
21742   ac_status=$?
21743   grep -v '^ *+' conftest.er1 >conftest.err
21744   rm -f conftest.er1
21745   cat conftest.err >&5
21746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747   (exit $ac_status); } &&
21748          { ac_try='test -z "$ac_c_werror_flag"
21749                          || test ! -s conftest.err'
21750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751   (eval $ac_try) 2>&5
21752   ac_status=$?
21753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754   (exit $ac_status); }; } &&
21755          { ac_try='test -s conftest.$ac_objext'
21756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21757   (eval $ac_try) 2>&5
21758   ac_status=$?
21759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760   (exit $ac_status); }; }; then
21761   ac_cv_val_LC_MESSAGES=yes
21762 else
21763   echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_cv_val_LC_MESSAGES=no
21767 fi
21768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21769 fi
21770 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
21771 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
21772     if test $ac_cv_val_LC_MESSAGES = yes; then
21773
21774 cat >>confdefs.h <<\_ACEOF
21775 #define HAVE_LC_MESSAGES 1
21776 _ACEOF
21777
21778     fi
21779
21780 fi
21781
21782
21783
21784
21785 # Check for available headers.
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
21812 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21813 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21814 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21815 wchar.h wctype.h
21816 do
21817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21819   echo "$as_me:$LINENO: checking for $ac_header" >&5
21820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21822   echo $ECHO_N "(cached) $ECHO_C" >&6
21823 fi
21824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21826 else
21827   # Is the header compilable?
21828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21830 cat >conftest.$ac_ext <<_ACEOF
21831 /* confdefs.h.  */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h.  */
21836 $ac_includes_default
21837 #include <$ac_header>
21838 _ACEOF
21839 rm -f conftest.$ac_objext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21841   (eval $ac_compile) 2>conftest.er1
21842   ac_status=$?
21843   grep -v '^ *+' conftest.er1 >conftest.err
21844   rm -f conftest.er1
21845   cat conftest.err >&5
21846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847   (exit $ac_status); } &&
21848          { ac_try='test -z "$ac_c_werror_flag"
21849                          || test ! -s conftest.err'
21850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851   (eval $ac_try) 2>&5
21852   ac_status=$?
21853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854   (exit $ac_status); }; } &&
21855          { ac_try='test -s conftest.$ac_objext'
21856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857   (eval $ac_try) 2>&5
21858   ac_status=$?
21859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860   (exit $ac_status); }; }; then
21861   ac_header_compiler=yes
21862 else
21863   echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 ac_header_compiler=no
21867 fi
21868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21870 echo "${ECHO_T}$ac_header_compiler" >&6
21871
21872 # Is the header present?
21873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21875 cat >conftest.$ac_ext <<_ACEOF
21876 /* confdefs.h.  */
21877 _ACEOF
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h.  */
21881 #include <$ac_header>
21882 _ACEOF
21883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21884   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21885   ac_status=$?
21886   grep -v '^ *+' conftest.er1 >conftest.err
21887   rm -f conftest.er1
21888   cat conftest.err >&5
21889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890   (exit $ac_status); } >/dev/null; then
21891   if test -s conftest.err; then
21892     ac_cpp_err=$ac_c_preproc_warn_flag
21893     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21894   else
21895     ac_cpp_err=
21896   fi
21897 else
21898   ac_cpp_err=yes
21899 fi
21900 if test -z "$ac_cpp_err"; then
21901   ac_header_preproc=yes
21902 else
21903   echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906   ac_header_preproc=no
21907 fi
21908 rm -f conftest.err conftest.$ac_ext
21909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21910 echo "${ECHO_T}$ac_header_preproc" >&6
21911
21912 # So?  What about this header?
21913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21914   yes:no: )
21915     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21917     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21918 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21919     ac_header_preproc=yes
21920     ;;
21921   no:yes:* )
21922     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21924     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21925 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21926     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21927 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21928     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21929 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21930     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21932     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21933 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21934     (
21935       cat <<\_ASBOX
21936 ## ----------------------------------------- ##
21937 ## Report this to the package-unused lists.  ##
21938 ## ----------------------------------------- ##
21939 _ASBOX
21940     ) |
21941       sed "s/^/$as_me: WARNING:     /" >&2
21942     ;;
21943 esac
21944 echo "$as_me:$LINENO: checking for $ac_header" >&5
21945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21947   echo $ECHO_N "(cached) $ECHO_C" >&6
21948 else
21949   eval "$as_ac_Header=\$ac_header_preproc"
21950 fi
21951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21953
21954 fi
21955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21956   cat >>confdefs.h <<_ACEOF
21957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21958 _ACEOF
21959
21960 fi
21961
21962 done
21963
21964
21965 # Only do link tests if native. Else, hardcode.
21966 if $GLIBCXX_IS_NATIVE; then
21967
21968   # We can do more elaborate tests that assume a working linker.
21969   CANADIAN=no
21970
21971
21972
21973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21974 if test "${with_gnu_ld+set}" = set; then
21975   withval="$with_gnu_ld"
21976   test "$withval" = no || with_gnu_ld=yes
21977 else
21978   with_gnu_ld=no
21979 fi;
21980 ac_prog=ld
21981 if test "$GCC" = yes; then
21982   # Check if gcc -print-prog-name=ld gives a path.
21983   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
21984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
21985   case $host in
21986   *-*-mingw*)
21987     # gcc leaves a trailing carriage return which upsets mingw
21988     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21989   *)
21990     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21991   esac
21992   case $ac_prog in
21993     # Accept absolute paths.
21994     [\\/]* | ?:[\\/]*)
21995       re_direlt='/[^/][^/]*/\.\./'
21996       # Canonicalize the pathname of ld
21997       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21998       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21999         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22000       done
22001       test -z "$LD" && LD="$ac_prog"
22002       ;;
22003   "")
22004     # If it fails, then pretend we aren't using GCC.
22005     ac_prog=ld
22006     ;;
22007   *)
22008     # If it is relative, then search for the first ld in PATH.
22009     with_gnu_ld=unknown
22010     ;;
22011   esac
22012 elif test "$with_gnu_ld" = yes; then
22013   echo "$as_me:$LINENO: checking for GNU ld" >&5
22014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
22015 else
22016   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
22017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
22018 fi
22019 if test "${lt_cv_path_LD+set}" = set; then
22020   echo $ECHO_N "(cached) $ECHO_C" >&6
22021 else
22022   if test -z "$LD"; then
22023   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22024   for ac_dir in $PATH; do
22025     IFS="$lt_save_ifs"
22026     test -z "$ac_dir" && ac_dir=.
22027     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22028       lt_cv_path_LD="$ac_dir/$ac_prog"
22029       # Check to see if the program is GNU ld.  I'd rather use --version,
22030       # but apparently some variants of GNU ld only accept -v.
22031       # Break only if it was the GNU/non-GNU ld that we prefer.
22032       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22033       *GNU* | *'with BFD'*)
22034         test "$with_gnu_ld" != no && break
22035         ;;
22036       *)
22037         test "$with_gnu_ld" != yes && break
22038         ;;
22039       esac
22040     fi
22041   done
22042   IFS="$lt_save_ifs"
22043 else
22044   lt_cv_path_LD="$LD" # Let the user override the test with a path.
22045 fi
22046 fi
22047
22048 LD="$lt_cv_path_LD"
22049 if test -n "$LD"; then
22050   echo "$as_me:$LINENO: result: $LD" >&5
22051 echo "${ECHO_T}$LD" >&6
22052 else
22053   echo "$as_me:$LINENO: result: no" >&5
22054 echo "${ECHO_T}no" >&6
22055 fi
22056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
22057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
22058    { (exit 1); exit 1; }; }
22059 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
22060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
22061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
22062   echo $ECHO_N "(cached) $ECHO_C" >&6
22063 else
22064   # I'd rather use --version here, but apparently some GNU lds only accept -v.
22065 case `$LD -v 2>&1 </dev/null` in
22066 *GNU* | *'with BFD'*)
22067   lt_cv_prog_gnu_ld=yes
22068   ;;
22069 *)
22070   lt_cv_prog_gnu_ld=no
22071   ;;
22072 esac
22073 fi
22074 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
22075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
22076 with_gnu_ld=$lt_cv_prog_gnu_ld
22077
22078
22079
22080
22081
22082
22083
22084   # If we're not using GNU ld, then there's no point in even trying these
22085   # tests.  Check for that first.  We should have already tested for gld
22086   # by now (in libtool), but require it now just to be safe...
22087   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22088   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22089
22090
22091
22092   # The name set by libtool depends on the version of libtool.  Shame on us
22093   # for depending on an impl detail, but c'est la vie.  Older versions used
22094   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22095   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22096   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
22097   # set (hence we're using an older libtool), then set it.
22098   if test x${with_gnu_ld+set} != xset; then
22099     if test x${ac_cv_prog_gnu_ld+set} != xset; then
22100       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
22101       with_gnu_ld=no
22102     else
22103       with_gnu_ld=$ac_cv_prog_gnu_ld
22104     fi
22105   fi
22106
22107   # Start by getting the version number.  I think the libtool test already
22108   # does some of this, but throws away the result.
22109   glibcxx_ld_is_gold=no
22110   if test x"$with_gnu_ld" = x"yes"; then
22111     echo "$as_me:$LINENO: checking for ld version" >&5
22112 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
22113
22114     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22115       glibcxx_ld_is_gold=yes
22116     fi
22117     ldver=`$LD --version 2>/dev/null | head -1 | \
22118            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
22119
22120     glibcxx_gnu_ld_version=`echo $ldver | \
22121            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22122     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
22123 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
22124   fi
22125
22126   # Set --gc-sections.
22127   glibcxx_have_gc_sections=no
22128   if test "$glibcxx_ld_is_gold" = "yes"; then
22129     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22130       glibcxx_have_gc_sections=yes
22131     fi
22132   else
22133     glibcxx_gcsections_min_ld=21602
22134     if test x"$with_gnu_ld" = x"yes" &&
22135         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22136       glibcxx_have_gc_sections=yes
22137     fi
22138   fi
22139   if test "$glibcxx_have_gc_sections" = "yes"; then
22140     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
22141     # NB: This flag only works reliably after 2.16.1. Configure tests
22142     # for this are difficult, so hard wire a value that should work.
22143
22144     ac_test_CFLAGS="${CFLAGS+set}"
22145     ac_save_CFLAGS="$CFLAGS"
22146     CFLAGS='-Wl,--gc-sections'
22147
22148     # Check for -Wl,--gc-sections
22149     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
22150 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
22151     if test x$gcc_no_link = xyes; then
22152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22154    { (exit 1); exit 1; }; }
22155 fi
22156 cat >conftest.$ac_ext <<_ACEOF
22157 /* confdefs.h.  */
22158 _ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h.  */
22162  int one(void) { return 1; }
22163      int two(void) { return 2; }
22164
22165 int
22166 main ()
22167 {
22168  two();
22169   ;
22170   return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest.$ac_objext conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175   (eval $ac_link) 2>conftest.er1
22176   ac_status=$?
22177   grep -v '^ *+' conftest.er1 >conftest.err
22178   rm -f conftest.er1
22179   cat conftest.err >&5
22180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181   (exit $ac_status); } &&
22182          { ac_try='test -z "$ac_c_werror_flag"
22183                          || test ! -s conftest.err'
22184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185   (eval $ac_try) 2>&5
22186   ac_status=$?
22187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188   (exit $ac_status); }; } &&
22189          { ac_try='test -s conftest$ac_exeext'
22190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22191   (eval $ac_try) 2>&5
22192   ac_status=$?
22193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194   (exit $ac_status); }; }; then
22195   ac_gcsections=yes
22196 else
22197   echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 ac_gcsections=no
22201 fi
22202 rm -f conftest.err conftest.$ac_objext \
22203       conftest$ac_exeext conftest.$ac_ext
22204     if test "$ac_gcsections" = "yes"; then
22205       rm -f conftest.c
22206       touch conftest.c
22207       if $CC -c conftest.c; then
22208         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22209            grep "Warning: gc-sections option ignored" > /dev/null; then
22210           ac_gcsections=no
22211         fi
22212       fi
22213       rm -f conftest.c conftest.o conftest
22214     fi
22215     if test "$ac_gcsections" = "yes"; then
22216       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22217     fi
22218     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
22219 echo "${ECHO_T}$ac_gcsections" >&6
22220
22221     if test "$ac_test_CFLAGS" = set; then
22222       CFLAGS="$ac_save_CFLAGS"
22223     else
22224       # this is the suspicious part
22225       CFLAGS=''
22226     fi
22227   fi
22228
22229   # Set -z,relro.
22230   # Note this is only for shared objects.
22231   ac_ld_relro=no
22232   if test x"$with_gnu_ld" = x"yes"; then
22233     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
22234 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
22235     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22236     if test -n "$cxx_z_relo"; then
22237       OPT_LDFLAGS="-Wl,-z,relro"
22238       ac_ld_relro=yes
22239     fi
22240     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
22241 echo "${ECHO_T}$ac_ld_relro" >&6
22242   fi
22243
22244   # Set linker optimization flags.
22245   if test x"$with_gnu_ld" = x"yes"; then
22246     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22247   fi
22248
22249
22250
22251
22252
22253   ac_test_CXXFLAGS="${CXXFLAGS+set}"
22254   ac_save_CXXFLAGS="$CXXFLAGS"
22255   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22256
22257     echo "$as_me:$LINENO: checking for sin in -lm" >&5
22258 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
22259 if test "${ac_cv_lib_m_sin+set}" = set; then
22260   echo $ECHO_N "(cached) $ECHO_C" >&6
22261 else
22262   ac_check_lib_save_LIBS=$LIBS
22263 LIBS="-lm  $LIBS"
22264 if test x$gcc_no_link = xyes; then
22265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22267    { (exit 1); exit 1; }; }
22268 fi
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h.  */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h.  */
22275
22276 /* Override any gcc2 internal prototype to avoid an error.  */
22277 #ifdef __cplusplus
22278 extern "C"
22279 #endif
22280 /* We use char because int might match the return type of a gcc2
22281    builtin and then its argument prototype would still apply.  */
22282 char sin ();
22283 int
22284 main ()
22285 {
22286 sin ();
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 rm -f conftest.$ac_objext conftest$ac_exeext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22293   (eval $ac_link) 2>conftest.er1
22294   ac_status=$?
22295   grep -v '^ *+' conftest.er1 >conftest.err
22296   rm -f conftest.er1
22297   cat conftest.err >&5
22298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299   (exit $ac_status); } &&
22300          { ac_try='test -z "$ac_c_werror_flag"
22301                          || test ! -s conftest.err'
22302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303   (eval $ac_try) 2>&5
22304   ac_status=$?
22305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306   (exit $ac_status); }; } &&
22307          { ac_try='test -s conftest$ac_exeext'
22308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309   (eval $ac_try) 2>&5
22310   ac_status=$?
22311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312   (exit $ac_status); }; }; then
22313   ac_cv_lib_m_sin=yes
22314 else
22315   echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22317
22318 ac_cv_lib_m_sin=no
22319 fi
22320 rm -f conftest.err conftest.$ac_objext \
22321       conftest$ac_exeext conftest.$ac_ext
22322 LIBS=$ac_check_lib_save_LIBS
22323 fi
22324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
22325 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
22326 if test $ac_cv_lib_m_sin = yes; then
22327   libm="-lm"
22328 fi
22329
22330   ac_save_LIBS="$LIBS"
22331   LIBS="$LIBS $libm"
22332
22333
22334
22335   echo "$as_me:$LINENO: checking for isinf declaration" >&5
22336 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
22337   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22338     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
22339   echo $ECHO_N "(cached) $ECHO_C" >&6
22340 else
22341
22342
22343
22344       ac_ext=cc
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350       cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h.  */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h.  */
22356 #include <math.h>
22357                       #ifdef HAVE_IEEEFP_H
22358                       #include <ieeefp.h>
22359                       #endif
22360
22361 int
22362 main ()
22363 {
22364  isinf(0);
22365   ;
22366   return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest.$ac_objext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22371   (eval $ac_compile) 2>conftest.er1
22372   ac_status=$?
22373   grep -v '^ *+' conftest.er1 >conftest.err
22374   rm -f conftest.er1
22375   cat conftest.err >&5
22376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377   (exit $ac_status); } &&
22378          { ac_try='test -z "$ac_cxx_werror_flag"
22379                          || test ! -s conftest.err'
22380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381   (eval $ac_try) 2>&5
22382   ac_status=$?
22383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384   (exit $ac_status); }; } &&
22385          { ac_try='test -s conftest.$ac_objext'
22386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387   (eval $ac_try) 2>&5
22388   ac_status=$?
22389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390   (exit $ac_status); }; }; then
22391   glibcxx_cv_func_isinf_use=yes
22392 else
22393   echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22395
22396 glibcxx_cv_func_isinf_use=no
22397 fi
22398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22399       ac_ext=c
22400 ac_cpp='$CPP $CPPFLAGS'
22401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404
22405
22406 fi
22407
22408   fi
22409   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
22410 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
22411
22412   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22413
22414 for ac_func in isinf
22415 do
22416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22417 echo "$as_me:$LINENO: checking for $ac_func" >&5
22418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22419 if eval "test \"\${$as_ac_var+set}\" = set"; then
22420   echo $ECHO_N "(cached) $ECHO_C" >&6
22421 else
22422   if test x$gcc_no_link = xyes; then
22423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22425    { (exit 1); exit 1; }; }
22426 fi
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h.  */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h.  */
22433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22435 #define $ac_func innocuous_$ac_func
22436
22437 /* System header to define __stub macros and hopefully few prototypes,
22438     which can conflict with char $ac_func (); below.
22439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22440     <limits.h> exists even on freestanding compilers.  */
22441
22442 #ifdef __STDC__
22443 # include <limits.h>
22444 #else
22445 # include <assert.h>
22446 #endif
22447
22448 #undef $ac_func
22449
22450 /* Override any gcc2 internal prototype to avoid an error.  */
22451 #ifdef __cplusplus
22452 extern "C"
22453 {
22454 #endif
22455 /* We use char because int might match the return type of a gcc2
22456    builtin and then its argument prototype would still apply.  */
22457 char $ac_func ();
22458 /* The GNU C library defines this for functions which it implements
22459     to always fail with ENOSYS.  Some functions are actually named
22460     something starting with __ and the normal name is an alias.  */
22461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22462 choke me
22463 #else
22464 char (*f) () = $ac_func;
22465 #endif
22466 #ifdef __cplusplus
22467 }
22468 #endif
22469
22470 int
22471 main ()
22472 {
22473 return f != $ac_func;
22474   ;
22475   return 0;
22476 }
22477 _ACEOF
22478 rm -f conftest.$ac_objext conftest$ac_exeext
22479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22480   (eval $ac_link) 2>conftest.er1
22481   ac_status=$?
22482   grep -v '^ *+' conftest.er1 >conftest.err
22483   rm -f conftest.er1
22484   cat conftest.err >&5
22485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486   (exit $ac_status); } &&
22487          { ac_try='test -z "$ac_c_werror_flag"
22488                          || test ! -s conftest.err'
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); }; } &&
22494          { ac_try='test -s conftest$ac_exeext'
22495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22496   (eval $ac_try) 2>&5
22497   ac_status=$?
22498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499   (exit $ac_status); }; }; then
22500   eval "$as_ac_var=yes"
22501 else
22502   echo "$as_me: failed program was:" >&5
22503 sed 's/^/| /' conftest.$ac_ext >&5
22504
22505 eval "$as_ac_var=no"
22506 fi
22507 rm -f conftest.err conftest.$ac_objext \
22508       conftest$ac_exeext conftest.$ac_ext
22509 fi
22510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22512 if test `eval echo '${'$as_ac_var'}'` = yes; then
22513   cat >>confdefs.h <<_ACEOF
22514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22515 _ACEOF
22516
22517 fi
22518 done
22519
22520   else
22521
22522   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
22523 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
22524   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22525     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
22526   echo $ECHO_N "(cached) $ECHO_C" >&6
22527 else
22528
22529
22530
22531       ac_ext=cc
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536
22537       cat >conftest.$ac_ext <<_ACEOF
22538 /* confdefs.h.  */
22539 _ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h.  */
22543 #include <math.h>
22544                       #ifdef HAVE_IEEEFP_H
22545                       #include <ieeefp.h>
22546                       #endif
22547
22548 int
22549 main ()
22550 {
22551  _isinf(0);
22552   ;
22553   return 0;
22554 }
22555 _ACEOF
22556 rm -f conftest.$ac_objext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22558   (eval $ac_compile) 2>conftest.er1
22559   ac_status=$?
22560   grep -v '^ *+' conftest.er1 >conftest.err
22561   rm -f conftest.er1
22562   cat conftest.err >&5
22563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564   (exit $ac_status); } &&
22565          { ac_try='test -z "$ac_cxx_werror_flag"
22566                          || test ! -s conftest.err'
22567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22568   (eval $ac_try) 2>&5
22569   ac_status=$?
22570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571   (exit $ac_status); }; } &&
22572          { ac_try='test -s conftest.$ac_objext'
22573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574   (eval $ac_try) 2>&5
22575   ac_status=$?
22576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577   (exit $ac_status); }; }; then
22578   glibcxx_cv_func__isinf_use=yes
22579 else
22580   echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22582
22583 glibcxx_cv_func__isinf_use=no
22584 fi
22585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22586       ac_ext=c
22587 ac_cpp='$CPP $CPPFLAGS'
22588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22591
22592
22593 fi
22594
22595   fi
22596   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
22597 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
22598
22599     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22600
22601 for ac_func in _isinf
22602 do
22603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22604 echo "$as_me:$LINENO: checking for $ac_func" >&5
22605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22606 if eval "test \"\${$as_ac_var+set}\" = set"; then
22607   echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609   if test x$gcc_no_link = xyes; then
22610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22612    { (exit 1); exit 1; }; }
22613 fi
22614 cat >conftest.$ac_ext <<_ACEOF
22615 /* confdefs.h.  */
22616 _ACEOF
22617 cat confdefs.h >>conftest.$ac_ext
22618 cat >>conftest.$ac_ext <<_ACEOF
22619 /* end confdefs.h.  */
22620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22622 #define $ac_func innocuous_$ac_func
22623
22624 /* System header to define __stub macros and hopefully few prototypes,
22625     which can conflict with char $ac_func (); below.
22626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22627     <limits.h> exists even on freestanding compilers.  */
22628
22629 #ifdef __STDC__
22630 # include <limits.h>
22631 #else
22632 # include <assert.h>
22633 #endif
22634
22635 #undef $ac_func
22636
22637 /* Override any gcc2 internal prototype to avoid an error.  */
22638 #ifdef __cplusplus
22639 extern "C"
22640 {
22641 #endif
22642 /* We use char because int might match the return type of a gcc2
22643    builtin and then its argument prototype would still apply.  */
22644 char $ac_func ();
22645 /* The GNU C library defines this for functions which it implements
22646     to always fail with ENOSYS.  Some functions are actually named
22647     something starting with __ and the normal name is an alias.  */
22648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22649 choke me
22650 #else
22651 char (*f) () = $ac_func;
22652 #endif
22653 #ifdef __cplusplus
22654 }
22655 #endif
22656
22657 int
22658 main ()
22659 {
22660 return f != $ac_func;
22661   ;
22662   return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext conftest$ac_exeext
22666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22667   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
22688 else
22689   echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22691
22692 eval "$as_ac_var=no"
22693 fi
22694 rm -f conftest.err conftest.$ac_objext \
22695       conftest$ac_exeext conftest.$ac_ext
22696 fi
22697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22699 if test `eval echo '${'$as_ac_var'}'` = yes; then
22700   cat >>confdefs.h <<_ACEOF
22701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22702 _ACEOF
22703
22704 fi
22705 done
22706
22707     fi
22708   fi
22709
22710
22711
22712
22713
22714
22715   echo "$as_me:$LINENO: checking for isnan declaration" >&5
22716 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
22717   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22718     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
22719   echo $ECHO_N "(cached) $ECHO_C" >&6
22720 else
22721
22722
22723
22724       ac_ext=cc
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729
22730       cat >conftest.$ac_ext <<_ACEOF
22731 /* confdefs.h.  */
22732 _ACEOF
22733 cat confdefs.h >>conftest.$ac_ext
22734 cat >>conftest.$ac_ext <<_ACEOF
22735 /* end confdefs.h.  */
22736 #include <math.h>
22737                       #ifdef HAVE_IEEEFP_H
22738                       #include <ieeefp.h>
22739                       #endif
22740
22741 int
22742 main ()
22743 {
22744  isnan(0);
22745   ;
22746   return 0;
22747 }
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22751   (eval $ac_compile) 2>conftest.er1
22752   ac_status=$?
22753   grep -v '^ *+' conftest.er1 >conftest.err
22754   rm -f conftest.er1
22755   cat conftest.err >&5
22756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757   (exit $ac_status); } &&
22758          { ac_try='test -z "$ac_cxx_werror_flag"
22759                          || test ! -s conftest.err'
22760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761   (eval $ac_try) 2>&5
22762   ac_status=$?
22763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764   (exit $ac_status); }; } &&
22765          { ac_try='test -s conftest.$ac_objext'
22766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767   (eval $ac_try) 2>&5
22768   ac_status=$?
22769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770   (exit $ac_status); }; }; then
22771   glibcxx_cv_func_isnan_use=yes
22772 else
22773   echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 glibcxx_cv_func_isnan_use=no
22777 fi
22778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22779       ac_ext=c
22780 ac_cpp='$CPP $CPPFLAGS'
22781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784
22785
22786 fi
22787
22788   fi
22789   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
22790 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
22791
22792   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22793
22794 for ac_func in isnan
22795 do
22796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22797 echo "$as_me:$LINENO: checking for $ac_func" >&5
22798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22799 if eval "test \"\${$as_ac_var+set}\" = set"; then
22800   echo $ECHO_N "(cached) $ECHO_C" >&6
22801 else
22802   if test x$gcc_no_link = xyes; then
22803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22805    { (exit 1); exit 1; }; }
22806 fi
22807 cat >conftest.$ac_ext <<_ACEOF
22808 /* confdefs.h.  */
22809 _ACEOF
22810 cat confdefs.h >>conftest.$ac_ext
22811 cat >>conftest.$ac_ext <<_ACEOF
22812 /* end confdefs.h.  */
22813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22815 #define $ac_func innocuous_$ac_func
22816
22817 /* System header to define __stub macros and hopefully few prototypes,
22818     which can conflict with char $ac_func (); below.
22819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22820     <limits.h> exists even on freestanding compilers.  */
22821
22822 #ifdef __STDC__
22823 # include <limits.h>
22824 #else
22825 # include <assert.h>
22826 #endif
22827
22828 #undef $ac_func
22829
22830 /* Override any gcc2 internal prototype to avoid an error.  */
22831 #ifdef __cplusplus
22832 extern "C"
22833 {
22834 #endif
22835 /* We use char because int might match the return type of a gcc2
22836    builtin and then its argument prototype would still apply.  */
22837 char $ac_func ();
22838 /* The GNU C library defines this for functions which it implements
22839     to always fail with ENOSYS.  Some functions are actually named
22840     something starting with __ and the normal name is an alias.  */
22841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22842 choke me
22843 #else
22844 char (*f) () = $ac_func;
22845 #endif
22846 #ifdef __cplusplus
22847 }
22848 #endif
22849
22850 int
22851 main ()
22852 {
22853 return f != $ac_func;
22854   ;
22855   return 0;
22856 }
22857 _ACEOF
22858 rm -f conftest.$ac_objext conftest$ac_exeext
22859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22860   (eval $ac_link) 2>conftest.er1
22861   ac_status=$?
22862   grep -v '^ *+' conftest.er1 >conftest.err
22863   rm -f conftest.er1
22864   cat conftest.err >&5
22865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866   (exit $ac_status); } &&
22867          { ac_try='test -z "$ac_c_werror_flag"
22868                          || test ! -s conftest.err'
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); }; } &&
22874          { ac_try='test -s conftest$ac_exeext'
22875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876   (eval $ac_try) 2>&5
22877   ac_status=$?
22878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879   (exit $ac_status); }; }; then
22880   eval "$as_ac_var=yes"
22881 else
22882   echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.$ac_ext >&5
22884
22885 eval "$as_ac_var=no"
22886 fi
22887 rm -f conftest.err conftest.$ac_objext \
22888       conftest$ac_exeext conftest.$ac_ext
22889 fi
22890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22892 if test `eval echo '${'$as_ac_var'}'` = yes; then
22893   cat >>confdefs.h <<_ACEOF
22894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22895 _ACEOF
22896
22897 fi
22898 done
22899
22900   else
22901
22902   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
22903 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
22904   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22905     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
22906   echo $ECHO_N "(cached) $ECHO_C" >&6
22907 else
22908
22909
22910
22911       ac_ext=cc
22912 ac_cpp='$CXXCPP $CPPFLAGS'
22913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22916
22917       cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h.  */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h.  */
22923 #include <math.h>
22924                       #ifdef HAVE_IEEEFP_H
22925                       #include <ieeefp.h>
22926                       #endif
22927
22928 int
22929 main ()
22930 {
22931  _isnan(0);
22932   ;
22933   return 0;
22934 }
22935 _ACEOF
22936 rm -f conftest.$ac_objext
22937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22938   (eval $ac_compile) 2>conftest.er1
22939   ac_status=$?
22940   grep -v '^ *+' conftest.er1 >conftest.err
22941   rm -f conftest.er1
22942   cat conftest.err >&5
22943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944   (exit $ac_status); } &&
22945          { ac_try='test -z "$ac_cxx_werror_flag"
22946                          || test ! -s conftest.err'
22947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948   (eval $ac_try) 2>&5
22949   ac_status=$?
22950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951   (exit $ac_status); }; } &&
22952          { ac_try='test -s conftest.$ac_objext'
22953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954   (eval $ac_try) 2>&5
22955   ac_status=$?
22956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957   (exit $ac_status); }; }; then
22958   glibcxx_cv_func__isnan_use=yes
22959 else
22960   echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22962
22963 glibcxx_cv_func__isnan_use=no
22964 fi
22965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22966       ac_ext=c
22967 ac_cpp='$CPP $CPPFLAGS'
22968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971
22972
22973 fi
22974
22975   fi
22976   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
22977 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
22978
22979     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22980
22981 for ac_func in _isnan
22982 do
22983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22984 echo "$as_me:$LINENO: checking for $ac_func" >&5
22985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22986 if eval "test \"\${$as_ac_var+set}\" = set"; then
22987   echo $ECHO_N "(cached) $ECHO_C" >&6
22988 else
22989   if test x$gcc_no_link = xyes; then
22990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22992    { (exit 1); exit 1; }; }
22993 fi
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h.  */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h.  */
23000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23002 #define $ac_func innocuous_$ac_func
23003
23004 /* System header to define __stub macros and hopefully few prototypes,
23005     which can conflict with char $ac_func (); below.
23006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23007     <limits.h> exists even on freestanding compilers.  */
23008
23009 #ifdef __STDC__
23010 # include <limits.h>
23011 #else
23012 # include <assert.h>
23013 #endif
23014
23015 #undef $ac_func
23016
23017 /* Override any gcc2 internal prototype to avoid an error.  */
23018 #ifdef __cplusplus
23019 extern "C"
23020 {
23021 #endif
23022 /* We use char because int might match the return type of a gcc2
23023    builtin and then its argument prototype would still apply.  */
23024 char $ac_func ();
23025 /* The GNU C library defines this for functions which it implements
23026     to always fail with ENOSYS.  Some functions are actually named
23027     something starting with __ and the normal name is an alias.  */
23028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23029 choke me
23030 #else
23031 char (*f) () = $ac_func;
23032 #endif
23033 #ifdef __cplusplus
23034 }
23035 #endif
23036
23037 int
23038 main ()
23039 {
23040 return f != $ac_func;
23041   ;
23042   return 0;
23043 }
23044 _ACEOF
23045 rm -f conftest.$ac_objext conftest$ac_exeext
23046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23047   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
23068 else
23069   echo "$as_me: failed program was:" >&5
23070 sed 's/^/| /' conftest.$ac_ext >&5
23071
23072 eval "$as_ac_var=no"
23073 fi
23074 rm -f conftest.err conftest.$ac_objext \
23075       conftest$ac_exeext conftest.$ac_ext
23076 fi
23077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23079 if test `eval echo '${'$as_ac_var'}'` = yes; then
23080   cat >>confdefs.h <<_ACEOF
23081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23082 _ACEOF
23083
23084 fi
23085 done
23086
23087     fi
23088   fi
23089
23090
23091
23092
23093
23094
23095   echo "$as_me:$LINENO: checking for finite declaration" >&5
23096 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
23097   if test x${glibcxx_cv_func_finite_use+set} != xset; then
23098     if test "${glibcxx_cv_func_finite_use+set}" = set; then
23099   echo $ECHO_N "(cached) $ECHO_C" >&6
23100 else
23101
23102
23103
23104       ac_ext=cc
23105 ac_cpp='$CXXCPP $CPPFLAGS'
23106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23109
23110       cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h.  */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h.  */
23116 #include <math.h>
23117                       #ifdef HAVE_IEEEFP_H
23118                       #include <ieeefp.h>
23119                       #endif
23120
23121 int
23122 main ()
23123 {
23124  finite(0);
23125   ;
23126   return 0;
23127 }
23128 _ACEOF
23129 rm -f conftest.$ac_objext
23130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23131   (eval $ac_compile) 2>conftest.er1
23132   ac_status=$?
23133   grep -v '^ *+' conftest.er1 >conftest.err
23134   rm -f conftest.er1
23135   cat conftest.err >&5
23136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137   (exit $ac_status); } &&
23138          { ac_try='test -z "$ac_cxx_werror_flag"
23139                          || test ! -s conftest.err'
23140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141   (eval $ac_try) 2>&5
23142   ac_status=$?
23143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144   (exit $ac_status); }; } &&
23145          { ac_try='test -s conftest.$ac_objext'
23146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147   (eval $ac_try) 2>&5
23148   ac_status=$?
23149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150   (exit $ac_status); }; }; then
23151   glibcxx_cv_func_finite_use=yes
23152 else
23153   echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23155
23156 glibcxx_cv_func_finite_use=no
23157 fi
23158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23159       ac_ext=c
23160 ac_cpp='$CPP $CPPFLAGS'
23161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23164
23165
23166 fi
23167
23168   fi
23169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
23170 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
23171
23172   if test x$glibcxx_cv_func_finite_use = x"yes"; then
23173
23174 for ac_func in finite
23175 do
23176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23177 echo "$as_me:$LINENO: checking for $ac_func" >&5
23178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23179 if eval "test \"\${$as_ac_var+set}\" = set"; then
23180   echo $ECHO_N "(cached) $ECHO_C" >&6
23181 else
23182   if test x$gcc_no_link = xyes; then
23183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23185    { (exit 1); exit 1; }; }
23186 fi
23187 cat >conftest.$ac_ext <<_ACEOF
23188 /* confdefs.h.  */
23189 _ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h.  */
23193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23195 #define $ac_func innocuous_$ac_func
23196
23197 /* System header to define __stub macros and hopefully few prototypes,
23198     which can conflict with char $ac_func (); below.
23199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23200     <limits.h> exists even on freestanding compilers.  */
23201
23202 #ifdef __STDC__
23203 # include <limits.h>
23204 #else
23205 # include <assert.h>
23206 #endif
23207
23208 #undef $ac_func
23209
23210 /* Override any gcc2 internal prototype to avoid an error.  */
23211 #ifdef __cplusplus
23212 extern "C"
23213 {
23214 #endif
23215 /* We use char because int might match the return type of a gcc2
23216    builtin and then its argument prototype would still apply.  */
23217 char $ac_func ();
23218 /* The GNU C library defines this for functions which it implements
23219     to always fail with ENOSYS.  Some functions are actually named
23220     something starting with __ and the normal name is an alias.  */
23221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23222 choke me
23223 #else
23224 char (*f) () = $ac_func;
23225 #endif
23226 #ifdef __cplusplus
23227 }
23228 #endif
23229
23230 int
23231 main ()
23232 {
23233 return f != $ac_func;
23234   ;
23235   return 0;
23236 }
23237 _ACEOF
23238 rm -f conftest.$ac_objext conftest$ac_exeext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23240   (eval $ac_link) 2>conftest.er1
23241   ac_status=$?
23242   grep -v '^ *+' conftest.er1 >conftest.err
23243   rm -f conftest.er1
23244   cat conftest.err >&5
23245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246   (exit $ac_status); } &&
23247          { ac_try='test -z "$ac_c_werror_flag"
23248                          || test ! -s conftest.err'
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); }; } &&
23254          { ac_try='test -s conftest$ac_exeext'
23255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256   (eval $ac_try) 2>&5
23257   ac_status=$?
23258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259   (exit $ac_status); }; }; then
23260   eval "$as_ac_var=yes"
23261 else
23262   echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23264
23265 eval "$as_ac_var=no"
23266 fi
23267 rm -f conftest.err conftest.$ac_objext \
23268       conftest$ac_exeext conftest.$ac_ext
23269 fi
23270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23272 if test `eval echo '${'$as_ac_var'}'` = yes; then
23273   cat >>confdefs.h <<_ACEOF
23274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23275 _ACEOF
23276
23277 fi
23278 done
23279
23280   else
23281
23282   echo "$as_me:$LINENO: checking for _finite declaration" >&5
23283 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
23284   if test x${glibcxx_cv_func__finite_use+set} != xset; then
23285     if test "${glibcxx_cv_func__finite_use+set}" = set; then
23286   echo $ECHO_N "(cached) $ECHO_C" >&6
23287 else
23288
23289
23290
23291       ac_ext=cc
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296
23297       cat >conftest.$ac_ext <<_ACEOF
23298 /* confdefs.h.  */
23299 _ACEOF
23300 cat confdefs.h >>conftest.$ac_ext
23301 cat >>conftest.$ac_ext <<_ACEOF
23302 /* end confdefs.h.  */
23303 #include <math.h>
23304                       #ifdef HAVE_IEEEFP_H
23305                       #include <ieeefp.h>
23306                       #endif
23307
23308 int
23309 main ()
23310 {
23311  _finite(0);
23312   ;
23313   return 0;
23314 }
23315 _ACEOF
23316 rm -f conftest.$ac_objext
23317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23318   (eval $ac_compile) 2>conftest.er1
23319   ac_status=$?
23320   grep -v '^ *+' conftest.er1 >conftest.err
23321   rm -f conftest.er1
23322   cat conftest.err >&5
23323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324   (exit $ac_status); } &&
23325          { ac_try='test -z "$ac_cxx_werror_flag"
23326                          || test ! -s conftest.err'
23327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23328   (eval $ac_try) 2>&5
23329   ac_status=$?
23330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331   (exit $ac_status); }; } &&
23332          { ac_try='test -s conftest.$ac_objext'
23333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23334   (eval $ac_try) 2>&5
23335   ac_status=$?
23336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337   (exit $ac_status); }; }; then
23338   glibcxx_cv_func__finite_use=yes
23339 else
23340   echo "$as_me: failed program was:" >&5
23341 sed 's/^/| /' conftest.$ac_ext >&5
23342
23343 glibcxx_cv_func__finite_use=no
23344 fi
23345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23346       ac_ext=c
23347 ac_cpp='$CPP $CPPFLAGS'
23348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23351
23352
23353 fi
23354
23355   fi
23356   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
23357 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
23358
23359     if test x$glibcxx_cv_func__finite_use = x"yes"; then
23360
23361 for ac_func in _finite
23362 do
23363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23364 echo "$as_me:$LINENO: checking for $ac_func" >&5
23365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23366 if eval "test \"\${$as_ac_var+set}\" = set"; then
23367   echo $ECHO_N "(cached) $ECHO_C" >&6
23368 else
23369   if test x$gcc_no_link = xyes; then
23370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23372    { (exit 1); exit 1; }; }
23373 fi
23374 cat >conftest.$ac_ext <<_ACEOF
23375 /* confdefs.h.  */
23376 _ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h.  */
23380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23382 #define $ac_func innocuous_$ac_func
23383
23384 /* System header to define __stub macros and hopefully few prototypes,
23385     which can conflict with char $ac_func (); below.
23386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23387     <limits.h> exists even on freestanding compilers.  */
23388
23389 #ifdef __STDC__
23390 # include <limits.h>
23391 #else
23392 # include <assert.h>
23393 #endif
23394
23395 #undef $ac_func
23396
23397 /* Override any gcc2 internal prototype to avoid an error.  */
23398 #ifdef __cplusplus
23399 extern "C"
23400 {
23401 #endif
23402 /* We use char because int might match the return type of a gcc2
23403    builtin and then its argument prototype would still apply.  */
23404 char $ac_func ();
23405 /* The GNU C library defines this for functions which it implements
23406     to always fail with ENOSYS.  Some functions are actually named
23407     something starting with __ and the normal name is an alias.  */
23408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23409 choke me
23410 #else
23411 char (*f) () = $ac_func;
23412 #endif
23413 #ifdef __cplusplus
23414 }
23415 #endif
23416
23417 int
23418 main ()
23419 {
23420 return f != $ac_func;
23421   ;
23422   return 0;
23423 }
23424 _ACEOF
23425 rm -f conftest.$ac_objext conftest$ac_exeext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23427   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
23448 else
23449   echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23451
23452 eval "$as_ac_var=no"
23453 fi
23454 rm -f conftest.err conftest.$ac_objext \
23455       conftest$ac_exeext conftest.$ac_ext
23456 fi
23457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23459 if test `eval echo '${'$as_ac_var'}'` = yes; then
23460   cat >>confdefs.h <<_ACEOF
23461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23462 _ACEOF
23463
23464 fi
23465 done
23466
23467     fi
23468   fi
23469
23470
23471
23472
23473
23474
23475   echo "$as_me:$LINENO: checking for copysign declaration" >&5
23476 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
23477   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
23478     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
23479   echo $ECHO_N "(cached) $ECHO_C" >&6
23480 else
23481
23482
23483
23484       ac_ext=cc
23485 ac_cpp='$CXXCPP $CPPFLAGS'
23486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23489
23490       cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h.  */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h.  */
23496 #include <math.h>
23497 int
23498 main ()
23499 {
23500  copysign(0, 0);
23501   ;
23502   return 0;
23503 }
23504 _ACEOF
23505 rm -f conftest.$ac_objext
23506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23507   (eval $ac_compile) 2>conftest.er1
23508   ac_status=$?
23509   grep -v '^ *+' conftest.er1 >conftest.err
23510   rm -f conftest.er1
23511   cat conftest.err >&5
23512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513   (exit $ac_status); } &&
23514          { ac_try='test -z "$ac_cxx_werror_flag"
23515                          || test ! -s conftest.err'
23516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23517   (eval $ac_try) 2>&5
23518   ac_status=$?
23519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23520   (exit $ac_status); }; } &&
23521          { ac_try='test -s conftest.$ac_objext'
23522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523   (eval $ac_try) 2>&5
23524   ac_status=$?
23525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526   (exit $ac_status); }; }; then
23527   glibcxx_cv_func_copysign_use=yes
23528 else
23529   echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 glibcxx_cv_func_copysign_use=no
23533 fi
23534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23535       ac_ext=c
23536 ac_cpp='$CPP $CPPFLAGS'
23537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23540
23541
23542 fi
23543
23544   fi
23545   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
23546 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
23547
23548   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
23549
23550 for ac_func in copysign
23551 do
23552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23553 echo "$as_me:$LINENO: checking for $ac_func" >&5
23554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23555 if eval "test \"\${$as_ac_var+set}\" = set"; then
23556   echo $ECHO_N "(cached) $ECHO_C" >&6
23557 else
23558   if test x$gcc_no_link = xyes; then
23559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23561    { (exit 1); exit 1; }; }
23562 fi
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h.  */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h.  */
23569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23571 #define $ac_func innocuous_$ac_func
23572
23573 /* System header to define __stub macros and hopefully few prototypes,
23574     which can conflict with char $ac_func (); below.
23575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23576     <limits.h> exists even on freestanding compilers.  */
23577
23578 #ifdef __STDC__
23579 # include <limits.h>
23580 #else
23581 # include <assert.h>
23582 #endif
23583
23584 #undef $ac_func
23585
23586 /* Override any gcc2 internal prototype to avoid an error.  */
23587 #ifdef __cplusplus
23588 extern "C"
23589 {
23590 #endif
23591 /* We use char because int might match the return type of a gcc2
23592    builtin and then its argument prototype would still apply.  */
23593 char $ac_func ();
23594 /* The GNU C library defines this for functions which it implements
23595     to always fail with ENOSYS.  Some functions are actually named
23596     something starting with __ and the normal name is an alias.  */
23597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23598 choke me
23599 #else
23600 char (*f) () = $ac_func;
23601 #endif
23602 #ifdef __cplusplus
23603 }
23604 #endif
23605
23606 int
23607 main ()
23608 {
23609 return f != $ac_func;
23610   ;
23611   return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext conftest$ac_exeext
23615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23616   (eval $ac_link) 2>conftest.er1
23617   ac_status=$?
23618   grep -v '^ *+' conftest.er1 >conftest.err
23619   rm -f conftest.er1
23620   cat conftest.err >&5
23621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622   (exit $ac_status); } &&
23623          { ac_try='test -z "$ac_c_werror_flag"
23624                          || test ! -s conftest.err'
23625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626   (eval $ac_try) 2>&5
23627   ac_status=$?
23628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629   (exit $ac_status); }; } &&
23630          { ac_try='test -s conftest$ac_exeext'
23631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632   (eval $ac_try) 2>&5
23633   ac_status=$?
23634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635   (exit $ac_status); }; }; then
23636   eval "$as_ac_var=yes"
23637 else
23638   echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23640
23641 eval "$as_ac_var=no"
23642 fi
23643 rm -f conftest.err conftest.$ac_objext \
23644       conftest$ac_exeext conftest.$ac_ext
23645 fi
23646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23648 if test `eval echo '${'$as_ac_var'}'` = yes; then
23649   cat >>confdefs.h <<_ACEOF
23650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23651 _ACEOF
23652
23653 fi
23654 done
23655
23656   else
23657
23658   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
23659 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
23660   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
23661     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
23662   echo $ECHO_N "(cached) $ECHO_C" >&6
23663 else
23664
23665
23666
23667       ac_ext=cc
23668 ac_cpp='$CXXCPP $CPPFLAGS'
23669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23672
23673       cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h.  */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h.  */
23679 #include <math.h>
23680 int
23681 main ()
23682 {
23683  _copysign(0, 0);
23684   ;
23685   return 0;
23686 }
23687 _ACEOF
23688 rm -f conftest.$ac_objext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23690   (eval $ac_compile) 2>conftest.er1
23691   ac_status=$?
23692   grep -v '^ *+' conftest.er1 >conftest.err
23693   rm -f conftest.er1
23694   cat conftest.err >&5
23695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696   (exit $ac_status); } &&
23697          { ac_try='test -z "$ac_cxx_werror_flag"
23698                          || test ! -s conftest.err'
23699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700   (eval $ac_try) 2>&5
23701   ac_status=$?
23702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703   (exit $ac_status); }; } &&
23704          { ac_try='test -s conftest.$ac_objext'
23705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706   (eval $ac_try) 2>&5
23707   ac_status=$?
23708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709   (exit $ac_status); }; }; then
23710   glibcxx_cv_func__copysign_use=yes
23711 else
23712   echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.$ac_ext >&5
23714
23715 glibcxx_cv_func__copysign_use=no
23716 fi
23717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23718       ac_ext=c
23719 ac_cpp='$CPP $CPPFLAGS'
23720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23723
23724
23725 fi
23726
23727   fi
23728   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
23729 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
23730
23731     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
23732
23733 for ac_func in _copysign
23734 do
23735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23736 echo "$as_me:$LINENO: checking for $ac_func" >&5
23737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23738 if eval "test \"\${$as_ac_var+set}\" = set"; then
23739   echo $ECHO_N "(cached) $ECHO_C" >&6
23740 else
23741   if test x$gcc_no_link = xyes; then
23742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23744    { (exit 1); exit 1; }; }
23745 fi
23746 cat >conftest.$ac_ext <<_ACEOF
23747 /* confdefs.h.  */
23748 _ACEOF
23749 cat confdefs.h >>conftest.$ac_ext
23750 cat >>conftest.$ac_ext <<_ACEOF
23751 /* end confdefs.h.  */
23752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23754 #define $ac_func innocuous_$ac_func
23755
23756 /* System header to define __stub macros and hopefully few prototypes,
23757     which can conflict with char $ac_func (); below.
23758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23759     <limits.h> exists even on freestanding compilers.  */
23760
23761 #ifdef __STDC__
23762 # include <limits.h>
23763 #else
23764 # include <assert.h>
23765 #endif
23766
23767 #undef $ac_func
23768
23769 /* Override any gcc2 internal prototype to avoid an error.  */
23770 #ifdef __cplusplus
23771 extern "C"
23772 {
23773 #endif
23774 /* We use char because int might match the return type of a gcc2
23775    builtin and then its argument prototype would still apply.  */
23776 char $ac_func ();
23777 /* The GNU C library defines this for functions which it implements
23778     to always fail with ENOSYS.  Some functions are actually named
23779     something starting with __ and the normal name is an alias.  */
23780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23781 choke me
23782 #else
23783 char (*f) () = $ac_func;
23784 #endif
23785 #ifdef __cplusplus
23786 }
23787 #endif
23788
23789 int
23790 main ()
23791 {
23792 return f != $ac_func;
23793   ;
23794   return 0;
23795 }
23796 _ACEOF
23797 rm -f conftest.$ac_objext conftest$ac_exeext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23799   (eval $ac_link) 2>conftest.er1
23800   ac_status=$?
23801   grep -v '^ *+' conftest.er1 >conftest.err
23802   rm -f conftest.er1
23803   cat conftest.err >&5
23804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805   (exit $ac_status); } &&
23806          { ac_try='test -z "$ac_c_werror_flag"
23807                          || test ! -s conftest.err'
23808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23809   (eval $ac_try) 2>&5
23810   ac_status=$?
23811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812   (exit $ac_status); }; } &&
23813          { ac_try='test -s conftest$ac_exeext'
23814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23815   (eval $ac_try) 2>&5
23816   ac_status=$?
23817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818   (exit $ac_status); }; }; then
23819   eval "$as_ac_var=yes"
23820 else
23821   echo "$as_me: failed program was:" >&5
23822 sed 's/^/| /' conftest.$ac_ext >&5
23823
23824 eval "$as_ac_var=no"
23825 fi
23826 rm -f conftest.err conftest.$ac_objext \
23827       conftest$ac_exeext conftest.$ac_ext
23828 fi
23829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23831 if test `eval echo '${'$as_ac_var'}'` = yes; then
23832   cat >>confdefs.h <<_ACEOF
23833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23834 _ACEOF
23835
23836 fi
23837 done
23838
23839     fi
23840   fi
23841
23842
23843
23844
23845
23846
23847   echo "$as_me:$LINENO: checking for sincos declaration" >&5
23848 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
23849   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23850     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
23851   echo $ECHO_N "(cached) $ECHO_C" >&6
23852 else
23853
23854
23855
23856       ac_ext=cc
23857 ac_cpp='$CXXCPP $CPPFLAGS'
23858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23861
23862       cat >conftest.$ac_ext <<_ACEOF
23863 /* confdefs.h.  */
23864 _ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h.  */
23868 #include <math.h>
23869 int
23870 main ()
23871 {
23872  sincos(0, 0, 0);
23873   ;
23874   return 0;
23875 }
23876 _ACEOF
23877 rm -f conftest.$ac_objext
23878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23879   (eval $ac_compile) 2>conftest.er1
23880   ac_status=$?
23881   grep -v '^ *+' conftest.er1 >conftest.err
23882   rm -f conftest.er1
23883   cat conftest.err >&5
23884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885   (exit $ac_status); } &&
23886          { ac_try='test -z "$ac_cxx_werror_flag"
23887                          || test ! -s conftest.err'
23888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889   (eval $ac_try) 2>&5
23890   ac_status=$?
23891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892   (exit $ac_status); }; } &&
23893          { ac_try='test -s conftest.$ac_objext'
23894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23895   (eval $ac_try) 2>&5
23896   ac_status=$?
23897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898   (exit $ac_status); }; }; then
23899   glibcxx_cv_func_sincos_use=yes
23900 else
23901   echo "$as_me: failed program was:" >&5
23902 sed 's/^/| /' conftest.$ac_ext >&5
23903
23904 glibcxx_cv_func_sincos_use=no
23905 fi
23906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23907       ac_ext=c
23908 ac_cpp='$CPP $CPPFLAGS'
23909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912
23913
23914 fi
23915
23916   fi
23917   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
23918 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
23919
23920   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23921
23922 for ac_func in sincos
23923 do
23924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23925 echo "$as_me:$LINENO: checking for $ac_func" >&5
23926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23927 if eval "test \"\${$as_ac_var+set}\" = set"; then
23928   echo $ECHO_N "(cached) $ECHO_C" >&6
23929 else
23930   if test x$gcc_no_link = xyes; then
23931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23933    { (exit 1); exit 1; }; }
23934 fi
23935 cat >conftest.$ac_ext <<_ACEOF
23936 /* confdefs.h.  */
23937 _ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h.  */
23941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23943 #define $ac_func innocuous_$ac_func
23944
23945 /* System header to define __stub macros and hopefully few prototypes,
23946     which can conflict with char $ac_func (); below.
23947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23948     <limits.h> exists even on freestanding compilers.  */
23949
23950 #ifdef __STDC__
23951 # include <limits.h>
23952 #else
23953 # include <assert.h>
23954 #endif
23955
23956 #undef $ac_func
23957
23958 /* Override any gcc2 internal prototype to avoid an error.  */
23959 #ifdef __cplusplus
23960 extern "C"
23961 {
23962 #endif
23963 /* We use char because int might match the return type of a gcc2
23964    builtin and then its argument prototype would still apply.  */
23965 char $ac_func ();
23966 /* The GNU C library defines this for functions which it implements
23967     to always fail with ENOSYS.  Some functions are actually named
23968     something starting with __ and the normal name is an alias.  */
23969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23970 choke me
23971 #else
23972 char (*f) () = $ac_func;
23973 #endif
23974 #ifdef __cplusplus
23975 }
23976 #endif
23977
23978 int
23979 main ()
23980 {
23981 return f != $ac_func;
23982   ;
23983   return 0;
23984 }
23985 _ACEOF
23986 rm -f conftest.$ac_objext conftest$ac_exeext
23987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23988   (eval $ac_link) 2>conftest.er1
23989   ac_status=$?
23990   grep -v '^ *+' conftest.er1 >conftest.err
23991   rm -f conftest.er1
23992   cat conftest.err >&5
23993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994   (exit $ac_status); } &&
23995          { ac_try='test -z "$ac_c_werror_flag"
23996                          || test ! -s conftest.err'
23997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998   (eval $ac_try) 2>&5
23999   ac_status=$?
24000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001   (exit $ac_status); }; } &&
24002          { ac_try='test -s conftest$ac_exeext'
24003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004   (eval $ac_try) 2>&5
24005   ac_status=$?
24006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007   (exit $ac_status); }; }; then
24008   eval "$as_ac_var=yes"
24009 else
24010   echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 eval "$as_ac_var=no"
24014 fi
24015 rm -f conftest.err conftest.$ac_objext \
24016       conftest$ac_exeext conftest.$ac_ext
24017 fi
24018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24020 if test `eval echo '${'$as_ac_var'}'` = yes; then
24021   cat >>confdefs.h <<_ACEOF
24022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24023 _ACEOF
24024
24025 fi
24026 done
24027
24028   else
24029
24030   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
24031 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
24032   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
24033     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
24034   echo $ECHO_N "(cached) $ECHO_C" >&6
24035 else
24036
24037
24038
24039       ac_ext=cc
24040 ac_cpp='$CXXCPP $CPPFLAGS'
24041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24044
24045       cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h.  */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h.  */
24051 #include <math.h>
24052 int
24053 main ()
24054 {
24055  _sincos(0, 0, 0);
24056   ;
24057   return 0;
24058 }
24059 _ACEOF
24060 rm -f conftest.$ac_objext
24061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24062   (eval $ac_compile) 2>conftest.er1
24063   ac_status=$?
24064   grep -v '^ *+' conftest.er1 >conftest.err
24065   rm -f conftest.er1
24066   cat conftest.err >&5
24067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068   (exit $ac_status); } &&
24069          { ac_try='test -z "$ac_cxx_werror_flag"
24070                          || test ! -s conftest.err'
24071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24072   (eval $ac_try) 2>&5
24073   ac_status=$?
24074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075   (exit $ac_status); }; } &&
24076          { ac_try='test -s conftest.$ac_objext'
24077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24078   (eval $ac_try) 2>&5
24079   ac_status=$?
24080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081   (exit $ac_status); }; }; then
24082   glibcxx_cv_func__sincos_use=yes
24083 else
24084   echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24086
24087 glibcxx_cv_func__sincos_use=no
24088 fi
24089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24090       ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24095
24096
24097 fi
24098
24099   fi
24100   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
24101 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
24102
24103     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
24104
24105 for ac_func in _sincos
24106 do
24107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24108 echo "$as_me:$LINENO: checking for $ac_func" >&5
24109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24110 if eval "test \"\${$as_ac_var+set}\" = set"; then
24111   echo $ECHO_N "(cached) $ECHO_C" >&6
24112 else
24113   if test x$gcc_no_link = xyes; then
24114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24116    { (exit 1); exit 1; }; }
24117 fi
24118 cat >conftest.$ac_ext <<_ACEOF
24119 /* confdefs.h.  */
24120 _ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h.  */
24124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24126 #define $ac_func innocuous_$ac_func
24127
24128 /* System header to define __stub macros and hopefully few prototypes,
24129     which can conflict with char $ac_func (); below.
24130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24131     <limits.h> exists even on freestanding compilers.  */
24132
24133 #ifdef __STDC__
24134 # include <limits.h>
24135 #else
24136 # include <assert.h>
24137 #endif
24138
24139 #undef $ac_func
24140
24141 /* Override any gcc2 internal prototype to avoid an error.  */
24142 #ifdef __cplusplus
24143 extern "C"
24144 {
24145 #endif
24146 /* We use char because int might match the return type of a gcc2
24147    builtin and then its argument prototype would still apply.  */
24148 char $ac_func ();
24149 /* The GNU C library defines this for functions which it implements
24150     to always fail with ENOSYS.  Some functions are actually named
24151     something starting with __ and the normal name is an alias.  */
24152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24153 choke me
24154 #else
24155 char (*f) () = $ac_func;
24156 #endif
24157 #ifdef __cplusplus
24158 }
24159 #endif
24160
24161 int
24162 main ()
24163 {
24164 return f != $ac_func;
24165   ;
24166   return 0;
24167 }
24168 _ACEOF
24169 rm -f conftest.$ac_objext conftest$ac_exeext
24170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24171   (eval $ac_link) 2>conftest.er1
24172   ac_status=$?
24173   grep -v '^ *+' conftest.er1 >conftest.err
24174   rm -f conftest.er1
24175   cat conftest.err >&5
24176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177   (exit $ac_status); } &&
24178          { ac_try='test -z "$ac_c_werror_flag"
24179                          || test ! -s conftest.err'
24180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24181   (eval $ac_try) 2>&5
24182   ac_status=$?
24183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184   (exit $ac_status); }; } &&
24185          { ac_try='test -s conftest$ac_exeext'
24186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187   (eval $ac_try) 2>&5
24188   ac_status=$?
24189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190   (exit $ac_status); }; }; then
24191   eval "$as_ac_var=yes"
24192 else
24193   echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24195
24196 eval "$as_ac_var=no"
24197 fi
24198 rm -f conftest.err conftest.$ac_objext \
24199       conftest$ac_exeext conftest.$ac_ext
24200 fi
24201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24203 if test `eval echo '${'$as_ac_var'}'` = yes; then
24204   cat >>confdefs.h <<_ACEOF
24205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24206 _ACEOF
24207
24208 fi
24209 done
24210
24211     fi
24212   fi
24213
24214
24215
24216
24217
24218
24219   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
24220 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
24221   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
24222     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
24223   echo $ECHO_N "(cached) $ECHO_C" >&6
24224 else
24225
24226
24227
24228       ac_ext=cc
24229 ac_cpp='$CXXCPP $CPPFLAGS'
24230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24233
24234       cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h.  */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h.  */
24240 #include <math.h>
24241                       #ifdef HAVE_IEEEFP_H
24242                       #include <ieeefp.h>
24243                       #endif
24244
24245 int
24246 main ()
24247 {
24248  fpclass(0);
24249   ;
24250   return 0;
24251 }
24252 _ACEOF
24253 rm -f conftest.$ac_objext
24254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24255   (eval $ac_compile) 2>conftest.er1
24256   ac_status=$?
24257   grep -v '^ *+' conftest.er1 >conftest.err
24258   rm -f conftest.er1
24259   cat conftest.err >&5
24260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261   (exit $ac_status); } &&
24262          { ac_try='test -z "$ac_cxx_werror_flag"
24263                          || test ! -s conftest.err'
24264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24265   (eval $ac_try) 2>&5
24266   ac_status=$?
24267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268   (exit $ac_status); }; } &&
24269          { ac_try='test -s conftest.$ac_objext'
24270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271   (eval $ac_try) 2>&5
24272   ac_status=$?
24273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274   (exit $ac_status); }; }; then
24275   glibcxx_cv_func_fpclass_use=yes
24276 else
24277   echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 glibcxx_cv_func_fpclass_use=no
24281 fi
24282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24283       ac_ext=c
24284 ac_cpp='$CPP $CPPFLAGS'
24285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288
24289
24290 fi
24291
24292   fi
24293   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
24294 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
24295
24296   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
24297
24298 for ac_func in fpclass
24299 do
24300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24301 echo "$as_me:$LINENO: checking for $ac_func" >&5
24302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24303 if eval "test \"\${$as_ac_var+set}\" = set"; then
24304   echo $ECHO_N "(cached) $ECHO_C" >&6
24305 else
24306   if test x$gcc_no_link = xyes; then
24307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24309    { (exit 1); exit 1; }; }
24310 fi
24311 cat >conftest.$ac_ext <<_ACEOF
24312 /* confdefs.h.  */
24313 _ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h.  */
24317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24319 #define $ac_func innocuous_$ac_func
24320
24321 /* System header to define __stub macros and hopefully few prototypes,
24322     which can conflict with char $ac_func (); below.
24323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24324     <limits.h> exists even on freestanding compilers.  */
24325
24326 #ifdef __STDC__
24327 # include <limits.h>
24328 #else
24329 # include <assert.h>
24330 #endif
24331
24332 #undef $ac_func
24333
24334 /* Override any gcc2 internal prototype to avoid an error.  */
24335 #ifdef __cplusplus
24336 extern "C"
24337 {
24338 #endif
24339 /* We use char because int might match the return type of a gcc2
24340    builtin and then its argument prototype would still apply.  */
24341 char $ac_func ();
24342 /* The GNU C library defines this for functions which it implements
24343     to always fail with ENOSYS.  Some functions are actually named
24344     something starting with __ and the normal name is an alias.  */
24345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24346 choke me
24347 #else
24348 char (*f) () = $ac_func;
24349 #endif
24350 #ifdef __cplusplus
24351 }
24352 #endif
24353
24354 int
24355 main ()
24356 {
24357 return f != $ac_func;
24358   ;
24359   return 0;
24360 }
24361 _ACEOF
24362 rm -f conftest.$ac_objext conftest$ac_exeext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24364   (eval $ac_link) 2>conftest.er1
24365   ac_status=$?
24366   grep -v '^ *+' conftest.er1 >conftest.err
24367   rm -f conftest.er1
24368   cat conftest.err >&5
24369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370   (exit $ac_status); } &&
24371          { ac_try='test -z "$ac_c_werror_flag"
24372                          || test ! -s conftest.err'
24373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374   (eval $ac_try) 2>&5
24375   ac_status=$?
24376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377   (exit $ac_status); }; } &&
24378          { ac_try='test -s conftest$ac_exeext'
24379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380   (eval $ac_try) 2>&5
24381   ac_status=$?
24382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383   (exit $ac_status); }; }; then
24384   eval "$as_ac_var=yes"
24385 else
24386   echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 eval "$as_ac_var=no"
24390 fi
24391 rm -f conftest.err conftest.$ac_objext \
24392       conftest$ac_exeext conftest.$ac_ext
24393 fi
24394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24396 if test `eval echo '${'$as_ac_var'}'` = yes; then
24397   cat >>confdefs.h <<_ACEOF
24398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24399 _ACEOF
24400
24401 fi
24402 done
24403
24404   else
24405
24406   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
24407 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
24408   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
24409     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
24410   echo $ECHO_N "(cached) $ECHO_C" >&6
24411 else
24412
24413
24414
24415       ac_ext=cc
24416 ac_cpp='$CXXCPP $CPPFLAGS'
24417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24420
24421       cat >conftest.$ac_ext <<_ACEOF
24422 /* confdefs.h.  */
24423 _ACEOF
24424 cat confdefs.h >>conftest.$ac_ext
24425 cat >>conftest.$ac_ext <<_ACEOF
24426 /* end confdefs.h.  */
24427 #include <math.h>
24428                       #ifdef HAVE_IEEEFP_H
24429                       #include <ieeefp.h>
24430                       #endif
24431
24432 int
24433 main ()
24434 {
24435  _fpclass(0);
24436   ;
24437   return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24442   (eval $ac_compile) 2>conftest.er1
24443   ac_status=$?
24444   grep -v '^ *+' conftest.er1 >conftest.err
24445   rm -f conftest.er1
24446   cat conftest.err >&5
24447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448   (exit $ac_status); } &&
24449          { ac_try='test -z "$ac_cxx_werror_flag"
24450                          || test ! -s conftest.err'
24451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24452   (eval $ac_try) 2>&5
24453   ac_status=$?
24454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455   (exit $ac_status); }; } &&
24456          { ac_try='test -s conftest.$ac_objext'
24457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24458   (eval $ac_try) 2>&5
24459   ac_status=$?
24460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24461   (exit $ac_status); }; }; then
24462   glibcxx_cv_func__fpclass_use=yes
24463 else
24464   echo "$as_me: failed program was:" >&5
24465 sed 's/^/| /' conftest.$ac_ext >&5
24466
24467 glibcxx_cv_func__fpclass_use=no
24468 fi
24469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24470       ac_ext=c
24471 ac_cpp='$CPP $CPPFLAGS'
24472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475
24476
24477 fi
24478
24479   fi
24480   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
24481 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
24482
24483     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
24484
24485 for ac_func in _fpclass
24486 do
24487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24488 echo "$as_me:$LINENO: checking for $ac_func" >&5
24489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24490 if eval "test \"\${$as_ac_var+set}\" = set"; then
24491   echo $ECHO_N "(cached) $ECHO_C" >&6
24492 else
24493   if test x$gcc_no_link = xyes; then
24494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24496    { (exit 1); exit 1; }; }
24497 fi
24498 cat >conftest.$ac_ext <<_ACEOF
24499 /* confdefs.h.  */
24500 _ACEOF
24501 cat confdefs.h >>conftest.$ac_ext
24502 cat >>conftest.$ac_ext <<_ACEOF
24503 /* end confdefs.h.  */
24504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24505    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24506 #define $ac_func innocuous_$ac_func
24507
24508 /* System header to define __stub macros and hopefully few prototypes,
24509     which can conflict with char $ac_func (); below.
24510     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24511     <limits.h> exists even on freestanding compilers.  */
24512
24513 #ifdef __STDC__
24514 # include <limits.h>
24515 #else
24516 # include <assert.h>
24517 #endif
24518
24519 #undef $ac_func
24520
24521 /* Override any gcc2 internal prototype to avoid an error.  */
24522 #ifdef __cplusplus
24523 extern "C"
24524 {
24525 #endif
24526 /* We use char because int might match the return type of a gcc2
24527    builtin and then its argument prototype would still apply.  */
24528 char $ac_func ();
24529 /* The GNU C library defines this for functions which it implements
24530     to always fail with ENOSYS.  Some functions are actually named
24531     something starting with __ and the normal name is an alias.  */
24532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24533 choke me
24534 #else
24535 char (*f) () = $ac_func;
24536 #endif
24537 #ifdef __cplusplus
24538 }
24539 #endif
24540
24541 int
24542 main ()
24543 {
24544 return f != $ac_func;
24545   ;
24546   return 0;
24547 }
24548 _ACEOF
24549 rm -f conftest.$ac_objext conftest$ac_exeext
24550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24551   (eval $ac_link) 2>conftest.er1
24552   ac_status=$?
24553   grep -v '^ *+' conftest.er1 >conftest.err
24554   rm -f conftest.er1
24555   cat conftest.err >&5
24556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557   (exit $ac_status); } &&
24558          { ac_try='test -z "$ac_c_werror_flag"
24559                          || test ! -s conftest.err'
24560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561   (eval $ac_try) 2>&5
24562   ac_status=$?
24563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564   (exit $ac_status); }; } &&
24565          { ac_try='test -s conftest$ac_exeext'
24566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567   (eval $ac_try) 2>&5
24568   ac_status=$?
24569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570   (exit $ac_status); }; }; then
24571   eval "$as_ac_var=yes"
24572 else
24573   echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.$ac_ext >&5
24575
24576 eval "$as_ac_var=no"
24577 fi
24578 rm -f conftest.err conftest.$ac_objext \
24579       conftest$ac_exeext conftest.$ac_ext
24580 fi
24581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24583 if test `eval echo '${'$as_ac_var'}'` = yes; then
24584   cat >>confdefs.h <<_ACEOF
24585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24586 _ACEOF
24587
24588 fi
24589 done
24590
24591     fi
24592   fi
24593
24594
24595
24596
24597
24598
24599   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
24600 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
24601   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
24602     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
24603   echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605
24606
24607
24608       ac_ext=cc
24609 ac_cpp='$CXXCPP $CPPFLAGS'
24610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24613
24614       cat >conftest.$ac_ext <<_ACEOF
24615 /* confdefs.h.  */
24616 _ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h.  */
24620 #include <math.h>
24621                       #ifdef HAVE_IEEEFP_H
24622                       #include <ieeefp.h>
24623                       #endif
24624
24625 int
24626 main ()
24627 {
24628  qfpclass(0);
24629   ;
24630   return 0;
24631 }
24632 _ACEOF
24633 rm -f conftest.$ac_objext
24634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24635   (eval $ac_compile) 2>conftest.er1
24636   ac_status=$?
24637   grep -v '^ *+' conftest.er1 >conftest.err
24638   rm -f conftest.er1
24639   cat conftest.err >&5
24640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641   (exit $ac_status); } &&
24642          { ac_try='test -z "$ac_cxx_werror_flag"
24643                          || test ! -s conftest.err'
24644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24645   (eval $ac_try) 2>&5
24646   ac_status=$?
24647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648   (exit $ac_status); }; } &&
24649          { ac_try='test -s conftest.$ac_objext'
24650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651   (eval $ac_try) 2>&5
24652   ac_status=$?
24653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654   (exit $ac_status); }; }; then
24655   glibcxx_cv_func_qfpclass_use=yes
24656 else
24657   echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 glibcxx_cv_func_qfpclass_use=no
24661 fi
24662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24663       ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668
24669
24670 fi
24671
24672   fi
24673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
24674 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
24675
24676   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
24677
24678 for ac_func in qfpclass
24679 do
24680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24681 echo "$as_me:$LINENO: checking for $ac_func" >&5
24682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24683 if eval "test \"\${$as_ac_var+set}\" = set"; then
24684   echo $ECHO_N "(cached) $ECHO_C" >&6
24685 else
24686   if test x$gcc_no_link = xyes; then
24687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24689    { (exit 1); exit 1; }; }
24690 fi
24691 cat >conftest.$ac_ext <<_ACEOF
24692 /* confdefs.h.  */
24693 _ACEOF
24694 cat confdefs.h >>conftest.$ac_ext
24695 cat >>conftest.$ac_ext <<_ACEOF
24696 /* end confdefs.h.  */
24697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24699 #define $ac_func innocuous_$ac_func
24700
24701 /* System header to define __stub macros and hopefully few prototypes,
24702     which can conflict with char $ac_func (); below.
24703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24704     <limits.h> exists even on freestanding compilers.  */
24705
24706 #ifdef __STDC__
24707 # include <limits.h>
24708 #else
24709 # include <assert.h>
24710 #endif
24711
24712 #undef $ac_func
24713
24714 /* Override any gcc2 internal prototype to avoid an error.  */
24715 #ifdef __cplusplus
24716 extern "C"
24717 {
24718 #endif
24719 /* We use char because int might match the return type of a gcc2
24720    builtin and then its argument prototype would still apply.  */
24721 char $ac_func ();
24722 /* The GNU C library defines this for functions which it implements
24723     to always fail with ENOSYS.  Some functions are actually named
24724     something starting with __ and the normal name is an alias.  */
24725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24726 choke me
24727 #else
24728 char (*f) () = $ac_func;
24729 #endif
24730 #ifdef __cplusplus
24731 }
24732 #endif
24733
24734 int
24735 main ()
24736 {
24737 return f != $ac_func;
24738   ;
24739   return 0;
24740 }
24741 _ACEOF
24742 rm -f conftest.$ac_objext conftest$ac_exeext
24743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24744   (eval $ac_link) 2>conftest.er1
24745   ac_status=$?
24746   grep -v '^ *+' conftest.er1 >conftest.err
24747   rm -f conftest.er1
24748   cat conftest.err >&5
24749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750   (exit $ac_status); } &&
24751          { ac_try='test -z "$ac_c_werror_flag"
24752                          || test ! -s conftest.err'
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); }; } &&
24758          { ac_try='test -s conftest$ac_exeext'
24759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760   (eval $ac_try) 2>&5
24761   ac_status=$?
24762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763   (exit $ac_status); }; }; then
24764   eval "$as_ac_var=yes"
24765 else
24766   echo "$as_me: failed program was:" >&5
24767 sed 's/^/| /' conftest.$ac_ext >&5
24768
24769 eval "$as_ac_var=no"
24770 fi
24771 rm -f conftest.err conftest.$ac_objext \
24772       conftest$ac_exeext conftest.$ac_ext
24773 fi
24774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24776 if test `eval echo '${'$as_ac_var'}'` = yes; then
24777   cat >>confdefs.h <<_ACEOF
24778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24779 _ACEOF
24780
24781 fi
24782 done
24783
24784   else
24785
24786   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
24787 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
24788   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
24789     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
24790   echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792
24793
24794
24795       ac_ext=cc
24796 ac_cpp='$CXXCPP $CPPFLAGS'
24797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24800
24801       cat >conftest.$ac_ext <<_ACEOF
24802 /* confdefs.h.  */
24803 _ACEOF
24804 cat confdefs.h >>conftest.$ac_ext
24805 cat >>conftest.$ac_ext <<_ACEOF
24806 /* end confdefs.h.  */
24807 #include <math.h>
24808                       #ifdef HAVE_IEEEFP_H
24809                       #include <ieeefp.h>
24810                       #endif
24811
24812 int
24813 main ()
24814 {
24815  _qfpclass(0);
24816   ;
24817   return 0;
24818 }
24819 _ACEOF
24820 rm -f conftest.$ac_objext
24821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24822   (eval $ac_compile) 2>conftest.er1
24823   ac_status=$?
24824   grep -v '^ *+' conftest.er1 >conftest.err
24825   rm -f conftest.er1
24826   cat conftest.err >&5
24827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828   (exit $ac_status); } &&
24829          { ac_try='test -z "$ac_cxx_werror_flag"
24830                          || test ! -s conftest.err'
24831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832   (eval $ac_try) 2>&5
24833   ac_status=$?
24834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835   (exit $ac_status); }; } &&
24836          { ac_try='test -s conftest.$ac_objext'
24837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838   (eval $ac_try) 2>&5
24839   ac_status=$?
24840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841   (exit $ac_status); }; }; then
24842   glibcxx_cv_func__qfpclass_use=yes
24843 else
24844   echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 glibcxx_cv_func__qfpclass_use=no
24848 fi
24849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24850       ac_ext=c
24851 ac_cpp='$CPP $CPPFLAGS'
24852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24855
24856
24857 fi
24858
24859   fi
24860   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
24861 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
24862
24863     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
24864
24865 for ac_func in _qfpclass
24866 do
24867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24868 echo "$as_me:$LINENO: checking for $ac_func" >&5
24869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24870 if eval "test \"\${$as_ac_var+set}\" = set"; then
24871   echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873   if test x$gcc_no_link = xyes; then
24874   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24876    { (exit 1); exit 1; }; }
24877 fi
24878 cat >conftest.$ac_ext <<_ACEOF
24879 /* confdefs.h.  */
24880 _ACEOF
24881 cat confdefs.h >>conftest.$ac_ext
24882 cat >>conftest.$ac_ext <<_ACEOF
24883 /* end confdefs.h.  */
24884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24886 #define $ac_func innocuous_$ac_func
24887
24888 /* System header to define __stub macros and hopefully few prototypes,
24889     which can conflict with char $ac_func (); below.
24890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24891     <limits.h> exists even on freestanding compilers.  */
24892
24893 #ifdef __STDC__
24894 # include <limits.h>
24895 #else
24896 # include <assert.h>
24897 #endif
24898
24899 #undef $ac_func
24900
24901 /* Override any gcc2 internal prototype to avoid an error.  */
24902 #ifdef __cplusplus
24903 extern "C"
24904 {
24905 #endif
24906 /* We use char because int might match the return type of a gcc2
24907    builtin and then its argument prototype would still apply.  */
24908 char $ac_func ();
24909 /* The GNU C library defines this for functions which it implements
24910     to always fail with ENOSYS.  Some functions are actually named
24911     something starting with __ and the normal name is an alias.  */
24912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24913 choke me
24914 #else
24915 char (*f) () = $ac_func;
24916 #endif
24917 #ifdef __cplusplus
24918 }
24919 #endif
24920
24921 int
24922 main ()
24923 {
24924 return f != $ac_func;
24925   ;
24926   return 0;
24927 }
24928 _ACEOF
24929 rm -f conftest.$ac_objext conftest$ac_exeext
24930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24931   (eval $ac_link) 2>conftest.er1
24932   ac_status=$?
24933   grep -v '^ *+' conftest.er1 >conftest.err
24934   rm -f conftest.er1
24935   cat conftest.err >&5
24936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937   (exit $ac_status); } &&
24938          { ac_try='test -z "$ac_c_werror_flag"
24939                          || test ! -s conftest.err'
24940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24941   (eval $ac_try) 2>&5
24942   ac_status=$?
24943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944   (exit $ac_status); }; } &&
24945          { ac_try='test -s conftest$ac_exeext'
24946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947   (eval $ac_try) 2>&5
24948   ac_status=$?
24949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950   (exit $ac_status); }; }; then
24951   eval "$as_ac_var=yes"
24952 else
24953   echo "$as_me: failed program was:" >&5
24954 sed 's/^/| /' conftest.$ac_ext >&5
24955
24956 eval "$as_ac_var=no"
24957 fi
24958 rm -f conftest.err conftest.$ac_objext \
24959       conftest$ac_exeext conftest.$ac_ext
24960 fi
24961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24963 if test `eval echo '${'$as_ac_var'}'` = yes; then
24964   cat >>confdefs.h <<_ACEOF
24965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24966 _ACEOF
24967
24968 fi
24969 done
24970
24971     fi
24972   fi
24973
24974
24975
24976
24977
24978
24979   echo "$as_me:$LINENO: checking for hypot declaration" >&5
24980 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
24981   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
24982     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
24983   echo $ECHO_N "(cached) $ECHO_C" >&6
24984 else
24985
24986
24987
24988       ac_ext=cc
24989 ac_cpp='$CXXCPP $CPPFLAGS'
24990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24993
24994       cat >conftest.$ac_ext <<_ACEOF
24995 /* confdefs.h.  */
24996 _ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h.  */
25000 #include <math.h>
25001 int
25002 main ()
25003 {
25004  hypot(0, 0);
25005   ;
25006   return 0;
25007 }
25008 _ACEOF
25009 rm -f conftest.$ac_objext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25011   (eval $ac_compile) 2>conftest.er1
25012   ac_status=$?
25013   grep -v '^ *+' conftest.er1 >conftest.err
25014   rm -f conftest.er1
25015   cat conftest.err >&5
25016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017   (exit $ac_status); } &&
25018          { ac_try='test -z "$ac_cxx_werror_flag"
25019                          || test ! -s conftest.err'
25020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021   (eval $ac_try) 2>&5
25022   ac_status=$?
25023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024   (exit $ac_status); }; } &&
25025          { ac_try='test -s conftest.$ac_objext'
25026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027   (eval $ac_try) 2>&5
25028   ac_status=$?
25029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030   (exit $ac_status); }; }; then
25031   glibcxx_cv_func_hypot_use=yes
25032 else
25033   echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 glibcxx_cv_func_hypot_use=no
25037 fi
25038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25039       ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048   fi
25049   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
25050 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
25051
25052   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
25053
25054 for ac_func in hypot
25055 do
25056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25057 echo "$as_me:$LINENO: checking for $ac_func" >&5
25058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25059 if eval "test \"\${$as_ac_var+set}\" = set"; then
25060   echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062   if test x$gcc_no_link = xyes; then
25063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25065    { (exit 1); exit 1; }; }
25066 fi
25067 cat >conftest.$ac_ext <<_ACEOF
25068 /* confdefs.h.  */
25069 _ACEOF
25070 cat confdefs.h >>conftest.$ac_ext
25071 cat >>conftest.$ac_ext <<_ACEOF
25072 /* end confdefs.h.  */
25073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25075 #define $ac_func innocuous_$ac_func
25076
25077 /* System header to define __stub macros and hopefully few prototypes,
25078     which can conflict with char $ac_func (); below.
25079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25080     <limits.h> exists even on freestanding compilers.  */
25081
25082 #ifdef __STDC__
25083 # include <limits.h>
25084 #else
25085 # include <assert.h>
25086 #endif
25087
25088 #undef $ac_func
25089
25090 /* Override any gcc2 internal prototype to avoid an error.  */
25091 #ifdef __cplusplus
25092 extern "C"
25093 {
25094 #endif
25095 /* We use char because int might match the return type of a gcc2
25096    builtin and then its argument prototype would still apply.  */
25097 char $ac_func ();
25098 /* The GNU C library defines this for functions which it implements
25099     to always fail with ENOSYS.  Some functions are actually named
25100     something starting with __ and the normal name is an alias.  */
25101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25102 choke me
25103 #else
25104 char (*f) () = $ac_func;
25105 #endif
25106 #ifdef __cplusplus
25107 }
25108 #endif
25109
25110 int
25111 main ()
25112 {
25113 return f != $ac_func;
25114   ;
25115   return 0;
25116 }
25117 _ACEOF
25118 rm -f conftest.$ac_objext conftest$ac_exeext
25119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25120   (eval $ac_link) 2>conftest.er1
25121   ac_status=$?
25122   grep -v '^ *+' conftest.er1 >conftest.err
25123   rm -f conftest.er1
25124   cat conftest.err >&5
25125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126   (exit $ac_status); } &&
25127          { ac_try='test -z "$ac_c_werror_flag"
25128                          || test ! -s conftest.err'
25129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130   (eval $ac_try) 2>&5
25131   ac_status=$?
25132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133   (exit $ac_status); }; } &&
25134          { ac_try='test -s conftest$ac_exeext'
25135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25136   (eval $ac_try) 2>&5
25137   ac_status=$?
25138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139   (exit $ac_status); }; }; then
25140   eval "$as_ac_var=yes"
25141 else
25142   echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25144
25145 eval "$as_ac_var=no"
25146 fi
25147 rm -f conftest.err conftest.$ac_objext \
25148       conftest$ac_exeext conftest.$ac_ext
25149 fi
25150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25152 if test `eval echo '${'$as_ac_var'}'` = yes; then
25153   cat >>confdefs.h <<_ACEOF
25154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25155 _ACEOF
25156
25157 fi
25158 done
25159
25160   else
25161
25162   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
25163 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
25164   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
25165     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
25166   echo $ECHO_N "(cached) $ECHO_C" >&6
25167 else
25168
25169
25170
25171       ac_ext=cc
25172 ac_cpp='$CXXCPP $CPPFLAGS'
25173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25176
25177       cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h.  */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h.  */
25183 #include <math.h>
25184 int
25185 main ()
25186 {
25187  _hypot(0, 0);
25188   ;
25189   return 0;
25190 }
25191 _ACEOF
25192 rm -f conftest.$ac_objext
25193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25194   (eval $ac_compile) 2>conftest.er1
25195   ac_status=$?
25196   grep -v '^ *+' conftest.er1 >conftest.err
25197   rm -f conftest.er1
25198   cat conftest.err >&5
25199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200   (exit $ac_status); } &&
25201          { ac_try='test -z "$ac_cxx_werror_flag"
25202                          || test ! -s conftest.err'
25203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204   (eval $ac_try) 2>&5
25205   ac_status=$?
25206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207   (exit $ac_status); }; } &&
25208          { ac_try='test -s conftest.$ac_objext'
25209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210   (eval $ac_try) 2>&5
25211   ac_status=$?
25212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213   (exit $ac_status); }; }; then
25214   glibcxx_cv_func__hypot_use=yes
25215 else
25216   echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 glibcxx_cv_func__hypot_use=no
25220 fi
25221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25222       ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227
25228
25229 fi
25230
25231   fi
25232   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
25233 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
25234
25235     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
25236
25237 for ac_func in _hypot
25238 do
25239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25240 echo "$as_me:$LINENO: checking for $ac_func" >&5
25241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25242 if eval "test \"\${$as_ac_var+set}\" = set"; then
25243   echo $ECHO_N "(cached) $ECHO_C" >&6
25244 else
25245   if test x$gcc_no_link = xyes; then
25246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25248    { (exit 1); exit 1; }; }
25249 fi
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h.  */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h.  */
25256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25258 #define $ac_func innocuous_$ac_func
25259
25260 /* System header to define __stub macros and hopefully few prototypes,
25261     which can conflict with char $ac_func (); below.
25262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25263     <limits.h> exists even on freestanding compilers.  */
25264
25265 #ifdef __STDC__
25266 # include <limits.h>
25267 #else
25268 # include <assert.h>
25269 #endif
25270
25271 #undef $ac_func
25272
25273 /* Override any gcc2 internal prototype to avoid an error.  */
25274 #ifdef __cplusplus
25275 extern "C"
25276 {
25277 #endif
25278 /* We use char because int might match the return type of a gcc2
25279    builtin and then its argument prototype would still apply.  */
25280 char $ac_func ();
25281 /* The GNU C library defines this for functions which it implements
25282     to always fail with ENOSYS.  Some functions are actually named
25283     something starting with __ and the normal name is an alias.  */
25284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25285 choke me
25286 #else
25287 char (*f) () = $ac_func;
25288 #endif
25289 #ifdef __cplusplus
25290 }
25291 #endif
25292
25293 int
25294 main ()
25295 {
25296 return f != $ac_func;
25297   ;
25298   return 0;
25299 }
25300 _ACEOF
25301 rm -f conftest.$ac_objext conftest$ac_exeext
25302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25303   (eval $ac_link) 2>conftest.er1
25304   ac_status=$?
25305   grep -v '^ *+' conftest.er1 >conftest.err
25306   rm -f conftest.er1
25307   cat conftest.err >&5
25308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309   (exit $ac_status); } &&
25310          { ac_try='test -z "$ac_c_werror_flag"
25311                          || test ! -s conftest.err'
25312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25313   (eval $ac_try) 2>&5
25314   ac_status=$?
25315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316   (exit $ac_status); }; } &&
25317          { ac_try='test -s conftest$ac_exeext'
25318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319   (eval $ac_try) 2>&5
25320   ac_status=$?
25321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322   (exit $ac_status); }; }; then
25323   eval "$as_ac_var=yes"
25324 else
25325   echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328 eval "$as_ac_var=no"
25329 fi
25330 rm -f conftest.err conftest.$ac_objext \
25331       conftest$ac_exeext conftest.$ac_ext
25332 fi
25333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25335 if test `eval echo '${'$as_ac_var'}'` = yes; then
25336   cat >>confdefs.h <<_ACEOF
25337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25338 _ACEOF
25339
25340 fi
25341 done
25342
25343     fi
25344   fi
25345
25346
25347
25348
25349
25350
25351     echo "$as_me:$LINENO: checking for float trig functions" >&5
25352 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
25353   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
25354   echo $ECHO_N "(cached) $ECHO_C" >&6
25355 else
25356
25357
25358
25359     ac_ext=cc
25360 ac_cpp='$CXXCPP $CPPFLAGS'
25361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25364
25365     cat >conftest.$ac_ext <<_ACEOF
25366 /* confdefs.h.  */
25367 _ACEOF
25368 cat confdefs.h >>conftest.$ac_ext
25369 cat >>conftest.$ac_ext <<_ACEOF
25370 /* end confdefs.h.  */
25371 #include <math.h>
25372 int
25373 main ()
25374 {
25375 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
25376   ;
25377   return 0;
25378 }
25379 _ACEOF
25380 rm -f conftest.$ac_objext
25381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25382   (eval $ac_compile) 2>conftest.er1
25383   ac_status=$?
25384   grep -v '^ *+' conftest.er1 >conftest.err
25385   rm -f conftest.er1
25386   cat conftest.err >&5
25387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388   (exit $ac_status); } &&
25389          { ac_try='test -z "$ac_cxx_werror_flag"
25390                          || test ! -s conftest.err'
25391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392   (eval $ac_try) 2>&5
25393   ac_status=$?
25394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395   (exit $ac_status); }; } &&
25396          { ac_try='test -s conftest.$ac_objext'
25397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398   (eval $ac_try) 2>&5
25399   ac_status=$?
25400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401   (exit $ac_status); }; }; then
25402   glibcxx_cv_func_float_trig_use=yes
25403 else
25404   echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25406
25407 glibcxx_cv_func_float_trig_use=no
25408 fi
25409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25410     ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25415
25416 fi
25417
25418   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
25419 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
25420   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
25431 do
25432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25433 echo "$as_me:$LINENO: checking for $ac_func" >&5
25434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25435 if eval "test \"\${$as_ac_var+set}\" = set"; then
25436   echo $ECHO_N "(cached) $ECHO_C" >&6
25437 else
25438   if test x$gcc_no_link = xyes; then
25439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25441    { (exit 1); exit 1; }; }
25442 fi
25443 cat >conftest.$ac_ext <<_ACEOF
25444 /* confdefs.h.  */
25445 _ACEOF
25446 cat confdefs.h >>conftest.$ac_ext
25447 cat >>conftest.$ac_ext <<_ACEOF
25448 /* end confdefs.h.  */
25449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25451 #define $ac_func innocuous_$ac_func
25452
25453 /* System header to define __stub macros and hopefully few prototypes,
25454     which can conflict with char $ac_func (); below.
25455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25456     <limits.h> exists even on freestanding compilers.  */
25457
25458 #ifdef __STDC__
25459 # include <limits.h>
25460 #else
25461 # include <assert.h>
25462 #endif
25463
25464 #undef $ac_func
25465
25466 /* Override any gcc2 internal prototype to avoid an error.  */
25467 #ifdef __cplusplus
25468 extern "C"
25469 {
25470 #endif
25471 /* We use char because int might match the return type of a gcc2
25472    builtin and then its argument prototype would still apply.  */
25473 char $ac_func ();
25474 /* The GNU C library defines this for functions which it implements
25475     to always fail with ENOSYS.  Some functions are actually named
25476     something starting with __ and the normal name is an alias.  */
25477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25478 choke me
25479 #else
25480 char (*f) () = $ac_func;
25481 #endif
25482 #ifdef __cplusplus
25483 }
25484 #endif
25485
25486 int
25487 main ()
25488 {
25489 return f != $ac_func;
25490   ;
25491   return 0;
25492 }
25493 _ACEOF
25494 rm -f conftest.$ac_objext conftest$ac_exeext
25495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25496   (eval $ac_link) 2>conftest.er1
25497   ac_status=$?
25498   grep -v '^ *+' conftest.er1 >conftest.err
25499   rm -f conftest.er1
25500   cat conftest.err >&5
25501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502   (exit $ac_status); } &&
25503          { ac_try='test -z "$ac_c_werror_flag"
25504                          || test ! -s conftest.err'
25505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25506   (eval $ac_try) 2>&5
25507   ac_status=$?
25508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509   (exit $ac_status); }; } &&
25510          { ac_try='test -s conftest$ac_exeext'
25511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512   (eval $ac_try) 2>&5
25513   ac_status=$?
25514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515   (exit $ac_status); }; }; then
25516   eval "$as_ac_var=yes"
25517 else
25518   echo "$as_me: failed program was:" >&5
25519 sed 's/^/| /' conftest.$ac_ext >&5
25520
25521 eval "$as_ac_var=no"
25522 fi
25523 rm -f conftest.err conftest.$ac_objext \
25524       conftest$ac_exeext conftest.$ac_ext
25525 fi
25526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25528 if test `eval echo '${'$as_ac_var'}'` = yes; then
25529   cat >>confdefs.h <<_ACEOF
25530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25531 _ACEOF
25532
25533 fi
25534 done
25535
25536   else
25537     echo "$as_me:$LINENO: checking for _float trig functions" >&5
25538 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
25539     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
25540   echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542
25543
25544
25545       ac_ext=cc
25546 ac_cpp='$CXXCPP $CPPFLAGS'
25547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25550
25551       cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h.  */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h.  */
25557 #include <math.h>
25558 int
25559 main ()
25560 {
25561 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
25562   ;
25563   return 0;
25564 }
25565 _ACEOF
25566 rm -f conftest.$ac_objext
25567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25568   (eval $ac_compile) 2>conftest.er1
25569   ac_status=$?
25570   grep -v '^ *+' conftest.er1 >conftest.err
25571   rm -f conftest.er1
25572   cat conftest.err >&5
25573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574   (exit $ac_status); } &&
25575          { ac_try='test -z "$ac_cxx_werror_flag"
25576                          || test ! -s conftest.err'
25577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25578   (eval $ac_try) 2>&5
25579   ac_status=$?
25580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581   (exit $ac_status); }; } &&
25582          { ac_try='test -s conftest.$ac_objext'
25583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584   (eval $ac_try) 2>&5
25585   ac_status=$?
25586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587   (exit $ac_status); }; }; then
25588   glibcxx_cv_func__float_trig_use=yes
25589 else
25590   echo "$as_me: failed program was:" >&5
25591 sed 's/^/| /' conftest.$ac_ext >&5
25592
25593 glibcxx_cv_func__float_trig_use=no
25594 fi
25595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25596       ac_ext=c
25597 ac_cpp='$CPP $CPPFLAGS'
25598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25601
25602 fi
25603
25604     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
25605 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
25606     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
25617 do
25618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25619 echo "$as_me:$LINENO: checking for $ac_func" >&5
25620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25621 if eval "test \"\${$as_ac_var+set}\" = set"; then
25622   echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624   if test x$gcc_no_link = xyes; then
25625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25627    { (exit 1); exit 1; }; }
25628 fi
25629 cat >conftest.$ac_ext <<_ACEOF
25630 /* confdefs.h.  */
25631 _ACEOF
25632 cat confdefs.h >>conftest.$ac_ext
25633 cat >>conftest.$ac_ext <<_ACEOF
25634 /* end confdefs.h.  */
25635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25637 #define $ac_func innocuous_$ac_func
25638
25639 /* System header to define __stub macros and hopefully few prototypes,
25640     which can conflict with char $ac_func (); below.
25641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25642     <limits.h> exists even on freestanding compilers.  */
25643
25644 #ifdef __STDC__
25645 # include <limits.h>
25646 #else
25647 # include <assert.h>
25648 #endif
25649
25650 #undef $ac_func
25651
25652 /* Override any gcc2 internal prototype to avoid an error.  */
25653 #ifdef __cplusplus
25654 extern "C"
25655 {
25656 #endif
25657 /* We use char because int might match the return type of a gcc2
25658    builtin and then its argument prototype would still apply.  */
25659 char $ac_func ();
25660 /* The GNU C library defines this for functions which it implements
25661     to always fail with ENOSYS.  Some functions are actually named
25662     something starting with __ and the normal name is an alias.  */
25663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25664 choke me
25665 #else
25666 char (*f) () = $ac_func;
25667 #endif
25668 #ifdef __cplusplus
25669 }
25670 #endif
25671
25672 int
25673 main ()
25674 {
25675 return f != $ac_func;
25676   ;
25677   return 0;
25678 }
25679 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682   (eval $ac_link) 2>conftest.er1
25683   ac_status=$?
25684   grep -v '^ *+' conftest.er1 >conftest.err
25685   rm -f conftest.er1
25686   cat conftest.err >&5
25687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688   (exit $ac_status); } &&
25689          { ac_try='test -z "$ac_c_werror_flag"
25690                          || test ! -s conftest.err'
25691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692   (eval $ac_try) 2>&5
25693   ac_status=$?
25694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695   (exit $ac_status); }; } &&
25696          { ac_try='test -s conftest$ac_exeext'
25697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698   (eval $ac_try) 2>&5
25699   ac_status=$?
25700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701   (exit $ac_status); }; }; then
25702   eval "$as_ac_var=yes"
25703 else
25704   echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 eval "$as_ac_var=no"
25708 fi
25709 rm -f conftest.err conftest.$ac_objext \
25710       conftest$ac_exeext conftest.$ac_ext
25711 fi
25712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25714 if test `eval echo '${'$as_ac_var'}'` = yes; then
25715   cat >>confdefs.h <<_ACEOF
25716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25717 _ACEOF
25718
25719 fi
25720 done
25721
25722     fi
25723   fi
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738     echo "$as_me:$LINENO: checking for float round functions" >&5
25739 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
25740   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
25741   echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25743
25744
25745
25746     ac_ext=cc
25747 ac_cpp='$CXXCPP $CPPFLAGS'
25748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751
25752     cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h.  */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h.  */
25758 #include <math.h>
25759 int
25760 main ()
25761 {
25762 ceilf (0); floorf (0);
25763   ;
25764   return 0;
25765 }
25766 _ACEOF
25767 rm -f conftest.$ac_objext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25769   (eval $ac_compile) 2>conftest.er1
25770   ac_status=$?
25771   grep -v '^ *+' conftest.er1 >conftest.err
25772   rm -f conftest.er1
25773   cat conftest.err >&5
25774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775   (exit $ac_status); } &&
25776          { ac_try='test -z "$ac_cxx_werror_flag"
25777                          || test ! -s conftest.err'
25778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779   (eval $ac_try) 2>&5
25780   ac_status=$?
25781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782   (exit $ac_status); }; } &&
25783          { ac_try='test -s conftest.$ac_objext'
25784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785   (eval $ac_try) 2>&5
25786   ac_status=$?
25787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788   (exit $ac_status); }; }; then
25789   glibcxx_cv_func_float_round_use=yes
25790 else
25791   echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25793
25794 glibcxx_cv_func_float_round_use=no
25795 fi
25796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25797     ac_ext=c
25798 ac_cpp='$CPP $CPPFLAGS'
25799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25802
25803 fi
25804
25805   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
25806 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
25807   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
25808
25809
25810 for ac_func in ceilf floorf
25811 do
25812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25813 echo "$as_me:$LINENO: checking for $ac_func" >&5
25814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25815 if eval "test \"\${$as_ac_var+set}\" = set"; then
25816   echo $ECHO_N "(cached) $ECHO_C" >&6
25817 else
25818   if test x$gcc_no_link = xyes; then
25819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25821    { (exit 1); exit 1; }; }
25822 fi
25823 cat >conftest.$ac_ext <<_ACEOF
25824 /* confdefs.h.  */
25825 _ACEOF
25826 cat confdefs.h >>conftest.$ac_ext
25827 cat >>conftest.$ac_ext <<_ACEOF
25828 /* end confdefs.h.  */
25829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25831 #define $ac_func innocuous_$ac_func
25832
25833 /* System header to define __stub macros and hopefully few prototypes,
25834     which can conflict with char $ac_func (); below.
25835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25836     <limits.h> exists even on freestanding compilers.  */
25837
25838 #ifdef __STDC__
25839 # include <limits.h>
25840 #else
25841 # include <assert.h>
25842 #endif
25843
25844 #undef $ac_func
25845
25846 /* Override any gcc2 internal prototype to avoid an error.  */
25847 #ifdef __cplusplus
25848 extern "C"
25849 {
25850 #endif
25851 /* We use char because int might match the return type of a gcc2
25852    builtin and then its argument prototype would still apply.  */
25853 char $ac_func ();
25854 /* The GNU C library defines this for functions which it implements
25855     to always fail with ENOSYS.  Some functions are actually named
25856     something starting with __ and the normal name is an alias.  */
25857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25858 choke me
25859 #else
25860 char (*f) () = $ac_func;
25861 #endif
25862 #ifdef __cplusplus
25863 }
25864 #endif
25865
25866 int
25867 main ()
25868 {
25869 return f != $ac_func;
25870   ;
25871   return 0;
25872 }
25873 _ACEOF
25874 rm -f conftest.$ac_objext conftest$ac_exeext
25875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25876   (eval $ac_link) 2>conftest.er1
25877   ac_status=$?
25878   grep -v '^ *+' conftest.er1 >conftest.err
25879   rm -f conftest.er1
25880   cat conftest.err >&5
25881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882   (exit $ac_status); } &&
25883          { ac_try='test -z "$ac_c_werror_flag"
25884                          || test ! -s conftest.err'
25885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886   (eval $ac_try) 2>&5
25887   ac_status=$?
25888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889   (exit $ac_status); }; } &&
25890          { ac_try='test -s conftest$ac_exeext'
25891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892   (eval $ac_try) 2>&5
25893   ac_status=$?
25894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895   (exit $ac_status); }; }; then
25896   eval "$as_ac_var=yes"
25897 else
25898   echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.$ac_ext >&5
25900
25901 eval "$as_ac_var=no"
25902 fi
25903 rm -f conftest.err conftest.$ac_objext \
25904       conftest$ac_exeext conftest.$ac_ext
25905 fi
25906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25908 if test `eval echo '${'$as_ac_var'}'` = yes; then
25909   cat >>confdefs.h <<_ACEOF
25910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25911 _ACEOF
25912
25913 fi
25914 done
25915
25916   else
25917     echo "$as_me:$LINENO: checking for _float round functions" >&5
25918 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
25919     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
25920   echo $ECHO_N "(cached) $ECHO_C" >&6
25921 else
25922
25923
25924
25925       ac_ext=cc
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25930
25931       cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h.  */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h.  */
25937 #include <math.h>
25938 int
25939 main ()
25940 {
25941 _ceilf (0); _floorf (0);
25942   ;
25943   return 0;
25944 }
25945 _ACEOF
25946 rm -f conftest.$ac_objext
25947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25948   (eval $ac_compile) 2>conftest.er1
25949   ac_status=$?
25950   grep -v '^ *+' conftest.er1 >conftest.err
25951   rm -f conftest.er1
25952   cat conftest.err >&5
25953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954   (exit $ac_status); } &&
25955          { ac_try='test -z "$ac_cxx_werror_flag"
25956                          || test ! -s conftest.err'
25957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958   (eval $ac_try) 2>&5
25959   ac_status=$?
25960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961   (exit $ac_status); }; } &&
25962          { ac_try='test -s conftest.$ac_objext'
25963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964   (eval $ac_try) 2>&5
25965   ac_status=$?
25966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967   (exit $ac_status); }; }; then
25968   glibcxx_cv_func__float_round_use=yes
25969 else
25970   echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25972
25973 glibcxx_cv_func__float_round_use=no
25974 fi
25975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25976       ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981
25982 fi
25983
25984     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
25985 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
25986     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
25987
25988
25989 for ac_func in _ceilf _floorf
25990 do
25991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25992 echo "$as_me:$LINENO: checking for $ac_func" >&5
25993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25994 if eval "test \"\${$as_ac_var+set}\" = set"; then
25995   echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997   if test x$gcc_no_link = xyes; then
25998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26000    { (exit 1); exit 1; }; }
26001 fi
26002 cat >conftest.$ac_ext <<_ACEOF
26003 /* confdefs.h.  */
26004 _ACEOF
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h.  */
26008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26010 #define $ac_func innocuous_$ac_func
26011
26012 /* System header to define __stub macros and hopefully few prototypes,
26013     which can conflict with char $ac_func (); below.
26014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26015     <limits.h> exists even on freestanding compilers.  */
26016
26017 #ifdef __STDC__
26018 # include <limits.h>
26019 #else
26020 # include <assert.h>
26021 #endif
26022
26023 #undef $ac_func
26024
26025 /* Override any gcc2 internal prototype to avoid an error.  */
26026 #ifdef __cplusplus
26027 extern "C"
26028 {
26029 #endif
26030 /* We use char because int might match the return type of a gcc2
26031    builtin and then its argument prototype would still apply.  */
26032 char $ac_func ();
26033 /* The GNU C library defines this for functions which it implements
26034     to always fail with ENOSYS.  Some functions are actually named
26035     something starting with __ and the normal name is an alias.  */
26036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26037 choke me
26038 #else
26039 char (*f) () = $ac_func;
26040 #endif
26041 #ifdef __cplusplus
26042 }
26043 #endif
26044
26045 int
26046 main ()
26047 {
26048 return f != $ac_func;
26049   ;
26050   return 0;
26051 }
26052 _ACEOF
26053 rm -f conftest.$ac_objext conftest$ac_exeext
26054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26055   (eval $ac_link) 2>conftest.er1
26056   ac_status=$?
26057   grep -v '^ *+' conftest.er1 >conftest.err
26058   rm -f conftest.er1
26059   cat conftest.err >&5
26060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061   (exit $ac_status); } &&
26062          { ac_try='test -z "$ac_c_werror_flag"
26063                          || test ! -s conftest.err'
26064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26065   (eval $ac_try) 2>&5
26066   ac_status=$?
26067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26068   (exit $ac_status); }; } &&
26069          { ac_try='test -s conftest$ac_exeext'
26070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071   (eval $ac_try) 2>&5
26072   ac_status=$?
26073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074   (exit $ac_status); }; }; then
26075   eval "$as_ac_var=yes"
26076 else
26077   echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.$ac_ext >&5
26079
26080 eval "$as_ac_var=no"
26081 fi
26082 rm -f conftest.err conftest.$ac_objext \
26083       conftest$ac_exeext conftest.$ac_ext
26084 fi
26085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26087 if test `eval echo '${'$as_ac_var'}'` = yes; then
26088   cat >>confdefs.h <<_ACEOF
26089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26090 _ACEOF
26091
26092 fi
26093 done
26094
26095     fi
26096   fi
26097
26098
26099
26100
26101
26102
26103
26104
26105   echo "$as_me:$LINENO: checking for expf declaration" >&5
26106 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
26107   if test x${glibcxx_cv_func_expf_use+set} != xset; then
26108     if test "${glibcxx_cv_func_expf_use+set}" = set; then
26109   echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111
26112
26113
26114       ac_ext=cc
26115 ac_cpp='$CXXCPP $CPPFLAGS'
26116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26119
26120       cat >conftest.$ac_ext <<_ACEOF
26121 /* confdefs.h.  */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h.  */
26126 #include <math.h>
26127                       #ifdef HAVE_IEEEFP_H
26128                       #include <ieeefp.h>
26129                       #endif
26130
26131 int
26132 main ()
26133 {
26134  expf(0);
26135   ;
26136   return 0;
26137 }
26138 _ACEOF
26139 rm -f conftest.$ac_objext
26140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26141   (eval $ac_compile) 2>conftest.er1
26142   ac_status=$?
26143   grep -v '^ *+' conftest.er1 >conftest.err
26144   rm -f conftest.er1
26145   cat conftest.err >&5
26146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26147   (exit $ac_status); } &&
26148          { ac_try='test -z "$ac_cxx_werror_flag"
26149                          || test ! -s conftest.err'
26150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26151   (eval $ac_try) 2>&5
26152   ac_status=$?
26153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154   (exit $ac_status); }; } &&
26155          { ac_try='test -s conftest.$ac_objext'
26156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26157   (eval $ac_try) 2>&5
26158   ac_status=$?
26159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160   (exit $ac_status); }; }; then
26161   glibcxx_cv_func_expf_use=yes
26162 else
26163   echo "$as_me: failed program was:" >&5
26164 sed 's/^/| /' conftest.$ac_ext >&5
26165
26166 glibcxx_cv_func_expf_use=no
26167 fi
26168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26169       ac_ext=c
26170 ac_cpp='$CPP $CPPFLAGS'
26171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26174
26175
26176 fi
26177
26178   fi
26179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
26180 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
26181
26182   if test x$glibcxx_cv_func_expf_use = x"yes"; then
26183
26184 for ac_func in expf
26185 do
26186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26187 echo "$as_me:$LINENO: checking for $ac_func" >&5
26188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26189 if eval "test \"\${$as_ac_var+set}\" = set"; then
26190   echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192   if test x$gcc_no_link = xyes; then
26193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26195    { (exit 1); exit 1; }; }
26196 fi
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h.  */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h.  */
26203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26205 #define $ac_func innocuous_$ac_func
26206
26207 /* System header to define __stub macros and hopefully few prototypes,
26208     which can conflict with char $ac_func (); below.
26209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26210     <limits.h> exists even on freestanding compilers.  */
26211
26212 #ifdef __STDC__
26213 # include <limits.h>
26214 #else
26215 # include <assert.h>
26216 #endif
26217
26218 #undef $ac_func
26219
26220 /* Override any gcc2 internal prototype to avoid an error.  */
26221 #ifdef __cplusplus
26222 extern "C"
26223 {
26224 #endif
26225 /* We use char because int might match the return type of a gcc2
26226    builtin and then its argument prototype would still apply.  */
26227 char $ac_func ();
26228 /* The GNU C library defines this for functions which it implements
26229     to always fail with ENOSYS.  Some functions are actually named
26230     something starting with __ and the normal name is an alias.  */
26231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26232 choke me
26233 #else
26234 char (*f) () = $ac_func;
26235 #endif
26236 #ifdef __cplusplus
26237 }
26238 #endif
26239
26240 int
26241 main ()
26242 {
26243 return f != $ac_func;
26244   ;
26245   return 0;
26246 }
26247 _ACEOF
26248 rm -f conftest.$ac_objext conftest$ac_exeext
26249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26250   (eval $ac_link) 2>conftest.er1
26251   ac_status=$?
26252   grep -v '^ *+' conftest.er1 >conftest.err
26253   rm -f conftest.er1
26254   cat conftest.err >&5
26255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26256   (exit $ac_status); } &&
26257          { ac_try='test -z "$ac_c_werror_flag"
26258                          || test ! -s conftest.err'
26259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260   (eval $ac_try) 2>&5
26261   ac_status=$?
26262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263   (exit $ac_status); }; } &&
26264          { ac_try='test -s conftest$ac_exeext'
26265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26266   (eval $ac_try) 2>&5
26267   ac_status=$?
26268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269   (exit $ac_status); }; }; then
26270   eval "$as_ac_var=yes"
26271 else
26272   echo "$as_me: failed program was:" >&5
26273 sed 's/^/| /' conftest.$ac_ext >&5
26274
26275 eval "$as_ac_var=no"
26276 fi
26277 rm -f conftest.err conftest.$ac_objext \
26278       conftest$ac_exeext conftest.$ac_ext
26279 fi
26280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26282 if test `eval echo '${'$as_ac_var'}'` = yes; then
26283   cat >>confdefs.h <<_ACEOF
26284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26285 _ACEOF
26286
26287 fi
26288 done
26289
26290   else
26291
26292   echo "$as_me:$LINENO: checking for _expf declaration" >&5
26293 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
26294   if test x${glibcxx_cv_func__expf_use+set} != xset; then
26295     if test "${glibcxx_cv_func__expf_use+set}" = set; then
26296   echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298
26299
26300
26301       ac_ext=cc
26302 ac_cpp='$CXXCPP $CPPFLAGS'
26303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306
26307       cat >conftest.$ac_ext <<_ACEOF
26308 /* confdefs.h.  */
26309 _ACEOF
26310 cat confdefs.h >>conftest.$ac_ext
26311 cat >>conftest.$ac_ext <<_ACEOF
26312 /* end confdefs.h.  */
26313 #include <math.h>
26314                       #ifdef HAVE_IEEEFP_H
26315                       #include <ieeefp.h>
26316                       #endif
26317
26318 int
26319 main ()
26320 {
26321  _expf(0);
26322   ;
26323   return 0;
26324 }
26325 _ACEOF
26326 rm -f conftest.$ac_objext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26328   (eval $ac_compile) 2>conftest.er1
26329   ac_status=$?
26330   grep -v '^ *+' conftest.er1 >conftest.err
26331   rm -f conftest.er1
26332   cat conftest.err >&5
26333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334   (exit $ac_status); } &&
26335          { ac_try='test -z "$ac_cxx_werror_flag"
26336                          || test ! -s conftest.err'
26337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338   (eval $ac_try) 2>&5
26339   ac_status=$?
26340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341   (exit $ac_status); }; } &&
26342          { ac_try='test -s conftest.$ac_objext'
26343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26344   (eval $ac_try) 2>&5
26345   ac_status=$?
26346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347   (exit $ac_status); }; }; then
26348   glibcxx_cv_func__expf_use=yes
26349 else
26350   echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26352
26353 glibcxx_cv_func__expf_use=no
26354 fi
26355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26356       ac_ext=c
26357 ac_cpp='$CPP $CPPFLAGS'
26358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26361
26362
26363 fi
26364
26365   fi
26366   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
26367 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
26368
26369     if test x$glibcxx_cv_func__expf_use = x"yes"; then
26370
26371 for ac_func in _expf
26372 do
26373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26374 echo "$as_me:$LINENO: checking for $ac_func" >&5
26375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26376 if eval "test \"\${$as_ac_var+set}\" = set"; then
26377   echo $ECHO_N "(cached) $ECHO_C" >&6
26378 else
26379   if test x$gcc_no_link = xyes; then
26380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26382    { (exit 1); exit 1; }; }
26383 fi
26384 cat >conftest.$ac_ext <<_ACEOF
26385 /* confdefs.h.  */
26386 _ACEOF
26387 cat confdefs.h >>conftest.$ac_ext
26388 cat >>conftest.$ac_ext <<_ACEOF
26389 /* end confdefs.h.  */
26390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26391    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26392 #define $ac_func innocuous_$ac_func
26393
26394 /* System header to define __stub macros and hopefully few prototypes,
26395     which can conflict with char $ac_func (); below.
26396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397     <limits.h> exists even on freestanding compilers.  */
26398
26399 #ifdef __STDC__
26400 # include <limits.h>
26401 #else
26402 # include <assert.h>
26403 #endif
26404
26405 #undef $ac_func
26406
26407 /* Override any gcc2 internal prototype to avoid an error.  */
26408 #ifdef __cplusplus
26409 extern "C"
26410 {
26411 #endif
26412 /* We use char because int might match the return type of a gcc2
26413    builtin and then its argument prototype would still apply.  */
26414 char $ac_func ();
26415 /* The GNU C library defines this for functions which it implements
26416     to always fail with ENOSYS.  Some functions are actually named
26417     something starting with __ and the normal name is an alias.  */
26418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26419 choke me
26420 #else
26421 char (*f) () = $ac_func;
26422 #endif
26423 #ifdef __cplusplus
26424 }
26425 #endif
26426
26427 int
26428 main ()
26429 {
26430 return f != $ac_func;
26431   ;
26432   return 0;
26433 }
26434 _ACEOF
26435 rm -f conftest.$ac_objext conftest$ac_exeext
26436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26437   (eval $ac_link) 2>conftest.er1
26438   ac_status=$?
26439   grep -v '^ *+' conftest.er1 >conftest.err
26440   rm -f conftest.er1
26441   cat conftest.err >&5
26442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443   (exit $ac_status); } &&
26444          { ac_try='test -z "$ac_c_werror_flag"
26445                          || test ! -s conftest.err'
26446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26447   (eval $ac_try) 2>&5
26448   ac_status=$?
26449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450   (exit $ac_status); }; } &&
26451          { ac_try='test -s conftest$ac_exeext'
26452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26453   (eval $ac_try) 2>&5
26454   ac_status=$?
26455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26456   (exit $ac_status); }; }; then
26457   eval "$as_ac_var=yes"
26458 else
26459   echo "$as_me: failed program was:" >&5
26460 sed 's/^/| /' conftest.$ac_ext >&5
26461
26462 eval "$as_ac_var=no"
26463 fi
26464 rm -f conftest.err conftest.$ac_objext \
26465       conftest$ac_exeext conftest.$ac_ext
26466 fi
26467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26469 if test `eval echo '${'$as_ac_var'}'` = yes; then
26470   cat >>confdefs.h <<_ACEOF
26471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26472 _ACEOF
26473
26474 fi
26475 done
26476
26477     fi
26478   fi
26479
26480
26481
26482
26483
26484
26485   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
26486 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
26487   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
26488     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
26489   echo $ECHO_N "(cached) $ECHO_C" >&6
26490 else
26491
26492
26493
26494       ac_ext=cc
26495 ac_cpp='$CXXCPP $CPPFLAGS'
26496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26499
26500       cat >conftest.$ac_ext <<_ACEOF
26501 /* confdefs.h.  */
26502 _ACEOF
26503 cat confdefs.h >>conftest.$ac_ext
26504 cat >>conftest.$ac_ext <<_ACEOF
26505 /* end confdefs.h.  */
26506 #include <math.h>
26507                       #ifdef HAVE_IEEEFP_H
26508                       #include <ieeefp.h>
26509                       #endif
26510
26511 int
26512 main ()
26513 {
26514  isnanf(0);
26515   ;
26516   return 0;
26517 }
26518 _ACEOF
26519 rm -f conftest.$ac_objext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26521   (eval $ac_compile) 2>conftest.er1
26522   ac_status=$?
26523   grep -v '^ *+' conftest.er1 >conftest.err
26524   rm -f conftest.er1
26525   cat conftest.err >&5
26526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527   (exit $ac_status); } &&
26528          { ac_try='test -z "$ac_cxx_werror_flag"
26529                          || test ! -s conftest.err'
26530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531   (eval $ac_try) 2>&5
26532   ac_status=$?
26533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534   (exit $ac_status); }; } &&
26535          { ac_try='test -s conftest.$ac_objext'
26536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537   (eval $ac_try) 2>&5
26538   ac_status=$?
26539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540   (exit $ac_status); }; }; then
26541   glibcxx_cv_func_isnanf_use=yes
26542 else
26543   echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.$ac_ext >&5
26545
26546 glibcxx_cv_func_isnanf_use=no
26547 fi
26548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26549       ac_ext=c
26550 ac_cpp='$CPP $CPPFLAGS'
26551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26554
26555
26556 fi
26557
26558   fi
26559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
26560 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
26561
26562   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
26563
26564 for ac_func in isnanf
26565 do
26566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26567 echo "$as_me:$LINENO: checking for $ac_func" >&5
26568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26569 if eval "test \"\${$as_ac_var+set}\" = set"; then
26570   echo $ECHO_N "(cached) $ECHO_C" >&6
26571 else
26572   if test x$gcc_no_link = xyes; then
26573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26575    { (exit 1); exit 1; }; }
26576 fi
26577 cat >conftest.$ac_ext <<_ACEOF
26578 /* confdefs.h.  */
26579 _ACEOF
26580 cat confdefs.h >>conftest.$ac_ext
26581 cat >>conftest.$ac_ext <<_ACEOF
26582 /* end confdefs.h.  */
26583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26585 #define $ac_func innocuous_$ac_func
26586
26587 /* System header to define __stub macros and hopefully few prototypes,
26588     which can conflict with char $ac_func (); below.
26589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26590     <limits.h> exists even on freestanding compilers.  */
26591
26592 #ifdef __STDC__
26593 # include <limits.h>
26594 #else
26595 # include <assert.h>
26596 #endif
26597
26598 #undef $ac_func
26599
26600 /* Override any gcc2 internal prototype to avoid an error.  */
26601 #ifdef __cplusplus
26602 extern "C"
26603 {
26604 #endif
26605 /* We use char because int might match the return type of a gcc2
26606    builtin and then its argument prototype would still apply.  */
26607 char $ac_func ();
26608 /* The GNU C library defines this for functions which it implements
26609     to always fail with ENOSYS.  Some functions are actually named
26610     something starting with __ and the normal name is an alias.  */
26611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26612 choke me
26613 #else
26614 char (*f) () = $ac_func;
26615 #endif
26616 #ifdef __cplusplus
26617 }
26618 #endif
26619
26620 int
26621 main ()
26622 {
26623 return f != $ac_func;
26624   ;
26625   return 0;
26626 }
26627 _ACEOF
26628 rm -f conftest.$ac_objext conftest$ac_exeext
26629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26630   (eval $ac_link) 2>conftest.er1
26631   ac_status=$?
26632   grep -v '^ *+' conftest.er1 >conftest.err
26633   rm -f conftest.er1
26634   cat conftest.err >&5
26635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636   (exit $ac_status); } &&
26637          { ac_try='test -z "$ac_c_werror_flag"
26638                          || test ! -s conftest.err'
26639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26640   (eval $ac_try) 2>&5
26641   ac_status=$?
26642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26643   (exit $ac_status); }; } &&
26644          { ac_try='test -s conftest$ac_exeext'
26645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26646   (eval $ac_try) 2>&5
26647   ac_status=$?
26648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649   (exit $ac_status); }; }; then
26650   eval "$as_ac_var=yes"
26651 else
26652   echo "$as_me: failed program was:" >&5
26653 sed 's/^/| /' conftest.$ac_ext >&5
26654
26655 eval "$as_ac_var=no"
26656 fi
26657 rm -f conftest.err conftest.$ac_objext \
26658       conftest$ac_exeext conftest.$ac_ext
26659 fi
26660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26662 if test `eval echo '${'$as_ac_var'}'` = yes; then
26663   cat >>confdefs.h <<_ACEOF
26664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26665 _ACEOF
26666
26667 fi
26668 done
26669
26670   else
26671
26672   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
26673 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
26674   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
26675     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
26676   echo $ECHO_N "(cached) $ECHO_C" >&6
26677 else
26678
26679
26680
26681       ac_ext=cc
26682 ac_cpp='$CXXCPP $CPPFLAGS'
26683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686
26687       cat >conftest.$ac_ext <<_ACEOF
26688 /* confdefs.h.  */
26689 _ACEOF
26690 cat confdefs.h >>conftest.$ac_ext
26691 cat >>conftest.$ac_ext <<_ACEOF
26692 /* end confdefs.h.  */
26693 #include <math.h>
26694                       #ifdef HAVE_IEEEFP_H
26695                       #include <ieeefp.h>
26696                       #endif
26697
26698 int
26699 main ()
26700 {
26701  _isnanf(0);
26702   ;
26703   return 0;
26704 }
26705 _ACEOF
26706 rm -f conftest.$ac_objext
26707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26708   (eval $ac_compile) 2>conftest.er1
26709   ac_status=$?
26710   grep -v '^ *+' conftest.er1 >conftest.err
26711   rm -f conftest.er1
26712   cat conftest.err >&5
26713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714   (exit $ac_status); } &&
26715          { ac_try='test -z "$ac_cxx_werror_flag"
26716                          || test ! -s conftest.err'
26717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718   (eval $ac_try) 2>&5
26719   ac_status=$?
26720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721   (exit $ac_status); }; } &&
26722          { ac_try='test -s conftest.$ac_objext'
26723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724   (eval $ac_try) 2>&5
26725   ac_status=$?
26726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727   (exit $ac_status); }; }; then
26728   glibcxx_cv_func__isnanf_use=yes
26729 else
26730   echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.$ac_ext >&5
26732
26733 glibcxx_cv_func__isnanf_use=no
26734 fi
26735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26736       ac_ext=c
26737 ac_cpp='$CPP $CPPFLAGS'
26738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26741
26742
26743 fi
26744
26745   fi
26746   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
26747 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
26748
26749     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
26750
26751 for ac_func in _isnanf
26752 do
26753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26754 echo "$as_me:$LINENO: checking for $ac_func" >&5
26755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26756 if eval "test \"\${$as_ac_var+set}\" = set"; then
26757   echo $ECHO_N "(cached) $ECHO_C" >&6
26758 else
26759   if test x$gcc_no_link = xyes; then
26760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26762    { (exit 1); exit 1; }; }
26763 fi
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h.  */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h.  */
26770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26772 #define $ac_func innocuous_$ac_func
26773
26774 /* System header to define __stub macros and hopefully few prototypes,
26775     which can conflict with char $ac_func (); below.
26776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26777     <limits.h> exists even on freestanding compilers.  */
26778
26779 #ifdef __STDC__
26780 # include <limits.h>
26781 #else
26782 # include <assert.h>
26783 #endif
26784
26785 #undef $ac_func
26786
26787 /* Override any gcc2 internal prototype to avoid an error.  */
26788 #ifdef __cplusplus
26789 extern "C"
26790 {
26791 #endif
26792 /* We use char because int might match the return type of a gcc2
26793    builtin and then its argument prototype would still apply.  */
26794 char $ac_func ();
26795 /* The GNU C library defines this for functions which it implements
26796     to always fail with ENOSYS.  Some functions are actually named
26797     something starting with __ and the normal name is an alias.  */
26798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26799 choke me
26800 #else
26801 char (*f) () = $ac_func;
26802 #endif
26803 #ifdef __cplusplus
26804 }
26805 #endif
26806
26807 int
26808 main ()
26809 {
26810 return f != $ac_func;
26811   ;
26812   return 0;
26813 }
26814 _ACEOF
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26817   (eval $ac_link) 2>conftest.er1
26818   ac_status=$?
26819   grep -v '^ *+' conftest.er1 >conftest.err
26820   rm -f conftest.er1
26821   cat conftest.err >&5
26822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823   (exit $ac_status); } &&
26824          { ac_try='test -z "$ac_c_werror_flag"
26825                          || test ! -s conftest.err'
26826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827   (eval $ac_try) 2>&5
26828   ac_status=$?
26829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830   (exit $ac_status); }; } &&
26831          { ac_try='test -s conftest$ac_exeext'
26832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833   (eval $ac_try) 2>&5
26834   ac_status=$?
26835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836   (exit $ac_status); }; }; then
26837   eval "$as_ac_var=yes"
26838 else
26839   echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 eval "$as_ac_var=no"
26843 fi
26844 rm -f conftest.err conftest.$ac_objext \
26845       conftest$ac_exeext conftest.$ac_ext
26846 fi
26847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26849 if test `eval echo '${'$as_ac_var'}'` = yes; then
26850   cat >>confdefs.h <<_ACEOF
26851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26852 _ACEOF
26853
26854 fi
26855 done
26856
26857     fi
26858   fi
26859
26860
26861
26862
26863
26864
26865   echo "$as_me:$LINENO: checking for isinff declaration" >&5
26866 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
26867   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
26868     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
26869   echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871
26872
26873
26874       ac_ext=cc
26875 ac_cpp='$CXXCPP $CPPFLAGS'
26876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26879
26880       cat >conftest.$ac_ext <<_ACEOF
26881 /* confdefs.h.  */
26882 _ACEOF
26883 cat confdefs.h >>conftest.$ac_ext
26884 cat >>conftest.$ac_ext <<_ACEOF
26885 /* end confdefs.h.  */
26886 #include <math.h>
26887                       #ifdef HAVE_IEEEFP_H
26888                       #include <ieeefp.h>
26889                       #endif
26890
26891 int
26892 main ()
26893 {
26894  isinff(0);
26895   ;
26896   return 0;
26897 }
26898 _ACEOF
26899 rm -f conftest.$ac_objext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26901   (eval $ac_compile) 2>conftest.er1
26902   ac_status=$?
26903   grep -v '^ *+' conftest.er1 >conftest.err
26904   rm -f conftest.er1
26905   cat conftest.err >&5
26906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907   (exit $ac_status); } &&
26908          { ac_try='test -z "$ac_cxx_werror_flag"
26909                          || test ! -s conftest.err'
26910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911   (eval $ac_try) 2>&5
26912   ac_status=$?
26913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914   (exit $ac_status); }; } &&
26915          { ac_try='test -s conftest.$ac_objext'
26916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26917   (eval $ac_try) 2>&5
26918   ac_status=$?
26919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26920   (exit $ac_status); }; }; then
26921   glibcxx_cv_func_isinff_use=yes
26922 else
26923   echo "$as_me: failed program was:" >&5
26924 sed 's/^/| /' conftest.$ac_ext >&5
26925
26926 glibcxx_cv_func_isinff_use=no
26927 fi
26928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26929       ac_ext=c
26930 ac_cpp='$CPP $CPPFLAGS'
26931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26934
26935
26936 fi
26937
26938   fi
26939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
26940 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
26941
26942   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
26943
26944 for ac_func in isinff
26945 do
26946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26947 echo "$as_me:$LINENO: checking for $ac_func" >&5
26948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26949 if eval "test \"\${$as_ac_var+set}\" = set"; then
26950   echo $ECHO_N "(cached) $ECHO_C" >&6
26951 else
26952   if test x$gcc_no_link = xyes; then
26953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26955    { (exit 1); exit 1; }; }
26956 fi
26957 cat >conftest.$ac_ext <<_ACEOF
26958 /* confdefs.h.  */
26959 _ACEOF
26960 cat confdefs.h >>conftest.$ac_ext
26961 cat >>conftest.$ac_ext <<_ACEOF
26962 /* end confdefs.h.  */
26963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26965 #define $ac_func innocuous_$ac_func
26966
26967 /* System header to define __stub macros and hopefully few prototypes,
26968     which can conflict with char $ac_func (); below.
26969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26970     <limits.h> exists even on freestanding compilers.  */
26971
26972 #ifdef __STDC__
26973 # include <limits.h>
26974 #else
26975 # include <assert.h>
26976 #endif
26977
26978 #undef $ac_func
26979
26980 /* Override any gcc2 internal prototype to avoid an error.  */
26981 #ifdef __cplusplus
26982 extern "C"
26983 {
26984 #endif
26985 /* We use char because int might match the return type of a gcc2
26986    builtin and then its argument prototype would still apply.  */
26987 char $ac_func ();
26988 /* The GNU C library defines this for functions which it implements
26989     to always fail with ENOSYS.  Some functions are actually named
26990     something starting with __ and the normal name is an alias.  */
26991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26992 choke me
26993 #else
26994 char (*f) () = $ac_func;
26995 #endif
26996 #ifdef __cplusplus
26997 }
26998 #endif
26999
27000 int
27001 main ()
27002 {
27003 return f != $ac_func;
27004   ;
27005   return 0;
27006 }
27007 _ACEOF
27008 rm -f conftest.$ac_objext conftest$ac_exeext
27009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27010   (eval $ac_link) 2>conftest.er1
27011   ac_status=$?
27012   grep -v '^ *+' conftest.er1 >conftest.err
27013   rm -f conftest.er1
27014   cat conftest.err >&5
27015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016   (exit $ac_status); } &&
27017          { ac_try='test -z "$ac_c_werror_flag"
27018                          || test ! -s conftest.err'
27019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27020   (eval $ac_try) 2>&5
27021   ac_status=$?
27022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023   (exit $ac_status); }; } &&
27024          { ac_try='test -s conftest$ac_exeext'
27025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27026   (eval $ac_try) 2>&5
27027   ac_status=$?
27028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029   (exit $ac_status); }; }; then
27030   eval "$as_ac_var=yes"
27031 else
27032   echo "$as_me: failed program was:" >&5
27033 sed 's/^/| /' conftest.$ac_ext >&5
27034
27035 eval "$as_ac_var=no"
27036 fi
27037 rm -f conftest.err conftest.$ac_objext \
27038       conftest$ac_exeext conftest.$ac_ext
27039 fi
27040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27042 if test `eval echo '${'$as_ac_var'}'` = yes; then
27043   cat >>confdefs.h <<_ACEOF
27044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27045 _ACEOF
27046
27047 fi
27048 done
27049
27050   else
27051
27052   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
27053 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
27054   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
27055     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
27056   echo $ECHO_N "(cached) $ECHO_C" >&6
27057 else
27058
27059
27060
27061       ac_ext=cc
27062 ac_cpp='$CXXCPP $CPPFLAGS'
27063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27066
27067       cat >conftest.$ac_ext <<_ACEOF
27068 /* confdefs.h.  */
27069 _ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h.  */
27073 #include <math.h>
27074                       #ifdef HAVE_IEEEFP_H
27075                       #include <ieeefp.h>
27076                       #endif
27077
27078 int
27079 main ()
27080 {
27081  _isinff(0);
27082   ;
27083   return 0;
27084 }
27085 _ACEOF
27086 rm -f conftest.$ac_objext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27088   (eval $ac_compile) 2>conftest.er1
27089   ac_status=$?
27090   grep -v '^ *+' conftest.er1 >conftest.err
27091   rm -f conftest.er1
27092   cat conftest.err >&5
27093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094   (exit $ac_status); } &&
27095          { ac_try='test -z "$ac_cxx_werror_flag"
27096                          || test ! -s conftest.err'
27097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098   (eval $ac_try) 2>&5
27099   ac_status=$?
27100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101   (exit $ac_status); }; } &&
27102          { ac_try='test -s conftest.$ac_objext'
27103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104   (eval $ac_try) 2>&5
27105   ac_status=$?
27106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107   (exit $ac_status); }; }; then
27108   glibcxx_cv_func__isinff_use=yes
27109 else
27110   echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27112
27113 glibcxx_cv_func__isinff_use=no
27114 fi
27115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27116       ac_ext=c
27117 ac_cpp='$CPP $CPPFLAGS'
27118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27121
27122
27123 fi
27124
27125   fi
27126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
27127 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
27128
27129     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
27130
27131 for ac_func in _isinff
27132 do
27133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27134 echo "$as_me:$LINENO: checking for $ac_func" >&5
27135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27136 if eval "test \"\${$as_ac_var+set}\" = set"; then
27137   echo $ECHO_N "(cached) $ECHO_C" >&6
27138 else
27139   if test x$gcc_no_link = xyes; then
27140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27142    { (exit 1); exit 1; }; }
27143 fi
27144 cat >conftest.$ac_ext <<_ACEOF
27145 /* confdefs.h.  */
27146 _ACEOF
27147 cat confdefs.h >>conftest.$ac_ext
27148 cat >>conftest.$ac_ext <<_ACEOF
27149 /* end confdefs.h.  */
27150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27152 #define $ac_func innocuous_$ac_func
27153
27154 /* System header to define __stub macros and hopefully few prototypes,
27155     which can conflict with char $ac_func (); below.
27156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27157     <limits.h> exists even on freestanding compilers.  */
27158
27159 #ifdef __STDC__
27160 # include <limits.h>
27161 #else
27162 # include <assert.h>
27163 #endif
27164
27165 #undef $ac_func
27166
27167 /* Override any gcc2 internal prototype to avoid an error.  */
27168 #ifdef __cplusplus
27169 extern "C"
27170 {
27171 #endif
27172 /* We use char because int might match the return type of a gcc2
27173    builtin and then its argument prototype would still apply.  */
27174 char $ac_func ();
27175 /* The GNU C library defines this for functions which it implements
27176     to always fail with ENOSYS.  Some functions are actually named
27177     something starting with __ and the normal name is an alias.  */
27178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27179 choke me
27180 #else
27181 char (*f) () = $ac_func;
27182 #endif
27183 #ifdef __cplusplus
27184 }
27185 #endif
27186
27187 int
27188 main ()
27189 {
27190 return f != $ac_func;
27191   ;
27192   return 0;
27193 }
27194 _ACEOF
27195 rm -f conftest.$ac_objext conftest$ac_exeext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27197   (eval $ac_link) 2>conftest.er1
27198   ac_status=$?
27199   grep -v '^ *+' conftest.er1 >conftest.err
27200   rm -f conftest.er1
27201   cat conftest.err >&5
27202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203   (exit $ac_status); } &&
27204          { ac_try='test -z "$ac_c_werror_flag"
27205                          || test ! -s conftest.err'
27206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207   (eval $ac_try) 2>&5
27208   ac_status=$?
27209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210   (exit $ac_status); }; } &&
27211          { ac_try='test -s conftest$ac_exeext'
27212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213   (eval $ac_try) 2>&5
27214   ac_status=$?
27215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216   (exit $ac_status); }; }; then
27217   eval "$as_ac_var=yes"
27218 else
27219   echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27221
27222 eval "$as_ac_var=no"
27223 fi
27224 rm -f conftest.err conftest.$ac_objext \
27225       conftest$ac_exeext conftest.$ac_ext
27226 fi
27227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27229 if test `eval echo '${'$as_ac_var'}'` = yes; then
27230   cat >>confdefs.h <<_ACEOF
27231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27232 _ACEOF
27233
27234 fi
27235 done
27236
27237     fi
27238   fi
27239
27240
27241
27242
27243
27244
27245   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
27246 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
27247   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
27248     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
27249   echo $ECHO_N "(cached) $ECHO_C" >&6
27250 else
27251
27252
27253
27254       ac_ext=cc
27255 ac_cpp='$CXXCPP $CPPFLAGS'
27256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27259
27260       cat >conftest.$ac_ext <<_ACEOF
27261 /* confdefs.h.  */
27262 _ACEOF
27263 cat confdefs.h >>conftest.$ac_ext
27264 cat >>conftest.$ac_ext <<_ACEOF
27265 /* end confdefs.h.  */
27266 #include <math.h>
27267 int
27268 main ()
27269 {
27270  atan2f(0, 0);
27271   ;
27272   return 0;
27273 }
27274 _ACEOF
27275 rm -f conftest.$ac_objext
27276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27277   (eval $ac_compile) 2>conftest.er1
27278   ac_status=$?
27279   grep -v '^ *+' conftest.er1 >conftest.err
27280   rm -f conftest.er1
27281   cat conftest.err >&5
27282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283   (exit $ac_status); } &&
27284          { ac_try='test -z "$ac_cxx_werror_flag"
27285                          || test ! -s conftest.err'
27286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287   (eval $ac_try) 2>&5
27288   ac_status=$?
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); }; } &&
27291          { ac_try='test -s conftest.$ac_objext'
27292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293   (eval $ac_try) 2>&5
27294   ac_status=$?
27295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296   (exit $ac_status); }; }; then
27297   glibcxx_cv_func_atan2f_use=yes
27298 else
27299   echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27301
27302 glibcxx_cv_func_atan2f_use=no
27303 fi
27304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27305       ac_ext=c
27306 ac_cpp='$CPP $CPPFLAGS'
27307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27310
27311
27312 fi
27313
27314   fi
27315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
27316 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
27317
27318   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
27319
27320 for ac_func in atan2f
27321 do
27322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27323 echo "$as_me:$LINENO: checking for $ac_func" >&5
27324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27325 if eval "test \"\${$as_ac_var+set}\" = set"; then
27326   echo $ECHO_N "(cached) $ECHO_C" >&6
27327 else
27328   if test x$gcc_no_link = xyes; then
27329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27331    { (exit 1); exit 1; }; }
27332 fi
27333 cat >conftest.$ac_ext <<_ACEOF
27334 /* confdefs.h.  */
27335 _ACEOF
27336 cat confdefs.h >>conftest.$ac_ext
27337 cat >>conftest.$ac_ext <<_ACEOF
27338 /* end confdefs.h.  */
27339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27341 #define $ac_func innocuous_$ac_func
27342
27343 /* System header to define __stub macros and hopefully few prototypes,
27344     which can conflict with char $ac_func (); below.
27345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27346     <limits.h> exists even on freestanding compilers.  */
27347
27348 #ifdef __STDC__
27349 # include <limits.h>
27350 #else
27351 # include <assert.h>
27352 #endif
27353
27354 #undef $ac_func
27355
27356 /* Override any gcc2 internal prototype to avoid an error.  */
27357 #ifdef __cplusplus
27358 extern "C"
27359 {
27360 #endif
27361 /* We use char because int might match the return type of a gcc2
27362    builtin and then its argument prototype would still apply.  */
27363 char $ac_func ();
27364 /* The GNU C library defines this for functions which it implements
27365     to always fail with ENOSYS.  Some functions are actually named
27366     something starting with __ and the normal name is an alias.  */
27367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27368 choke me
27369 #else
27370 char (*f) () = $ac_func;
27371 #endif
27372 #ifdef __cplusplus
27373 }
27374 #endif
27375
27376 int
27377 main ()
27378 {
27379 return f != $ac_func;
27380   ;
27381   return 0;
27382 }
27383 _ACEOF
27384 rm -f conftest.$ac_objext conftest$ac_exeext
27385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27386   (eval $ac_link) 2>conftest.er1
27387   ac_status=$?
27388   grep -v '^ *+' conftest.er1 >conftest.err
27389   rm -f conftest.er1
27390   cat conftest.err >&5
27391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27392   (exit $ac_status); } &&
27393          { ac_try='test -z "$ac_c_werror_flag"
27394                          || test ! -s conftest.err'
27395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27396   (eval $ac_try) 2>&5
27397   ac_status=$?
27398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399   (exit $ac_status); }; } &&
27400          { ac_try='test -s conftest$ac_exeext'
27401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402   (eval $ac_try) 2>&5
27403   ac_status=$?
27404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405   (exit $ac_status); }; }; then
27406   eval "$as_ac_var=yes"
27407 else
27408   echo "$as_me: failed program was:" >&5
27409 sed 's/^/| /' conftest.$ac_ext >&5
27410
27411 eval "$as_ac_var=no"
27412 fi
27413 rm -f conftest.err conftest.$ac_objext \
27414       conftest$ac_exeext conftest.$ac_ext
27415 fi
27416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27418 if test `eval echo '${'$as_ac_var'}'` = yes; then
27419   cat >>confdefs.h <<_ACEOF
27420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27421 _ACEOF
27422
27423 fi
27424 done
27425
27426   else
27427
27428   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
27429 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
27430   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
27431     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
27432   echo $ECHO_N "(cached) $ECHO_C" >&6
27433 else
27434
27435
27436
27437       ac_ext=cc
27438 ac_cpp='$CXXCPP $CPPFLAGS'
27439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442
27443       cat >conftest.$ac_ext <<_ACEOF
27444 /* confdefs.h.  */
27445 _ACEOF
27446 cat confdefs.h >>conftest.$ac_ext
27447 cat >>conftest.$ac_ext <<_ACEOF
27448 /* end confdefs.h.  */
27449 #include <math.h>
27450 int
27451 main ()
27452 {
27453  _atan2f(0, 0);
27454   ;
27455   return 0;
27456 }
27457 _ACEOF
27458 rm -f conftest.$ac_objext
27459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27460   (eval $ac_compile) 2>conftest.er1
27461   ac_status=$?
27462   grep -v '^ *+' conftest.er1 >conftest.err
27463   rm -f conftest.er1
27464   cat conftest.err >&5
27465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466   (exit $ac_status); } &&
27467          { ac_try='test -z "$ac_cxx_werror_flag"
27468                          || test ! -s conftest.err'
27469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27470   (eval $ac_try) 2>&5
27471   ac_status=$?
27472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473   (exit $ac_status); }; } &&
27474          { ac_try='test -s conftest.$ac_objext'
27475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27476   (eval $ac_try) 2>&5
27477   ac_status=$?
27478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479   (exit $ac_status); }; }; then
27480   glibcxx_cv_func__atan2f_use=yes
27481 else
27482   echo "$as_me: failed program was:" >&5
27483 sed 's/^/| /' conftest.$ac_ext >&5
27484
27485 glibcxx_cv_func__atan2f_use=no
27486 fi
27487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27488       ac_ext=c
27489 ac_cpp='$CPP $CPPFLAGS'
27490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27493
27494
27495 fi
27496
27497   fi
27498   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
27499 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
27500
27501     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
27502
27503 for ac_func in _atan2f
27504 do
27505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27506 echo "$as_me:$LINENO: checking for $ac_func" >&5
27507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27508 if eval "test \"\${$as_ac_var+set}\" = set"; then
27509   echo $ECHO_N "(cached) $ECHO_C" >&6
27510 else
27511   if test x$gcc_no_link = xyes; then
27512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27514    { (exit 1); exit 1; }; }
27515 fi
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h.  */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h.  */
27522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27524 #define $ac_func innocuous_$ac_func
27525
27526 /* System header to define __stub macros and hopefully few prototypes,
27527     which can conflict with char $ac_func (); below.
27528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529     <limits.h> exists even on freestanding compilers.  */
27530
27531 #ifdef __STDC__
27532 # include <limits.h>
27533 #else
27534 # include <assert.h>
27535 #endif
27536
27537 #undef $ac_func
27538
27539 /* Override any gcc2 internal prototype to avoid an error.  */
27540 #ifdef __cplusplus
27541 extern "C"
27542 {
27543 #endif
27544 /* We use char because int might match the return type of a gcc2
27545    builtin and then its argument prototype would still apply.  */
27546 char $ac_func ();
27547 /* The GNU C library defines this for functions which it implements
27548     to always fail with ENOSYS.  Some functions are actually named
27549     something starting with __ and the normal name is an alias.  */
27550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27551 choke me
27552 #else
27553 char (*f) () = $ac_func;
27554 #endif
27555 #ifdef __cplusplus
27556 }
27557 #endif
27558
27559 int
27560 main ()
27561 {
27562 return f != $ac_func;
27563   ;
27564   return 0;
27565 }
27566 _ACEOF
27567 rm -f conftest.$ac_objext conftest$ac_exeext
27568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27569   (eval $ac_link) 2>conftest.er1
27570   ac_status=$?
27571   grep -v '^ *+' conftest.er1 >conftest.err
27572   rm -f conftest.er1
27573   cat conftest.err >&5
27574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575   (exit $ac_status); } &&
27576          { ac_try='test -z "$ac_c_werror_flag"
27577                          || test ! -s conftest.err'
27578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27579   (eval $ac_try) 2>&5
27580   ac_status=$?
27581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582   (exit $ac_status); }; } &&
27583          { ac_try='test -s conftest$ac_exeext'
27584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27585   (eval $ac_try) 2>&5
27586   ac_status=$?
27587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588   (exit $ac_status); }; }; then
27589   eval "$as_ac_var=yes"
27590 else
27591   echo "$as_me: failed program was:" >&5
27592 sed 's/^/| /' conftest.$ac_ext >&5
27593
27594 eval "$as_ac_var=no"
27595 fi
27596 rm -f conftest.err conftest.$ac_objext \
27597       conftest$ac_exeext conftest.$ac_ext
27598 fi
27599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27601 if test `eval echo '${'$as_ac_var'}'` = yes; then
27602   cat >>confdefs.h <<_ACEOF
27603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27604 _ACEOF
27605
27606 fi
27607 done
27608
27609     fi
27610   fi
27611
27612
27613
27614
27615
27616
27617   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
27618 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
27619   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
27620     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
27621   echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623
27624
27625
27626       ac_ext=cc
27627 ac_cpp='$CXXCPP $CPPFLAGS'
27628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27631
27632       cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h.  */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h.  */
27638 #include <math.h>
27639                       #ifdef HAVE_IEEEFP_H
27640                       #include <ieeefp.h>
27641                       #endif
27642
27643 int
27644 main ()
27645 {
27646  fabsf(0);
27647   ;
27648   return 0;
27649 }
27650 _ACEOF
27651 rm -f conftest.$ac_objext
27652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27653   (eval $ac_compile) 2>conftest.er1
27654   ac_status=$?
27655   grep -v '^ *+' conftest.er1 >conftest.err
27656   rm -f conftest.er1
27657   cat conftest.err >&5
27658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659   (exit $ac_status); } &&
27660          { ac_try='test -z "$ac_cxx_werror_flag"
27661                          || test ! -s conftest.err'
27662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27663   (eval $ac_try) 2>&5
27664   ac_status=$?
27665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666   (exit $ac_status); }; } &&
27667          { ac_try='test -s conftest.$ac_objext'
27668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669   (eval $ac_try) 2>&5
27670   ac_status=$?
27671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672   (exit $ac_status); }; }; then
27673   glibcxx_cv_func_fabsf_use=yes
27674 else
27675   echo "$as_me: failed program was:" >&5
27676 sed 's/^/| /' conftest.$ac_ext >&5
27677
27678 glibcxx_cv_func_fabsf_use=no
27679 fi
27680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27681       ac_ext=c
27682 ac_cpp='$CPP $CPPFLAGS'
27683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27686
27687
27688 fi
27689
27690   fi
27691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
27692 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
27693
27694   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
27695
27696 for ac_func in fabsf
27697 do
27698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27699 echo "$as_me:$LINENO: checking for $ac_func" >&5
27700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27701 if eval "test \"\${$as_ac_var+set}\" = set"; then
27702   echo $ECHO_N "(cached) $ECHO_C" >&6
27703 else
27704   if test x$gcc_no_link = xyes; then
27705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27707    { (exit 1); exit 1; }; }
27708 fi
27709 cat >conftest.$ac_ext <<_ACEOF
27710 /* confdefs.h.  */
27711 _ACEOF
27712 cat confdefs.h >>conftest.$ac_ext
27713 cat >>conftest.$ac_ext <<_ACEOF
27714 /* end confdefs.h.  */
27715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27717 #define $ac_func innocuous_$ac_func
27718
27719 /* System header to define __stub macros and hopefully few prototypes,
27720     which can conflict with char $ac_func (); below.
27721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27722     <limits.h> exists even on freestanding compilers.  */
27723
27724 #ifdef __STDC__
27725 # include <limits.h>
27726 #else
27727 # include <assert.h>
27728 #endif
27729
27730 #undef $ac_func
27731
27732 /* Override any gcc2 internal prototype to avoid an error.  */
27733 #ifdef __cplusplus
27734 extern "C"
27735 {
27736 #endif
27737 /* We use char because int might match the return type of a gcc2
27738    builtin and then its argument prototype would still apply.  */
27739 char $ac_func ();
27740 /* The GNU C library defines this for functions which it implements
27741     to always fail with ENOSYS.  Some functions are actually named
27742     something starting with __ and the normal name is an alias.  */
27743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27744 choke me
27745 #else
27746 char (*f) () = $ac_func;
27747 #endif
27748 #ifdef __cplusplus
27749 }
27750 #endif
27751
27752 int
27753 main ()
27754 {
27755 return f != $ac_func;
27756   ;
27757   return 0;
27758 }
27759 _ACEOF
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27762   (eval $ac_link) 2>conftest.er1
27763   ac_status=$?
27764   grep -v '^ *+' conftest.er1 >conftest.err
27765   rm -f conftest.er1
27766   cat conftest.err >&5
27767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768   (exit $ac_status); } &&
27769          { ac_try='test -z "$ac_c_werror_flag"
27770                          || test ! -s conftest.err'
27771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772   (eval $ac_try) 2>&5
27773   ac_status=$?
27774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775   (exit $ac_status); }; } &&
27776          { ac_try='test -s conftest$ac_exeext'
27777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778   (eval $ac_try) 2>&5
27779   ac_status=$?
27780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781   (exit $ac_status); }; }; then
27782   eval "$as_ac_var=yes"
27783 else
27784   echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787 eval "$as_ac_var=no"
27788 fi
27789 rm -f conftest.err conftest.$ac_objext \
27790       conftest$ac_exeext conftest.$ac_ext
27791 fi
27792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27794 if test `eval echo '${'$as_ac_var'}'` = yes; then
27795   cat >>confdefs.h <<_ACEOF
27796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27797 _ACEOF
27798
27799 fi
27800 done
27801
27802   else
27803
27804   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
27805 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
27806   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
27807     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
27808   echo $ECHO_N "(cached) $ECHO_C" >&6
27809 else
27810
27811
27812
27813       ac_ext=cc
27814 ac_cpp='$CXXCPP $CPPFLAGS'
27815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27818
27819       cat >conftest.$ac_ext <<_ACEOF
27820 /* confdefs.h.  */
27821 _ACEOF
27822 cat confdefs.h >>conftest.$ac_ext
27823 cat >>conftest.$ac_ext <<_ACEOF
27824 /* end confdefs.h.  */
27825 #include <math.h>
27826                       #ifdef HAVE_IEEEFP_H
27827                       #include <ieeefp.h>
27828                       #endif
27829
27830 int
27831 main ()
27832 {
27833  _fabsf(0);
27834   ;
27835   return 0;
27836 }
27837 _ACEOF
27838 rm -f conftest.$ac_objext
27839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27840   (eval $ac_compile) 2>conftest.er1
27841   ac_status=$?
27842   grep -v '^ *+' conftest.er1 >conftest.err
27843   rm -f conftest.er1
27844   cat conftest.err >&5
27845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846   (exit $ac_status); } &&
27847          { ac_try='test -z "$ac_cxx_werror_flag"
27848                          || test ! -s conftest.err'
27849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850   (eval $ac_try) 2>&5
27851   ac_status=$?
27852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853   (exit $ac_status); }; } &&
27854          { ac_try='test -s conftest.$ac_objext'
27855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856   (eval $ac_try) 2>&5
27857   ac_status=$?
27858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859   (exit $ac_status); }; }; then
27860   glibcxx_cv_func__fabsf_use=yes
27861 else
27862   echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 glibcxx_cv_func__fabsf_use=no
27866 fi
27867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27868       ac_ext=c
27869 ac_cpp='$CPP $CPPFLAGS'
27870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27873
27874
27875 fi
27876
27877   fi
27878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
27879 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
27880
27881     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
27882
27883 for ac_func in _fabsf
27884 do
27885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27886 echo "$as_me:$LINENO: checking for $ac_func" >&5
27887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27888 if eval "test \"\${$as_ac_var+set}\" = set"; then
27889   echo $ECHO_N "(cached) $ECHO_C" >&6
27890 else
27891   if test x$gcc_no_link = xyes; then
27892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27894    { (exit 1); exit 1; }; }
27895 fi
27896 cat >conftest.$ac_ext <<_ACEOF
27897 /* confdefs.h.  */
27898 _ACEOF
27899 cat confdefs.h >>conftest.$ac_ext
27900 cat >>conftest.$ac_ext <<_ACEOF
27901 /* end confdefs.h.  */
27902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27904 #define $ac_func innocuous_$ac_func
27905
27906 /* System header to define __stub macros and hopefully few prototypes,
27907     which can conflict with char $ac_func (); below.
27908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27909     <limits.h> exists even on freestanding compilers.  */
27910
27911 #ifdef __STDC__
27912 # include <limits.h>
27913 #else
27914 # include <assert.h>
27915 #endif
27916
27917 #undef $ac_func
27918
27919 /* Override any gcc2 internal prototype to avoid an error.  */
27920 #ifdef __cplusplus
27921 extern "C"
27922 {
27923 #endif
27924 /* We use char because int might match the return type of a gcc2
27925    builtin and then its argument prototype would still apply.  */
27926 char $ac_func ();
27927 /* The GNU C library defines this for functions which it implements
27928     to always fail with ENOSYS.  Some functions are actually named
27929     something starting with __ and the normal name is an alias.  */
27930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27931 choke me
27932 #else
27933 char (*f) () = $ac_func;
27934 #endif
27935 #ifdef __cplusplus
27936 }
27937 #endif
27938
27939 int
27940 main ()
27941 {
27942 return f != $ac_func;
27943   ;
27944   return 0;
27945 }
27946 _ACEOF
27947 rm -f conftest.$ac_objext conftest$ac_exeext
27948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27949   (eval $ac_link) 2>conftest.er1
27950   ac_status=$?
27951   grep -v '^ *+' conftest.er1 >conftest.err
27952   rm -f conftest.er1
27953   cat conftest.err >&5
27954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955   (exit $ac_status); } &&
27956          { ac_try='test -z "$ac_c_werror_flag"
27957                          || test ! -s conftest.err'
27958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959   (eval $ac_try) 2>&5
27960   ac_status=$?
27961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962   (exit $ac_status); }; } &&
27963          { ac_try='test -s conftest$ac_exeext'
27964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965   (eval $ac_try) 2>&5
27966   ac_status=$?
27967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968   (exit $ac_status); }; }; then
27969   eval "$as_ac_var=yes"
27970 else
27971   echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27973
27974 eval "$as_ac_var=no"
27975 fi
27976 rm -f conftest.err conftest.$ac_objext \
27977       conftest$ac_exeext conftest.$ac_ext
27978 fi
27979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27981 if test `eval echo '${'$as_ac_var'}'` = yes; then
27982   cat >>confdefs.h <<_ACEOF
27983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27984 _ACEOF
27985
27986 fi
27987 done
27988
27989     fi
27990   fi
27991
27992
27993
27994
27995
27996
27997   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
27998 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
27999   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28000     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
28001   echo $ECHO_N "(cached) $ECHO_C" >&6
28002 else
28003
28004
28005
28006       ac_ext=cc
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28011
28012       cat >conftest.$ac_ext <<_ACEOF
28013 /* confdefs.h.  */
28014 _ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h.  */
28018 #include <math.h>
28019 int
28020 main ()
28021 {
28022  fmodf(0, 0);
28023   ;
28024   return 0;
28025 }
28026 _ACEOF
28027 rm -f conftest.$ac_objext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28029   (eval $ac_compile) 2>conftest.er1
28030   ac_status=$?
28031   grep -v '^ *+' conftest.er1 >conftest.err
28032   rm -f conftest.er1
28033   cat conftest.err >&5
28034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28035   (exit $ac_status); } &&
28036          { ac_try='test -z "$ac_cxx_werror_flag"
28037                          || test ! -s conftest.err'
28038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28039   (eval $ac_try) 2>&5
28040   ac_status=$?
28041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042   (exit $ac_status); }; } &&
28043          { ac_try='test -s conftest.$ac_objext'
28044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045   (eval $ac_try) 2>&5
28046   ac_status=$?
28047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048   (exit $ac_status); }; }; then
28049   glibcxx_cv_func_fmodf_use=yes
28050 else
28051   echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28053
28054 glibcxx_cv_func_fmodf_use=no
28055 fi
28056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28057       ac_ext=c
28058 ac_cpp='$CPP $CPPFLAGS'
28059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28062
28063
28064 fi
28065
28066   fi
28067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
28068 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
28069
28070   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28071
28072 for ac_func in fmodf
28073 do
28074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28075 echo "$as_me:$LINENO: checking for $ac_func" >&5
28076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28077 if eval "test \"\${$as_ac_var+set}\" = set"; then
28078   echo $ECHO_N "(cached) $ECHO_C" >&6
28079 else
28080   if test x$gcc_no_link = xyes; then
28081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28083    { (exit 1); exit 1; }; }
28084 fi
28085 cat >conftest.$ac_ext <<_ACEOF
28086 /* confdefs.h.  */
28087 _ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h.  */
28091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28093 #define $ac_func innocuous_$ac_func
28094
28095 /* System header to define __stub macros and hopefully few prototypes,
28096     which can conflict with char $ac_func (); below.
28097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28098     <limits.h> exists even on freestanding compilers.  */
28099
28100 #ifdef __STDC__
28101 # include <limits.h>
28102 #else
28103 # include <assert.h>
28104 #endif
28105
28106 #undef $ac_func
28107
28108 /* Override any gcc2 internal prototype to avoid an error.  */
28109 #ifdef __cplusplus
28110 extern "C"
28111 {
28112 #endif
28113 /* We use char because int might match the return type of a gcc2
28114    builtin and then its argument prototype would still apply.  */
28115 char $ac_func ();
28116 /* The GNU C library defines this for functions which it implements
28117     to always fail with ENOSYS.  Some functions are actually named
28118     something starting with __ and the normal name is an alias.  */
28119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28120 choke me
28121 #else
28122 char (*f) () = $ac_func;
28123 #endif
28124 #ifdef __cplusplus
28125 }
28126 #endif
28127
28128 int
28129 main ()
28130 {
28131 return f != $ac_func;
28132   ;
28133   return 0;
28134 }
28135 _ACEOF
28136 rm -f conftest.$ac_objext conftest$ac_exeext
28137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28138   (eval $ac_link) 2>conftest.er1
28139   ac_status=$?
28140   grep -v '^ *+' conftest.er1 >conftest.err
28141   rm -f conftest.er1
28142   cat conftest.err >&5
28143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144   (exit $ac_status); } &&
28145          { ac_try='test -z "$ac_c_werror_flag"
28146                          || test ! -s conftest.err'
28147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28148   (eval $ac_try) 2>&5
28149   ac_status=$?
28150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151   (exit $ac_status); }; } &&
28152          { ac_try='test -s conftest$ac_exeext'
28153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154   (eval $ac_try) 2>&5
28155   ac_status=$?
28156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157   (exit $ac_status); }; }; then
28158   eval "$as_ac_var=yes"
28159 else
28160   echo "$as_me: failed program was:" >&5
28161 sed 's/^/| /' conftest.$ac_ext >&5
28162
28163 eval "$as_ac_var=no"
28164 fi
28165 rm -f conftest.err conftest.$ac_objext \
28166       conftest$ac_exeext conftest.$ac_ext
28167 fi
28168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28170 if test `eval echo '${'$as_ac_var'}'` = yes; then
28171   cat >>confdefs.h <<_ACEOF
28172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178   else
28179
28180   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
28181 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
28182   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28183     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
28184   echo $ECHO_N "(cached) $ECHO_C" >&6
28185 else
28186
28187
28188
28189       ac_ext=cc
28190 ac_cpp='$CXXCPP $CPPFLAGS'
28191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28194
28195       cat >conftest.$ac_ext <<_ACEOF
28196 /* confdefs.h.  */
28197 _ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h.  */
28201 #include <math.h>
28202 int
28203 main ()
28204 {
28205  _fmodf(0, 0);
28206   ;
28207   return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28212   (eval $ac_compile) 2>conftest.er1
28213   ac_status=$?
28214   grep -v '^ *+' conftest.er1 >conftest.err
28215   rm -f conftest.er1
28216   cat conftest.err >&5
28217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218   (exit $ac_status); } &&
28219          { ac_try='test -z "$ac_cxx_werror_flag"
28220                          || test ! -s conftest.err'
28221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28222   (eval $ac_try) 2>&5
28223   ac_status=$?
28224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225   (exit $ac_status); }; } &&
28226          { ac_try='test -s conftest.$ac_objext'
28227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228   (eval $ac_try) 2>&5
28229   ac_status=$?
28230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231   (exit $ac_status); }; }; then
28232   glibcxx_cv_func__fmodf_use=yes
28233 else
28234   echo "$as_me: failed program was:" >&5
28235 sed 's/^/| /' conftest.$ac_ext >&5
28236
28237 glibcxx_cv_func__fmodf_use=no
28238 fi
28239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28240       ac_ext=c
28241 ac_cpp='$CPP $CPPFLAGS'
28242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28245
28246
28247 fi
28248
28249   fi
28250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
28251 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
28252
28253     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28254
28255 for ac_func in _fmodf
28256 do
28257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28258 echo "$as_me:$LINENO: checking for $ac_func" >&5
28259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28260 if eval "test \"\${$as_ac_var+set}\" = set"; then
28261   echo $ECHO_N "(cached) $ECHO_C" >&6
28262 else
28263   if test x$gcc_no_link = xyes; then
28264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28266    { (exit 1); exit 1; }; }
28267 fi
28268 cat >conftest.$ac_ext <<_ACEOF
28269 /* confdefs.h.  */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h.  */
28274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28276 #define $ac_func innocuous_$ac_func
28277
28278 /* System header to define __stub macros and hopefully few prototypes,
28279     which can conflict with char $ac_func (); below.
28280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28281     <limits.h> exists even on freestanding compilers.  */
28282
28283 #ifdef __STDC__
28284 # include <limits.h>
28285 #else
28286 # include <assert.h>
28287 #endif
28288
28289 #undef $ac_func
28290
28291 /* Override any gcc2 internal prototype to avoid an error.  */
28292 #ifdef __cplusplus
28293 extern "C"
28294 {
28295 #endif
28296 /* We use char because int might match the return type of a gcc2
28297    builtin and then its argument prototype would still apply.  */
28298 char $ac_func ();
28299 /* The GNU C library defines this for functions which it implements
28300     to always fail with ENOSYS.  Some functions are actually named
28301     something starting with __ and the normal name is an alias.  */
28302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28303 choke me
28304 #else
28305 char (*f) () = $ac_func;
28306 #endif
28307 #ifdef __cplusplus
28308 }
28309 #endif
28310
28311 int
28312 main ()
28313 {
28314 return f != $ac_func;
28315   ;
28316   return 0;
28317 }
28318 _ACEOF
28319 rm -f conftest.$ac_objext conftest$ac_exeext
28320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28321   (eval $ac_link) 2>conftest.er1
28322   ac_status=$?
28323   grep -v '^ *+' conftest.er1 >conftest.err
28324   rm -f conftest.er1
28325   cat conftest.err >&5
28326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327   (exit $ac_status); } &&
28328          { ac_try='test -z "$ac_c_werror_flag"
28329                          || test ! -s conftest.err'
28330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28331   (eval $ac_try) 2>&5
28332   ac_status=$?
28333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28334   (exit $ac_status); }; } &&
28335          { ac_try='test -s conftest$ac_exeext'
28336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337   (eval $ac_try) 2>&5
28338   ac_status=$?
28339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340   (exit $ac_status); }; }; then
28341   eval "$as_ac_var=yes"
28342 else
28343   echo "$as_me: failed program was:" >&5
28344 sed 's/^/| /' conftest.$ac_ext >&5
28345
28346 eval "$as_ac_var=no"
28347 fi
28348 rm -f conftest.err conftest.$ac_objext \
28349       conftest$ac_exeext conftest.$ac_ext
28350 fi
28351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28353 if test `eval echo '${'$as_ac_var'}'` = yes; then
28354   cat >>confdefs.h <<_ACEOF
28355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28356 _ACEOF
28357
28358 fi
28359 done
28360
28361     fi
28362   fi
28363
28364
28365
28366
28367
28368
28369   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
28370 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
28371   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28372     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
28373   echo $ECHO_N "(cached) $ECHO_C" >&6
28374 else
28375
28376
28377
28378       ac_ext=cc
28379 ac_cpp='$CXXCPP $CPPFLAGS'
28380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28383
28384       cat >conftest.$ac_ext <<_ACEOF
28385 /* confdefs.h.  */
28386 _ACEOF
28387 cat confdefs.h >>conftest.$ac_ext
28388 cat >>conftest.$ac_ext <<_ACEOF
28389 /* end confdefs.h.  */
28390 #include <math.h>
28391 int
28392 main ()
28393 {
28394  frexpf(0, 0);
28395   ;
28396   return 0;
28397 }
28398 _ACEOF
28399 rm -f conftest.$ac_objext
28400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28401   (eval $ac_compile) 2>conftest.er1
28402   ac_status=$?
28403   grep -v '^ *+' conftest.er1 >conftest.err
28404   rm -f conftest.er1
28405   cat conftest.err >&5
28406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407   (exit $ac_status); } &&
28408          { ac_try='test -z "$ac_cxx_werror_flag"
28409                          || test ! -s conftest.err'
28410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28411   (eval $ac_try) 2>&5
28412   ac_status=$?
28413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414   (exit $ac_status); }; } &&
28415          { ac_try='test -s conftest.$ac_objext'
28416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28417   (eval $ac_try) 2>&5
28418   ac_status=$?
28419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420   (exit $ac_status); }; }; then
28421   glibcxx_cv_func_frexpf_use=yes
28422 else
28423   echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28425
28426 glibcxx_cv_func_frexpf_use=no
28427 fi
28428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28429       ac_ext=c
28430 ac_cpp='$CPP $CPPFLAGS'
28431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28434
28435
28436 fi
28437
28438   fi
28439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
28440 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
28441
28442   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28443
28444 for ac_func in frexpf
28445 do
28446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28447 echo "$as_me:$LINENO: checking for $ac_func" >&5
28448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28449 if eval "test \"\${$as_ac_var+set}\" = set"; then
28450   echo $ECHO_N "(cached) $ECHO_C" >&6
28451 else
28452   if test x$gcc_no_link = xyes; then
28453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28455    { (exit 1); exit 1; }; }
28456 fi
28457 cat >conftest.$ac_ext <<_ACEOF
28458 /* confdefs.h.  */
28459 _ACEOF
28460 cat confdefs.h >>conftest.$ac_ext
28461 cat >>conftest.$ac_ext <<_ACEOF
28462 /* end confdefs.h.  */
28463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28465 #define $ac_func innocuous_$ac_func
28466
28467 /* System header to define __stub macros and hopefully few prototypes,
28468     which can conflict with char $ac_func (); below.
28469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28470     <limits.h> exists even on freestanding compilers.  */
28471
28472 #ifdef __STDC__
28473 # include <limits.h>
28474 #else
28475 # include <assert.h>
28476 #endif
28477
28478 #undef $ac_func
28479
28480 /* Override any gcc2 internal prototype to avoid an error.  */
28481 #ifdef __cplusplus
28482 extern "C"
28483 {
28484 #endif
28485 /* We use char because int might match the return type of a gcc2
28486    builtin and then its argument prototype would still apply.  */
28487 char $ac_func ();
28488 /* The GNU C library defines this for functions which it implements
28489     to always fail with ENOSYS.  Some functions are actually named
28490     something starting with __ and the normal name is an alias.  */
28491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28492 choke me
28493 #else
28494 char (*f) () = $ac_func;
28495 #endif
28496 #ifdef __cplusplus
28497 }
28498 #endif
28499
28500 int
28501 main ()
28502 {
28503 return f != $ac_func;
28504   ;
28505   return 0;
28506 }
28507 _ACEOF
28508 rm -f conftest.$ac_objext conftest$ac_exeext
28509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28510   (eval $ac_link) 2>conftest.er1
28511   ac_status=$?
28512   grep -v '^ *+' conftest.er1 >conftest.err
28513   rm -f conftest.er1
28514   cat conftest.err >&5
28515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516   (exit $ac_status); } &&
28517          { ac_try='test -z "$ac_c_werror_flag"
28518                          || test ! -s conftest.err'
28519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28520   (eval $ac_try) 2>&5
28521   ac_status=$?
28522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523   (exit $ac_status); }; } &&
28524          { ac_try='test -s conftest$ac_exeext'
28525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28526   (eval $ac_try) 2>&5
28527   ac_status=$?
28528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529   (exit $ac_status); }; }; then
28530   eval "$as_ac_var=yes"
28531 else
28532   echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 eval "$as_ac_var=no"
28536 fi
28537 rm -f conftest.err conftest.$ac_objext \
28538       conftest$ac_exeext conftest.$ac_ext
28539 fi
28540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28542 if test `eval echo '${'$as_ac_var'}'` = yes; then
28543   cat >>confdefs.h <<_ACEOF
28544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28545 _ACEOF
28546
28547 fi
28548 done
28549
28550   else
28551
28552   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
28553 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
28554   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28555     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
28556   echo $ECHO_N "(cached) $ECHO_C" >&6
28557 else
28558
28559
28560
28561       ac_ext=cc
28562 ac_cpp='$CXXCPP $CPPFLAGS'
28563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28566
28567       cat >conftest.$ac_ext <<_ACEOF
28568 /* confdefs.h.  */
28569 _ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h.  */
28573 #include <math.h>
28574 int
28575 main ()
28576 {
28577  _frexpf(0, 0);
28578   ;
28579   return 0;
28580 }
28581 _ACEOF
28582 rm -f conftest.$ac_objext
28583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28584   (eval $ac_compile) 2>conftest.er1
28585   ac_status=$?
28586   grep -v '^ *+' conftest.er1 >conftest.err
28587   rm -f conftest.er1
28588   cat conftest.err >&5
28589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590   (exit $ac_status); } &&
28591          { ac_try='test -z "$ac_cxx_werror_flag"
28592                          || test ! -s conftest.err'
28593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594   (eval $ac_try) 2>&5
28595   ac_status=$?
28596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597   (exit $ac_status); }; } &&
28598          { ac_try='test -s conftest.$ac_objext'
28599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600   (eval $ac_try) 2>&5
28601   ac_status=$?
28602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603   (exit $ac_status); }; }; then
28604   glibcxx_cv_func__frexpf_use=yes
28605 else
28606   echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28608
28609 glibcxx_cv_func__frexpf_use=no
28610 fi
28611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28612       ac_ext=c
28613 ac_cpp='$CPP $CPPFLAGS'
28614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28617
28618
28619 fi
28620
28621   fi
28622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
28623 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
28624
28625     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28626
28627 for ac_func in _frexpf
28628 do
28629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28630 echo "$as_me:$LINENO: checking for $ac_func" >&5
28631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28632 if eval "test \"\${$as_ac_var+set}\" = set"; then
28633   echo $ECHO_N "(cached) $ECHO_C" >&6
28634 else
28635   if test x$gcc_no_link = xyes; then
28636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28638    { (exit 1); exit 1; }; }
28639 fi
28640 cat >conftest.$ac_ext <<_ACEOF
28641 /* confdefs.h.  */
28642 _ACEOF
28643 cat confdefs.h >>conftest.$ac_ext
28644 cat >>conftest.$ac_ext <<_ACEOF
28645 /* end confdefs.h.  */
28646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28648 #define $ac_func innocuous_$ac_func
28649
28650 /* System header to define __stub macros and hopefully few prototypes,
28651     which can conflict with char $ac_func (); below.
28652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28653     <limits.h> exists even on freestanding compilers.  */
28654
28655 #ifdef __STDC__
28656 # include <limits.h>
28657 #else
28658 # include <assert.h>
28659 #endif
28660
28661 #undef $ac_func
28662
28663 /* Override any gcc2 internal prototype to avoid an error.  */
28664 #ifdef __cplusplus
28665 extern "C"
28666 {
28667 #endif
28668 /* We use char because int might match the return type of a gcc2
28669    builtin and then its argument prototype would still apply.  */
28670 char $ac_func ();
28671 /* The GNU C library defines this for functions which it implements
28672     to always fail with ENOSYS.  Some functions are actually named
28673     something starting with __ and the normal name is an alias.  */
28674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28675 choke me
28676 #else
28677 char (*f) () = $ac_func;
28678 #endif
28679 #ifdef __cplusplus
28680 }
28681 #endif
28682
28683 int
28684 main ()
28685 {
28686 return f != $ac_func;
28687   ;
28688   return 0;
28689 }
28690 _ACEOF
28691 rm -f conftest.$ac_objext conftest$ac_exeext
28692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28693   (eval $ac_link) 2>conftest.er1
28694   ac_status=$?
28695   grep -v '^ *+' conftest.er1 >conftest.err
28696   rm -f conftest.er1
28697   cat conftest.err >&5
28698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699   (exit $ac_status); } &&
28700          { ac_try='test -z "$ac_c_werror_flag"
28701                          || test ! -s conftest.err'
28702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703   (eval $ac_try) 2>&5
28704   ac_status=$?
28705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706   (exit $ac_status); }; } &&
28707          { ac_try='test -s conftest$ac_exeext'
28708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709   (eval $ac_try) 2>&5
28710   ac_status=$?
28711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712   (exit $ac_status); }; }; then
28713   eval "$as_ac_var=yes"
28714 else
28715   echo "$as_me: failed program was:" >&5
28716 sed 's/^/| /' conftest.$ac_ext >&5
28717
28718 eval "$as_ac_var=no"
28719 fi
28720 rm -f conftest.err conftest.$ac_objext \
28721       conftest$ac_exeext conftest.$ac_ext
28722 fi
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28725 if test `eval echo '${'$as_ac_var'}'` = yes; then
28726   cat >>confdefs.h <<_ACEOF
28727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28728 _ACEOF
28729
28730 fi
28731 done
28732
28733     fi
28734   fi
28735
28736
28737
28738
28739
28740
28741   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
28742 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
28743   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28744     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
28745   echo $ECHO_N "(cached) $ECHO_C" >&6
28746 else
28747
28748
28749
28750       ac_ext=cc
28751 ac_cpp='$CXXCPP $CPPFLAGS'
28752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28755
28756       cat >conftest.$ac_ext <<_ACEOF
28757 /* confdefs.h.  */
28758 _ACEOF
28759 cat confdefs.h >>conftest.$ac_ext
28760 cat >>conftest.$ac_ext <<_ACEOF
28761 /* end confdefs.h.  */
28762 #include <math.h>
28763 int
28764 main ()
28765 {
28766  hypotf(0, 0);
28767   ;
28768   return 0;
28769 }
28770 _ACEOF
28771 rm -f conftest.$ac_objext
28772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28773   (eval $ac_compile) 2>conftest.er1
28774   ac_status=$?
28775   grep -v '^ *+' conftest.er1 >conftest.err
28776   rm -f conftest.er1
28777   cat conftest.err >&5
28778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779   (exit $ac_status); } &&
28780          { ac_try='test -z "$ac_cxx_werror_flag"
28781                          || test ! -s conftest.err'
28782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783   (eval $ac_try) 2>&5
28784   ac_status=$?
28785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786   (exit $ac_status); }; } &&
28787          { ac_try='test -s conftest.$ac_objext'
28788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789   (eval $ac_try) 2>&5
28790   ac_status=$?
28791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792   (exit $ac_status); }; }; then
28793   glibcxx_cv_func_hypotf_use=yes
28794 else
28795   echo "$as_me: failed program was:" >&5
28796 sed 's/^/| /' conftest.$ac_ext >&5
28797
28798 glibcxx_cv_func_hypotf_use=no
28799 fi
28800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28801       ac_ext=c
28802 ac_cpp='$CPP $CPPFLAGS'
28803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806
28807
28808 fi
28809
28810   fi
28811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
28812 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
28813
28814   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28815
28816 for ac_func in hypotf
28817 do
28818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28819 echo "$as_me:$LINENO: checking for $ac_func" >&5
28820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28821 if eval "test \"\${$as_ac_var+set}\" = set"; then
28822   echo $ECHO_N "(cached) $ECHO_C" >&6
28823 else
28824   if test x$gcc_no_link = xyes; then
28825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28827    { (exit 1); exit 1; }; }
28828 fi
28829 cat >conftest.$ac_ext <<_ACEOF
28830 /* confdefs.h.  */
28831 _ACEOF
28832 cat confdefs.h >>conftest.$ac_ext
28833 cat >>conftest.$ac_ext <<_ACEOF
28834 /* end confdefs.h.  */
28835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28837 #define $ac_func innocuous_$ac_func
28838
28839 /* System header to define __stub macros and hopefully few prototypes,
28840     which can conflict with char $ac_func (); below.
28841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28842     <limits.h> exists even on freestanding compilers.  */
28843
28844 #ifdef __STDC__
28845 # include <limits.h>
28846 #else
28847 # include <assert.h>
28848 #endif
28849
28850 #undef $ac_func
28851
28852 /* Override any gcc2 internal prototype to avoid an error.  */
28853 #ifdef __cplusplus
28854 extern "C"
28855 {
28856 #endif
28857 /* We use char because int might match the return type of a gcc2
28858    builtin and then its argument prototype would still apply.  */
28859 char $ac_func ();
28860 /* The GNU C library defines this for functions which it implements
28861     to always fail with ENOSYS.  Some functions are actually named
28862     something starting with __ and the normal name is an alias.  */
28863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28864 choke me
28865 #else
28866 char (*f) () = $ac_func;
28867 #endif
28868 #ifdef __cplusplus
28869 }
28870 #endif
28871
28872 int
28873 main ()
28874 {
28875 return f != $ac_func;
28876   ;
28877   return 0;
28878 }
28879 _ACEOF
28880 rm -f conftest.$ac_objext conftest$ac_exeext
28881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28882   (eval $ac_link) 2>conftest.er1
28883   ac_status=$?
28884   grep -v '^ *+' conftest.er1 >conftest.err
28885   rm -f conftest.er1
28886   cat conftest.err >&5
28887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888   (exit $ac_status); } &&
28889          { ac_try='test -z "$ac_c_werror_flag"
28890                          || test ! -s conftest.err'
28891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892   (eval $ac_try) 2>&5
28893   ac_status=$?
28894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895   (exit $ac_status); }; } &&
28896          { ac_try='test -s conftest$ac_exeext'
28897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28898   (eval $ac_try) 2>&5
28899   ac_status=$?
28900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901   (exit $ac_status); }; }; then
28902   eval "$as_ac_var=yes"
28903 else
28904   echo "$as_me: failed program was:" >&5
28905 sed 's/^/| /' conftest.$ac_ext >&5
28906
28907 eval "$as_ac_var=no"
28908 fi
28909 rm -f conftest.err conftest.$ac_objext \
28910       conftest$ac_exeext conftest.$ac_ext
28911 fi
28912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28914 if test `eval echo '${'$as_ac_var'}'` = yes; then
28915   cat >>confdefs.h <<_ACEOF
28916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28917 _ACEOF
28918
28919 fi
28920 done
28921
28922   else
28923
28924   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
28925 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
28926   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28927     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
28928   echo $ECHO_N "(cached) $ECHO_C" >&6
28929 else
28930
28931
28932
28933       ac_ext=cc
28934 ac_cpp='$CXXCPP $CPPFLAGS'
28935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28938
28939       cat >conftest.$ac_ext <<_ACEOF
28940 /* confdefs.h.  */
28941 _ACEOF
28942 cat confdefs.h >>conftest.$ac_ext
28943 cat >>conftest.$ac_ext <<_ACEOF
28944 /* end confdefs.h.  */
28945 #include <math.h>
28946 int
28947 main ()
28948 {
28949  _hypotf(0, 0);
28950   ;
28951   return 0;
28952 }
28953 _ACEOF
28954 rm -f conftest.$ac_objext
28955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28956   (eval $ac_compile) 2>conftest.er1
28957   ac_status=$?
28958   grep -v '^ *+' conftest.er1 >conftest.err
28959   rm -f conftest.er1
28960   cat conftest.err >&5
28961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962   (exit $ac_status); } &&
28963          { ac_try='test -z "$ac_cxx_werror_flag"
28964                          || test ! -s conftest.err'
28965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966   (eval $ac_try) 2>&5
28967   ac_status=$?
28968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969   (exit $ac_status); }; } &&
28970          { ac_try='test -s conftest.$ac_objext'
28971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28972   (eval $ac_try) 2>&5
28973   ac_status=$?
28974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975   (exit $ac_status); }; }; then
28976   glibcxx_cv_func__hypotf_use=yes
28977 else
28978   echo "$as_me: failed program was:" >&5
28979 sed 's/^/| /' conftest.$ac_ext >&5
28980
28981 glibcxx_cv_func__hypotf_use=no
28982 fi
28983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28984       ac_ext=c
28985 ac_cpp='$CPP $CPPFLAGS'
28986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28989
28990
28991 fi
28992
28993   fi
28994   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
28995 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
28996
28997     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28998
28999 for ac_func in _hypotf
29000 do
29001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29002 echo "$as_me:$LINENO: checking for $ac_func" >&5
29003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29004 if eval "test \"\${$as_ac_var+set}\" = set"; then
29005   echo $ECHO_N "(cached) $ECHO_C" >&6
29006 else
29007   if test x$gcc_no_link = xyes; then
29008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29010    { (exit 1); exit 1; }; }
29011 fi
29012 cat >conftest.$ac_ext <<_ACEOF
29013 /* confdefs.h.  */
29014 _ACEOF
29015 cat confdefs.h >>conftest.$ac_ext
29016 cat >>conftest.$ac_ext <<_ACEOF
29017 /* end confdefs.h.  */
29018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29020 #define $ac_func innocuous_$ac_func
29021
29022 /* System header to define __stub macros and hopefully few prototypes,
29023     which can conflict with char $ac_func (); below.
29024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29025     <limits.h> exists even on freestanding compilers.  */
29026
29027 #ifdef __STDC__
29028 # include <limits.h>
29029 #else
29030 # include <assert.h>
29031 #endif
29032
29033 #undef $ac_func
29034
29035 /* Override any gcc2 internal prototype to avoid an error.  */
29036 #ifdef __cplusplus
29037 extern "C"
29038 {
29039 #endif
29040 /* We use char because int might match the return type of a gcc2
29041    builtin and then its argument prototype would still apply.  */
29042 char $ac_func ();
29043 /* The GNU C library defines this for functions which it implements
29044     to always fail with ENOSYS.  Some functions are actually named
29045     something starting with __ and the normal name is an alias.  */
29046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29047 choke me
29048 #else
29049 char (*f) () = $ac_func;
29050 #endif
29051 #ifdef __cplusplus
29052 }
29053 #endif
29054
29055 int
29056 main ()
29057 {
29058 return f != $ac_func;
29059   ;
29060   return 0;
29061 }
29062 _ACEOF
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065   (eval $ac_link) 2>conftest.er1
29066   ac_status=$?
29067   grep -v '^ *+' conftest.er1 >conftest.err
29068   rm -f conftest.er1
29069   cat conftest.err >&5
29070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071   (exit $ac_status); } &&
29072          { ac_try='test -z "$ac_c_werror_flag"
29073                          || test ! -s conftest.err'
29074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075   (eval $ac_try) 2>&5
29076   ac_status=$?
29077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078   (exit $ac_status); }; } &&
29079          { ac_try='test -s conftest$ac_exeext'
29080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081   (eval $ac_try) 2>&5
29082   ac_status=$?
29083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084   (exit $ac_status); }; }; then
29085   eval "$as_ac_var=yes"
29086 else
29087   echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.$ac_ext >&5
29089
29090 eval "$as_ac_var=no"
29091 fi
29092 rm -f conftest.err conftest.$ac_objext \
29093       conftest$ac_exeext conftest.$ac_ext
29094 fi
29095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29097 if test `eval echo '${'$as_ac_var'}'` = yes; then
29098   cat >>confdefs.h <<_ACEOF
29099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29100 _ACEOF
29101
29102 fi
29103 done
29104
29105     fi
29106   fi
29107
29108
29109
29110
29111
29112
29113   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
29114 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
29115   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29116     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
29117   echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29119
29120
29121
29122       ac_ext=cc
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127
29128       cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h.  */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h.  */
29134 #include <math.h>
29135 int
29136 main ()
29137 {
29138  ldexpf(0, 0);
29139   ;
29140   return 0;
29141 }
29142 _ACEOF
29143 rm -f conftest.$ac_objext
29144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29145   (eval $ac_compile) 2>conftest.er1
29146   ac_status=$?
29147   grep -v '^ *+' conftest.er1 >conftest.err
29148   rm -f conftest.er1
29149   cat conftest.err >&5
29150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151   (exit $ac_status); } &&
29152          { ac_try='test -z "$ac_cxx_werror_flag"
29153                          || test ! -s conftest.err'
29154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155   (eval $ac_try) 2>&5
29156   ac_status=$?
29157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158   (exit $ac_status); }; } &&
29159          { ac_try='test -s conftest.$ac_objext'
29160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161   (eval $ac_try) 2>&5
29162   ac_status=$?
29163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164   (exit $ac_status); }; }; then
29165   glibcxx_cv_func_ldexpf_use=yes
29166 else
29167   echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170 glibcxx_cv_func_ldexpf_use=no
29171 fi
29172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29173       ac_ext=c
29174 ac_cpp='$CPP $CPPFLAGS'
29175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29178
29179
29180 fi
29181
29182   fi
29183   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
29184 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
29185
29186   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29187
29188 for ac_func in ldexpf
29189 do
29190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29191 echo "$as_me:$LINENO: checking for $ac_func" >&5
29192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29193 if eval "test \"\${$as_ac_var+set}\" = set"; then
29194   echo $ECHO_N "(cached) $ECHO_C" >&6
29195 else
29196   if test x$gcc_no_link = xyes; then
29197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29199    { (exit 1); exit 1; }; }
29200 fi
29201 cat >conftest.$ac_ext <<_ACEOF
29202 /* confdefs.h.  */
29203 _ACEOF
29204 cat confdefs.h >>conftest.$ac_ext
29205 cat >>conftest.$ac_ext <<_ACEOF
29206 /* end confdefs.h.  */
29207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29209 #define $ac_func innocuous_$ac_func
29210
29211 /* System header to define __stub macros and hopefully few prototypes,
29212     which can conflict with char $ac_func (); below.
29213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29214     <limits.h> exists even on freestanding compilers.  */
29215
29216 #ifdef __STDC__
29217 # include <limits.h>
29218 #else
29219 # include <assert.h>
29220 #endif
29221
29222 #undef $ac_func
29223
29224 /* Override any gcc2 internal prototype to avoid an error.  */
29225 #ifdef __cplusplus
29226 extern "C"
29227 {
29228 #endif
29229 /* We use char because int might match the return type of a gcc2
29230    builtin and then its argument prototype would still apply.  */
29231 char $ac_func ();
29232 /* The GNU C library defines this for functions which it implements
29233     to always fail with ENOSYS.  Some functions are actually named
29234     something starting with __ and the normal name is an alias.  */
29235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29236 choke me
29237 #else
29238 char (*f) () = $ac_func;
29239 #endif
29240 #ifdef __cplusplus
29241 }
29242 #endif
29243
29244 int
29245 main ()
29246 {
29247 return f != $ac_func;
29248   ;
29249   return 0;
29250 }
29251 _ACEOF
29252 rm -f conftest.$ac_objext conftest$ac_exeext
29253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29254   (eval $ac_link) 2>conftest.er1
29255   ac_status=$?
29256   grep -v '^ *+' conftest.er1 >conftest.err
29257   rm -f conftest.er1
29258   cat conftest.err >&5
29259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260   (exit $ac_status); } &&
29261          { ac_try='test -z "$ac_c_werror_flag"
29262                          || test ! -s conftest.err'
29263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264   (eval $ac_try) 2>&5
29265   ac_status=$?
29266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267   (exit $ac_status); }; } &&
29268          { ac_try='test -s conftest$ac_exeext'
29269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29270   (eval $ac_try) 2>&5
29271   ac_status=$?
29272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273   (exit $ac_status); }; }; then
29274   eval "$as_ac_var=yes"
29275 else
29276   echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29278
29279 eval "$as_ac_var=no"
29280 fi
29281 rm -f conftest.err conftest.$ac_objext \
29282       conftest$ac_exeext conftest.$ac_ext
29283 fi
29284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29286 if test `eval echo '${'$as_ac_var'}'` = yes; then
29287   cat >>confdefs.h <<_ACEOF
29288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29289 _ACEOF
29290
29291 fi
29292 done
29293
29294   else
29295
29296   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
29297 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
29298   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29299     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
29300   echo $ECHO_N "(cached) $ECHO_C" >&6
29301 else
29302
29303
29304
29305       ac_ext=cc
29306 ac_cpp='$CXXCPP $CPPFLAGS'
29307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29310
29311       cat >conftest.$ac_ext <<_ACEOF
29312 /* confdefs.h.  */
29313 _ACEOF
29314 cat confdefs.h >>conftest.$ac_ext
29315 cat >>conftest.$ac_ext <<_ACEOF
29316 /* end confdefs.h.  */
29317 #include <math.h>
29318 int
29319 main ()
29320 {
29321  _ldexpf(0, 0);
29322   ;
29323   return 0;
29324 }
29325 _ACEOF
29326 rm -f conftest.$ac_objext
29327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29328   (eval $ac_compile) 2>conftest.er1
29329   ac_status=$?
29330   grep -v '^ *+' conftest.er1 >conftest.err
29331   rm -f conftest.er1
29332   cat conftest.err >&5
29333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334   (exit $ac_status); } &&
29335          { ac_try='test -z "$ac_cxx_werror_flag"
29336                          || test ! -s conftest.err'
29337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29338   (eval $ac_try) 2>&5
29339   ac_status=$?
29340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341   (exit $ac_status); }; } &&
29342          { ac_try='test -s conftest.$ac_objext'
29343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344   (eval $ac_try) 2>&5
29345   ac_status=$?
29346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347   (exit $ac_status); }; }; then
29348   glibcxx_cv_func__ldexpf_use=yes
29349 else
29350   echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.$ac_ext >&5
29352
29353 glibcxx_cv_func__ldexpf_use=no
29354 fi
29355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29356       ac_ext=c
29357 ac_cpp='$CPP $CPPFLAGS'
29358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29361
29362
29363 fi
29364
29365   fi
29366   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
29367 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
29368
29369     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29370
29371 for ac_func in _ldexpf
29372 do
29373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29374 echo "$as_me:$LINENO: checking for $ac_func" >&5
29375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29376 if eval "test \"\${$as_ac_var+set}\" = set"; then
29377   echo $ECHO_N "(cached) $ECHO_C" >&6
29378 else
29379   if test x$gcc_no_link = xyes; then
29380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29382    { (exit 1); exit 1; }; }
29383 fi
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h.  */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h.  */
29390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29391    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29392 #define $ac_func innocuous_$ac_func
29393
29394 /* System header to define __stub macros and hopefully few prototypes,
29395     which can conflict with char $ac_func (); below.
29396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29397     <limits.h> exists even on freestanding compilers.  */
29398
29399 #ifdef __STDC__
29400 # include <limits.h>
29401 #else
29402 # include <assert.h>
29403 #endif
29404
29405 #undef $ac_func
29406
29407 /* Override any gcc2 internal prototype to avoid an error.  */
29408 #ifdef __cplusplus
29409 extern "C"
29410 {
29411 #endif
29412 /* We use char because int might match the return type of a gcc2
29413    builtin and then its argument prototype would still apply.  */
29414 char $ac_func ();
29415 /* The GNU C library defines this for functions which it implements
29416     to always fail with ENOSYS.  Some functions are actually named
29417     something starting with __ and the normal name is an alias.  */
29418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29419 choke me
29420 #else
29421 char (*f) () = $ac_func;
29422 #endif
29423 #ifdef __cplusplus
29424 }
29425 #endif
29426
29427 int
29428 main ()
29429 {
29430 return f != $ac_func;
29431   ;
29432   return 0;
29433 }
29434 _ACEOF
29435 rm -f conftest.$ac_objext conftest$ac_exeext
29436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29437   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
29458 else
29459   echo "$as_me: failed program was:" >&5
29460 sed 's/^/| /' conftest.$ac_ext >&5
29461
29462 eval "$as_ac_var=no"
29463 fi
29464 rm -f conftest.err conftest.$ac_objext \
29465       conftest$ac_exeext conftest.$ac_ext
29466 fi
29467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29469 if test `eval echo '${'$as_ac_var'}'` = yes; then
29470   cat >>confdefs.h <<_ACEOF
29471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29472 _ACEOF
29473
29474 fi
29475 done
29476
29477     fi
29478   fi
29479
29480
29481
29482
29483
29484
29485   echo "$as_me:$LINENO: checking for logf declaration" >&5
29486 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
29487   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29488     if test "${glibcxx_cv_func_logf_use+set}" = set; then
29489   echo $ECHO_N "(cached) $ECHO_C" >&6
29490 else
29491
29492
29493
29494       ac_ext=cc
29495 ac_cpp='$CXXCPP $CPPFLAGS'
29496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29499
29500       cat >conftest.$ac_ext <<_ACEOF
29501 /* confdefs.h.  */
29502 _ACEOF
29503 cat confdefs.h >>conftest.$ac_ext
29504 cat >>conftest.$ac_ext <<_ACEOF
29505 /* end confdefs.h.  */
29506 #include <math.h>
29507                       #ifdef HAVE_IEEEFP_H
29508                       #include <ieeefp.h>
29509                       #endif
29510
29511 int
29512 main ()
29513 {
29514  logf(0);
29515   ;
29516   return 0;
29517 }
29518 _ACEOF
29519 rm -f conftest.$ac_objext
29520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29521   (eval $ac_compile) 2>conftest.er1
29522   ac_status=$?
29523   grep -v '^ *+' conftest.er1 >conftest.err
29524   rm -f conftest.er1
29525   cat conftest.err >&5
29526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527   (exit $ac_status); } &&
29528          { ac_try='test -z "$ac_cxx_werror_flag"
29529                          || test ! -s conftest.err'
29530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29531   (eval $ac_try) 2>&5
29532   ac_status=$?
29533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534   (exit $ac_status); }; } &&
29535          { ac_try='test -s conftest.$ac_objext'
29536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537   (eval $ac_try) 2>&5
29538   ac_status=$?
29539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540   (exit $ac_status); }; }; then
29541   glibcxx_cv_func_logf_use=yes
29542 else
29543   echo "$as_me: failed program was:" >&5
29544 sed 's/^/| /' conftest.$ac_ext >&5
29545
29546 glibcxx_cv_func_logf_use=no
29547 fi
29548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29549       ac_ext=c
29550 ac_cpp='$CPP $CPPFLAGS'
29551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29554
29555
29556 fi
29557
29558   fi
29559   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
29560 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
29561
29562   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29563
29564 for ac_func in logf
29565 do
29566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29567 echo "$as_me:$LINENO: checking for $ac_func" >&5
29568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29569 if eval "test \"\${$as_ac_var+set}\" = set"; then
29570   echo $ECHO_N "(cached) $ECHO_C" >&6
29571 else
29572   if test x$gcc_no_link = xyes; then
29573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29575    { (exit 1); exit 1; }; }
29576 fi
29577 cat >conftest.$ac_ext <<_ACEOF
29578 /* confdefs.h.  */
29579 _ACEOF
29580 cat confdefs.h >>conftest.$ac_ext
29581 cat >>conftest.$ac_ext <<_ACEOF
29582 /* end confdefs.h.  */
29583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29585 #define $ac_func innocuous_$ac_func
29586
29587 /* System header to define __stub macros and hopefully few prototypes,
29588     which can conflict with char $ac_func (); below.
29589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29590     <limits.h> exists even on freestanding compilers.  */
29591
29592 #ifdef __STDC__
29593 # include <limits.h>
29594 #else
29595 # include <assert.h>
29596 #endif
29597
29598 #undef $ac_func
29599
29600 /* Override any gcc2 internal prototype to avoid an error.  */
29601 #ifdef __cplusplus
29602 extern "C"
29603 {
29604 #endif
29605 /* We use char because int might match the return type of a gcc2
29606    builtin and then its argument prototype would still apply.  */
29607 char $ac_func ();
29608 /* The GNU C library defines this for functions which it implements
29609     to always fail with ENOSYS.  Some functions are actually named
29610     something starting with __ and the normal name is an alias.  */
29611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29612 choke me
29613 #else
29614 char (*f) () = $ac_func;
29615 #endif
29616 #ifdef __cplusplus
29617 }
29618 #endif
29619
29620 int
29621 main ()
29622 {
29623 return f != $ac_func;
29624   ;
29625   return 0;
29626 }
29627 _ACEOF
29628 rm -f conftest.$ac_objext conftest$ac_exeext
29629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29630   (eval $ac_link) 2>conftest.er1
29631   ac_status=$?
29632   grep -v '^ *+' conftest.er1 >conftest.err
29633   rm -f conftest.er1
29634   cat conftest.err >&5
29635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636   (exit $ac_status); } &&
29637          { ac_try='test -z "$ac_c_werror_flag"
29638                          || test ! -s conftest.err'
29639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29640   (eval $ac_try) 2>&5
29641   ac_status=$?
29642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643   (exit $ac_status); }; } &&
29644          { ac_try='test -s conftest$ac_exeext'
29645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646   (eval $ac_try) 2>&5
29647   ac_status=$?
29648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649   (exit $ac_status); }; }; then
29650   eval "$as_ac_var=yes"
29651 else
29652   echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 eval "$as_ac_var=no"
29656 fi
29657 rm -f conftest.err conftest.$ac_objext \
29658       conftest$ac_exeext conftest.$ac_ext
29659 fi
29660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29662 if test `eval echo '${'$as_ac_var'}'` = yes; then
29663   cat >>confdefs.h <<_ACEOF
29664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29665 _ACEOF
29666
29667 fi
29668 done
29669
29670   else
29671
29672   echo "$as_me:$LINENO: checking for _logf declaration" >&5
29673 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
29674   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29675     if test "${glibcxx_cv_func__logf_use+set}" = set; then
29676   echo $ECHO_N "(cached) $ECHO_C" >&6
29677 else
29678
29679
29680
29681       ac_ext=cc
29682 ac_cpp='$CXXCPP $CPPFLAGS'
29683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686
29687       cat >conftest.$ac_ext <<_ACEOF
29688 /* confdefs.h.  */
29689 _ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h.  */
29693 #include <math.h>
29694                       #ifdef HAVE_IEEEFP_H
29695                       #include <ieeefp.h>
29696                       #endif
29697
29698 int
29699 main ()
29700 {
29701  _logf(0);
29702   ;
29703   return 0;
29704 }
29705 _ACEOF
29706 rm -f conftest.$ac_objext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29708   (eval $ac_compile) 2>conftest.er1
29709   ac_status=$?
29710   grep -v '^ *+' conftest.er1 >conftest.err
29711   rm -f conftest.er1
29712   cat conftest.err >&5
29713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714   (exit $ac_status); } &&
29715          { ac_try='test -z "$ac_cxx_werror_flag"
29716                          || test ! -s conftest.err'
29717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718   (eval $ac_try) 2>&5
29719   ac_status=$?
29720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721   (exit $ac_status); }; } &&
29722          { ac_try='test -s conftest.$ac_objext'
29723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724   (eval $ac_try) 2>&5
29725   ac_status=$?
29726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727   (exit $ac_status); }; }; then
29728   glibcxx_cv_func__logf_use=yes
29729 else
29730   echo "$as_me: failed program was:" >&5
29731 sed 's/^/| /' conftest.$ac_ext >&5
29732
29733 glibcxx_cv_func__logf_use=no
29734 fi
29735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29736       ac_ext=c
29737 ac_cpp='$CPP $CPPFLAGS'
29738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29741
29742
29743 fi
29744
29745   fi
29746   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
29747 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
29748
29749     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29750
29751 for ac_func in _logf
29752 do
29753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29754 echo "$as_me:$LINENO: checking for $ac_func" >&5
29755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29756 if eval "test \"\${$as_ac_var+set}\" = set"; then
29757   echo $ECHO_N "(cached) $ECHO_C" >&6
29758 else
29759   if test x$gcc_no_link = xyes; then
29760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29762    { (exit 1); exit 1; }; }
29763 fi
29764 cat >conftest.$ac_ext <<_ACEOF
29765 /* confdefs.h.  */
29766 _ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h.  */
29770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29772 #define $ac_func innocuous_$ac_func
29773
29774 /* System header to define __stub macros and hopefully few prototypes,
29775     which can conflict with char $ac_func (); below.
29776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29777     <limits.h> exists even on freestanding compilers.  */
29778
29779 #ifdef __STDC__
29780 # include <limits.h>
29781 #else
29782 # include <assert.h>
29783 #endif
29784
29785 #undef $ac_func
29786
29787 /* Override any gcc2 internal prototype to avoid an error.  */
29788 #ifdef __cplusplus
29789 extern "C"
29790 {
29791 #endif
29792 /* We use char because int might match the return type of a gcc2
29793    builtin and then its argument prototype would still apply.  */
29794 char $ac_func ();
29795 /* The GNU C library defines this for functions which it implements
29796     to always fail with ENOSYS.  Some functions are actually named
29797     something starting with __ and the normal name is an alias.  */
29798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29799 choke me
29800 #else
29801 char (*f) () = $ac_func;
29802 #endif
29803 #ifdef __cplusplus
29804 }
29805 #endif
29806
29807 int
29808 main ()
29809 {
29810 return f != $ac_func;
29811   ;
29812   return 0;
29813 }
29814 _ACEOF
29815 rm -f conftest.$ac_objext conftest$ac_exeext
29816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29817   (eval $ac_link) 2>conftest.er1
29818   ac_status=$?
29819   grep -v '^ *+' conftest.er1 >conftest.err
29820   rm -f conftest.er1
29821   cat conftest.err >&5
29822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823   (exit $ac_status); } &&
29824          { ac_try='test -z "$ac_c_werror_flag"
29825                          || test ! -s conftest.err'
29826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29827   (eval $ac_try) 2>&5
29828   ac_status=$?
29829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830   (exit $ac_status); }; } &&
29831          { ac_try='test -s conftest$ac_exeext'
29832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29833   (eval $ac_try) 2>&5
29834   ac_status=$?
29835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836   (exit $ac_status); }; }; then
29837   eval "$as_ac_var=yes"
29838 else
29839   echo "$as_me: failed program was:" >&5
29840 sed 's/^/| /' conftest.$ac_ext >&5
29841
29842 eval "$as_ac_var=no"
29843 fi
29844 rm -f conftest.err conftest.$ac_objext \
29845       conftest$ac_exeext conftest.$ac_ext
29846 fi
29847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29849 if test `eval echo '${'$as_ac_var'}'` = yes; then
29850   cat >>confdefs.h <<_ACEOF
29851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29852 _ACEOF
29853
29854 fi
29855 done
29856
29857     fi
29858   fi
29859
29860
29861
29862
29863
29864
29865   echo "$as_me:$LINENO: checking for log10f declaration" >&5
29866 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
29867   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29868     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
29869   echo $ECHO_N "(cached) $ECHO_C" >&6
29870 else
29871
29872
29873
29874       ac_ext=cc
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29879
29880       cat >conftest.$ac_ext <<_ACEOF
29881 /* confdefs.h.  */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h.  */
29886 #include <math.h>
29887                       #ifdef HAVE_IEEEFP_H
29888                       #include <ieeefp.h>
29889                       #endif
29890
29891 int
29892 main ()
29893 {
29894  log10f(0);
29895   ;
29896   return 0;
29897 }
29898 _ACEOF
29899 rm -f conftest.$ac_objext
29900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29901   (eval $ac_compile) 2>conftest.er1
29902   ac_status=$?
29903   grep -v '^ *+' conftest.er1 >conftest.err
29904   rm -f conftest.er1
29905   cat conftest.err >&5
29906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907   (exit $ac_status); } &&
29908          { ac_try='test -z "$ac_cxx_werror_flag"
29909                          || test ! -s conftest.err'
29910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911   (eval $ac_try) 2>&5
29912   ac_status=$?
29913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914   (exit $ac_status); }; } &&
29915          { ac_try='test -s conftest.$ac_objext'
29916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917   (eval $ac_try) 2>&5
29918   ac_status=$?
29919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920   (exit $ac_status); }; }; then
29921   glibcxx_cv_func_log10f_use=yes
29922 else
29923   echo "$as_me: failed program was:" >&5
29924 sed 's/^/| /' conftest.$ac_ext >&5
29925
29926 glibcxx_cv_func_log10f_use=no
29927 fi
29928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29929       ac_ext=c
29930 ac_cpp='$CPP $CPPFLAGS'
29931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934
29935
29936 fi
29937
29938   fi
29939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
29940 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
29941
29942   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29943
29944 for ac_func in log10f
29945 do
29946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29947 echo "$as_me:$LINENO: checking for $ac_func" >&5
29948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29949 if eval "test \"\${$as_ac_var+set}\" = set"; then
29950   echo $ECHO_N "(cached) $ECHO_C" >&6
29951 else
29952   if test x$gcc_no_link = xyes; then
29953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29955    { (exit 1); exit 1; }; }
29956 fi
29957 cat >conftest.$ac_ext <<_ACEOF
29958 /* confdefs.h.  */
29959 _ACEOF
29960 cat confdefs.h >>conftest.$ac_ext
29961 cat >>conftest.$ac_ext <<_ACEOF
29962 /* end confdefs.h.  */
29963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29965 #define $ac_func innocuous_$ac_func
29966
29967 /* System header to define __stub macros and hopefully few prototypes,
29968     which can conflict with char $ac_func (); below.
29969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29970     <limits.h> exists even on freestanding compilers.  */
29971
29972 #ifdef __STDC__
29973 # include <limits.h>
29974 #else
29975 # include <assert.h>
29976 #endif
29977
29978 #undef $ac_func
29979
29980 /* Override any gcc2 internal prototype to avoid an error.  */
29981 #ifdef __cplusplus
29982 extern "C"
29983 {
29984 #endif
29985 /* We use char because int might match the return type of a gcc2
29986    builtin and then its argument prototype would still apply.  */
29987 char $ac_func ();
29988 /* The GNU C library defines this for functions which it implements
29989     to always fail with ENOSYS.  Some functions are actually named
29990     something starting with __ and the normal name is an alias.  */
29991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29992 choke me
29993 #else
29994 char (*f) () = $ac_func;
29995 #endif
29996 #ifdef __cplusplus
29997 }
29998 #endif
29999
30000 int
30001 main ()
30002 {
30003 return f != $ac_func;
30004   ;
30005   return 0;
30006 }
30007 _ACEOF
30008 rm -f conftest.$ac_objext conftest$ac_exeext
30009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30010   (eval $ac_link) 2>conftest.er1
30011   ac_status=$?
30012   grep -v '^ *+' conftest.er1 >conftest.err
30013   rm -f conftest.er1
30014   cat conftest.err >&5
30015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016   (exit $ac_status); } &&
30017          { ac_try='test -z "$ac_c_werror_flag"
30018                          || test ! -s conftest.err'
30019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30020   (eval $ac_try) 2>&5
30021   ac_status=$?
30022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30023   (exit $ac_status); }; } &&
30024          { ac_try='test -s conftest$ac_exeext'
30025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30026   (eval $ac_try) 2>&5
30027   ac_status=$?
30028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30029   (exit $ac_status); }; }; then
30030   eval "$as_ac_var=yes"
30031 else
30032   echo "$as_me: failed program was:" >&5
30033 sed 's/^/| /' conftest.$ac_ext >&5
30034
30035 eval "$as_ac_var=no"
30036 fi
30037 rm -f conftest.err conftest.$ac_objext \
30038       conftest$ac_exeext conftest.$ac_ext
30039 fi
30040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30042 if test `eval echo '${'$as_ac_var'}'` = yes; then
30043   cat >>confdefs.h <<_ACEOF
30044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30045 _ACEOF
30046
30047 fi
30048 done
30049
30050   else
30051
30052   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
30053 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
30054   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30055     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
30056   echo $ECHO_N "(cached) $ECHO_C" >&6
30057 else
30058
30059
30060
30061       ac_ext=cc
30062 ac_cpp='$CXXCPP $CPPFLAGS'
30063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30066
30067       cat >conftest.$ac_ext <<_ACEOF
30068 /* confdefs.h.  */
30069 _ACEOF
30070 cat confdefs.h >>conftest.$ac_ext
30071 cat >>conftest.$ac_ext <<_ACEOF
30072 /* end confdefs.h.  */
30073 #include <math.h>
30074                       #ifdef HAVE_IEEEFP_H
30075                       #include <ieeefp.h>
30076                       #endif
30077
30078 int
30079 main ()
30080 {
30081  _log10f(0);
30082   ;
30083   return 0;
30084 }
30085 _ACEOF
30086 rm -f conftest.$ac_objext
30087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30088   (eval $ac_compile) 2>conftest.er1
30089   ac_status=$?
30090   grep -v '^ *+' conftest.er1 >conftest.err
30091   rm -f conftest.er1
30092   cat conftest.err >&5
30093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094   (exit $ac_status); } &&
30095          { ac_try='test -z "$ac_cxx_werror_flag"
30096                          || test ! -s conftest.err'
30097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098   (eval $ac_try) 2>&5
30099   ac_status=$?
30100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101   (exit $ac_status); }; } &&
30102          { ac_try='test -s conftest.$ac_objext'
30103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104   (eval $ac_try) 2>&5
30105   ac_status=$?
30106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107   (exit $ac_status); }; }; then
30108   glibcxx_cv_func__log10f_use=yes
30109 else
30110   echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.$ac_ext >&5
30112
30113 glibcxx_cv_func__log10f_use=no
30114 fi
30115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30116       ac_ext=c
30117 ac_cpp='$CPP $CPPFLAGS'
30118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30121
30122
30123 fi
30124
30125   fi
30126   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
30127 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
30128
30129     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30130
30131 for ac_func in _log10f
30132 do
30133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30134 echo "$as_me:$LINENO: checking for $ac_func" >&5
30135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30136 if eval "test \"\${$as_ac_var+set}\" = set"; then
30137   echo $ECHO_N "(cached) $ECHO_C" >&6
30138 else
30139   if test x$gcc_no_link = xyes; then
30140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30142    { (exit 1); exit 1; }; }
30143 fi
30144 cat >conftest.$ac_ext <<_ACEOF
30145 /* confdefs.h.  */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h.  */
30150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30152 #define $ac_func innocuous_$ac_func
30153
30154 /* System header to define __stub macros and hopefully few prototypes,
30155     which can conflict with char $ac_func (); below.
30156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30157     <limits.h> exists even on freestanding compilers.  */
30158
30159 #ifdef __STDC__
30160 # include <limits.h>
30161 #else
30162 # include <assert.h>
30163 #endif
30164
30165 #undef $ac_func
30166
30167 /* Override any gcc2 internal prototype to avoid an error.  */
30168 #ifdef __cplusplus
30169 extern "C"
30170 {
30171 #endif
30172 /* We use char because int might match the return type of a gcc2
30173    builtin and then its argument prototype would still apply.  */
30174 char $ac_func ();
30175 /* The GNU C library defines this for functions which it implements
30176     to always fail with ENOSYS.  Some functions are actually named
30177     something starting with __ and the normal name is an alias.  */
30178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30179 choke me
30180 #else
30181 char (*f) () = $ac_func;
30182 #endif
30183 #ifdef __cplusplus
30184 }
30185 #endif
30186
30187 int
30188 main ()
30189 {
30190 return f != $ac_func;
30191   ;
30192   return 0;
30193 }
30194 _ACEOF
30195 rm -f conftest.$ac_objext conftest$ac_exeext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30197   (eval $ac_link) 2>conftest.er1
30198   ac_status=$?
30199   grep -v '^ *+' conftest.er1 >conftest.err
30200   rm -f conftest.er1
30201   cat conftest.err >&5
30202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203   (exit $ac_status); } &&
30204          { ac_try='test -z "$ac_c_werror_flag"
30205                          || test ! -s conftest.err'
30206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207   (eval $ac_try) 2>&5
30208   ac_status=$?
30209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210   (exit $ac_status); }; } &&
30211          { ac_try='test -s conftest$ac_exeext'
30212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213   (eval $ac_try) 2>&5
30214   ac_status=$?
30215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216   (exit $ac_status); }; }; then
30217   eval "$as_ac_var=yes"
30218 else
30219   echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222 eval "$as_ac_var=no"
30223 fi
30224 rm -f conftest.err conftest.$ac_objext \
30225       conftest$ac_exeext conftest.$ac_ext
30226 fi
30227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30229 if test `eval echo '${'$as_ac_var'}'` = yes; then
30230   cat >>confdefs.h <<_ACEOF
30231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30232 _ACEOF
30233
30234 fi
30235 done
30236
30237     fi
30238   fi
30239
30240
30241
30242
30243
30244
30245   echo "$as_me:$LINENO: checking for modff declaration" >&5
30246 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
30247   if test x${glibcxx_cv_func_modff_use+set} != xset; then
30248     if test "${glibcxx_cv_func_modff_use+set}" = set; then
30249   echo $ECHO_N "(cached) $ECHO_C" >&6
30250 else
30251
30252
30253
30254       ac_ext=cc
30255 ac_cpp='$CXXCPP $CPPFLAGS'
30256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30259
30260       cat >conftest.$ac_ext <<_ACEOF
30261 /* confdefs.h.  */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h.  */
30266 #include <math.h>
30267 int
30268 main ()
30269 {
30270  modff(0, 0);
30271   ;
30272   return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30277   (eval $ac_compile) 2>conftest.er1
30278   ac_status=$?
30279   grep -v '^ *+' conftest.er1 >conftest.err
30280   rm -f conftest.er1
30281   cat conftest.err >&5
30282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283   (exit $ac_status); } &&
30284          { ac_try='test -z "$ac_cxx_werror_flag"
30285                          || test ! -s conftest.err'
30286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30287   (eval $ac_try) 2>&5
30288   ac_status=$?
30289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290   (exit $ac_status); }; } &&
30291          { ac_try='test -s conftest.$ac_objext'
30292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293   (eval $ac_try) 2>&5
30294   ac_status=$?
30295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296   (exit $ac_status); }; }; then
30297   glibcxx_cv_func_modff_use=yes
30298 else
30299   echo "$as_me: failed program was:" >&5
30300 sed 's/^/| /' conftest.$ac_ext >&5
30301
30302 glibcxx_cv_func_modff_use=no
30303 fi
30304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30305       ac_ext=c
30306 ac_cpp='$CPP $CPPFLAGS'
30307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310
30311
30312 fi
30313
30314   fi
30315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
30316 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
30317
30318   if test x$glibcxx_cv_func_modff_use = x"yes"; then
30319
30320 for ac_func in modff
30321 do
30322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30323 echo "$as_me:$LINENO: checking for $ac_func" >&5
30324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30325 if eval "test \"\${$as_ac_var+set}\" = set"; then
30326   echo $ECHO_N "(cached) $ECHO_C" >&6
30327 else
30328   if test x$gcc_no_link = xyes; then
30329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30331    { (exit 1); exit 1; }; }
30332 fi
30333 cat >conftest.$ac_ext <<_ACEOF
30334 /* confdefs.h.  */
30335 _ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h.  */
30339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30341 #define $ac_func innocuous_$ac_func
30342
30343 /* System header to define __stub macros and hopefully few prototypes,
30344     which can conflict with char $ac_func (); below.
30345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30346     <limits.h> exists even on freestanding compilers.  */
30347
30348 #ifdef __STDC__
30349 # include <limits.h>
30350 #else
30351 # include <assert.h>
30352 #endif
30353
30354 #undef $ac_func
30355
30356 /* Override any gcc2 internal prototype to avoid an error.  */
30357 #ifdef __cplusplus
30358 extern "C"
30359 {
30360 #endif
30361 /* We use char because int might match the return type of a gcc2
30362    builtin and then its argument prototype would still apply.  */
30363 char $ac_func ();
30364 /* The GNU C library defines this for functions which it implements
30365     to always fail with ENOSYS.  Some functions are actually named
30366     something starting with __ and the normal name is an alias.  */
30367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30368 choke me
30369 #else
30370 char (*f) () = $ac_func;
30371 #endif
30372 #ifdef __cplusplus
30373 }
30374 #endif
30375
30376 int
30377 main ()
30378 {
30379 return f != $ac_func;
30380   ;
30381   return 0;
30382 }
30383 _ACEOF
30384 rm -f conftest.$ac_objext conftest$ac_exeext
30385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30386   (eval $ac_link) 2>conftest.er1
30387   ac_status=$?
30388   grep -v '^ *+' conftest.er1 >conftest.err
30389   rm -f conftest.er1
30390   cat conftest.err >&5
30391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392   (exit $ac_status); } &&
30393          { ac_try='test -z "$ac_c_werror_flag"
30394                          || test ! -s conftest.err'
30395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30396   (eval $ac_try) 2>&5
30397   ac_status=$?
30398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399   (exit $ac_status); }; } &&
30400          { ac_try='test -s conftest$ac_exeext'
30401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30402   (eval $ac_try) 2>&5
30403   ac_status=$?
30404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30405   (exit $ac_status); }; }; then
30406   eval "$as_ac_var=yes"
30407 else
30408   echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30410
30411 eval "$as_ac_var=no"
30412 fi
30413 rm -f conftest.err conftest.$ac_objext \
30414       conftest$ac_exeext conftest.$ac_ext
30415 fi
30416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30418 if test `eval echo '${'$as_ac_var'}'` = yes; then
30419   cat >>confdefs.h <<_ACEOF
30420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30421 _ACEOF
30422
30423 fi
30424 done
30425
30426   else
30427
30428   echo "$as_me:$LINENO: checking for _modff declaration" >&5
30429 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
30430   if test x${glibcxx_cv_func__modff_use+set} != xset; then
30431     if test "${glibcxx_cv_func__modff_use+set}" = set; then
30432   echo $ECHO_N "(cached) $ECHO_C" >&6
30433 else
30434
30435
30436
30437       ac_ext=cc
30438 ac_cpp='$CXXCPP $CPPFLAGS'
30439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30442
30443       cat >conftest.$ac_ext <<_ACEOF
30444 /* confdefs.h.  */
30445 _ACEOF
30446 cat confdefs.h >>conftest.$ac_ext
30447 cat >>conftest.$ac_ext <<_ACEOF
30448 /* end confdefs.h.  */
30449 #include <math.h>
30450 int
30451 main ()
30452 {
30453  _modff(0, 0);
30454   ;
30455   return 0;
30456 }
30457 _ACEOF
30458 rm -f conftest.$ac_objext
30459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30460   (eval $ac_compile) 2>conftest.er1
30461   ac_status=$?
30462   grep -v '^ *+' conftest.er1 >conftest.err
30463   rm -f conftest.er1
30464   cat conftest.err >&5
30465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30466   (exit $ac_status); } &&
30467          { ac_try='test -z "$ac_cxx_werror_flag"
30468                          || test ! -s conftest.err'
30469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30470   (eval $ac_try) 2>&5
30471   ac_status=$?
30472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473   (exit $ac_status); }; } &&
30474          { ac_try='test -s conftest.$ac_objext'
30475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476   (eval $ac_try) 2>&5
30477   ac_status=$?
30478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479   (exit $ac_status); }; }; then
30480   glibcxx_cv_func__modff_use=yes
30481 else
30482   echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.$ac_ext >&5
30484
30485 glibcxx_cv_func__modff_use=no
30486 fi
30487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30488       ac_ext=c
30489 ac_cpp='$CPP $CPPFLAGS'
30490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30493
30494
30495 fi
30496
30497   fi
30498   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
30499 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
30500
30501     if test x$glibcxx_cv_func__modff_use = x"yes"; then
30502
30503 for ac_func in _modff
30504 do
30505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30506 echo "$as_me:$LINENO: checking for $ac_func" >&5
30507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30508 if eval "test \"\${$as_ac_var+set}\" = set"; then
30509   echo $ECHO_N "(cached) $ECHO_C" >&6
30510 else
30511   if test x$gcc_no_link = xyes; then
30512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30514    { (exit 1); exit 1; }; }
30515 fi
30516 cat >conftest.$ac_ext <<_ACEOF
30517 /* confdefs.h.  */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h.  */
30522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30524 #define $ac_func innocuous_$ac_func
30525
30526 /* System header to define __stub macros and hopefully few prototypes,
30527     which can conflict with char $ac_func (); below.
30528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30529     <limits.h> exists even on freestanding compilers.  */
30530
30531 #ifdef __STDC__
30532 # include <limits.h>
30533 #else
30534 # include <assert.h>
30535 #endif
30536
30537 #undef $ac_func
30538
30539 /* Override any gcc2 internal prototype to avoid an error.  */
30540 #ifdef __cplusplus
30541 extern "C"
30542 {
30543 #endif
30544 /* We use char because int might match the return type of a gcc2
30545    builtin and then its argument prototype would still apply.  */
30546 char $ac_func ();
30547 /* The GNU C library defines this for functions which it implements
30548     to always fail with ENOSYS.  Some functions are actually named
30549     something starting with __ and the normal name is an alias.  */
30550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30551 choke me
30552 #else
30553 char (*f) () = $ac_func;
30554 #endif
30555 #ifdef __cplusplus
30556 }
30557 #endif
30558
30559 int
30560 main ()
30561 {
30562 return f != $ac_func;
30563   ;
30564   return 0;
30565 }
30566 _ACEOF
30567 rm -f conftest.$ac_objext conftest$ac_exeext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30569   (eval $ac_link) 2>conftest.er1
30570   ac_status=$?
30571   grep -v '^ *+' conftest.er1 >conftest.err
30572   rm -f conftest.er1
30573   cat conftest.err >&5
30574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575   (exit $ac_status); } &&
30576          { ac_try='test -z "$ac_c_werror_flag"
30577                          || test ! -s conftest.err'
30578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579   (eval $ac_try) 2>&5
30580   ac_status=$?
30581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582   (exit $ac_status); }; } &&
30583          { ac_try='test -s conftest$ac_exeext'
30584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585   (eval $ac_try) 2>&5
30586   ac_status=$?
30587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588   (exit $ac_status); }; }; then
30589   eval "$as_ac_var=yes"
30590 else
30591   echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594 eval "$as_ac_var=no"
30595 fi
30596 rm -f conftest.err conftest.$ac_objext \
30597       conftest$ac_exeext conftest.$ac_ext
30598 fi
30599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30601 if test `eval echo '${'$as_ac_var'}'` = yes; then
30602   cat >>confdefs.h <<_ACEOF
30603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30604 _ACEOF
30605
30606 fi
30607 done
30608
30609     fi
30610   fi
30611
30612
30613
30614
30615
30616
30617   echo "$as_me:$LINENO: checking for modf declaration" >&5
30618 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
30619   if test x${glibcxx_cv_func_modf_use+set} != xset; then
30620     if test "${glibcxx_cv_func_modf_use+set}" = set; then
30621   echo $ECHO_N "(cached) $ECHO_C" >&6
30622 else
30623
30624
30625
30626       ac_ext=cc
30627 ac_cpp='$CXXCPP $CPPFLAGS'
30628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30631
30632       cat >conftest.$ac_ext <<_ACEOF
30633 /* confdefs.h.  */
30634 _ACEOF
30635 cat confdefs.h >>conftest.$ac_ext
30636 cat >>conftest.$ac_ext <<_ACEOF
30637 /* end confdefs.h.  */
30638 #include <math.h>
30639 int
30640 main ()
30641 {
30642  modf(0, 0);
30643   ;
30644   return 0;
30645 }
30646 _ACEOF
30647 rm -f conftest.$ac_objext
30648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30649   (eval $ac_compile) 2>conftest.er1
30650   ac_status=$?
30651   grep -v '^ *+' conftest.er1 >conftest.err
30652   rm -f conftest.er1
30653   cat conftest.err >&5
30654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655   (exit $ac_status); } &&
30656          { ac_try='test -z "$ac_cxx_werror_flag"
30657                          || test ! -s conftest.err'
30658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659   (eval $ac_try) 2>&5
30660   ac_status=$?
30661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662   (exit $ac_status); }; } &&
30663          { ac_try='test -s conftest.$ac_objext'
30664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665   (eval $ac_try) 2>&5
30666   ac_status=$?
30667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668   (exit $ac_status); }; }; then
30669   glibcxx_cv_func_modf_use=yes
30670 else
30671   echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 glibcxx_cv_func_modf_use=no
30675 fi
30676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30677       ac_ext=c
30678 ac_cpp='$CPP $CPPFLAGS'
30679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30682
30683
30684 fi
30685
30686   fi
30687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
30688 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
30689
30690   if test x$glibcxx_cv_func_modf_use = x"yes"; then
30691
30692 for ac_func in modf
30693 do
30694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30695 echo "$as_me:$LINENO: checking for $ac_func" >&5
30696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30697 if eval "test \"\${$as_ac_var+set}\" = set"; then
30698   echo $ECHO_N "(cached) $ECHO_C" >&6
30699 else
30700   if test x$gcc_no_link = xyes; then
30701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30703    { (exit 1); exit 1; }; }
30704 fi
30705 cat >conftest.$ac_ext <<_ACEOF
30706 /* confdefs.h.  */
30707 _ACEOF
30708 cat confdefs.h >>conftest.$ac_ext
30709 cat >>conftest.$ac_ext <<_ACEOF
30710 /* end confdefs.h.  */
30711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30713 #define $ac_func innocuous_$ac_func
30714
30715 /* System header to define __stub macros and hopefully few prototypes,
30716     which can conflict with char $ac_func (); below.
30717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30718     <limits.h> exists even on freestanding compilers.  */
30719
30720 #ifdef __STDC__
30721 # include <limits.h>
30722 #else
30723 # include <assert.h>
30724 #endif
30725
30726 #undef $ac_func
30727
30728 /* Override any gcc2 internal prototype to avoid an error.  */
30729 #ifdef __cplusplus
30730 extern "C"
30731 {
30732 #endif
30733 /* We use char because int might match the return type of a gcc2
30734    builtin and then its argument prototype would still apply.  */
30735 char $ac_func ();
30736 /* The GNU C library defines this for functions which it implements
30737     to always fail with ENOSYS.  Some functions are actually named
30738     something starting with __ and the normal name is an alias.  */
30739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30740 choke me
30741 #else
30742 char (*f) () = $ac_func;
30743 #endif
30744 #ifdef __cplusplus
30745 }
30746 #endif
30747
30748 int
30749 main ()
30750 {
30751 return f != $ac_func;
30752   ;
30753   return 0;
30754 }
30755 _ACEOF
30756 rm -f conftest.$ac_objext conftest$ac_exeext
30757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30758   (eval $ac_link) 2>conftest.er1
30759   ac_status=$?
30760   grep -v '^ *+' conftest.er1 >conftest.err
30761   rm -f conftest.er1
30762   cat conftest.err >&5
30763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30764   (exit $ac_status); } &&
30765          { ac_try='test -z "$ac_c_werror_flag"
30766                          || test ! -s conftest.err'
30767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768   (eval $ac_try) 2>&5
30769   ac_status=$?
30770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771   (exit $ac_status); }; } &&
30772          { ac_try='test -s conftest$ac_exeext'
30773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774   (eval $ac_try) 2>&5
30775   ac_status=$?
30776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777   (exit $ac_status); }; }; then
30778   eval "$as_ac_var=yes"
30779 else
30780   echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.$ac_ext >&5
30782
30783 eval "$as_ac_var=no"
30784 fi
30785 rm -f conftest.err conftest.$ac_objext \
30786       conftest$ac_exeext conftest.$ac_ext
30787 fi
30788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30790 if test `eval echo '${'$as_ac_var'}'` = yes; then
30791   cat >>confdefs.h <<_ACEOF
30792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30793 _ACEOF
30794
30795 fi
30796 done
30797
30798   else
30799
30800   echo "$as_me:$LINENO: checking for _modf declaration" >&5
30801 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
30802   if test x${glibcxx_cv_func__modf_use+set} != xset; then
30803     if test "${glibcxx_cv_func__modf_use+set}" = set; then
30804   echo $ECHO_N "(cached) $ECHO_C" >&6
30805 else
30806
30807
30808
30809       ac_ext=cc
30810 ac_cpp='$CXXCPP $CPPFLAGS'
30811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30814
30815       cat >conftest.$ac_ext <<_ACEOF
30816 /* confdefs.h.  */
30817 _ACEOF
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h.  */
30821 #include <math.h>
30822 int
30823 main ()
30824 {
30825  _modf(0, 0);
30826   ;
30827   return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832   (eval $ac_compile) 2>conftest.er1
30833   ac_status=$?
30834   grep -v '^ *+' conftest.er1 >conftest.err
30835   rm -f conftest.er1
30836   cat conftest.err >&5
30837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838   (exit $ac_status); } &&
30839          { ac_try='test -z "$ac_cxx_werror_flag"
30840                          || test ! -s conftest.err'
30841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30842   (eval $ac_try) 2>&5
30843   ac_status=$?
30844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845   (exit $ac_status); }; } &&
30846          { ac_try='test -s conftest.$ac_objext'
30847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848   (eval $ac_try) 2>&5
30849   ac_status=$?
30850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851   (exit $ac_status); }; }; then
30852   glibcxx_cv_func__modf_use=yes
30853 else
30854   echo "$as_me: failed program was:" >&5
30855 sed 's/^/| /' conftest.$ac_ext >&5
30856
30857 glibcxx_cv_func__modf_use=no
30858 fi
30859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30860       ac_ext=c
30861 ac_cpp='$CPP $CPPFLAGS'
30862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30865
30866
30867 fi
30868
30869   fi
30870   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
30871 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
30872
30873     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30874
30875 for ac_func in _modf
30876 do
30877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30878 echo "$as_me:$LINENO: checking for $ac_func" >&5
30879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30880 if eval "test \"\${$as_ac_var+set}\" = set"; then
30881   echo $ECHO_N "(cached) $ECHO_C" >&6
30882 else
30883   if test x$gcc_no_link = xyes; then
30884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30886    { (exit 1); exit 1; }; }
30887 fi
30888 cat >conftest.$ac_ext <<_ACEOF
30889 /* confdefs.h.  */
30890 _ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h.  */
30894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30896 #define $ac_func innocuous_$ac_func
30897
30898 /* System header to define __stub macros and hopefully few prototypes,
30899     which can conflict with char $ac_func (); below.
30900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30901     <limits.h> exists even on freestanding compilers.  */
30902
30903 #ifdef __STDC__
30904 # include <limits.h>
30905 #else
30906 # include <assert.h>
30907 #endif
30908
30909 #undef $ac_func
30910
30911 /* Override any gcc2 internal prototype to avoid an error.  */
30912 #ifdef __cplusplus
30913 extern "C"
30914 {
30915 #endif
30916 /* We use char because int might match the return type of a gcc2
30917    builtin and then its argument prototype would still apply.  */
30918 char $ac_func ();
30919 /* The GNU C library defines this for functions which it implements
30920     to always fail with ENOSYS.  Some functions are actually named
30921     something starting with __ and the normal name is an alias.  */
30922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30923 choke me
30924 #else
30925 char (*f) () = $ac_func;
30926 #endif
30927 #ifdef __cplusplus
30928 }
30929 #endif
30930
30931 int
30932 main ()
30933 {
30934 return f != $ac_func;
30935   ;
30936   return 0;
30937 }
30938 _ACEOF
30939 rm -f conftest.$ac_objext conftest$ac_exeext
30940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30941   (eval $ac_link) 2>conftest.er1
30942   ac_status=$?
30943   grep -v '^ *+' conftest.er1 >conftest.err
30944   rm -f conftest.er1
30945   cat conftest.err >&5
30946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947   (exit $ac_status); } &&
30948          { ac_try='test -z "$ac_c_werror_flag"
30949                          || test ! -s conftest.err'
30950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30951   (eval $ac_try) 2>&5
30952   ac_status=$?
30953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30954   (exit $ac_status); }; } &&
30955          { ac_try='test -s conftest$ac_exeext'
30956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30957   (eval $ac_try) 2>&5
30958   ac_status=$?
30959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960   (exit $ac_status); }; }; then
30961   eval "$as_ac_var=yes"
30962 else
30963   echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.$ac_ext >&5
30965
30966 eval "$as_ac_var=no"
30967 fi
30968 rm -f conftest.err conftest.$ac_objext \
30969       conftest$ac_exeext conftest.$ac_ext
30970 fi
30971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30973 if test `eval echo '${'$as_ac_var'}'` = yes; then
30974   cat >>confdefs.h <<_ACEOF
30975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30976 _ACEOF
30977
30978 fi
30979 done
30980
30981     fi
30982   fi
30983
30984
30985
30986
30987
30988
30989   echo "$as_me:$LINENO: checking for powf declaration" >&5
30990 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
30991   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30992     if test "${glibcxx_cv_func_powf_use+set}" = set; then
30993   echo $ECHO_N "(cached) $ECHO_C" >&6
30994 else
30995
30996
30997
30998       ac_ext=cc
30999 ac_cpp='$CXXCPP $CPPFLAGS'
31000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31003
31004       cat >conftest.$ac_ext <<_ACEOF
31005 /* confdefs.h.  */
31006 _ACEOF
31007 cat confdefs.h >>conftest.$ac_ext
31008 cat >>conftest.$ac_ext <<_ACEOF
31009 /* end confdefs.h.  */
31010 #include <math.h>
31011 int
31012 main ()
31013 {
31014  powf(0, 0);
31015   ;
31016   return 0;
31017 }
31018 _ACEOF
31019 rm -f conftest.$ac_objext
31020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31021   (eval $ac_compile) 2>conftest.er1
31022   ac_status=$?
31023   grep -v '^ *+' conftest.er1 >conftest.err
31024   rm -f conftest.er1
31025   cat conftest.err >&5
31026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027   (exit $ac_status); } &&
31028          { ac_try='test -z "$ac_cxx_werror_flag"
31029                          || test ! -s conftest.err'
31030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31031   (eval $ac_try) 2>&5
31032   ac_status=$?
31033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034   (exit $ac_status); }; } &&
31035          { ac_try='test -s conftest.$ac_objext'
31036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037   (eval $ac_try) 2>&5
31038   ac_status=$?
31039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040   (exit $ac_status); }; }; then
31041   glibcxx_cv_func_powf_use=yes
31042 else
31043   echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.$ac_ext >&5
31045
31046 glibcxx_cv_func_powf_use=no
31047 fi
31048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31049       ac_ext=c
31050 ac_cpp='$CPP $CPPFLAGS'
31051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31054
31055
31056 fi
31057
31058   fi
31059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
31060 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
31061
31062   if test x$glibcxx_cv_func_powf_use = x"yes"; then
31063
31064 for ac_func in powf
31065 do
31066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31067 echo "$as_me:$LINENO: checking for $ac_func" >&5
31068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31069 if eval "test \"\${$as_ac_var+set}\" = set"; then
31070   echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072   if test x$gcc_no_link = xyes; then
31073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31075    { (exit 1); exit 1; }; }
31076 fi
31077 cat >conftest.$ac_ext <<_ACEOF
31078 /* confdefs.h.  */
31079 _ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h.  */
31083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31085 #define $ac_func innocuous_$ac_func
31086
31087 /* System header to define __stub macros and hopefully few prototypes,
31088     which can conflict with char $ac_func (); below.
31089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31090     <limits.h> exists even on freestanding compilers.  */
31091
31092 #ifdef __STDC__
31093 # include <limits.h>
31094 #else
31095 # include <assert.h>
31096 #endif
31097
31098 #undef $ac_func
31099
31100 /* Override any gcc2 internal prototype to avoid an error.  */
31101 #ifdef __cplusplus
31102 extern "C"
31103 {
31104 #endif
31105 /* We use char because int might match the return type of a gcc2
31106    builtin and then its argument prototype would still apply.  */
31107 char $ac_func ();
31108 /* The GNU C library defines this for functions which it implements
31109     to always fail with ENOSYS.  Some functions are actually named
31110     something starting with __ and the normal name is an alias.  */
31111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31112 choke me
31113 #else
31114 char (*f) () = $ac_func;
31115 #endif
31116 #ifdef __cplusplus
31117 }
31118 #endif
31119
31120 int
31121 main ()
31122 {
31123 return f != $ac_func;
31124   ;
31125   return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130   (eval $ac_link) 2>conftest.er1
31131   ac_status=$?
31132   grep -v '^ *+' conftest.er1 >conftest.err
31133   rm -f conftest.er1
31134   cat conftest.err >&5
31135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136   (exit $ac_status); } &&
31137          { ac_try='test -z "$ac_c_werror_flag"
31138                          || test ! -s conftest.err'
31139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31140   (eval $ac_try) 2>&5
31141   ac_status=$?
31142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143   (exit $ac_status); }; } &&
31144          { ac_try='test -s conftest$ac_exeext'
31145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146   (eval $ac_try) 2>&5
31147   ac_status=$?
31148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149   (exit $ac_status); }; }; then
31150   eval "$as_ac_var=yes"
31151 else
31152   echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.$ac_ext >&5
31154
31155 eval "$as_ac_var=no"
31156 fi
31157 rm -f conftest.err conftest.$ac_objext \
31158       conftest$ac_exeext conftest.$ac_ext
31159 fi
31160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31162 if test `eval echo '${'$as_ac_var'}'` = yes; then
31163   cat >>confdefs.h <<_ACEOF
31164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31165 _ACEOF
31166
31167 fi
31168 done
31169
31170   else
31171
31172   echo "$as_me:$LINENO: checking for _powf declaration" >&5
31173 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
31174   if test x${glibcxx_cv_func__powf_use+set} != xset; then
31175     if test "${glibcxx_cv_func__powf_use+set}" = set; then
31176   echo $ECHO_N "(cached) $ECHO_C" >&6
31177 else
31178
31179
31180
31181       ac_ext=cc
31182 ac_cpp='$CXXCPP $CPPFLAGS'
31183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31186
31187       cat >conftest.$ac_ext <<_ACEOF
31188 /* confdefs.h.  */
31189 _ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h.  */
31193 #include <math.h>
31194 int
31195 main ()
31196 {
31197  _powf(0, 0);
31198   ;
31199   return 0;
31200 }
31201 _ACEOF
31202 rm -f conftest.$ac_objext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31204   (eval $ac_compile) 2>conftest.er1
31205   ac_status=$?
31206   grep -v '^ *+' conftest.er1 >conftest.err
31207   rm -f conftest.er1
31208   cat conftest.err >&5
31209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210   (exit $ac_status); } &&
31211          { ac_try='test -z "$ac_cxx_werror_flag"
31212                          || test ! -s conftest.err'
31213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214   (eval $ac_try) 2>&5
31215   ac_status=$?
31216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217   (exit $ac_status); }; } &&
31218          { ac_try='test -s conftest.$ac_objext'
31219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220   (eval $ac_try) 2>&5
31221   ac_status=$?
31222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223   (exit $ac_status); }; }; then
31224   glibcxx_cv_func__powf_use=yes
31225 else
31226   echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31228
31229 glibcxx_cv_func__powf_use=no
31230 fi
31231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31232       ac_ext=c
31233 ac_cpp='$CPP $CPPFLAGS'
31234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31237
31238
31239 fi
31240
31241   fi
31242   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
31243 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
31244
31245     if test x$glibcxx_cv_func__powf_use = x"yes"; then
31246
31247 for ac_func in _powf
31248 do
31249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31250 echo "$as_me:$LINENO: checking for $ac_func" >&5
31251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31252 if eval "test \"\${$as_ac_var+set}\" = set"; then
31253   echo $ECHO_N "(cached) $ECHO_C" >&6
31254 else
31255   if test x$gcc_no_link = xyes; then
31256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31258    { (exit 1); exit 1; }; }
31259 fi
31260 cat >conftest.$ac_ext <<_ACEOF
31261 /* confdefs.h.  */
31262 _ACEOF
31263 cat confdefs.h >>conftest.$ac_ext
31264 cat >>conftest.$ac_ext <<_ACEOF
31265 /* end confdefs.h.  */
31266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31268 #define $ac_func innocuous_$ac_func
31269
31270 /* System header to define __stub macros and hopefully few prototypes,
31271     which can conflict with char $ac_func (); below.
31272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31273     <limits.h> exists even on freestanding compilers.  */
31274
31275 #ifdef __STDC__
31276 # include <limits.h>
31277 #else
31278 # include <assert.h>
31279 #endif
31280
31281 #undef $ac_func
31282
31283 /* Override any gcc2 internal prototype to avoid an error.  */
31284 #ifdef __cplusplus
31285 extern "C"
31286 {
31287 #endif
31288 /* We use char because int might match the return type of a gcc2
31289    builtin and then its argument prototype would still apply.  */
31290 char $ac_func ();
31291 /* The GNU C library defines this for functions which it implements
31292     to always fail with ENOSYS.  Some functions are actually named
31293     something starting with __ and the normal name is an alias.  */
31294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31295 choke me
31296 #else
31297 char (*f) () = $ac_func;
31298 #endif
31299 #ifdef __cplusplus
31300 }
31301 #endif
31302
31303 int
31304 main ()
31305 {
31306 return f != $ac_func;
31307   ;
31308   return 0;
31309 }
31310 _ACEOF
31311 rm -f conftest.$ac_objext conftest$ac_exeext
31312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31313   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
31334 else
31335   echo "$as_me: failed program was:" >&5
31336 sed 's/^/| /' conftest.$ac_ext >&5
31337
31338 eval "$as_ac_var=no"
31339 fi
31340 rm -f conftest.err conftest.$ac_objext \
31341       conftest$ac_exeext conftest.$ac_ext
31342 fi
31343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31345 if test `eval echo '${'$as_ac_var'}'` = yes; then
31346   cat >>confdefs.h <<_ACEOF
31347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31348 _ACEOF
31349
31350 fi
31351 done
31352
31353     fi
31354   fi
31355
31356
31357
31358
31359
31360
31361   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
31362 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
31363   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31364     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
31365   echo $ECHO_N "(cached) $ECHO_C" >&6
31366 else
31367
31368
31369
31370       ac_ext=cc
31371 ac_cpp='$CXXCPP $CPPFLAGS'
31372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31375
31376       cat >conftest.$ac_ext <<_ACEOF
31377 /* confdefs.h.  */
31378 _ACEOF
31379 cat confdefs.h >>conftest.$ac_ext
31380 cat >>conftest.$ac_ext <<_ACEOF
31381 /* end confdefs.h.  */
31382 #include <math.h>
31383                       #ifdef HAVE_IEEEFP_H
31384                       #include <ieeefp.h>
31385                       #endif
31386
31387 int
31388 main ()
31389 {
31390  sqrtf(0);
31391   ;
31392   return 0;
31393 }
31394 _ACEOF
31395 rm -f conftest.$ac_objext
31396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31397   (eval $ac_compile) 2>conftest.er1
31398   ac_status=$?
31399   grep -v '^ *+' conftest.er1 >conftest.err
31400   rm -f conftest.er1
31401   cat conftest.err >&5
31402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403   (exit $ac_status); } &&
31404          { ac_try='test -z "$ac_cxx_werror_flag"
31405                          || test ! -s conftest.err'
31406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407   (eval $ac_try) 2>&5
31408   ac_status=$?
31409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410   (exit $ac_status); }; } &&
31411          { ac_try='test -s conftest.$ac_objext'
31412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413   (eval $ac_try) 2>&5
31414   ac_status=$?
31415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416   (exit $ac_status); }; }; then
31417   glibcxx_cv_func_sqrtf_use=yes
31418 else
31419   echo "$as_me: failed program was:" >&5
31420 sed 's/^/| /' conftest.$ac_ext >&5
31421
31422 glibcxx_cv_func_sqrtf_use=no
31423 fi
31424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31425       ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430
31431
31432 fi
31433
31434   fi
31435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
31436 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
31437
31438   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31439
31440 for ac_func in sqrtf
31441 do
31442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31443 echo "$as_me:$LINENO: checking for $ac_func" >&5
31444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31445 if eval "test \"\${$as_ac_var+set}\" = set"; then
31446   echo $ECHO_N "(cached) $ECHO_C" >&6
31447 else
31448   if test x$gcc_no_link = xyes; then
31449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31451    { (exit 1); exit 1; }; }
31452 fi
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h.  */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h.  */
31459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31461 #define $ac_func innocuous_$ac_func
31462
31463 /* System header to define __stub macros and hopefully few prototypes,
31464     which can conflict with char $ac_func (); below.
31465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31466     <limits.h> exists even on freestanding compilers.  */
31467
31468 #ifdef __STDC__
31469 # include <limits.h>
31470 #else
31471 # include <assert.h>
31472 #endif
31473
31474 #undef $ac_func
31475
31476 /* Override any gcc2 internal prototype to avoid an error.  */
31477 #ifdef __cplusplus
31478 extern "C"
31479 {
31480 #endif
31481 /* We use char because int might match the return type of a gcc2
31482    builtin and then its argument prototype would still apply.  */
31483 char $ac_func ();
31484 /* The GNU C library defines this for functions which it implements
31485     to always fail with ENOSYS.  Some functions are actually named
31486     something starting with __ and the normal name is an alias.  */
31487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31488 choke me
31489 #else
31490 char (*f) () = $ac_func;
31491 #endif
31492 #ifdef __cplusplus
31493 }
31494 #endif
31495
31496 int
31497 main ()
31498 {
31499 return f != $ac_func;
31500   ;
31501   return 0;
31502 }
31503 _ACEOF
31504 rm -f conftest.$ac_objext conftest$ac_exeext
31505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31506   (eval $ac_link) 2>conftest.er1
31507   ac_status=$?
31508   grep -v '^ *+' conftest.er1 >conftest.err
31509   rm -f conftest.er1
31510   cat conftest.err >&5
31511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512   (exit $ac_status); } &&
31513          { ac_try='test -z "$ac_c_werror_flag"
31514                          || test ! -s conftest.err'
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); }; } &&
31520          { ac_try='test -s conftest$ac_exeext'
31521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522   (eval $ac_try) 2>&5
31523   ac_status=$?
31524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525   (exit $ac_status); }; }; then
31526   eval "$as_ac_var=yes"
31527 else
31528   echo "$as_me: failed program was:" >&5
31529 sed 's/^/| /' conftest.$ac_ext >&5
31530
31531 eval "$as_ac_var=no"
31532 fi
31533 rm -f conftest.err conftest.$ac_objext \
31534       conftest$ac_exeext conftest.$ac_ext
31535 fi
31536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31538 if test `eval echo '${'$as_ac_var'}'` = yes; then
31539   cat >>confdefs.h <<_ACEOF
31540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31541 _ACEOF
31542
31543 fi
31544 done
31545
31546   else
31547
31548   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
31549 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
31550   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31551     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
31552   echo $ECHO_N "(cached) $ECHO_C" >&6
31553 else
31554
31555
31556
31557       ac_ext=cc
31558 ac_cpp='$CXXCPP $CPPFLAGS'
31559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31562
31563       cat >conftest.$ac_ext <<_ACEOF
31564 /* confdefs.h.  */
31565 _ACEOF
31566 cat confdefs.h >>conftest.$ac_ext
31567 cat >>conftest.$ac_ext <<_ACEOF
31568 /* end confdefs.h.  */
31569 #include <math.h>
31570                       #ifdef HAVE_IEEEFP_H
31571                       #include <ieeefp.h>
31572                       #endif
31573
31574 int
31575 main ()
31576 {
31577  _sqrtf(0);
31578   ;
31579   return 0;
31580 }
31581 _ACEOF
31582 rm -f conftest.$ac_objext
31583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31584   (eval $ac_compile) 2>conftest.er1
31585   ac_status=$?
31586   grep -v '^ *+' conftest.er1 >conftest.err
31587   rm -f conftest.er1
31588   cat conftest.err >&5
31589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590   (exit $ac_status); } &&
31591          { ac_try='test -z "$ac_cxx_werror_flag"
31592                          || test ! -s conftest.err'
31593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594   (eval $ac_try) 2>&5
31595   ac_status=$?
31596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597   (exit $ac_status); }; } &&
31598          { ac_try='test -s conftest.$ac_objext'
31599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31600   (eval $ac_try) 2>&5
31601   ac_status=$?
31602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603   (exit $ac_status); }; }; then
31604   glibcxx_cv_func__sqrtf_use=yes
31605 else
31606   echo "$as_me: failed program was:" >&5
31607 sed 's/^/| /' conftest.$ac_ext >&5
31608
31609 glibcxx_cv_func__sqrtf_use=no
31610 fi
31611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31612       ac_ext=c
31613 ac_cpp='$CPP $CPPFLAGS'
31614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31617
31618
31619 fi
31620
31621   fi
31622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
31623 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
31624
31625     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31626
31627 for ac_func in _sqrtf
31628 do
31629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31630 echo "$as_me:$LINENO: checking for $ac_func" >&5
31631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31632 if eval "test \"\${$as_ac_var+set}\" = set"; then
31633   echo $ECHO_N "(cached) $ECHO_C" >&6
31634 else
31635   if test x$gcc_no_link = xyes; then
31636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31638    { (exit 1); exit 1; }; }
31639 fi
31640 cat >conftest.$ac_ext <<_ACEOF
31641 /* confdefs.h.  */
31642 _ACEOF
31643 cat confdefs.h >>conftest.$ac_ext
31644 cat >>conftest.$ac_ext <<_ACEOF
31645 /* end confdefs.h.  */
31646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31648 #define $ac_func innocuous_$ac_func
31649
31650 /* System header to define __stub macros and hopefully few prototypes,
31651     which can conflict with char $ac_func (); below.
31652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31653     <limits.h> exists even on freestanding compilers.  */
31654
31655 #ifdef __STDC__
31656 # include <limits.h>
31657 #else
31658 # include <assert.h>
31659 #endif
31660
31661 #undef $ac_func
31662
31663 /* Override any gcc2 internal prototype to avoid an error.  */
31664 #ifdef __cplusplus
31665 extern "C"
31666 {
31667 #endif
31668 /* We use char because int might match the return type of a gcc2
31669    builtin and then its argument prototype would still apply.  */
31670 char $ac_func ();
31671 /* The GNU C library defines this for functions which it implements
31672     to always fail with ENOSYS.  Some functions are actually named
31673     something starting with __ and the normal name is an alias.  */
31674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31675 choke me
31676 #else
31677 char (*f) () = $ac_func;
31678 #endif
31679 #ifdef __cplusplus
31680 }
31681 #endif
31682
31683 int
31684 main ()
31685 {
31686 return f != $ac_func;
31687   ;
31688   return 0;
31689 }
31690 _ACEOF
31691 rm -f conftest.$ac_objext conftest$ac_exeext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31693   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
31714 else
31715   echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.$ac_ext >&5
31717
31718 eval "$as_ac_var=no"
31719 fi
31720 rm -f conftest.err conftest.$ac_objext \
31721       conftest$ac_exeext conftest.$ac_ext
31722 fi
31723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31725 if test `eval echo '${'$as_ac_var'}'` = yes; then
31726   cat >>confdefs.h <<_ACEOF
31727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31728 _ACEOF
31729
31730 fi
31731 done
31732
31733     fi
31734   fi
31735
31736
31737
31738
31739
31740
31741   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
31742 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
31743   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31744     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
31745   echo $ECHO_N "(cached) $ECHO_C" >&6
31746 else
31747
31748
31749
31750       ac_ext=cc
31751 ac_cpp='$CXXCPP $CPPFLAGS'
31752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31755
31756       cat >conftest.$ac_ext <<_ACEOF
31757 /* confdefs.h.  */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h.  */
31762 #include <math.h>
31763 int
31764 main ()
31765 {
31766  sincosf(0, 0, 0);
31767   ;
31768   return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773   (eval $ac_compile) 2>conftest.er1
31774   ac_status=$?
31775   grep -v '^ *+' conftest.er1 >conftest.err
31776   rm -f conftest.er1
31777   cat conftest.err >&5
31778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779   (exit $ac_status); } &&
31780          { ac_try='test -z "$ac_cxx_werror_flag"
31781                          || test ! -s conftest.err'
31782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31783   (eval $ac_try) 2>&5
31784   ac_status=$?
31785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786   (exit $ac_status); }; } &&
31787          { ac_try='test -s conftest.$ac_objext'
31788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789   (eval $ac_try) 2>&5
31790   ac_status=$?
31791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792   (exit $ac_status); }; }; then
31793   glibcxx_cv_func_sincosf_use=yes
31794 else
31795   echo "$as_me: failed program was:" >&5
31796 sed 's/^/| /' conftest.$ac_ext >&5
31797
31798 glibcxx_cv_func_sincosf_use=no
31799 fi
31800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31801       ac_ext=c
31802 ac_cpp='$CPP $CPPFLAGS'
31803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31806
31807
31808 fi
31809
31810   fi
31811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
31812 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
31813
31814   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31815
31816 for ac_func in sincosf
31817 do
31818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31819 echo "$as_me:$LINENO: checking for $ac_func" >&5
31820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31821 if eval "test \"\${$as_ac_var+set}\" = set"; then
31822   echo $ECHO_N "(cached) $ECHO_C" >&6
31823 else
31824   if test x$gcc_no_link = xyes; then
31825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31827    { (exit 1); exit 1; }; }
31828 fi
31829 cat >conftest.$ac_ext <<_ACEOF
31830 /* confdefs.h.  */
31831 _ACEOF
31832 cat confdefs.h >>conftest.$ac_ext
31833 cat >>conftest.$ac_ext <<_ACEOF
31834 /* end confdefs.h.  */
31835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31837 #define $ac_func innocuous_$ac_func
31838
31839 /* System header to define __stub macros and hopefully few prototypes,
31840     which can conflict with char $ac_func (); below.
31841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31842     <limits.h> exists even on freestanding compilers.  */
31843
31844 #ifdef __STDC__
31845 # include <limits.h>
31846 #else
31847 # include <assert.h>
31848 #endif
31849
31850 #undef $ac_func
31851
31852 /* Override any gcc2 internal prototype to avoid an error.  */
31853 #ifdef __cplusplus
31854 extern "C"
31855 {
31856 #endif
31857 /* We use char because int might match the return type of a gcc2
31858    builtin and then its argument prototype would still apply.  */
31859 char $ac_func ();
31860 /* The GNU C library defines this for functions which it implements
31861     to always fail with ENOSYS.  Some functions are actually named
31862     something starting with __ and the normal name is an alias.  */
31863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31864 choke me
31865 #else
31866 char (*f) () = $ac_func;
31867 #endif
31868 #ifdef __cplusplus
31869 }
31870 #endif
31871
31872 int
31873 main ()
31874 {
31875 return f != $ac_func;
31876   ;
31877   return 0;
31878 }
31879 _ACEOF
31880 rm -f conftest.$ac_objext conftest$ac_exeext
31881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31882   (eval $ac_link) 2>conftest.er1
31883   ac_status=$?
31884   grep -v '^ *+' conftest.er1 >conftest.err
31885   rm -f conftest.er1
31886   cat conftest.err >&5
31887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888   (exit $ac_status); } &&
31889          { ac_try='test -z "$ac_c_werror_flag"
31890                          || test ! -s conftest.err'
31891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892   (eval $ac_try) 2>&5
31893   ac_status=$?
31894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895   (exit $ac_status); }; } &&
31896          { ac_try='test -s conftest$ac_exeext'
31897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898   (eval $ac_try) 2>&5
31899   ac_status=$?
31900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901   (exit $ac_status); }; }; then
31902   eval "$as_ac_var=yes"
31903 else
31904   echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31906
31907 eval "$as_ac_var=no"
31908 fi
31909 rm -f conftest.err conftest.$ac_objext \
31910       conftest$ac_exeext conftest.$ac_ext
31911 fi
31912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31914 if test `eval echo '${'$as_ac_var'}'` = yes; then
31915   cat >>confdefs.h <<_ACEOF
31916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31917 _ACEOF
31918
31919 fi
31920 done
31921
31922   else
31923
31924   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
31925 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
31926   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31927     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
31928   echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930
31931
31932
31933       ac_ext=cc
31934 ac_cpp='$CXXCPP $CPPFLAGS'
31935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31938
31939       cat >conftest.$ac_ext <<_ACEOF
31940 /* confdefs.h.  */
31941 _ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h.  */
31945 #include <math.h>
31946 int
31947 main ()
31948 {
31949  _sincosf(0, 0, 0);
31950   ;
31951   return 0;
31952 }
31953 _ACEOF
31954 rm -f conftest.$ac_objext
31955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31956   (eval $ac_compile) 2>conftest.er1
31957   ac_status=$?
31958   grep -v '^ *+' conftest.er1 >conftest.err
31959   rm -f conftest.er1
31960   cat conftest.err >&5
31961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962   (exit $ac_status); } &&
31963          { ac_try='test -z "$ac_cxx_werror_flag"
31964                          || test ! -s conftest.err'
31965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31966   (eval $ac_try) 2>&5
31967   ac_status=$?
31968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969   (exit $ac_status); }; } &&
31970          { ac_try='test -s conftest.$ac_objext'
31971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31972   (eval $ac_try) 2>&5
31973   ac_status=$?
31974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31975   (exit $ac_status); }; }; then
31976   glibcxx_cv_func__sincosf_use=yes
31977 else
31978   echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31980
31981 glibcxx_cv_func__sincosf_use=no
31982 fi
31983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31984       ac_ext=c
31985 ac_cpp='$CPP $CPPFLAGS'
31986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31989
31990
31991 fi
31992
31993   fi
31994   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
31995 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
31996
31997     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31998
31999 for ac_func in _sincosf
32000 do
32001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32002 echo "$as_me:$LINENO: checking for $ac_func" >&5
32003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32004 if eval "test \"\${$as_ac_var+set}\" = set"; then
32005   echo $ECHO_N "(cached) $ECHO_C" >&6
32006 else
32007   if test x$gcc_no_link = xyes; then
32008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32010    { (exit 1); exit 1; }; }
32011 fi
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h.  */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h.  */
32018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32020 #define $ac_func innocuous_$ac_func
32021
32022 /* System header to define __stub macros and hopefully few prototypes,
32023     which can conflict with char $ac_func (); below.
32024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32025     <limits.h> exists even on freestanding compilers.  */
32026
32027 #ifdef __STDC__
32028 # include <limits.h>
32029 #else
32030 # include <assert.h>
32031 #endif
32032
32033 #undef $ac_func
32034
32035 /* Override any gcc2 internal prototype to avoid an error.  */
32036 #ifdef __cplusplus
32037 extern "C"
32038 {
32039 #endif
32040 /* We use char because int might match the return type of a gcc2
32041    builtin and then its argument prototype would still apply.  */
32042 char $ac_func ();
32043 /* The GNU C library defines this for functions which it implements
32044     to always fail with ENOSYS.  Some functions are actually named
32045     something starting with __ and the normal name is an alias.  */
32046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32047 choke me
32048 #else
32049 char (*f) () = $ac_func;
32050 #endif
32051 #ifdef __cplusplus
32052 }
32053 #endif
32054
32055 int
32056 main ()
32057 {
32058 return f != $ac_func;
32059   ;
32060   return 0;
32061 }
32062 _ACEOF
32063 rm -f conftest.$ac_objext conftest$ac_exeext
32064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32065   (eval $ac_link) 2>conftest.er1
32066   ac_status=$?
32067   grep -v '^ *+' conftest.er1 >conftest.err
32068   rm -f conftest.er1
32069   cat conftest.err >&5
32070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071   (exit $ac_status); } &&
32072          { ac_try='test -z "$ac_c_werror_flag"
32073                          || test ! -s conftest.err'
32074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32075   (eval $ac_try) 2>&5
32076   ac_status=$?
32077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078   (exit $ac_status); }; } &&
32079          { ac_try='test -s conftest$ac_exeext'
32080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32081   (eval $ac_try) 2>&5
32082   ac_status=$?
32083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084   (exit $ac_status); }; }; then
32085   eval "$as_ac_var=yes"
32086 else
32087   echo "$as_me: failed program was:" >&5
32088 sed 's/^/| /' conftest.$ac_ext >&5
32089
32090 eval "$as_ac_var=no"
32091 fi
32092 rm -f conftest.err conftest.$ac_objext \
32093       conftest$ac_exeext conftest.$ac_ext
32094 fi
32095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32097 if test `eval echo '${'$as_ac_var'}'` = yes; then
32098   cat >>confdefs.h <<_ACEOF
32099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32100 _ACEOF
32101
32102 fi
32103 done
32104
32105     fi
32106   fi
32107
32108
32109
32110
32111
32112
32113   echo "$as_me:$LINENO: checking for finitef declaration" >&5
32114 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
32115   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32116     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
32117   echo $ECHO_N "(cached) $ECHO_C" >&6
32118 else
32119
32120
32121
32122       ac_ext=cc
32123 ac_cpp='$CXXCPP $CPPFLAGS'
32124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32127
32128       cat >conftest.$ac_ext <<_ACEOF
32129 /* confdefs.h.  */
32130 _ACEOF
32131 cat confdefs.h >>conftest.$ac_ext
32132 cat >>conftest.$ac_ext <<_ACEOF
32133 /* end confdefs.h.  */
32134 #include <math.h>
32135                       #ifdef HAVE_IEEEFP_H
32136                       #include <ieeefp.h>
32137                       #endif
32138
32139 int
32140 main ()
32141 {
32142  finitef(0);
32143   ;
32144   return 0;
32145 }
32146 _ACEOF
32147 rm -f conftest.$ac_objext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32149   (eval $ac_compile) 2>conftest.er1
32150   ac_status=$?
32151   grep -v '^ *+' conftest.er1 >conftest.err
32152   rm -f conftest.er1
32153   cat conftest.err >&5
32154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155   (exit $ac_status); } &&
32156          { ac_try='test -z "$ac_cxx_werror_flag"
32157                          || test ! -s conftest.err'
32158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159   (eval $ac_try) 2>&5
32160   ac_status=$?
32161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162   (exit $ac_status); }; } &&
32163          { ac_try='test -s conftest.$ac_objext'
32164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32165   (eval $ac_try) 2>&5
32166   ac_status=$?
32167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168   (exit $ac_status); }; }; then
32169   glibcxx_cv_func_finitef_use=yes
32170 else
32171   echo "$as_me: failed program was:" >&5
32172 sed 's/^/| /' conftest.$ac_ext >&5
32173
32174 glibcxx_cv_func_finitef_use=no
32175 fi
32176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32177       ac_ext=c
32178 ac_cpp='$CPP $CPPFLAGS'
32179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182
32183
32184 fi
32185
32186   fi
32187   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
32188 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
32189
32190   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32191
32192 for ac_func in finitef
32193 do
32194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32195 echo "$as_me:$LINENO: checking for $ac_func" >&5
32196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32197 if eval "test \"\${$as_ac_var+set}\" = set"; then
32198   echo $ECHO_N "(cached) $ECHO_C" >&6
32199 else
32200   if test x$gcc_no_link = xyes; then
32201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32203    { (exit 1); exit 1; }; }
32204 fi
32205 cat >conftest.$ac_ext <<_ACEOF
32206 /* confdefs.h.  */
32207 _ACEOF
32208 cat confdefs.h >>conftest.$ac_ext
32209 cat >>conftest.$ac_ext <<_ACEOF
32210 /* end confdefs.h.  */
32211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32213 #define $ac_func innocuous_$ac_func
32214
32215 /* System header to define __stub macros and hopefully few prototypes,
32216     which can conflict with char $ac_func (); below.
32217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32218     <limits.h> exists even on freestanding compilers.  */
32219
32220 #ifdef __STDC__
32221 # include <limits.h>
32222 #else
32223 # include <assert.h>
32224 #endif
32225
32226 #undef $ac_func
32227
32228 /* Override any gcc2 internal prototype to avoid an error.  */
32229 #ifdef __cplusplus
32230 extern "C"
32231 {
32232 #endif
32233 /* We use char because int might match the return type of a gcc2
32234    builtin and then its argument prototype would still apply.  */
32235 char $ac_func ();
32236 /* The GNU C library defines this for functions which it implements
32237     to always fail with ENOSYS.  Some functions are actually named
32238     something starting with __ and the normal name is an alias.  */
32239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32240 choke me
32241 #else
32242 char (*f) () = $ac_func;
32243 #endif
32244 #ifdef __cplusplus
32245 }
32246 #endif
32247
32248 int
32249 main ()
32250 {
32251 return f != $ac_func;
32252   ;
32253   return 0;
32254 }
32255 _ACEOF
32256 rm -f conftest.$ac_objext conftest$ac_exeext
32257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32258   (eval $ac_link) 2>conftest.er1
32259   ac_status=$?
32260   grep -v '^ *+' conftest.er1 >conftest.err
32261   rm -f conftest.er1
32262   cat conftest.err >&5
32263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264   (exit $ac_status); } &&
32265          { ac_try='test -z "$ac_c_werror_flag"
32266                          || test ! -s conftest.err'
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); }; } &&
32272          { ac_try='test -s conftest$ac_exeext'
32273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32274   (eval $ac_try) 2>&5
32275   ac_status=$?
32276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277   (exit $ac_status); }; }; then
32278   eval "$as_ac_var=yes"
32279 else
32280   echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.$ac_ext >&5
32282
32283 eval "$as_ac_var=no"
32284 fi
32285 rm -f conftest.err conftest.$ac_objext \
32286       conftest$ac_exeext conftest.$ac_ext
32287 fi
32288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32290 if test `eval echo '${'$as_ac_var'}'` = yes; then
32291   cat >>confdefs.h <<_ACEOF
32292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32293 _ACEOF
32294
32295 fi
32296 done
32297
32298   else
32299
32300   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
32301 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
32302   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32303     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
32304   echo $ECHO_N "(cached) $ECHO_C" >&6
32305 else
32306
32307
32308
32309       ac_ext=cc
32310 ac_cpp='$CXXCPP $CPPFLAGS'
32311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32314
32315       cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h.  */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h.  */
32321 #include <math.h>
32322                       #ifdef HAVE_IEEEFP_H
32323                       #include <ieeefp.h>
32324                       #endif
32325
32326 int
32327 main ()
32328 {
32329  _finitef(0);
32330   ;
32331   return 0;
32332 }
32333 _ACEOF
32334 rm -f conftest.$ac_objext
32335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32336   (eval $ac_compile) 2>conftest.er1
32337   ac_status=$?
32338   grep -v '^ *+' conftest.er1 >conftest.err
32339   rm -f conftest.er1
32340   cat conftest.err >&5
32341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342   (exit $ac_status); } &&
32343          { ac_try='test -z "$ac_cxx_werror_flag"
32344                          || test ! -s conftest.err'
32345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346   (eval $ac_try) 2>&5
32347   ac_status=$?
32348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349   (exit $ac_status); }; } &&
32350          { ac_try='test -s conftest.$ac_objext'
32351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32352   (eval $ac_try) 2>&5
32353   ac_status=$?
32354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355   (exit $ac_status); }; }; then
32356   glibcxx_cv_func__finitef_use=yes
32357 else
32358   echo "$as_me: failed program was:" >&5
32359 sed 's/^/| /' conftest.$ac_ext >&5
32360
32361 glibcxx_cv_func__finitef_use=no
32362 fi
32363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32364       ac_ext=c
32365 ac_cpp='$CPP $CPPFLAGS'
32366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32369
32370
32371 fi
32372
32373   fi
32374   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
32375 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
32376
32377     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32378
32379 for ac_func in _finitef
32380 do
32381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32382 echo "$as_me:$LINENO: checking for $ac_func" >&5
32383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32384 if eval "test \"\${$as_ac_var+set}\" = set"; then
32385   echo $ECHO_N "(cached) $ECHO_C" >&6
32386 else
32387   if test x$gcc_no_link = xyes; then
32388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32390    { (exit 1); exit 1; }; }
32391 fi
32392 cat >conftest.$ac_ext <<_ACEOF
32393 /* confdefs.h.  */
32394 _ACEOF
32395 cat confdefs.h >>conftest.$ac_ext
32396 cat >>conftest.$ac_ext <<_ACEOF
32397 /* end confdefs.h.  */
32398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32400 #define $ac_func innocuous_$ac_func
32401
32402 /* System header to define __stub macros and hopefully few prototypes,
32403     which can conflict with char $ac_func (); below.
32404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32405     <limits.h> exists even on freestanding compilers.  */
32406
32407 #ifdef __STDC__
32408 # include <limits.h>
32409 #else
32410 # include <assert.h>
32411 #endif
32412
32413 #undef $ac_func
32414
32415 /* Override any gcc2 internal prototype to avoid an error.  */
32416 #ifdef __cplusplus
32417 extern "C"
32418 {
32419 #endif
32420 /* We use char because int might match the return type of a gcc2
32421    builtin and then its argument prototype would still apply.  */
32422 char $ac_func ();
32423 /* The GNU C library defines this for functions which it implements
32424     to always fail with ENOSYS.  Some functions are actually named
32425     something starting with __ and the normal name is an alias.  */
32426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32427 choke me
32428 #else
32429 char (*f) () = $ac_func;
32430 #endif
32431 #ifdef __cplusplus
32432 }
32433 #endif
32434
32435 int
32436 main ()
32437 {
32438 return f != $ac_func;
32439   ;
32440   return 0;
32441 }
32442 _ACEOF
32443 rm -f conftest.$ac_objext conftest$ac_exeext
32444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32445   (eval $ac_link) 2>conftest.er1
32446   ac_status=$?
32447   grep -v '^ *+' conftest.er1 >conftest.err
32448   rm -f conftest.er1
32449   cat conftest.err >&5
32450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451   (exit $ac_status); } &&
32452          { ac_try='test -z "$ac_c_werror_flag"
32453                          || test ! -s conftest.err'
32454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455   (eval $ac_try) 2>&5
32456   ac_status=$?
32457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458   (exit $ac_status); }; } &&
32459          { ac_try='test -s conftest$ac_exeext'
32460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461   (eval $ac_try) 2>&5
32462   ac_status=$?
32463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464   (exit $ac_status); }; }; then
32465   eval "$as_ac_var=yes"
32466 else
32467   echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.$ac_ext >&5
32469
32470 eval "$as_ac_var=no"
32471 fi
32472 rm -f conftest.err conftest.$ac_objext \
32473       conftest$ac_exeext conftest.$ac_ext
32474 fi
32475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32477 if test `eval echo '${'$as_ac_var'}'` = yes; then
32478   cat >>confdefs.h <<_ACEOF
32479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32480 _ACEOF
32481
32482 fi
32483 done
32484
32485     fi
32486   fi
32487
32488
32489
32490
32491
32492
32493     echo "$as_me:$LINENO: checking for long double trig functions" >&5
32494 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
32495   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
32496   echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498
32499
32500
32501     ac_ext=cc
32502 ac_cpp='$CXXCPP $CPPFLAGS'
32503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32506
32507     cat >conftest.$ac_ext <<_ACEOF
32508 /* confdefs.h.  */
32509 _ACEOF
32510 cat confdefs.h >>conftest.$ac_ext
32511 cat >>conftest.$ac_ext <<_ACEOF
32512 /* end confdefs.h.  */
32513 #include <math.h>
32514 int
32515 main ()
32516 {
32517 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32518   ;
32519   return 0;
32520 }
32521 _ACEOF
32522 rm -f conftest.$ac_objext
32523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32524   (eval $ac_compile) 2>conftest.er1
32525   ac_status=$?
32526   grep -v '^ *+' conftest.er1 >conftest.err
32527   rm -f conftest.er1
32528   cat conftest.err >&5
32529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530   (exit $ac_status); } &&
32531          { ac_try='test -z "$ac_cxx_werror_flag"
32532                          || test ! -s conftest.err'
32533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534   (eval $ac_try) 2>&5
32535   ac_status=$?
32536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537   (exit $ac_status); }; } &&
32538          { ac_try='test -s conftest.$ac_objext'
32539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540   (eval $ac_try) 2>&5
32541   ac_status=$?
32542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543   (exit $ac_status); }; }; then
32544   glibcxx_cv_func_long_double_trig_use=yes
32545 else
32546   echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.$ac_ext >&5
32548
32549 glibcxx_cv_func_long_double_trig_use=no
32550 fi
32551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32552     ac_ext=c
32553 ac_cpp='$CPP $CPPFLAGS'
32554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32557
32558 fi
32559
32560   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
32561 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
32562   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32573 do
32574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32575 echo "$as_me:$LINENO: checking for $ac_func" >&5
32576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32577 if eval "test \"\${$as_ac_var+set}\" = set"; then
32578   echo $ECHO_N "(cached) $ECHO_C" >&6
32579 else
32580   if test x$gcc_no_link = xyes; then
32581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32583    { (exit 1); exit 1; }; }
32584 fi
32585 cat >conftest.$ac_ext <<_ACEOF
32586 /* confdefs.h.  */
32587 _ACEOF
32588 cat confdefs.h >>conftest.$ac_ext
32589 cat >>conftest.$ac_ext <<_ACEOF
32590 /* end confdefs.h.  */
32591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32593 #define $ac_func innocuous_$ac_func
32594
32595 /* System header to define __stub macros and hopefully few prototypes,
32596     which can conflict with char $ac_func (); below.
32597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32598     <limits.h> exists even on freestanding compilers.  */
32599
32600 #ifdef __STDC__
32601 # include <limits.h>
32602 #else
32603 # include <assert.h>
32604 #endif
32605
32606 #undef $ac_func
32607
32608 /* Override any gcc2 internal prototype to avoid an error.  */
32609 #ifdef __cplusplus
32610 extern "C"
32611 {
32612 #endif
32613 /* We use char because int might match the return type of a gcc2
32614    builtin and then its argument prototype would still apply.  */
32615 char $ac_func ();
32616 /* The GNU C library defines this for functions which it implements
32617     to always fail with ENOSYS.  Some functions are actually named
32618     something starting with __ and the normal name is an alias.  */
32619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32620 choke me
32621 #else
32622 char (*f) () = $ac_func;
32623 #endif
32624 #ifdef __cplusplus
32625 }
32626 #endif
32627
32628 int
32629 main ()
32630 {
32631 return f != $ac_func;
32632   ;
32633   return 0;
32634 }
32635 _ACEOF
32636 rm -f conftest.$ac_objext conftest$ac_exeext
32637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32638   (eval $ac_link) 2>conftest.er1
32639   ac_status=$?
32640   grep -v '^ *+' conftest.er1 >conftest.err
32641   rm -f conftest.er1
32642   cat conftest.err >&5
32643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644   (exit $ac_status); } &&
32645          { ac_try='test -z "$ac_c_werror_flag"
32646                          || test ! -s conftest.err'
32647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648   (eval $ac_try) 2>&5
32649   ac_status=$?
32650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651   (exit $ac_status); }; } &&
32652          { ac_try='test -s conftest$ac_exeext'
32653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654   (eval $ac_try) 2>&5
32655   ac_status=$?
32656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657   (exit $ac_status); }; }; then
32658   eval "$as_ac_var=yes"
32659 else
32660   echo "$as_me: failed program was:" >&5
32661 sed 's/^/| /' conftest.$ac_ext >&5
32662
32663 eval "$as_ac_var=no"
32664 fi
32665 rm -f conftest.err conftest.$ac_objext \
32666       conftest$ac_exeext conftest.$ac_ext
32667 fi
32668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32670 if test `eval echo '${'$as_ac_var'}'` = yes; then
32671   cat >>confdefs.h <<_ACEOF
32672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32673 _ACEOF
32674
32675 fi
32676 done
32677
32678   else
32679     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
32680 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
32681     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
32682   echo $ECHO_N "(cached) $ECHO_C" >&6
32683 else
32684
32685
32686
32687       ac_ext=cc
32688 ac_cpp='$CXXCPP $CPPFLAGS'
32689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32692
32693       cat >conftest.$ac_ext <<_ACEOF
32694 /* confdefs.h.  */
32695 _ACEOF
32696 cat confdefs.h >>conftest.$ac_ext
32697 cat >>conftest.$ac_ext <<_ACEOF
32698 /* end confdefs.h.  */
32699 #include <math.h>
32700 int
32701 main ()
32702 {
32703 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32704   ;
32705   return 0;
32706 }
32707 _ACEOF
32708 rm -f conftest.$ac_objext
32709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32710   (eval $ac_compile) 2>conftest.er1
32711   ac_status=$?
32712   grep -v '^ *+' conftest.er1 >conftest.err
32713   rm -f conftest.er1
32714   cat conftest.err >&5
32715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716   (exit $ac_status); } &&
32717          { ac_try='test -z "$ac_cxx_werror_flag"
32718                          || test ! -s conftest.err'
32719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720   (eval $ac_try) 2>&5
32721   ac_status=$?
32722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723   (exit $ac_status); }; } &&
32724          { ac_try='test -s conftest.$ac_objext'
32725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726   (eval $ac_try) 2>&5
32727   ac_status=$?
32728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729   (exit $ac_status); }; }; then
32730   glibcxx_cv_func__long_double_trig_use=yes
32731 else
32732   echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 glibcxx_cv_func__long_double_trig_use=no
32736 fi
32737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32738       ac_ext=c
32739 ac_cpp='$CPP $CPPFLAGS'
32740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32743
32744 fi
32745
32746     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
32747 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
32748     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32759 do
32760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32761 echo "$as_me:$LINENO: checking for $ac_func" >&5
32762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32763 if eval "test \"\${$as_ac_var+set}\" = set"; then
32764   echo $ECHO_N "(cached) $ECHO_C" >&6
32765 else
32766   if test x$gcc_no_link = xyes; then
32767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32769    { (exit 1); exit 1; }; }
32770 fi
32771 cat >conftest.$ac_ext <<_ACEOF
32772 /* confdefs.h.  */
32773 _ACEOF
32774 cat confdefs.h >>conftest.$ac_ext
32775 cat >>conftest.$ac_ext <<_ACEOF
32776 /* end confdefs.h.  */
32777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32779 #define $ac_func innocuous_$ac_func
32780
32781 /* System header to define __stub macros and hopefully few prototypes,
32782     which can conflict with char $ac_func (); below.
32783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32784     <limits.h> exists even on freestanding compilers.  */
32785
32786 #ifdef __STDC__
32787 # include <limits.h>
32788 #else
32789 # include <assert.h>
32790 #endif
32791
32792 #undef $ac_func
32793
32794 /* Override any gcc2 internal prototype to avoid an error.  */
32795 #ifdef __cplusplus
32796 extern "C"
32797 {
32798 #endif
32799 /* We use char because int might match the return type of a gcc2
32800    builtin and then its argument prototype would still apply.  */
32801 char $ac_func ();
32802 /* The GNU C library defines this for functions which it implements
32803     to always fail with ENOSYS.  Some functions are actually named
32804     something starting with __ and the normal name is an alias.  */
32805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32806 choke me
32807 #else
32808 char (*f) () = $ac_func;
32809 #endif
32810 #ifdef __cplusplus
32811 }
32812 #endif
32813
32814 int
32815 main ()
32816 {
32817 return f != $ac_func;
32818   ;
32819   return 0;
32820 }
32821 _ACEOF
32822 rm -f conftest.$ac_objext conftest$ac_exeext
32823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32824   (eval $ac_link) 2>conftest.er1
32825   ac_status=$?
32826   grep -v '^ *+' conftest.er1 >conftest.err
32827   rm -f conftest.er1
32828   cat conftest.err >&5
32829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830   (exit $ac_status); } &&
32831          { ac_try='test -z "$ac_c_werror_flag"
32832                          || test ! -s conftest.err'
32833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32834   (eval $ac_try) 2>&5
32835   ac_status=$?
32836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837   (exit $ac_status); }; } &&
32838          { ac_try='test -s conftest$ac_exeext'
32839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840   (eval $ac_try) 2>&5
32841   ac_status=$?
32842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843   (exit $ac_status); }; }; then
32844   eval "$as_ac_var=yes"
32845 else
32846   echo "$as_me: failed program was:" >&5
32847 sed 's/^/| /' conftest.$ac_ext >&5
32848
32849 eval "$as_ac_var=no"
32850 fi
32851 rm -f conftest.err conftest.$ac_objext \
32852       conftest$ac_exeext conftest.$ac_ext
32853 fi
32854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32856 if test `eval echo '${'$as_ac_var'}'` = yes; then
32857   cat >>confdefs.h <<_ACEOF
32858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32859 _ACEOF
32860
32861 fi
32862 done
32863
32864     fi
32865   fi
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880     echo "$as_me:$LINENO: checking for long double round functions" >&5
32881 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
32882   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
32883   echo $ECHO_N "(cached) $ECHO_C" >&6
32884 else
32885
32886
32887
32888     ac_ext=cc
32889 ac_cpp='$CXXCPP $CPPFLAGS'
32890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32893
32894     cat >conftest.$ac_ext <<_ACEOF
32895 /* confdefs.h.  */
32896 _ACEOF
32897 cat confdefs.h >>conftest.$ac_ext
32898 cat >>conftest.$ac_ext <<_ACEOF
32899 /* end confdefs.h.  */
32900 #include <math.h>
32901 int
32902 main ()
32903 {
32904 ceill (0); floorl (0);
32905   ;
32906   return 0;
32907 }
32908 _ACEOF
32909 rm -f conftest.$ac_objext
32910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32911   (eval $ac_compile) 2>conftest.er1
32912   ac_status=$?
32913   grep -v '^ *+' conftest.er1 >conftest.err
32914   rm -f conftest.er1
32915   cat conftest.err >&5
32916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917   (exit $ac_status); } &&
32918          { ac_try='test -z "$ac_cxx_werror_flag"
32919                          || test ! -s conftest.err'
32920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32921   (eval $ac_try) 2>&5
32922   ac_status=$?
32923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32924   (exit $ac_status); }; } &&
32925          { ac_try='test -s conftest.$ac_objext'
32926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927   (eval $ac_try) 2>&5
32928   ac_status=$?
32929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930   (exit $ac_status); }; }; then
32931   glibcxx_cv_func_long_double_round_use=yes
32932 else
32933   echo "$as_me: failed program was:" >&5
32934 sed 's/^/| /' conftest.$ac_ext >&5
32935
32936 glibcxx_cv_func_long_double_round_use=no
32937 fi
32938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32939     ac_ext=c
32940 ac_cpp='$CPP $CPPFLAGS'
32941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32944
32945 fi
32946
32947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
32948 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
32949   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32950
32951
32952 for ac_func in ceill floorl
32953 do
32954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32955 echo "$as_me:$LINENO: checking for $ac_func" >&5
32956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32957 if eval "test \"\${$as_ac_var+set}\" = set"; then
32958   echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960   if test x$gcc_no_link = xyes; then
32961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32963    { (exit 1); exit 1; }; }
32964 fi
32965 cat >conftest.$ac_ext <<_ACEOF
32966 /* confdefs.h.  */
32967 _ACEOF
32968 cat confdefs.h >>conftest.$ac_ext
32969 cat >>conftest.$ac_ext <<_ACEOF
32970 /* end confdefs.h.  */
32971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32973 #define $ac_func innocuous_$ac_func
32974
32975 /* System header to define __stub macros and hopefully few prototypes,
32976     which can conflict with char $ac_func (); below.
32977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32978     <limits.h> exists even on freestanding compilers.  */
32979
32980 #ifdef __STDC__
32981 # include <limits.h>
32982 #else
32983 # include <assert.h>
32984 #endif
32985
32986 #undef $ac_func
32987
32988 /* Override any gcc2 internal prototype to avoid an error.  */
32989 #ifdef __cplusplus
32990 extern "C"
32991 {
32992 #endif
32993 /* We use char because int might match the return type of a gcc2
32994    builtin and then its argument prototype would still apply.  */
32995 char $ac_func ();
32996 /* The GNU C library defines this for functions which it implements
32997     to always fail with ENOSYS.  Some functions are actually named
32998     something starting with __ and the normal name is an alias.  */
32999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33000 choke me
33001 #else
33002 char (*f) () = $ac_func;
33003 #endif
33004 #ifdef __cplusplus
33005 }
33006 #endif
33007
33008 int
33009 main ()
33010 {
33011 return f != $ac_func;
33012   ;
33013   return 0;
33014 }
33015 _ACEOF
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33018   (eval $ac_link) 2>conftest.er1
33019   ac_status=$?
33020   grep -v '^ *+' conftest.er1 >conftest.err
33021   rm -f conftest.er1
33022   cat conftest.err >&5
33023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024   (exit $ac_status); } &&
33025          { ac_try='test -z "$ac_c_werror_flag"
33026                          || test ! -s conftest.err'
33027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33028   (eval $ac_try) 2>&5
33029   ac_status=$?
33030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031   (exit $ac_status); }; } &&
33032          { ac_try='test -s conftest$ac_exeext'
33033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33034   (eval $ac_try) 2>&5
33035   ac_status=$?
33036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037   (exit $ac_status); }; }; then
33038   eval "$as_ac_var=yes"
33039 else
33040   echo "$as_me: failed program was:" >&5
33041 sed 's/^/| /' conftest.$ac_ext >&5
33042
33043 eval "$as_ac_var=no"
33044 fi
33045 rm -f conftest.err conftest.$ac_objext \
33046       conftest$ac_exeext conftest.$ac_ext
33047 fi
33048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33050 if test `eval echo '${'$as_ac_var'}'` = yes; then
33051   cat >>confdefs.h <<_ACEOF
33052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33053 _ACEOF
33054
33055 fi
33056 done
33057
33058   else
33059     echo "$as_me:$LINENO: checking for _long double round functions" >&5
33060 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
33061     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
33062   echo $ECHO_N "(cached) $ECHO_C" >&6
33063 else
33064
33065
33066
33067       ac_ext=cc
33068 ac_cpp='$CXXCPP $CPPFLAGS'
33069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33072
33073       cat >conftest.$ac_ext <<_ACEOF
33074 /* confdefs.h.  */
33075 _ACEOF
33076 cat confdefs.h >>conftest.$ac_ext
33077 cat >>conftest.$ac_ext <<_ACEOF
33078 /* end confdefs.h.  */
33079 #include <math.h>
33080 int
33081 main ()
33082 {
33083 _ceill (0); _floorl (0);
33084   ;
33085   return 0;
33086 }
33087 _ACEOF
33088 rm -f conftest.$ac_objext
33089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33090   (eval $ac_compile) 2>conftest.er1
33091   ac_status=$?
33092   grep -v '^ *+' conftest.er1 >conftest.err
33093   rm -f conftest.er1
33094   cat conftest.err >&5
33095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096   (exit $ac_status); } &&
33097          { ac_try='test -z "$ac_cxx_werror_flag"
33098                          || test ! -s conftest.err'
33099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100   (eval $ac_try) 2>&5
33101   ac_status=$?
33102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103   (exit $ac_status); }; } &&
33104          { ac_try='test -s conftest.$ac_objext'
33105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106   (eval $ac_try) 2>&5
33107   ac_status=$?
33108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109   (exit $ac_status); }; }; then
33110   glibcxx_cv_func__long_double_round_use=yes
33111 else
33112   echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 glibcxx_cv_func__long_double_round_use=no
33116 fi
33117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33118       ac_ext=c
33119 ac_cpp='$CPP $CPPFLAGS'
33120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33123
33124 fi
33125
33126     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
33127 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
33128     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33129
33130
33131 for ac_func in _ceill _floorl
33132 do
33133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33134 echo "$as_me:$LINENO: checking for $ac_func" >&5
33135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33136 if eval "test \"\${$as_ac_var+set}\" = set"; then
33137   echo $ECHO_N "(cached) $ECHO_C" >&6
33138 else
33139   if test x$gcc_no_link = xyes; then
33140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33142    { (exit 1); exit 1; }; }
33143 fi
33144 cat >conftest.$ac_ext <<_ACEOF
33145 /* confdefs.h.  */
33146 _ACEOF
33147 cat confdefs.h >>conftest.$ac_ext
33148 cat >>conftest.$ac_ext <<_ACEOF
33149 /* end confdefs.h.  */
33150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33152 #define $ac_func innocuous_$ac_func
33153
33154 /* System header to define __stub macros and hopefully few prototypes,
33155     which can conflict with char $ac_func (); below.
33156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33157     <limits.h> exists even on freestanding compilers.  */
33158
33159 #ifdef __STDC__
33160 # include <limits.h>
33161 #else
33162 # include <assert.h>
33163 #endif
33164
33165 #undef $ac_func
33166
33167 /* Override any gcc2 internal prototype to avoid an error.  */
33168 #ifdef __cplusplus
33169 extern "C"
33170 {
33171 #endif
33172 /* We use char because int might match the return type of a gcc2
33173    builtin and then its argument prototype would still apply.  */
33174 char $ac_func ();
33175 /* The GNU C library defines this for functions which it implements
33176     to always fail with ENOSYS.  Some functions are actually named
33177     something starting with __ and the normal name is an alias.  */
33178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33179 choke me
33180 #else
33181 char (*f) () = $ac_func;
33182 #endif
33183 #ifdef __cplusplus
33184 }
33185 #endif
33186
33187 int
33188 main ()
33189 {
33190 return f != $ac_func;
33191   ;
33192   return 0;
33193 }
33194 _ACEOF
33195 rm -f conftest.$ac_objext conftest$ac_exeext
33196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33197   (eval $ac_link) 2>conftest.er1
33198   ac_status=$?
33199   grep -v '^ *+' conftest.er1 >conftest.err
33200   rm -f conftest.er1
33201   cat conftest.err >&5
33202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203   (exit $ac_status); } &&
33204          { ac_try='test -z "$ac_c_werror_flag"
33205                          || test ! -s conftest.err'
33206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33207   (eval $ac_try) 2>&5
33208   ac_status=$?
33209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210   (exit $ac_status); }; } &&
33211          { ac_try='test -s conftest$ac_exeext'
33212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213   (eval $ac_try) 2>&5
33214   ac_status=$?
33215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216   (exit $ac_status); }; }; then
33217   eval "$as_ac_var=yes"
33218 else
33219   echo "$as_me: failed program was:" >&5
33220 sed 's/^/| /' conftest.$ac_ext >&5
33221
33222 eval "$as_ac_var=no"
33223 fi
33224 rm -f conftest.err conftest.$ac_objext \
33225       conftest$ac_exeext conftest.$ac_ext
33226 fi
33227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33229 if test `eval echo '${'$as_ac_var'}'` = yes; then
33230   cat >>confdefs.h <<_ACEOF
33231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33232 _ACEOF
33233
33234 fi
33235 done
33236
33237     fi
33238   fi
33239
33240
33241
33242
33243
33244
33245
33246
33247   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
33248 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
33249   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33250     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
33251   echo $ECHO_N "(cached) $ECHO_C" >&6
33252 else
33253
33254
33255
33256       ac_ext=cc
33257 ac_cpp='$CXXCPP $CPPFLAGS'
33258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261
33262       cat >conftest.$ac_ext <<_ACEOF
33263 /* confdefs.h.  */
33264 _ACEOF
33265 cat confdefs.h >>conftest.$ac_ext
33266 cat >>conftest.$ac_ext <<_ACEOF
33267 /* end confdefs.h.  */
33268 #include <math.h>
33269                       #ifdef HAVE_IEEEFP_H
33270                       #include <ieeefp.h>
33271                       #endif
33272
33273 int
33274 main ()
33275 {
33276  isnanl(0);
33277   ;
33278   return 0;
33279 }
33280 _ACEOF
33281 rm -f conftest.$ac_objext
33282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33283   (eval $ac_compile) 2>conftest.er1
33284   ac_status=$?
33285   grep -v '^ *+' conftest.er1 >conftest.err
33286   rm -f conftest.er1
33287   cat conftest.err >&5
33288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289   (exit $ac_status); } &&
33290          { ac_try='test -z "$ac_cxx_werror_flag"
33291                          || test ! -s conftest.err'
33292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293   (eval $ac_try) 2>&5
33294   ac_status=$?
33295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296   (exit $ac_status); }; } &&
33297          { ac_try='test -s conftest.$ac_objext'
33298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299   (eval $ac_try) 2>&5
33300   ac_status=$?
33301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302   (exit $ac_status); }; }; then
33303   glibcxx_cv_func_isnanl_use=yes
33304 else
33305   echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33307
33308 glibcxx_cv_func_isnanl_use=no
33309 fi
33310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33311       ac_ext=c
33312 ac_cpp='$CPP $CPPFLAGS'
33313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316
33317
33318 fi
33319
33320   fi
33321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
33322 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
33323
33324   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33325
33326 for ac_func in isnanl
33327 do
33328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33329 echo "$as_me:$LINENO: checking for $ac_func" >&5
33330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33331 if eval "test \"\${$as_ac_var+set}\" = set"; then
33332   echo $ECHO_N "(cached) $ECHO_C" >&6
33333 else
33334   if test x$gcc_no_link = xyes; then
33335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33337    { (exit 1); exit 1; }; }
33338 fi
33339 cat >conftest.$ac_ext <<_ACEOF
33340 /* confdefs.h.  */
33341 _ACEOF
33342 cat confdefs.h >>conftest.$ac_ext
33343 cat >>conftest.$ac_ext <<_ACEOF
33344 /* end confdefs.h.  */
33345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33347 #define $ac_func innocuous_$ac_func
33348
33349 /* System header to define __stub macros and hopefully few prototypes,
33350     which can conflict with char $ac_func (); below.
33351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33352     <limits.h> exists even on freestanding compilers.  */
33353
33354 #ifdef __STDC__
33355 # include <limits.h>
33356 #else
33357 # include <assert.h>
33358 #endif
33359
33360 #undef $ac_func
33361
33362 /* Override any gcc2 internal prototype to avoid an error.  */
33363 #ifdef __cplusplus
33364 extern "C"
33365 {
33366 #endif
33367 /* We use char because int might match the return type of a gcc2
33368    builtin and then its argument prototype would still apply.  */
33369 char $ac_func ();
33370 /* The GNU C library defines this for functions which it implements
33371     to always fail with ENOSYS.  Some functions are actually named
33372     something starting with __ and the normal name is an alias.  */
33373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33374 choke me
33375 #else
33376 char (*f) () = $ac_func;
33377 #endif
33378 #ifdef __cplusplus
33379 }
33380 #endif
33381
33382 int
33383 main ()
33384 {
33385 return f != $ac_func;
33386   ;
33387   return 0;
33388 }
33389 _ACEOF
33390 rm -f conftest.$ac_objext conftest$ac_exeext
33391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33392   (eval $ac_link) 2>conftest.er1
33393   ac_status=$?
33394   grep -v '^ *+' conftest.er1 >conftest.err
33395   rm -f conftest.er1
33396   cat conftest.err >&5
33397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398   (exit $ac_status); } &&
33399          { ac_try='test -z "$ac_c_werror_flag"
33400                          || test ! -s conftest.err'
33401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33402   (eval $ac_try) 2>&5
33403   ac_status=$?
33404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405   (exit $ac_status); }; } &&
33406          { ac_try='test -s conftest$ac_exeext'
33407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408   (eval $ac_try) 2>&5
33409   ac_status=$?
33410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411   (exit $ac_status); }; }; then
33412   eval "$as_ac_var=yes"
33413 else
33414   echo "$as_me: failed program was:" >&5
33415 sed 's/^/| /' conftest.$ac_ext >&5
33416
33417 eval "$as_ac_var=no"
33418 fi
33419 rm -f conftest.err conftest.$ac_objext \
33420       conftest$ac_exeext conftest.$ac_ext
33421 fi
33422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33424 if test `eval echo '${'$as_ac_var'}'` = yes; then
33425   cat >>confdefs.h <<_ACEOF
33426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33427 _ACEOF
33428
33429 fi
33430 done
33431
33432   else
33433
33434   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
33435 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
33436   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33437     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
33438   echo $ECHO_N "(cached) $ECHO_C" >&6
33439 else
33440
33441
33442
33443       ac_ext=cc
33444 ac_cpp='$CXXCPP $CPPFLAGS'
33445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448
33449       cat >conftest.$ac_ext <<_ACEOF
33450 /* confdefs.h.  */
33451 _ACEOF
33452 cat confdefs.h >>conftest.$ac_ext
33453 cat >>conftest.$ac_ext <<_ACEOF
33454 /* end confdefs.h.  */
33455 #include <math.h>
33456                       #ifdef HAVE_IEEEFP_H
33457                       #include <ieeefp.h>
33458                       #endif
33459
33460 int
33461 main ()
33462 {
33463  _isnanl(0);
33464   ;
33465   return 0;
33466 }
33467 _ACEOF
33468 rm -f conftest.$ac_objext
33469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33470   (eval $ac_compile) 2>conftest.er1
33471   ac_status=$?
33472   grep -v '^ *+' conftest.er1 >conftest.err
33473   rm -f conftest.er1
33474   cat conftest.err >&5
33475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476   (exit $ac_status); } &&
33477          { ac_try='test -z "$ac_cxx_werror_flag"
33478                          || test ! -s conftest.err'
33479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480   (eval $ac_try) 2>&5
33481   ac_status=$?
33482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483   (exit $ac_status); }; } &&
33484          { ac_try='test -s conftest.$ac_objext'
33485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486   (eval $ac_try) 2>&5
33487   ac_status=$?
33488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489   (exit $ac_status); }; }; then
33490   glibcxx_cv_func__isnanl_use=yes
33491 else
33492   echo "$as_me: failed program was:" >&5
33493 sed 's/^/| /' conftest.$ac_ext >&5
33494
33495 glibcxx_cv_func__isnanl_use=no
33496 fi
33497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33498       ac_ext=c
33499 ac_cpp='$CPP $CPPFLAGS'
33500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33503
33504
33505 fi
33506
33507   fi
33508   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
33509 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
33510
33511     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33512
33513 for ac_func in _isnanl
33514 do
33515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33516 echo "$as_me:$LINENO: checking for $ac_func" >&5
33517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33518 if eval "test \"\${$as_ac_var+set}\" = set"; then
33519   echo $ECHO_N "(cached) $ECHO_C" >&6
33520 else
33521   if test x$gcc_no_link = xyes; then
33522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33524    { (exit 1); exit 1; }; }
33525 fi
33526 cat >conftest.$ac_ext <<_ACEOF
33527 /* confdefs.h.  */
33528 _ACEOF
33529 cat confdefs.h >>conftest.$ac_ext
33530 cat >>conftest.$ac_ext <<_ACEOF
33531 /* end confdefs.h.  */
33532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33534 #define $ac_func innocuous_$ac_func
33535
33536 /* System header to define __stub macros and hopefully few prototypes,
33537     which can conflict with char $ac_func (); below.
33538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33539     <limits.h> exists even on freestanding compilers.  */
33540
33541 #ifdef __STDC__
33542 # include <limits.h>
33543 #else
33544 # include <assert.h>
33545 #endif
33546
33547 #undef $ac_func
33548
33549 /* Override any gcc2 internal prototype to avoid an error.  */
33550 #ifdef __cplusplus
33551 extern "C"
33552 {
33553 #endif
33554 /* We use char because int might match the return type of a gcc2
33555    builtin and then its argument prototype would still apply.  */
33556 char $ac_func ();
33557 /* The GNU C library defines this for functions which it implements
33558     to always fail with ENOSYS.  Some functions are actually named
33559     something starting with __ and the normal name is an alias.  */
33560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33561 choke me
33562 #else
33563 char (*f) () = $ac_func;
33564 #endif
33565 #ifdef __cplusplus
33566 }
33567 #endif
33568
33569 int
33570 main ()
33571 {
33572 return f != $ac_func;
33573   ;
33574   return 0;
33575 }
33576 _ACEOF
33577 rm -f conftest.$ac_objext conftest$ac_exeext
33578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33579   (eval $ac_link) 2>conftest.er1
33580   ac_status=$?
33581   grep -v '^ *+' conftest.er1 >conftest.err
33582   rm -f conftest.er1
33583   cat conftest.err >&5
33584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585   (exit $ac_status); } &&
33586          { ac_try='test -z "$ac_c_werror_flag"
33587                          || test ! -s conftest.err'
33588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33589   (eval $ac_try) 2>&5
33590   ac_status=$?
33591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33592   (exit $ac_status); }; } &&
33593          { ac_try='test -s conftest$ac_exeext'
33594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33595   (eval $ac_try) 2>&5
33596   ac_status=$?
33597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598   (exit $ac_status); }; }; then
33599   eval "$as_ac_var=yes"
33600 else
33601   echo "$as_me: failed program was:" >&5
33602 sed 's/^/| /' conftest.$ac_ext >&5
33603
33604 eval "$as_ac_var=no"
33605 fi
33606 rm -f conftest.err conftest.$ac_objext \
33607       conftest$ac_exeext conftest.$ac_ext
33608 fi
33609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33611 if test `eval echo '${'$as_ac_var'}'` = yes; then
33612   cat >>confdefs.h <<_ACEOF
33613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33614 _ACEOF
33615
33616 fi
33617 done
33618
33619     fi
33620   fi
33621
33622
33623
33624
33625
33626
33627   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
33628 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
33629   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33630     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
33631   echo $ECHO_N "(cached) $ECHO_C" >&6
33632 else
33633
33634
33635
33636       ac_ext=cc
33637 ac_cpp='$CXXCPP $CPPFLAGS'
33638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33641
33642       cat >conftest.$ac_ext <<_ACEOF
33643 /* confdefs.h.  */
33644 _ACEOF
33645 cat confdefs.h >>conftest.$ac_ext
33646 cat >>conftest.$ac_ext <<_ACEOF
33647 /* end confdefs.h.  */
33648 #include <math.h>
33649                       #ifdef HAVE_IEEEFP_H
33650                       #include <ieeefp.h>
33651                       #endif
33652
33653 int
33654 main ()
33655 {
33656  isinfl(0);
33657   ;
33658   return 0;
33659 }
33660 _ACEOF
33661 rm -f conftest.$ac_objext
33662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33663   (eval $ac_compile) 2>conftest.er1
33664   ac_status=$?
33665   grep -v '^ *+' conftest.er1 >conftest.err
33666   rm -f conftest.er1
33667   cat conftest.err >&5
33668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33669   (exit $ac_status); } &&
33670          { ac_try='test -z "$ac_cxx_werror_flag"
33671                          || test ! -s conftest.err'
33672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673   (eval $ac_try) 2>&5
33674   ac_status=$?
33675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676   (exit $ac_status); }; } &&
33677          { ac_try='test -s conftest.$ac_objext'
33678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33679   (eval $ac_try) 2>&5
33680   ac_status=$?
33681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682   (exit $ac_status); }; }; then
33683   glibcxx_cv_func_isinfl_use=yes
33684 else
33685   echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33687
33688 glibcxx_cv_func_isinfl_use=no
33689 fi
33690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33691       ac_ext=c
33692 ac_cpp='$CPP $CPPFLAGS'
33693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696
33697
33698 fi
33699
33700   fi
33701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
33702 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
33703
33704   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33705
33706 for ac_func in isinfl
33707 do
33708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33709 echo "$as_me:$LINENO: checking for $ac_func" >&5
33710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33711 if eval "test \"\${$as_ac_var+set}\" = set"; then
33712   echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33714   if test x$gcc_no_link = xyes; then
33715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33717    { (exit 1); exit 1; }; }
33718 fi
33719 cat >conftest.$ac_ext <<_ACEOF
33720 /* confdefs.h.  */
33721 _ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h.  */
33725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33727 #define $ac_func innocuous_$ac_func
33728
33729 /* System header to define __stub macros and hopefully few prototypes,
33730     which can conflict with char $ac_func (); below.
33731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33732     <limits.h> exists even on freestanding compilers.  */
33733
33734 #ifdef __STDC__
33735 # include <limits.h>
33736 #else
33737 # include <assert.h>
33738 #endif
33739
33740 #undef $ac_func
33741
33742 /* Override any gcc2 internal prototype to avoid an error.  */
33743 #ifdef __cplusplus
33744 extern "C"
33745 {
33746 #endif
33747 /* We use char because int might match the return type of a gcc2
33748    builtin and then its argument prototype would still apply.  */
33749 char $ac_func ();
33750 /* The GNU C library defines this for functions which it implements
33751     to always fail with ENOSYS.  Some functions are actually named
33752     something starting with __ and the normal name is an alias.  */
33753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33754 choke me
33755 #else
33756 char (*f) () = $ac_func;
33757 #endif
33758 #ifdef __cplusplus
33759 }
33760 #endif
33761
33762 int
33763 main ()
33764 {
33765 return f != $ac_func;
33766   ;
33767   return 0;
33768 }
33769 _ACEOF
33770 rm -f conftest.$ac_objext conftest$ac_exeext
33771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33772   (eval $ac_link) 2>conftest.er1
33773   ac_status=$?
33774   grep -v '^ *+' conftest.er1 >conftest.err
33775   rm -f conftest.er1
33776   cat conftest.err >&5
33777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778   (exit $ac_status); } &&
33779          { ac_try='test -z "$ac_c_werror_flag"
33780                          || test ! -s conftest.err'
33781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33782   (eval $ac_try) 2>&5
33783   ac_status=$?
33784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785   (exit $ac_status); }; } &&
33786          { ac_try='test -s conftest$ac_exeext'
33787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33788   (eval $ac_try) 2>&5
33789   ac_status=$?
33790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791   (exit $ac_status); }; }; then
33792   eval "$as_ac_var=yes"
33793 else
33794   echo "$as_me: failed program was:" >&5
33795 sed 's/^/| /' conftest.$ac_ext >&5
33796
33797 eval "$as_ac_var=no"
33798 fi
33799 rm -f conftest.err conftest.$ac_objext \
33800       conftest$ac_exeext conftest.$ac_ext
33801 fi
33802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33804 if test `eval echo '${'$as_ac_var'}'` = yes; then
33805   cat >>confdefs.h <<_ACEOF
33806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33807 _ACEOF
33808
33809 fi
33810 done
33811
33812   else
33813
33814   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
33815 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
33816   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33817     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
33818   echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820
33821
33822
33823       ac_ext=cc
33824 ac_cpp='$CXXCPP $CPPFLAGS'
33825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33828
33829       cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h.  */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h.  */
33835 #include <math.h>
33836                       #ifdef HAVE_IEEEFP_H
33837                       #include <ieeefp.h>
33838                       #endif
33839
33840 int
33841 main ()
33842 {
33843  _isinfl(0);
33844   ;
33845   return 0;
33846 }
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850   (eval $ac_compile) 2>conftest.er1
33851   ac_status=$?
33852   grep -v '^ *+' conftest.er1 >conftest.err
33853   rm -f conftest.er1
33854   cat conftest.err >&5
33855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856   (exit $ac_status); } &&
33857          { ac_try='test -z "$ac_cxx_werror_flag"
33858                          || test ! -s conftest.err'
33859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860   (eval $ac_try) 2>&5
33861   ac_status=$?
33862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863   (exit $ac_status); }; } &&
33864          { ac_try='test -s conftest.$ac_objext'
33865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866   (eval $ac_try) 2>&5
33867   ac_status=$?
33868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869   (exit $ac_status); }; }; then
33870   glibcxx_cv_func__isinfl_use=yes
33871 else
33872   echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33874
33875 glibcxx_cv_func__isinfl_use=no
33876 fi
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878       ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887   fi
33888   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
33889 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
33890
33891     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33892
33893 for ac_func in _isinfl
33894 do
33895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33896 echo "$as_me:$LINENO: checking for $ac_func" >&5
33897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33898 if eval "test \"\${$as_ac_var+set}\" = set"; then
33899   echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901   if test x$gcc_no_link = xyes; then
33902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33904    { (exit 1); exit 1; }; }
33905 fi
33906 cat >conftest.$ac_ext <<_ACEOF
33907 /* confdefs.h.  */
33908 _ACEOF
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h.  */
33912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33914 #define $ac_func innocuous_$ac_func
33915
33916 /* System header to define __stub macros and hopefully few prototypes,
33917     which can conflict with char $ac_func (); below.
33918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33919     <limits.h> exists even on freestanding compilers.  */
33920
33921 #ifdef __STDC__
33922 # include <limits.h>
33923 #else
33924 # include <assert.h>
33925 #endif
33926
33927 #undef $ac_func
33928
33929 /* Override any gcc2 internal prototype to avoid an error.  */
33930 #ifdef __cplusplus
33931 extern "C"
33932 {
33933 #endif
33934 /* We use char because int might match the return type of a gcc2
33935    builtin and then its argument prototype would still apply.  */
33936 char $ac_func ();
33937 /* The GNU C library defines this for functions which it implements
33938     to always fail with ENOSYS.  Some functions are actually named
33939     something starting with __ and the normal name is an alias.  */
33940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33941 choke me
33942 #else
33943 char (*f) () = $ac_func;
33944 #endif
33945 #ifdef __cplusplus
33946 }
33947 #endif
33948
33949 int
33950 main ()
33951 {
33952 return f != $ac_func;
33953   ;
33954   return 0;
33955 }
33956 _ACEOF
33957 rm -f conftest.$ac_objext conftest$ac_exeext
33958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33959   (eval $ac_link) 2>conftest.er1
33960   ac_status=$?
33961   grep -v '^ *+' conftest.er1 >conftest.err
33962   rm -f conftest.er1
33963   cat conftest.err >&5
33964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965   (exit $ac_status); } &&
33966          { ac_try='test -z "$ac_c_werror_flag"
33967                          || test ! -s conftest.err'
33968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33969   (eval $ac_try) 2>&5
33970   ac_status=$?
33971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33972   (exit $ac_status); }; } &&
33973          { ac_try='test -s conftest$ac_exeext'
33974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33975   (eval $ac_try) 2>&5
33976   ac_status=$?
33977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33978   (exit $ac_status); }; }; then
33979   eval "$as_ac_var=yes"
33980 else
33981   echo "$as_me: failed program was:" >&5
33982 sed 's/^/| /' conftest.$ac_ext >&5
33983
33984 eval "$as_ac_var=no"
33985 fi
33986 rm -f conftest.err conftest.$ac_objext \
33987       conftest$ac_exeext conftest.$ac_ext
33988 fi
33989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33991 if test `eval echo '${'$as_ac_var'}'` = yes; then
33992   cat >>confdefs.h <<_ACEOF
33993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33994 _ACEOF
33995
33996 fi
33997 done
33998
33999     fi
34000   fi
34001
34002
34003
34004
34005
34006
34007   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
34008 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
34009   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
34010     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
34011   echo $ECHO_N "(cached) $ECHO_C" >&6
34012 else
34013
34014
34015
34016       ac_ext=cc
34017 ac_cpp='$CXXCPP $CPPFLAGS'
34018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34021
34022       cat >conftest.$ac_ext <<_ACEOF
34023 /* confdefs.h.  */
34024 _ACEOF
34025 cat confdefs.h >>conftest.$ac_ext
34026 cat >>conftest.$ac_ext <<_ACEOF
34027 /* end confdefs.h.  */
34028 #include <math.h>
34029 int
34030 main ()
34031 {
34032  copysignl(0, 0);
34033   ;
34034   return 0;
34035 }
34036 _ACEOF
34037 rm -f conftest.$ac_objext
34038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34039   (eval $ac_compile) 2>conftest.er1
34040   ac_status=$?
34041   grep -v '^ *+' conftest.er1 >conftest.err
34042   rm -f conftest.er1
34043   cat conftest.err >&5
34044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045   (exit $ac_status); } &&
34046          { ac_try='test -z "$ac_cxx_werror_flag"
34047                          || test ! -s conftest.err'
34048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34049   (eval $ac_try) 2>&5
34050   ac_status=$?
34051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34052   (exit $ac_status); }; } &&
34053          { ac_try='test -s conftest.$ac_objext'
34054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055   (eval $ac_try) 2>&5
34056   ac_status=$?
34057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058   (exit $ac_status); }; }; then
34059   glibcxx_cv_func_copysignl_use=yes
34060 else
34061   echo "$as_me: failed program was:" >&5
34062 sed 's/^/| /' conftest.$ac_ext >&5
34063
34064 glibcxx_cv_func_copysignl_use=no
34065 fi
34066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34067       ac_ext=c
34068 ac_cpp='$CPP $CPPFLAGS'
34069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34072
34073
34074 fi
34075
34076   fi
34077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
34078 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
34079
34080   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
34081
34082 for ac_func in copysignl
34083 do
34084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34085 echo "$as_me:$LINENO: checking for $ac_func" >&5
34086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34087 if eval "test \"\${$as_ac_var+set}\" = set"; then
34088   echo $ECHO_N "(cached) $ECHO_C" >&6
34089 else
34090   if test x$gcc_no_link = xyes; then
34091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34093    { (exit 1); exit 1; }; }
34094 fi
34095 cat >conftest.$ac_ext <<_ACEOF
34096 /* confdefs.h.  */
34097 _ACEOF
34098 cat confdefs.h >>conftest.$ac_ext
34099 cat >>conftest.$ac_ext <<_ACEOF
34100 /* end confdefs.h.  */
34101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34103 #define $ac_func innocuous_$ac_func
34104
34105 /* System header to define __stub macros and hopefully few prototypes,
34106     which can conflict with char $ac_func (); below.
34107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34108     <limits.h> exists even on freestanding compilers.  */
34109
34110 #ifdef __STDC__
34111 # include <limits.h>
34112 #else
34113 # include <assert.h>
34114 #endif
34115
34116 #undef $ac_func
34117
34118 /* Override any gcc2 internal prototype to avoid an error.  */
34119 #ifdef __cplusplus
34120 extern "C"
34121 {
34122 #endif
34123 /* We use char because int might match the return type of a gcc2
34124    builtin and then its argument prototype would still apply.  */
34125 char $ac_func ();
34126 /* The GNU C library defines this for functions which it implements
34127     to always fail with ENOSYS.  Some functions are actually named
34128     something starting with __ and the normal name is an alias.  */
34129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34130 choke me
34131 #else
34132 char (*f) () = $ac_func;
34133 #endif
34134 #ifdef __cplusplus
34135 }
34136 #endif
34137
34138 int
34139 main ()
34140 {
34141 return f != $ac_func;
34142   ;
34143   return 0;
34144 }
34145 _ACEOF
34146 rm -f conftest.$ac_objext conftest$ac_exeext
34147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34148   (eval $ac_link) 2>conftest.er1
34149   ac_status=$?
34150   grep -v '^ *+' conftest.er1 >conftest.err
34151   rm -f conftest.er1
34152   cat conftest.err >&5
34153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154   (exit $ac_status); } &&
34155          { ac_try='test -z "$ac_c_werror_flag"
34156                          || test ! -s conftest.err'
34157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34158   (eval $ac_try) 2>&5
34159   ac_status=$?
34160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161   (exit $ac_status); }; } &&
34162          { ac_try='test -s conftest$ac_exeext'
34163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164   (eval $ac_try) 2>&5
34165   ac_status=$?
34166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167   (exit $ac_status); }; }; then
34168   eval "$as_ac_var=yes"
34169 else
34170   echo "$as_me: failed program was:" >&5
34171 sed 's/^/| /' conftest.$ac_ext >&5
34172
34173 eval "$as_ac_var=no"
34174 fi
34175 rm -f conftest.err conftest.$ac_objext \
34176       conftest$ac_exeext conftest.$ac_ext
34177 fi
34178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34180 if test `eval echo '${'$as_ac_var'}'` = yes; then
34181   cat >>confdefs.h <<_ACEOF
34182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34183 _ACEOF
34184
34185 fi
34186 done
34187
34188   else
34189
34190   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
34191 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
34192   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
34193     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
34194   echo $ECHO_N "(cached) $ECHO_C" >&6
34195 else
34196
34197
34198
34199       ac_ext=cc
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205       cat >conftest.$ac_ext <<_ACEOF
34206 /* confdefs.h.  */
34207 _ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h.  */
34211 #include <math.h>
34212 int
34213 main ()
34214 {
34215  _copysignl(0, 0);
34216   ;
34217   return 0;
34218 }
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34222   (eval $ac_compile) 2>conftest.er1
34223   ac_status=$?
34224   grep -v '^ *+' conftest.er1 >conftest.err
34225   rm -f conftest.er1
34226   cat conftest.err >&5
34227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228   (exit $ac_status); } &&
34229          { ac_try='test -z "$ac_cxx_werror_flag"
34230                          || test ! -s conftest.err'
34231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232   (eval $ac_try) 2>&5
34233   ac_status=$?
34234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235   (exit $ac_status); }; } &&
34236          { ac_try='test -s conftest.$ac_objext'
34237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238   (eval $ac_try) 2>&5
34239   ac_status=$?
34240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241   (exit $ac_status); }; }; then
34242   glibcxx_cv_func__copysignl_use=yes
34243 else
34244   echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.$ac_ext >&5
34246
34247 glibcxx_cv_func__copysignl_use=no
34248 fi
34249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34250       ac_ext=c
34251 ac_cpp='$CPP $CPPFLAGS'
34252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34255
34256
34257 fi
34258
34259   fi
34260   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
34261 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
34262
34263     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
34264
34265 for ac_func in _copysignl
34266 do
34267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34268 echo "$as_me:$LINENO: checking for $ac_func" >&5
34269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34270 if eval "test \"\${$as_ac_var+set}\" = set"; then
34271   echo $ECHO_N "(cached) $ECHO_C" >&6
34272 else
34273   if test x$gcc_no_link = xyes; then
34274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34276    { (exit 1); exit 1; }; }
34277 fi
34278 cat >conftest.$ac_ext <<_ACEOF
34279 /* confdefs.h.  */
34280 _ACEOF
34281 cat confdefs.h >>conftest.$ac_ext
34282 cat >>conftest.$ac_ext <<_ACEOF
34283 /* end confdefs.h.  */
34284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34286 #define $ac_func innocuous_$ac_func
34287
34288 /* System header to define __stub macros and hopefully few prototypes,
34289     which can conflict with char $ac_func (); below.
34290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34291     <limits.h> exists even on freestanding compilers.  */
34292
34293 #ifdef __STDC__
34294 # include <limits.h>
34295 #else
34296 # include <assert.h>
34297 #endif
34298
34299 #undef $ac_func
34300
34301 /* Override any gcc2 internal prototype to avoid an error.  */
34302 #ifdef __cplusplus
34303 extern "C"
34304 {
34305 #endif
34306 /* We use char because int might match the return type of a gcc2
34307    builtin and then its argument prototype would still apply.  */
34308 char $ac_func ();
34309 /* The GNU C library defines this for functions which it implements
34310     to always fail with ENOSYS.  Some functions are actually named
34311     something starting with __ and the normal name is an alias.  */
34312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34313 choke me
34314 #else
34315 char (*f) () = $ac_func;
34316 #endif
34317 #ifdef __cplusplus
34318 }
34319 #endif
34320
34321 int
34322 main ()
34323 {
34324 return f != $ac_func;
34325   ;
34326   return 0;
34327 }
34328 _ACEOF
34329 rm -f conftest.$ac_objext conftest$ac_exeext
34330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34331   (eval $ac_link) 2>conftest.er1
34332   ac_status=$?
34333   grep -v '^ *+' conftest.er1 >conftest.err
34334   rm -f conftest.er1
34335   cat conftest.err >&5
34336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337   (exit $ac_status); } &&
34338          { ac_try='test -z "$ac_c_werror_flag"
34339                          || test ! -s conftest.err'
34340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34341   (eval $ac_try) 2>&5
34342   ac_status=$?
34343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344   (exit $ac_status); }; } &&
34345          { ac_try='test -s conftest$ac_exeext'
34346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347   (eval $ac_try) 2>&5
34348   ac_status=$?
34349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350   (exit $ac_status); }; }; then
34351   eval "$as_ac_var=yes"
34352 else
34353   echo "$as_me: failed program was:" >&5
34354 sed 's/^/| /' conftest.$ac_ext >&5
34355
34356 eval "$as_ac_var=no"
34357 fi
34358 rm -f conftest.err conftest.$ac_objext \
34359       conftest$ac_exeext conftest.$ac_ext
34360 fi
34361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34363 if test `eval echo '${'$as_ac_var'}'` = yes; then
34364   cat >>confdefs.h <<_ACEOF
34365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34366 _ACEOF
34367
34368 fi
34369 done
34370
34371     fi
34372   fi
34373
34374
34375
34376
34377
34378
34379   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
34380 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
34381   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
34382     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
34383   echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385
34386
34387
34388       ac_ext=cc
34389 ac_cpp='$CXXCPP $CPPFLAGS'
34390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393
34394       cat >conftest.$ac_ext <<_ACEOF
34395 /* confdefs.h.  */
34396 _ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h.  */
34400 #include <math.h>
34401 int
34402 main ()
34403 {
34404  atan2l(0, 0);
34405   ;
34406   return 0;
34407 }
34408 _ACEOF
34409 rm -f conftest.$ac_objext
34410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34411   (eval $ac_compile) 2>conftest.er1
34412   ac_status=$?
34413   grep -v '^ *+' conftest.er1 >conftest.err
34414   rm -f conftest.er1
34415   cat conftest.err >&5
34416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417   (exit $ac_status); } &&
34418          { ac_try='test -z "$ac_cxx_werror_flag"
34419                          || test ! -s conftest.err'
34420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421   (eval $ac_try) 2>&5
34422   ac_status=$?
34423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424   (exit $ac_status); }; } &&
34425          { ac_try='test -s conftest.$ac_objext'
34426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34427   (eval $ac_try) 2>&5
34428   ac_status=$?
34429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430   (exit $ac_status); }; }; then
34431   glibcxx_cv_func_atan2l_use=yes
34432 else
34433   echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34435
34436 glibcxx_cv_func_atan2l_use=no
34437 fi
34438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34439       ac_ext=c
34440 ac_cpp='$CPP $CPPFLAGS'
34441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34444
34445
34446 fi
34447
34448   fi
34449   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
34450 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
34451
34452   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
34453
34454 for ac_func in atan2l
34455 do
34456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34457 echo "$as_me:$LINENO: checking for $ac_func" >&5
34458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34459 if eval "test \"\${$as_ac_var+set}\" = set"; then
34460   echo $ECHO_N "(cached) $ECHO_C" >&6
34461 else
34462   if test x$gcc_no_link = xyes; then
34463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34465    { (exit 1); exit 1; }; }
34466 fi
34467 cat >conftest.$ac_ext <<_ACEOF
34468 /* confdefs.h.  */
34469 _ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h.  */
34473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34475 #define $ac_func innocuous_$ac_func
34476
34477 /* System header to define __stub macros and hopefully few prototypes,
34478     which can conflict with char $ac_func (); below.
34479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34480     <limits.h> exists even on freestanding compilers.  */
34481
34482 #ifdef __STDC__
34483 # include <limits.h>
34484 #else
34485 # include <assert.h>
34486 #endif
34487
34488 #undef $ac_func
34489
34490 /* Override any gcc2 internal prototype to avoid an error.  */
34491 #ifdef __cplusplus
34492 extern "C"
34493 {
34494 #endif
34495 /* We use char because int might match the return type of a gcc2
34496    builtin and then its argument prototype would still apply.  */
34497 char $ac_func ();
34498 /* The GNU C library defines this for functions which it implements
34499     to always fail with ENOSYS.  Some functions are actually named
34500     something starting with __ and the normal name is an alias.  */
34501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34502 choke me
34503 #else
34504 char (*f) () = $ac_func;
34505 #endif
34506 #ifdef __cplusplus
34507 }
34508 #endif
34509
34510 int
34511 main ()
34512 {
34513 return f != $ac_func;
34514   ;
34515   return 0;
34516 }
34517 _ACEOF
34518 rm -f conftest.$ac_objext conftest$ac_exeext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34520   (eval $ac_link) 2>conftest.er1
34521   ac_status=$?
34522   grep -v '^ *+' conftest.er1 >conftest.err
34523   rm -f conftest.er1
34524   cat conftest.err >&5
34525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526   (exit $ac_status); } &&
34527          { ac_try='test -z "$ac_c_werror_flag"
34528                          || test ! -s conftest.err'
34529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34530   (eval $ac_try) 2>&5
34531   ac_status=$?
34532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533   (exit $ac_status); }; } &&
34534          { ac_try='test -s conftest$ac_exeext'
34535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536   (eval $ac_try) 2>&5
34537   ac_status=$?
34538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539   (exit $ac_status); }; }; then
34540   eval "$as_ac_var=yes"
34541 else
34542   echo "$as_me: failed program was:" >&5
34543 sed 's/^/| /' conftest.$ac_ext >&5
34544
34545 eval "$as_ac_var=no"
34546 fi
34547 rm -f conftest.err conftest.$ac_objext \
34548       conftest$ac_exeext conftest.$ac_ext
34549 fi
34550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34552 if test `eval echo '${'$as_ac_var'}'` = yes; then
34553   cat >>confdefs.h <<_ACEOF
34554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34555 _ACEOF
34556
34557 fi
34558 done
34559
34560   else
34561
34562   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
34563 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
34564   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
34565     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
34566   echo $ECHO_N "(cached) $ECHO_C" >&6
34567 else
34568
34569
34570
34571       ac_ext=cc
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576
34577       cat >conftest.$ac_ext <<_ACEOF
34578 /* confdefs.h.  */
34579 _ACEOF
34580 cat confdefs.h >>conftest.$ac_ext
34581 cat >>conftest.$ac_ext <<_ACEOF
34582 /* end confdefs.h.  */
34583 #include <math.h>
34584 int
34585 main ()
34586 {
34587  _atan2l(0, 0);
34588   ;
34589   return 0;
34590 }
34591 _ACEOF
34592 rm -f conftest.$ac_objext
34593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34594   (eval $ac_compile) 2>conftest.er1
34595   ac_status=$?
34596   grep -v '^ *+' conftest.er1 >conftest.err
34597   rm -f conftest.er1
34598   cat conftest.err >&5
34599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600   (exit $ac_status); } &&
34601          { ac_try='test -z "$ac_cxx_werror_flag"
34602                          || test ! -s conftest.err'
34603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34604   (eval $ac_try) 2>&5
34605   ac_status=$?
34606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607   (exit $ac_status); }; } &&
34608          { ac_try='test -s conftest.$ac_objext'
34609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34610   (eval $ac_try) 2>&5
34611   ac_status=$?
34612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613   (exit $ac_status); }; }; then
34614   glibcxx_cv_func__atan2l_use=yes
34615 else
34616   echo "$as_me: failed program was:" >&5
34617 sed 's/^/| /' conftest.$ac_ext >&5
34618
34619 glibcxx_cv_func__atan2l_use=no
34620 fi
34621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34622       ac_ext=c
34623 ac_cpp='$CPP $CPPFLAGS'
34624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34627
34628
34629 fi
34630
34631   fi
34632   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
34633 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
34634
34635     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
34636
34637 for ac_func in _atan2l
34638 do
34639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34640 echo "$as_me:$LINENO: checking for $ac_func" >&5
34641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34642 if eval "test \"\${$as_ac_var+set}\" = set"; then
34643   echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645   if test x$gcc_no_link = xyes; then
34646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34648    { (exit 1); exit 1; }; }
34649 fi
34650 cat >conftest.$ac_ext <<_ACEOF
34651 /* confdefs.h.  */
34652 _ACEOF
34653 cat confdefs.h >>conftest.$ac_ext
34654 cat >>conftest.$ac_ext <<_ACEOF
34655 /* end confdefs.h.  */
34656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34658 #define $ac_func innocuous_$ac_func
34659
34660 /* System header to define __stub macros and hopefully few prototypes,
34661     which can conflict with char $ac_func (); below.
34662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34663     <limits.h> exists even on freestanding compilers.  */
34664
34665 #ifdef __STDC__
34666 # include <limits.h>
34667 #else
34668 # include <assert.h>
34669 #endif
34670
34671 #undef $ac_func
34672
34673 /* Override any gcc2 internal prototype to avoid an error.  */
34674 #ifdef __cplusplus
34675 extern "C"
34676 {
34677 #endif
34678 /* We use char because int might match the return type of a gcc2
34679    builtin and then its argument prototype would still apply.  */
34680 char $ac_func ();
34681 /* The GNU C library defines this for functions which it implements
34682     to always fail with ENOSYS.  Some functions are actually named
34683     something starting with __ and the normal name is an alias.  */
34684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34685 choke me
34686 #else
34687 char (*f) () = $ac_func;
34688 #endif
34689 #ifdef __cplusplus
34690 }
34691 #endif
34692
34693 int
34694 main ()
34695 {
34696 return f != $ac_func;
34697   ;
34698   return 0;
34699 }
34700 _ACEOF
34701 rm -f conftest.$ac_objext conftest$ac_exeext
34702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34703   (eval $ac_link) 2>conftest.er1
34704   ac_status=$?
34705   grep -v '^ *+' conftest.er1 >conftest.err
34706   rm -f conftest.er1
34707   cat conftest.err >&5
34708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709   (exit $ac_status); } &&
34710          { ac_try='test -z "$ac_c_werror_flag"
34711                          || test ! -s conftest.err'
34712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34713   (eval $ac_try) 2>&5
34714   ac_status=$?
34715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34716   (exit $ac_status); }; } &&
34717          { ac_try='test -s conftest$ac_exeext'
34718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719   (eval $ac_try) 2>&5
34720   ac_status=$?
34721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722   (exit $ac_status); }; }; then
34723   eval "$as_ac_var=yes"
34724 else
34725   echo "$as_me: failed program was:" >&5
34726 sed 's/^/| /' conftest.$ac_ext >&5
34727
34728 eval "$as_ac_var=no"
34729 fi
34730 rm -f conftest.err conftest.$ac_objext \
34731       conftest$ac_exeext conftest.$ac_ext
34732 fi
34733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34735 if test `eval echo '${'$as_ac_var'}'` = yes; then
34736   cat >>confdefs.h <<_ACEOF
34737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34738 _ACEOF
34739
34740 fi
34741 done
34742
34743     fi
34744   fi
34745
34746
34747
34748
34749
34750
34751   echo "$as_me:$LINENO: checking for expl declaration" >&5
34752 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
34753   if test x${glibcxx_cv_func_expl_use+set} != xset; then
34754     if test "${glibcxx_cv_func_expl_use+set}" = set; then
34755   echo $ECHO_N "(cached) $ECHO_C" >&6
34756 else
34757
34758
34759
34760       ac_ext=cc
34761 ac_cpp='$CXXCPP $CPPFLAGS'
34762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34765
34766       cat >conftest.$ac_ext <<_ACEOF
34767 /* confdefs.h.  */
34768 _ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h.  */
34772 #include <math.h>
34773                       #ifdef HAVE_IEEEFP_H
34774                       #include <ieeefp.h>
34775                       #endif
34776
34777 int
34778 main ()
34779 {
34780  expl(0);
34781   ;
34782   return 0;
34783 }
34784 _ACEOF
34785 rm -f conftest.$ac_objext
34786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34787   (eval $ac_compile) 2>conftest.er1
34788   ac_status=$?
34789   grep -v '^ *+' conftest.er1 >conftest.err
34790   rm -f conftest.er1
34791   cat conftest.err >&5
34792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34793   (exit $ac_status); } &&
34794          { ac_try='test -z "$ac_cxx_werror_flag"
34795                          || test ! -s conftest.err'
34796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797   (eval $ac_try) 2>&5
34798   ac_status=$?
34799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800   (exit $ac_status); }; } &&
34801          { ac_try='test -s conftest.$ac_objext'
34802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803   (eval $ac_try) 2>&5
34804   ac_status=$?
34805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806   (exit $ac_status); }; }; then
34807   glibcxx_cv_func_expl_use=yes
34808 else
34809   echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34811
34812 glibcxx_cv_func_expl_use=no
34813 fi
34814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34815       ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821
34822 fi
34823
34824   fi
34825   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
34826 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
34827
34828   if test x$glibcxx_cv_func_expl_use = x"yes"; then
34829
34830 for ac_func in expl
34831 do
34832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34833 echo "$as_me:$LINENO: checking for $ac_func" >&5
34834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34835 if eval "test \"\${$as_ac_var+set}\" = set"; then
34836   echo $ECHO_N "(cached) $ECHO_C" >&6
34837 else
34838   if test x$gcc_no_link = xyes; then
34839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34841    { (exit 1); exit 1; }; }
34842 fi
34843 cat >conftest.$ac_ext <<_ACEOF
34844 /* confdefs.h.  */
34845 _ACEOF
34846 cat confdefs.h >>conftest.$ac_ext
34847 cat >>conftest.$ac_ext <<_ACEOF
34848 /* end confdefs.h.  */
34849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34851 #define $ac_func innocuous_$ac_func
34852
34853 /* System header to define __stub macros and hopefully few prototypes,
34854     which can conflict with char $ac_func (); below.
34855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34856     <limits.h> exists even on freestanding compilers.  */
34857
34858 #ifdef __STDC__
34859 # include <limits.h>
34860 #else
34861 # include <assert.h>
34862 #endif
34863
34864 #undef $ac_func
34865
34866 /* Override any gcc2 internal prototype to avoid an error.  */
34867 #ifdef __cplusplus
34868 extern "C"
34869 {
34870 #endif
34871 /* We use char because int might match the return type of a gcc2
34872    builtin and then its argument prototype would still apply.  */
34873 char $ac_func ();
34874 /* The GNU C library defines this for functions which it implements
34875     to always fail with ENOSYS.  Some functions are actually named
34876     something starting with __ and the normal name is an alias.  */
34877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34878 choke me
34879 #else
34880 char (*f) () = $ac_func;
34881 #endif
34882 #ifdef __cplusplus
34883 }
34884 #endif
34885
34886 int
34887 main ()
34888 {
34889 return f != $ac_func;
34890   ;
34891   return 0;
34892 }
34893 _ACEOF
34894 rm -f conftest.$ac_objext conftest$ac_exeext
34895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34896   (eval $ac_link) 2>conftest.er1
34897   ac_status=$?
34898   grep -v '^ *+' conftest.er1 >conftest.err
34899   rm -f conftest.er1
34900   cat conftest.err >&5
34901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34902   (exit $ac_status); } &&
34903          { ac_try='test -z "$ac_c_werror_flag"
34904                          || test ! -s conftest.err'
34905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34906   (eval $ac_try) 2>&5
34907   ac_status=$?
34908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34909   (exit $ac_status); }; } &&
34910          { ac_try='test -s conftest$ac_exeext'
34911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34912   (eval $ac_try) 2>&5
34913   ac_status=$?
34914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915   (exit $ac_status); }; }; then
34916   eval "$as_ac_var=yes"
34917 else
34918   echo "$as_me: failed program was:" >&5
34919 sed 's/^/| /' conftest.$ac_ext >&5
34920
34921 eval "$as_ac_var=no"
34922 fi
34923 rm -f conftest.err conftest.$ac_objext \
34924       conftest$ac_exeext conftest.$ac_ext
34925 fi
34926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34928 if test `eval echo '${'$as_ac_var'}'` = yes; then
34929   cat >>confdefs.h <<_ACEOF
34930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34931 _ACEOF
34932
34933 fi
34934 done
34935
34936   else
34937
34938   echo "$as_me:$LINENO: checking for _expl declaration" >&5
34939 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
34940   if test x${glibcxx_cv_func__expl_use+set} != xset; then
34941     if test "${glibcxx_cv_func__expl_use+set}" = set; then
34942   echo $ECHO_N "(cached) $ECHO_C" >&6
34943 else
34944
34945
34946
34947       ac_ext=cc
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34952
34953       cat >conftest.$ac_ext <<_ACEOF
34954 /* confdefs.h.  */
34955 _ACEOF
34956 cat confdefs.h >>conftest.$ac_ext
34957 cat >>conftest.$ac_ext <<_ACEOF
34958 /* end confdefs.h.  */
34959 #include <math.h>
34960                       #ifdef HAVE_IEEEFP_H
34961                       #include <ieeefp.h>
34962                       #endif
34963
34964 int
34965 main ()
34966 {
34967  _expl(0);
34968   ;
34969   return 0;
34970 }
34971 _ACEOF
34972 rm -f conftest.$ac_objext
34973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34974   (eval $ac_compile) 2>conftest.er1
34975   ac_status=$?
34976   grep -v '^ *+' conftest.er1 >conftest.err
34977   rm -f conftest.er1
34978   cat conftest.err >&5
34979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980   (exit $ac_status); } &&
34981          { ac_try='test -z "$ac_cxx_werror_flag"
34982                          || test ! -s conftest.err'
34983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984   (eval $ac_try) 2>&5
34985   ac_status=$?
34986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987   (exit $ac_status); }; } &&
34988          { ac_try='test -s conftest.$ac_objext'
34989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34990   (eval $ac_try) 2>&5
34991   ac_status=$?
34992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993   (exit $ac_status); }; }; then
34994   glibcxx_cv_func__expl_use=yes
34995 else
34996   echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34998
34999 glibcxx_cv_func__expl_use=no
35000 fi
35001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35002       ac_ext=c
35003 ac_cpp='$CPP $CPPFLAGS'
35004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35007
35008
35009 fi
35010
35011   fi
35012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
35013 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
35014
35015     if test x$glibcxx_cv_func__expl_use = x"yes"; then
35016
35017 for ac_func in _expl
35018 do
35019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35020 echo "$as_me:$LINENO: checking for $ac_func" >&5
35021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35022 if eval "test \"\${$as_ac_var+set}\" = set"; then
35023   echo $ECHO_N "(cached) $ECHO_C" >&6
35024 else
35025   if test x$gcc_no_link = xyes; then
35026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35028    { (exit 1); exit 1; }; }
35029 fi
35030 cat >conftest.$ac_ext <<_ACEOF
35031 /* confdefs.h.  */
35032 _ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h.  */
35036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35038 #define $ac_func innocuous_$ac_func
35039
35040 /* System header to define __stub macros and hopefully few prototypes,
35041     which can conflict with char $ac_func (); below.
35042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35043     <limits.h> exists even on freestanding compilers.  */
35044
35045 #ifdef __STDC__
35046 # include <limits.h>
35047 #else
35048 # include <assert.h>
35049 #endif
35050
35051 #undef $ac_func
35052
35053 /* Override any gcc2 internal prototype to avoid an error.  */
35054 #ifdef __cplusplus
35055 extern "C"
35056 {
35057 #endif
35058 /* We use char because int might match the return type of a gcc2
35059    builtin and then its argument prototype would still apply.  */
35060 char $ac_func ();
35061 /* The GNU C library defines this for functions which it implements
35062     to always fail with ENOSYS.  Some functions are actually named
35063     something starting with __ and the normal name is an alias.  */
35064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35065 choke me
35066 #else
35067 char (*f) () = $ac_func;
35068 #endif
35069 #ifdef __cplusplus
35070 }
35071 #endif
35072
35073 int
35074 main ()
35075 {
35076 return f != $ac_func;
35077   ;
35078   return 0;
35079 }
35080 _ACEOF
35081 rm -f conftest.$ac_objext conftest$ac_exeext
35082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35083   (eval $ac_link) 2>conftest.er1
35084   ac_status=$?
35085   grep -v '^ *+' conftest.er1 >conftest.err
35086   rm -f conftest.er1
35087   cat conftest.err >&5
35088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089   (exit $ac_status); } &&
35090          { ac_try='test -z "$ac_c_werror_flag"
35091                          || test ! -s conftest.err'
35092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093   (eval $ac_try) 2>&5
35094   ac_status=$?
35095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096   (exit $ac_status); }; } &&
35097          { ac_try='test -s conftest$ac_exeext'
35098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35099   (eval $ac_try) 2>&5
35100   ac_status=$?
35101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35102   (exit $ac_status); }; }; then
35103   eval "$as_ac_var=yes"
35104 else
35105   echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35107
35108 eval "$as_ac_var=no"
35109 fi
35110 rm -f conftest.err conftest.$ac_objext \
35111       conftest$ac_exeext conftest.$ac_ext
35112 fi
35113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35115 if test `eval echo '${'$as_ac_var'}'` = yes; then
35116   cat >>confdefs.h <<_ACEOF
35117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35118 _ACEOF
35119
35120 fi
35121 done
35122
35123     fi
35124   fi
35125
35126
35127
35128
35129
35130
35131   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
35132 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
35133   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35134     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
35135   echo $ECHO_N "(cached) $ECHO_C" >&6
35136 else
35137
35138
35139
35140       ac_ext=cc
35141 ac_cpp='$CXXCPP $CPPFLAGS'
35142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35145
35146       cat >conftest.$ac_ext <<_ACEOF
35147 /* confdefs.h.  */
35148 _ACEOF
35149 cat confdefs.h >>conftest.$ac_ext
35150 cat >>conftest.$ac_ext <<_ACEOF
35151 /* end confdefs.h.  */
35152 #include <math.h>
35153                       #ifdef HAVE_IEEEFP_H
35154                       #include <ieeefp.h>
35155                       #endif
35156
35157 int
35158 main ()
35159 {
35160  fabsl(0);
35161   ;
35162   return 0;
35163 }
35164 _ACEOF
35165 rm -f conftest.$ac_objext
35166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35167   (eval $ac_compile) 2>conftest.er1
35168   ac_status=$?
35169   grep -v '^ *+' conftest.er1 >conftest.err
35170   rm -f conftest.er1
35171   cat conftest.err >&5
35172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173   (exit $ac_status); } &&
35174          { ac_try='test -z "$ac_cxx_werror_flag"
35175                          || test ! -s conftest.err'
35176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35177   (eval $ac_try) 2>&5
35178   ac_status=$?
35179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35180   (exit $ac_status); }; } &&
35181          { ac_try='test -s conftest.$ac_objext'
35182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35183   (eval $ac_try) 2>&5
35184   ac_status=$?
35185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186   (exit $ac_status); }; }; then
35187   glibcxx_cv_func_fabsl_use=yes
35188 else
35189   echo "$as_me: failed program was:" >&5
35190 sed 's/^/| /' conftest.$ac_ext >&5
35191
35192 glibcxx_cv_func_fabsl_use=no
35193 fi
35194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35195       ac_ext=c
35196 ac_cpp='$CPP $CPPFLAGS'
35197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35200
35201
35202 fi
35203
35204   fi
35205   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
35206 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
35207
35208   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35209
35210 for ac_func in fabsl
35211 do
35212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35213 echo "$as_me:$LINENO: checking for $ac_func" >&5
35214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35215 if eval "test \"\${$as_ac_var+set}\" = set"; then
35216   echo $ECHO_N "(cached) $ECHO_C" >&6
35217 else
35218   if test x$gcc_no_link = xyes; then
35219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35221    { (exit 1); exit 1; }; }
35222 fi
35223 cat >conftest.$ac_ext <<_ACEOF
35224 /* confdefs.h.  */
35225 _ACEOF
35226 cat confdefs.h >>conftest.$ac_ext
35227 cat >>conftest.$ac_ext <<_ACEOF
35228 /* end confdefs.h.  */
35229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35231 #define $ac_func innocuous_$ac_func
35232
35233 /* System header to define __stub macros and hopefully few prototypes,
35234     which can conflict with char $ac_func (); below.
35235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35236     <limits.h> exists even on freestanding compilers.  */
35237
35238 #ifdef __STDC__
35239 # include <limits.h>
35240 #else
35241 # include <assert.h>
35242 #endif
35243
35244 #undef $ac_func
35245
35246 /* Override any gcc2 internal prototype to avoid an error.  */
35247 #ifdef __cplusplus
35248 extern "C"
35249 {
35250 #endif
35251 /* We use char because int might match the return type of a gcc2
35252    builtin and then its argument prototype would still apply.  */
35253 char $ac_func ();
35254 /* The GNU C library defines this for functions which it implements
35255     to always fail with ENOSYS.  Some functions are actually named
35256     something starting with __ and the normal name is an alias.  */
35257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35258 choke me
35259 #else
35260 char (*f) () = $ac_func;
35261 #endif
35262 #ifdef __cplusplus
35263 }
35264 #endif
35265
35266 int
35267 main ()
35268 {
35269 return f != $ac_func;
35270   ;
35271   return 0;
35272 }
35273 _ACEOF
35274 rm -f conftest.$ac_objext conftest$ac_exeext
35275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35276   (eval $ac_link) 2>conftest.er1
35277   ac_status=$?
35278   grep -v '^ *+' conftest.er1 >conftest.err
35279   rm -f conftest.er1
35280   cat conftest.err >&5
35281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282   (exit $ac_status); } &&
35283          { ac_try='test -z "$ac_c_werror_flag"
35284                          || test ! -s conftest.err'
35285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286   (eval $ac_try) 2>&5
35287   ac_status=$?
35288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289   (exit $ac_status); }; } &&
35290          { ac_try='test -s conftest$ac_exeext'
35291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292   (eval $ac_try) 2>&5
35293   ac_status=$?
35294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295   (exit $ac_status); }; }; then
35296   eval "$as_ac_var=yes"
35297 else
35298   echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 eval "$as_ac_var=no"
35302 fi
35303 rm -f conftest.err conftest.$ac_objext \
35304       conftest$ac_exeext conftest.$ac_ext
35305 fi
35306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35308 if test `eval echo '${'$as_ac_var'}'` = yes; then
35309   cat >>confdefs.h <<_ACEOF
35310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35311 _ACEOF
35312
35313 fi
35314 done
35315
35316   else
35317
35318   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
35319 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
35320   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35321     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
35322   echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324
35325
35326
35327       ac_ext=cc
35328 ac_cpp='$CXXCPP $CPPFLAGS'
35329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35332
35333       cat >conftest.$ac_ext <<_ACEOF
35334 /* confdefs.h.  */
35335 _ACEOF
35336 cat confdefs.h >>conftest.$ac_ext
35337 cat >>conftest.$ac_ext <<_ACEOF
35338 /* end confdefs.h.  */
35339 #include <math.h>
35340                       #ifdef HAVE_IEEEFP_H
35341                       #include <ieeefp.h>
35342                       #endif
35343
35344 int
35345 main ()
35346 {
35347  _fabsl(0);
35348   ;
35349   return 0;
35350 }
35351 _ACEOF
35352 rm -f conftest.$ac_objext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35354   (eval $ac_compile) 2>conftest.er1
35355   ac_status=$?
35356   grep -v '^ *+' conftest.er1 >conftest.err
35357   rm -f conftest.er1
35358   cat conftest.err >&5
35359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360   (exit $ac_status); } &&
35361          { ac_try='test -z "$ac_cxx_werror_flag"
35362                          || test ! -s conftest.err'
35363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35364   (eval $ac_try) 2>&5
35365   ac_status=$?
35366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35367   (exit $ac_status); }; } &&
35368          { ac_try='test -s conftest.$ac_objext'
35369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370   (eval $ac_try) 2>&5
35371   ac_status=$?
35372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373   (exit $ac_status); }; }; then
35374   glibcxx_cv_func__fabsl_use=yes
35375 else
35376   echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35378
35379 glibcxx_cv_func__fabsl_use=no
35380 fi
35381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35382       ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35387
35388
35389 fi
35390
35391   fi
35392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
35393 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
35394
35395     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
35396
35397 for ac_func in _fabsl
35398 do
35399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35400 echo "$as_me:$LINENO: checking for $ac_func" >&5
35401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35402 if eval "test \"\${$as_ac_var+set}\" = set"; then
35403   echo $ECHO_N "(cached) $ECHO_C" >&6
35404 else
35405   if test x$gcc_no_link = xyes; then
35406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35408    { (exit 1); exit 1; }; }
35409 fi
35410 cat >conftest.$ac_ext <<_ACEOF
35411 /* confdefs.h.  */
35412 _ACEOF
35413 cat confdefs.h >>conftest.$ac_ext
35414 cat >>conftest.$ac_ext <<_ACEOF
35415 /* end confdefs.h.  */
35416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35418 #define $ac_func innocuous_$ac_func
35419
35420 /* System header to define __stub macros and hopefully few prototypes,
35421     which can conflict with char $ac_func (); below.
35422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35423     <limits.h> exists even on freestanding compilers.  */
35424
35425 #ifdef __STDC__
35426 # include <limits.h>
35427 #else
35428 # include <assert.h>
35429 #endif
35430
35431 #undef $ac_func
35432
35433 /* Override any gcc2 internal prototype to avoid an error.  */
35434 #ifdef __cplusplus
35435 extern "C"
35436 {
35437 #endif
35438 /* We use char because int might match the return type of a gcc2
35439    builtin and then its argument prototype would still apply.  */
35440 char $ac_func ();
35441 /* The GNU C library defines this for functions which it implements
35442     to always fail with ENOSYS.  Some functions are actually named
35443     something starting with __ and the normal name is an alias.  */
35444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35445 choke me
35446 #else
35447 char (*f) () = $ac_func;
35448 #endif
35449 #ifdef __cplusplus
35450 }
35451 #endif
35452
35453 int
35454 main ()
35455 {
35456 return f != $ac_func;
35457   ;
35458   return 0;
35459 }
35460 _ACEOF
35461 rm -f conftest.$ac_objext conftest$ac_exeext
35462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35463   (eval $ac_link) 2>conftest.er1
35464   ac_status=$?
35465   grep -v '^ *+' conftest.er1 >conftest.err
35466   rm -f conftest.er1
35467   cat conftest.err >&5
35468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469   (exit $ac_status); } &&
35470          { ac_try='test -z "$ac_c_werror_flag"
35471                          || test ! -s conftest.err'
35472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473   (eval $ac_try) 2>&5
35474   ac_status=$?
35475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476   (exit $ac_status); }; } &&
35477          { ac_try='test -s conftest$ac_exeext'
35478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479   (eval $ac_try) 2>&5
35480   ac_status=$?
35481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482   (exit $ac_status); }; }; then
35483   eval "$as_ac_var=yes"
35484 else
35485   echo "$as_me: failed program was:" >&5
35486 sed 's/^/| /' conftest.$ac_ext >&5
35487
35488 eval "$as_ac_var=no"
35489 fi
35490 rm -f conftest.err conftest.$ac_objext \
35491       conftest$ac_exeext conftest.$ac_ext
35492 fi
35493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35495 if test `eval echo '${'$as_ac_var'}'` = yes; then
35496   cat >>confdefs.h <<_ACEOF
35497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35498 _ACEOF
35499
35500 fi
35501 done
35502
35503     fi
35504   fi
35505
35506
35507
35508
35509
35510
35511   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
35512 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
35513   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
35514     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
35515   echo $ECHO_N "(cached) $ECHO_C" >&6
35516 else
35517
35518
35519
35520       ac_ext=cc
35521 ac_cpp='$CXXCPP $CPPFLAGS'
35522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35525
35526       cat >conftest.$ac_ext <<_ACEOF
35527 /* confdefs.h.  */
35528 _ACEOF
35529 cat confdefs.h >>conftest.$ac_ext
35530 cat >>conftest.$ac_ext <<_ACEOF
35531 /* end confdefs.h.  */
35532 #include <math.h>
35533 int
35534 main ()
35535 {
35536  fmodl(0, 0);
35537   ;
35538   return 0;
35539 }
35540 _ACEOF
35541 rm -f conftest.$ac_objext
35542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35543   (eval $ac_compile) 2>conftest.er1
35544   ac_status=$?
35545   grep -v '^ *+' conftest.er1 >conftest.err
35546   rm -f conftest.er1
35547   cat conftest.err >&5
35548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549   (exit $ac_status); } &&
35550          { ac_try='test -z "$ac_cxx_werror_flag"
35551                          || test ! -s conftest.err'
35552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35553   (eval $ac_try) 2>&5
35554   ac_status=$?
35555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556   (exit $ac_status); }; } &&
35557          { ac_try='test -s conftest.$ac_objext'
35558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35559   (eval $ac_try) 2>&5
35560   ac_status=$?
35561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562   (exit $ac_status); }; }; then
35563   glibcxx_cv_func_fmodl_use=yes
35564 else
35565   echo "$as_me: failed program was:" >&5
35566 sed 's/^/| /' conftest.$ac_ext >&5
35567
35568 glibcxx_cv_func_fmodl_use=no
35569 fi
35570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35571       ac_ext=c
35572 ac_cpp='$CPP $CPPFLAGS'
35573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35576
35577
35578 fi
35579
35580   fi
35581   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
35582 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
35583
35584   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
35585
35586 for ac_func in fmodl
35587 do
35588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35589 echo "$as_me:$LINENO: checking for $ac_func" >&5
35590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35591 if eval "test \"\${$as_ac_var+set}\" = set"; then
35592   echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594   if test x$gcc_no_link = xyes; then
35595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35597    { (exit 1); exit 1; }; }
35598 fi
35599 cat >conftest.$ac_ext <<_ACEOF
35600 /* confdefs.h.  */
35601 _ACEOF
35602 cat confdefs.h >>conftest.$ac_ext
35603 cat >>conftest.$ac_ext <<_ACEOF
35604 /* end confdefs.h.  */
35605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35607 #define $ac_func innocuous_$ac_func
35608
35609 /* System header to define __stub macros and hopefully few prototypes,
35610     which can conflict with char $ac_func (); below.
35611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35612     <limits.h> exists even on freestanding compilers.  */
35613
35614 #ifdef __STDC__
35615 # include <limits.h>
35616 #else
35617 # include <assert.h>
35618 #endif
35619
35620 #undef $ac_func
35621
35622 /* Override any gcc2 internal prototype to avoid an error.  */
35623 #ifdef __cplusplus
35624 extern "C"
35625 {
35626 #endif
35627 /* We use char because int might match the return type of a gcc2
35628    builtin and then its argument prototype would still apply.  */
35629 char $ac_func ();
35630 /* The GNU C library defines this for functions which it implements
35631     to always fail with ENOSYS.  Some functions are actually named
35632     something starting with __ and the normal name is an alias.  */
35633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35634 choke me
35635 #else
35636 char (*f) () = $ac_func;
35637 #endif
35638 #ifdef __cplusplus
35639 }
35640 #endif
35641
35642 int
35643 main ()
35644 {
35645 return f != $ac_func;
35646   ;
35647   return 0;
35648 }
35649 _ACEOF
35650 rm -f conftest.$ac_objext conftest$ac_exeext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35652   (eval $ac_link) 2>conftest.er1
35653   ac_status=$?
35654   grep -v '^ *+' conftest.er1 >conftest.err
35655   rm -f conftest.er1
35656   cat conftest.err >&5
35657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658   (exit $ac_status); } &&
35659          { ac_try='test -z "$ac_c_werror_flag"
35660                          || test ! -s conftest.err'
35661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35662   (eval $ac_try) 2>&5
35663   ac_status=$?
35664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665   (exit $ac_status); }; } &&
35666          { ac_try='test -s conftest$ac_exeext'
35667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35668   (eval $ac_try) 2>&5
35669   ac_status=$?
35670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35671   (exit $ac_status); }; }; then
35672   eval "$as_ac_var=yes"
35673 else
35674   echo "$as_me: failed program was:" >&5
35675 sed 's/^/| /' conftest.$ac_ext >&5
35676
35677 eval "$as_ac_var=no"
35678 fi
35679 rm -f conftest.err conftest.$ac_objext \
35680       conftest$ac_exeext conftest.$ac_ext
35681 fi
35682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35684 if test `eval echo '${'$as_ac_var'}'` = yes; then
35685   cat >>confdefs.h <<_ACEOF
35686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35687 _ACEOF
35688
35689 fi
35690 done
35691
35692   else
35693
35694   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
35695 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
35696   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
35697     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
35698   echo $ECHO_N "(cached) $ECHO_C" >&6
35699 else
35700
35701
35702
35703       ac_ext=cc
35704 ac_cpp='$CXXCPP $CPPFLAGS'
35705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35708
35709       cat >conftest.$ac_ext <<_ACEOF
35710 /* confdefs.h.  */
35711 _ACEOF
35712 cat confdefs.h >>conftest.$ac_ext
35713 cat >>conftest.$ac_ext <<_ACEOF
35714 /* end confdefs.h.  */
35715 #include <math.h>
35716 int
35717 main ()
35718 {
35719  _fmodl(0, 0);
35720   ;
35721   return 0;
35722 }
35723 _ACEOF
35724 rm -f conftest.$ac_objext
35725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35726   (eval $ac_compile) 2>conftest.er1
35727   ac_status=$?
35728   grep -v '^ *+' conftest.er1 >conftest.err
35729   rm -f conftest.er1
35730   cat conftest.err >&5
35731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732   (exit $ac_status); } &&
35733          { ac_try='test -z "$ac_cxx_werror_flag"
35734                          || test ! -s conftest.err'
35735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35736   (eval $ac_try) 2>&5
35737   ac_status=$?
35738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739   (exit $ac_status); }; } &&
35740          { ac_try='test -s conftest.$ac_objext'
35741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742   (eval $ac_try) 2>&5
35743   ac_status=$?
35744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745   (exit $ac_status); }; }; then
35746   glibcxx_cv_func__fmodl_use=yes
35747 else
35748   echo "$as_me: failed program was:" >&5
35749 sed 's/^/| /' conftest.$ac_ext >&5
35750
35751 glibcxx_cv_func__fmodl_use=no
35752 fi
35753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35754       ac_ext=c
35755 ac_cpp='$CPP $CPPFLAGS'
35756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35759
35760
35761 fi
35762
35763   fi
35764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
35765 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
35766
35767     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
35768
35769 for ac_func in _fmodl
35770 do
35771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35772 echo "$as_me:$LINENO: checking for $ac_func" >&5
35773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35774 if eval "test \"\${$as_ac_var+set}\" = set"; then
35775   echo $ECHO_N "(cached) $ECHO_C" >&6
35776 else
35777   if test x$gcc_no_link = xyes; then
35778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35780    { (exit 1); exit 1; }; }
35781 fi
35782 cat >conftest.$ac_ext <<_ACEOF
35783 /* confdefs.h.  */
35784 _ACEOF
35785 cat confdefs.h >>conftest.$ac_ext
35786 cat >>conftest.$ac_ext <<_ACEOF
35787 /* end confdefs.h.  */
35788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35790 #define $ac_func innocuous_$ac_func
35791
35792 /* System header to define __stub macros and hopefully few prototypes,
35793     which can conflict with char $ac_func (); below.
35794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35795     <limits.h> exists even on freestanding compilers.  */
35796
35797 #ifdef __STDC__
35798 # include <limits.h>
35799 #else
35800 # include <assert.h>
35801 #endif
35802
35803 #undef $ac_func
35804
35805 /* Override any gcc2 internal prototype to avoid an error.  */
35806 #ifdef __cplusplus
35807 extern "C"
35808 {
35809 #endif
35810 /* We use char because int might match the return type of a gcc2
35811    builtin and then its argument prototype would still apply.  */
35812 char $ac_func ();
35813 /* The GNU C library defines this for functions which it implements
35814     to always fail with ENOSYS.  Some functions are actually named
35815     something starting with __ and the normal name is an alias.  */
35816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35817 choke me
35818 #else
35819 char (*f) () = $ac_func;
35820 #endif
35821 #ifdef __cplusplus
35822 }
35823 #endif
35824
35825 int
35826 main ()
35827 {
35828 return f != $ac_func;
35829   ;
35830   return 0;
35831 }
35832 _ACEOF
35833 rm -f conftest.$ac_objext conftest$ac_exeext
35834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35835   (eval $ac_link) 2>conftest.er1
35836   ac_status=$?
35837   grep -v '^ *+' conftest.er1 >conftest.err
35838   rm -f conftest.er1
35839   cat conftest.err >&5
35840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841   (exit $ac_status); } &&
35842          { ac_try='test -z "$ac_c_werror_flag"
35843                          || test ! -s conftest.err'
35844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845   (eval $ac_try) 2>&5
35846   ac_status=$?
35847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848   (exit $ac_status); }; } &&
35849          { ac_try='test -s conftest$ac_exeext'
35850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35851   (eval $ac_try) 2>&5
35852   ac_status=$?
35853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35854   (exit $ac_status); }; }; then
35855   eval "$as_ac_var=yes"
35856 else
35857   echo "$as_me: failed program was:" >&5
35858 sed 's/^/| /' conftest.$ac_ext >&5
35859
35860 eval "$as_ac_var=no"
35861 fi
35862 rm -f conftest.err conftest.$ac_objext \
35863       conftest$ac_exeext conftest.$ac_ext
35864 fi
35865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35867 if test `eval echo '${'$as_ac_var'}'` = yes; then
35868   cat >>confdefs.h <<_ACEOF
35869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35870 _ACEOF
35871
35872 fi
35873 done
35874
35875     fi
35876   fi
35877
35878
35879
35880
35881
35882
35883   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
35884 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
35885   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
35886     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
35887   echo $ECHO_N "(cached) $ECHO_C" >&6
35888 else
35889
35890
35891
35892       ac_ext=cc
35893 ac_cpp='$CXXCPP $CPPFLAGS'
35894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35897
35898       cat >conftest.$ac_ext <<_ACEOF
35899 /* confdefs.h.  */
35900 _ACEOF
35901 cat confdefs.h >>conftest.$ac_ext
35902 cat >>conftest.$ac_ext <<_ACEOF
35903 /* end confdefs.h.  */
35904 #include <math.h>
35905 int
35906 main ()
35907 {
35908  frexpl(0, 0);
35909   ;
35910   return 0;
35911 }
35912 _ACEOF
35913 rm -f conftest.$ac_objext
35914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35915   (eval $ac_compile) 2>conftest.er1
35916   ac_status=$?
35917   grep -v '^ *+' conftest.er1 >conftest.err
35918   rm -f conftest.er1
35919   cat conftest.err >&5
35920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35921   (exit $ac_status); } &&
35922          { ac_try='test -z "$ac_cxx_werror_flag"
35923                          || test ! -s conftest.err'
35924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35925   (eval $ac_try) 2>&5
35926   ac_status=$?
35927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928   (exit $ac_status); }; } &&
35929          { ac_try='test -s conftest.$ac_objext'
35930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35931   (eval $ac_try) 2>&5
35932   ac_status=$?
35933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934   (exit $ac_status); }; }; then
35935   glibcxx_cv_func_frexpl_use=yes
35936 else
35937   echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35939
35940 glibcxx_cv_func_frexpl_use=no
35941 fi
35942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35943       ac_ext=c
35944 ac_cpp='$CPP $CPPFLAGS'
35945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35948
35949
35950 fi
35951
35952   fi
35953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
35954 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
35955
35956   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
35957
35958 for ac_func in frexpl
35959 do
35960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35961 echo "$as_me:$LINENO: checking for $ac_func" >&5
35962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35963 if eval "test \"\${$as_ac_var+set}\" = set"; then
35964   echo $ECHO_N "(cached) $ECHO_C" >&6
35965 else
35966   if test x$gcc_no_link = xyes; then
35967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35969    { (exit 1); exit 1; }; }
35970 fi
35971 cat >conftest.$ac_ext <<_ACEOF
35972 /* confdefs.h.  */
35973 _ACEOF
35974 cat confdefs.h >>conftest.$ac_ext
35975 cat >>conftest.$ac_ext <<_ACEOF
35976 /* end confdefs.h.  */
35977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35979 #define $ac_func innocuous_$ac_func
35980
35981 /* System header to define __stub macros and hopefully few prototypes,
35982     which can conflict with char $ac_func (); below.
35983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35984     <limits.h> exists even on freestanding compilers.  */
35985
35986 #ifdef __STDC__
35987 # include <limits.h>
35988 #else
35989 # include <assert.h>
35990 #endif
35991
35992 #undef $ac_func
35993
35994 /* Override any gcc2 internal prototype to avoid an error.  */
35995 #ifdef __cplusplus
35996 extern "C"
35997 {
35998 #endif
35999 /* We use char because int might match the return type of a gcc2
36000    builtin and then its argument prototype would still apply.  */
36001 char $ac_func ();
36002 /* The GNU C library defines this for functions which it implements
36003     to always fail with ENOSYS.  Some functions are actually named
36004     something starting with __ and the normal name is an alias.  */
36005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36006 choke me
36007 #else
36008 char (*f) () = $ac_func;
36009 #endif
36010 #ifdef __cplusplus
36011 }
36012 #endif
36013
36014 int
36015 main ()
36016 {
36017 return f != $ac_func;
36018   ;
36019   return 0;
36020 }
36021 _ACEOF
36022 rm -f conftest.$ac_objext conftest$ac_exeext
36023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36024   (eval $ac_link) 2>conftest.er1
36025   ac_status=$?
36026   grep -v '^ *+' conftest.er1 >conftest.err
36027   rm -f conftest.er1
36028   cat conftest.err >&5
36029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36030   (exit $ac_status); } &&
36031          { ac_try='test -z "$ac_c_werror_flag"
36032                          || test ! -s conftest.err'
36033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36034   (eval $ac_try) 2>&5
36035   ac_status=$?
36036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037   (exit $ac_status); }; } &&
36038          { ac_try='test -s conftest$ac_exeext'
36039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36040   (eval $ac_try) 2>&5
36041   ac_status=$?
36042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043   (exit $ac_status); }; }; then
36044   eval "$as_ac_var=yes"
36045 else
36046   echo "$as_me: failed program was:" >&5
36047 sed 's/^/| /' conftest.$ac_ext >&5
36048
36049 eval "$as_ac_var=no"
36050 fi
36051 rm -f conftest.err conftest.$ac_objext \
36052       conftest$ac_exeext conftest.$ac_ext
36053 fi
36054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36056 if test `eval echo '${'$as_ac_var'}'` = yes; then
36057   cat >>confdefs.h <<_ACEOF
36058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36059 _ACEOF
36060
36061 fi
36062 done
36063
36064   else
36065
36066   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
36067 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
36068   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36069     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
36070   echo $ECHO_N "(cached) $ECHO_C" >&6
36071 else
36072
36073
36074
36075       ac_ext=cc
36076 ac_cpp='$CXXCPP $CPPFLAGS'
36077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36080
36081       cat >conftest.$ac_ext <<_ACEOF
36082 /* confdefs.h.  */
36083 _ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h.  */
36087 #include <math.h>
36088 int
36089 main ()
36090 {
36091  _frexpl(0, 0);
36092   ;
36093   return 0;
36094 }
36095 _ACEOF
36096 rm -f conftest.$ac_objext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36098   (eval $ac_compile) 2>conftest.er1
36099   ac_status=$?
36100   grep -v '^ *+' conftest.er1 >conftest.err
36101   rm -f conftest.er1
36102   cat conftest.err >&5
36103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104   (exit $ac_status); } &&
36105          { ac_try='test -z "$ac_cxx_werror_flag"
36106                          || test ! -s conftest.err'
36107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36108   (eval $ac_try) 2>&5
36109   ac_status=$?
36110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36111   (exit $ac_status); }; } &&
36112          { ac_try='test -s conftest.$ac_objext'
36113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114   (eval $ac_try) 2>&5
36115   ac_status=$?
36116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117   (exit $ac_status); }; }; then
36118   glibcxx_cv_func__frexpl_use=yes
36119 else
36120   echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36122
36123 glibcxx_cv_func__frexpl_use=no
36124 fi
36125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36126       ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133 fi
36134
36135   fi
36136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
36137 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
36138
36139     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36140
36141 for ac_func in _frexpl
36142 do
36143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36144 echo "$as_me:$LINENO: checking for $ac_func" >&5
36145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36146 if eval "test \"\${$as_ac_var+set}\" = set"; then
36147   echo $ECHO_N "(cached) $ECHO_C" >&6
36148 else
36149   if test x$gcc_no_link = xyes; then
36150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36152    { (exit 1); exit 1; }; }
36153 fi
36154 cat >conftest.$ac_ext <<_ACEOF
36155 /* confdefs.h.  */
36156 _ACEOF
36157 cat confdefs.h >>conftest.$ac_ext
36158 cat >>conftest.$ac_ext <<_ACEOF
36159 /* end confdefs.h.  */
36160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36162 #define $ac_func innocuous_$ac_func
36163
36164 /* System header to define __stub macros and hopefully few prototypes,
36165     which can conflict with char $ac_func (); below.
36166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36167     <limits.h> exists even on freestanding compilers.  */
36168
36169 #ifdef __STDC__
36170 # include <limits.h>
36171 #else
36172 # include <assert.h>
36173 #endif
36174
36175 #undef $ac_func
36176
36177 /* Override any gcc2 internal prototype to avoid an error.  */
36178 #ifdef __cplusplus
36179 extern "C"
36180 {
36181 #endif
36182 /* We use char because int might match the return type of a gcc2
36183    builtin and then its argument prototype would still apply.  */
36184 char $ac_func ();
36185 /* The GNU C library defines this for functions which it implements
36186     to always fail with ENOSYS.  Some functions are actually named
36187     something starting with __ and the normal name is an alias.  */
36188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36189 choke me
36190 #else
36191 char (*f) () = $ac_func;
36192 #endif
36193 #ifdef __cplusplus
36194 }
36195 #endif
36196
36197 int
36198 main ()
36199 {
36200 return f != $ac_func;
36201   ;
36202   return 0;
36203 }
36204 _ACEOF
36205 rm -f conftest.$ac_objext conftest$ac_exeext
36206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36207   (eval $ac_link) 2>conftest.er1
36208   ac_status=$?
36209   grep -v '^ *+' conftest.er1 >conftest.err
36210   rm -f conftest.er1
36211   cat conftest.err >&5
36212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213   (exit $ac_status); } &&
36214          { ac_try='test -z "$ac_c_werror_flag"
36215                          || test ! -s conftest.err'
36216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36217   (eval $ac_try) 2>&5
36218   ac_status=$?
36219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36220   (exit $ac_status); }; } &&
36221          { ac_try='test -s conftest$ac_exeext'
36222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36223   (eval $ac_try) 2>&5
36224   ac_status=$?
36225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226   (exit $ac_status); }; }; then
36227   eval "$as_ac_var=yes"
36228 else
36229   echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.$ac_ext >&5
36231
36232 eval "$as_ac_var=no"
36233 fi
36234 rm -f conftest.err conftest.$ac_objext \
36235       conftest$ac_exeext conftest.$ac_ext
36236 fi
36237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36239 if test `eval echo '${'$as_ac_var'}'` = yes; then
36240   cat >>confdefs.h <<_ACEOF
36241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36242 _ACEOF
36243
36244 fi
36245 done
36246
36247     fi
36248   fi
36249
36250
36251
36252
36253
36254
36255   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
36256 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
36257   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36258     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
36259   echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261
36262
36263
36264       ac_ext=cc
36265 ac_cpp='$CXXCPP $CPPFLAGS'
36266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36269
36270       cat >conftest.$ac_ext <<_ACEOF
36271 /* confdefs.h.  */
36272 _ACEOF
36273 cat confdefs.h >>conftest.$ac_ext
36274 cat >>conftest.$ac_ext <<_ACEOF
36275 /* end confdefs.h.  */
36276 #include <math.h>
36277 int
36278 main ()
36279 {
36280  hypotl(0, 0);
36281   ;
36282   return 0;
36283 }
36284 _ACEOF
36285 rm -f conftest.$ac_objext
36286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36287   (eval $ac_compile) 2>conftest.er1
36288   ac_status=$?
36289   grep -v '^ *+' conftest.er1 >conftest.err
36290   rm -f conftest.er1
36291   cat conftest.err >&5
36292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293   (exit $ac_status); } &&
36294          { ac_try='test -z "$ac_cxx_werror_flag"
36295                          || test ! -s conftest.err'
36296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297   (eval $ac_try) 2>&5
36298   ac_status=$?
36299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300   (exit $ac_status); }; } &&
36301          { ac_try='test -s conftest.$ac_objext'
36302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36303   (eval $ac_try) 2>&5
36304   ac_status=$?
36305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306   (exit $ac_status); }; }; then
36307   glibcxx_cv_func_hypotl_use=yes
36308 else
36309   echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.$ac_ext >&5
36311
36312 glibcxx_cv_func_hypotl_use=no
36313 fi
36314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36315       ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36320
36321
36322 fi
36323
36324   fi
36325   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
36326 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
36327
36328   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36329
36330 for ac_func in hypotl
36331 do
36332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36333 echo "$as_me:$LINENO: checking for $ac_func" >&5
36334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36335 if eval "test \"\${$as_ac_var+set}\" = set"; then
36336   echo $ECHO_N "(cached) $ECHO_C" >&6
36337 else
36338   if test x$gcc_no_link = xyes; then
36339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36341    { (exit 1); exit 1; }; }
36342 fi
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h.  */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h.  */
36349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36351 #define $ac_func innocuous_$ac_func
36352
36353 /* System header to define __stub macros and hopefully few prototypes,
36354     which can conflict with char $ac_func (); below.
36355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36356     <limits.h> exists even on freestanding compilers.  */
36357
36358 #ifdef __STDC__
36359 # include <limits.h>
36360 #else
36361 # include <assert.h>
36362 #endif
36363
36364 #undef $ac_func
36365
36366 /* Override any gcc2 internal prototype to avoid an error.  */
36367 #ifdef __cplusplus
36368 extern "C"
36369 {
36370 #endif
36371 /* We use char because int might match the return type of a gcc2
36372    builtin and then its argument prototype would still apply.  */
36373 char $ac_func ();
36374 /* The GNU C library defines this for functions which it implements
36375     to always fail with ENOSYS.  Some functions are actually named
36376     something starting with __ and the normal name is an alias.  */
36377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36378 choke me
36379 #else
36380 char (*f) () = $ac_func;
36381 #endif
36382 #ifdef __cplusplus
36383 }
36384 #endif
36385
36386 int
36387 main ()
36388 {
36389 return f != $ac_func;
36390   ;
36391   return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext conftest$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396   (eval $ac_link) 2>conftest.er1
36397   ac_status=$?
36398   grep -v '^ *+' conftest.er1 >conftest.err
36399   rm -f conftest.er1
36400   cat conftest.err >&5
36401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402   (exit $ac_status); } &&
36403          { ac_try='test -z "$ac_c_werror_flag"
36404                          || test ! -s conftest.err'
36405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406   (eval $ac_try) 2>&5
36407   ac_status=$?
36408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409   (exit $ac_status); }; } &&
36410          { ac_try='test -s conftest$ac_exeext'
36411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412   (eval $ac_try) 2>&5
36413   ac_status=$?
36414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415   (exit $ac_status); }; }; then
36416   eval "$as_ac_var=yes"
36417 else
36418   echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 eval "$as_ac_var=no"
36422 fi
36423 rm -f conftest.err conftest.$ac_objext \
36424       conftest$ac_exeext conftest.$ac_ext
36425 fi
36426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36428 if test `eval echo '${'$as_ac_var'}'` = yes; then
36429   cat >>confdefs.h <<_ACEOF
36430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36431 _ACEOF
36432
36433 fi
36434 done
36435
36436   else
36437
36438   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
36439 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
36440   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36441     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
36442   echo $ECHO_N "(cached) $ECHO_C" >&6
36443 else
36444
36445
36446
36447       ac_ext=cc
36448 ac_cpp='$CXXCPP $CPPFLAGS'
36449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36452
36453       cat >conftest.$ac_ext <<_ACEOF
36454 /* confdefs.h.  */
36455 _ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h.  */
36459 #include <math.h>
36460 int
36461 main ()
36462 {
36463  _hypotl(0, 0);
36464   ;
36465   return 0;
36466 }
36467 _ACEOF
36468 rm -f conftest.$ac_objext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36470   (eval $ac_compile) 2>conftest.er1
36471   ac_status=$?
36472   grep -v '^ *+' conftest.er1 >conftest.err
36473   rm -f conftest.er1
36474   cat conftest.err >&5
36475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476   (exit $ac_status); } &&
36477          { ac_try='test -z "$ac_cxx_werror_flag"
36478                          || test ! -s conftest.err'
36479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480   (eval $ac_try) 2>&5
36481   ac_status=$?
36482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483   (exit $ac_status); }; } &&
36484          { ac_try='test -s conftest.$ac_objext'
36485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486   (eval $ac_try) 2>&5
36487   ac_status=$?
36488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489   (exit $ac_status); }; }; then
36490   glibcxx_cv_func__hypotl_use=yes
36491 else
36492   echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36494
36495 glibcxx_cv_func__hypotl_use=no
36496 fi
36497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36498       ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503
36504
36505 fi
36506
36507   fi
36508   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
36509 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
36510
36511     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36512
36513 for ac_func in _hypotl
36514 do
36515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36516 echo "$as_me:$LINENO: checking for $ac_func" >&5
36517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36518 if eval "test \"\${$as_ac_var+set}\" = set"; then
36519   echo $ECHO_N "(cached) $ECHO_C" >&6
36520 else
36521   if test x$gcc_no_link = xyes; then
36522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36524    { (exit 1); exit 1; }; }
36525 fi
36526 cat >conftest.$ac_ext <<_ACEOF
36527 /* confdefs.h.  */
36528 _ACEOF
36529 cat confdefs.h >>conftest.$ac_ext
36530 cat >>conftest.$ac_ext <<_ACEOF
36531 /* end confdefs.h.  */
36532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36534 #define $ac_func innocuous_$ac_func
36535
36536 /* System header to define __stub macros and hopefully few prototypes,
36537     which can conflict with char $ac_func (); below.
36538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36539     <limits.h> exists even on freestanding compilers.  */
36540
36541 #ifdef __STDC__
36542 # include <limits.h>
36543 #else
36544 # include <assert.h>
36545 #endif
36546
36547 #undef $ac_func
36548
36549 /* Override any gcc2 internal prototype to avoid an error.  */
36550 #ifdef __cplusplus
36551 extern "C"
36552 {
36553 #endif
36554 /* We use char because int might match the return type of a gcc2
36555    builtin and then its argument prototype would still apply.  */
36556 char $ac_func ();
36557 /* The GNU C library defines this for functions which it implements
36558     to always fail with ENOSYS.  Some functions are actually named
36559     something starting with __ and the normal name is an alias.  */
36560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36561 choke me
36562 #else
36563 char (*f) () = $ac_func;
36564 #endif
36565 #ifdef __cplusplus
36566 }
36567 #endif
36568
36569 int
36570 main ()
36571 {
36572 return f != $ac_func;
36573   ;
36574   return 0;
36575 }
36576 _ACEOF
36577 rm -f conftest.$ac_objext conftest$ac_exeext
36578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36579   (eval $ac_link) 2>conftest.er1
36580   ac_status=$?
36581   grep -v '^ *+' conftest.er1 >conftest.err
36582   rm -f conftest.er1
36583   cat conftest.err >&5
36584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585   (exit $ac_status); } &&
36586          { ac_try='test -z "$ac_c_werror_flag"
36587                          || test ! -s conftest.err'
36588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589   (eval $ac_try) 2>&5
36590   ac_status=$?
36591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592   (exit $ac_status); }; } &&
36593          { ac_try='test -s conftest$ac_exeext'
36594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36595   (eval $ac_try) 2>&5
36596   ac_status=$?
36597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36598   (exit $ac_status); }; }; then
36599   eval "$as_ac_var=yes"
36600 else
36601   echo "$as_me: failed program was:" >&5
36602 sed 's/^/| /' conftest.$ac_ext >&5
36603
36604 eval "$as_ac_var=no"
36605 fi
36606 rm -f conftest.err conftest.$ac_objext \
36607       conftest$ac_exeext conftest.$ac_ext
36608 fi
36609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36611 if test `eval echo '${'$as_ac_var'}'` = yes; then
36612   cat >>confdefs.h <<_ACEOF
36613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36614 _ACEOF
36615
36616 fi
36617 done
36618
36619     fi
36620   fi
36621
36622
36623
36624
36625
36626
36627   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
36628 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
36629   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36630     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
36631   echo $ECHO_N "(cached) $ECHO_C" >&6
36632 else
36633
36634
36635
36636       ac_ext=cc
36637 ac_cpp='$CXXCPP $CPPFLAGS'
36638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36641
36642       cat >conftest.$ac_ext <<_ACEOF
36643 /* confdefs.h.  */
36644 _ACEOF
36645 cat confdefs.h >>conftest.$ac_ext
36646 cat >>conftest.$ac_ext <<_ACEOF
36647 /* end confdefs.h.  */
36648 #include <math.h>
36649 int
36650 main ()
36651 {
36652  ldexpl(0, 0);
36653   ;
36654   return 0;
36655 }
36656 _ACEOF
36657 rm -f conftest.$ac_objext
36658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36659   (eval $ac_compile) 2>conftest.er1
36660   ac_status=$?
36661   grep -v '^ *+' conftest.er1 >conftest.err
36662   rm -f conftest.er1
36663   cat conftest.err >&5
36664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36665   (exit $ac_status); } &&
36666          { ac_try='test -z "$ac_cxx_werror_flag"
36667                          || test ! -s conftest.err'
36668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36669   (eval $ac_try) 2>&5
36670   ac_status=$?
36671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36672   (exit $ac_status); }; } &&
36673          { ac_try='test -s conftest.$ac_objext'
36674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36675   (eval $ac_try) 2>&5
36676   ac_status=$?
36677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678   (exit $ac_status); }; }; then
36679   glibcxx_cv_func_ldexpl_use=yes
36680 else
36681   echo "$as_me: failed program was:" >&5
36682 sed 's/^/| /' conftest.$ac_ext >&5
36683
36684 glibcxx_cv_func_ldexpl_use=no
36685 fi
36686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36687       ac_ext=c
36688 ac_cpp='$CPP $CPPFLAGS'
36689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36692
36693
36694 fi
36695
36696   fi
36697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
36698 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
36699
36700   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36701
36702 for ac_func in ldexpl
36703 do
36704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36705 echo "$as_me:$LINENO: checking for $ac_func" >&5
36706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36707 if eval "test \"\${$as_ac_var+set}\" = set"; then
36708   echo $ECHO_N "(cached) $ECHO_C" >&6
36709 else
36710   if test x$gcc_no_link = xyes; then
36711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36713    { (exit 1); exit 1; }; }
36714 fi
36715 cat >conftest.$ac_ext <<_ACEOF
36716 /* confdefs.h.  */
36717 _ACEOF
36718 cat confdefs.h >>conftest.$ac_ext
36719 cat >>conftest.$ac_ext <<_ACEOF
36720 /* end confdefs.h.  */
36721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36723 #define $ac_func innocuous_$ac_func
36724
36725 /* System header to define __stub macros and hopefully few prototypes,
36726     which can conflict with char $ac_func (); below.
36727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36728     <limits.h> exists even on freestanding compilers.  */
36729
36730 #ifdef __STDC__
36731 # include <limits.h>
36732 #else
36733 # include <assert.h>
36734 #endif
36735
36736 #undef $ac_func
36737
36738 /* Override any gcc2 internal prototype to avoid an error.  */
36739 #ifdef __cplusplus
36740 extern "C"
36741 {
36742 #endif
36743 /* We use char because int might match the return type of a gcc2
36744    builtin and then its argument prototype would still apply.  */
36745 char $ac_func ();
36746 /* The GNU C library defines this for functions which it implements
36747     to always fail with ENOSYS.  Some functions are actually named
36748     something starting with __ and the normal name is an alias.  */
36749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36750 choke me
36751 #else
36752 char (*f) () = $ac_func;
36753 #endif
36754 #ifdef __cplusplus
36755 }
36756 #endif
36757
36758 int
36759 main ()
36760 {
36761 return f != $ac_func;
36762   ;
36763   return 0;
36764 }
36765 _ACEOF
36766 rm -f conftest.$ac_objext conftest$ac_exeext
36767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36768   (eval $ac_link) 2>conftest.er1
36769   ac_status=$?
36770   grep -v '^ *+' conftest.er1 >conftest.err
36771   rm -f conftest.er1
36772   cat conftest.err >&5
36773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774   (exit $ac_status); } &&
36775          { ac_try='test -z "$ac_c_werror_flag"
36776                          || test ! -s conftest.err'
36777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778   (eval $ac_try) 2>&5
36779   ac_status=$?
36780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781   (exit $ac_status); }; } &&
36782          { ac_try='test -s conftest$ac_exeext'
36783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36784   (eval $ac_try) 2>&5
36785   ac_status=$?
36786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787   (exit $ac_status); }; }; then
36788   eval "$as_ac_var=yes"
36789 else
36790   echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 eval "$as_ac_var=no"
36794 fi
36795 rm -f conftest.err conftest.$ac_objext \
36796       conftest$ac_exeext conftest.$ac_ext
36797 fi
36798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801   cat >>confdefs.h <<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36803 _ACEOF
36804
36805 fi
36806 done
36807
36808   else
36809
36810   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
36811 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
36812   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36813     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
36814   echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816
36817
36818
36819       ac_ext=cc
36820 ac_cpp='$CXXCPP $CPPFLAGS'
36821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36824
36825       cat >conftest.$ac_ext <<_ACEOF
36826 /* confdefs.h.  */
36827 _ACEOF
36828 cat confdefs.h >>conftest.$ac_ext
36829 cat >>conftest.$ac_ext <<_ACEOF
36830 /* end confdefs.h.  */
36831 #include <math.h>
36832 int
36833 main ()
36834 {
36835  _ldexpl(0, 0);
36836   ;
36837   return 0;
36838 }
36839 _ACEOF
36840 rm -f conftest.$ac_objext
36841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36842   (eval $ac_compile) 2>conftest.er1
36843   ac_status=$?
36844   grep -v '^ *+' conftest.er1 >conftest.err
36845   rm -f conftest.er1
36846   cat conftest.err >&5
36847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848   (exit $ac_status); } &&
36849          { ac_try='test -z "$ac_cxx_werror_flag"
36850                          || test ! -s conftest.err'
36851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852   (eval $ac_try) 2>&5
36853   ac_status=$?
36854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855   (exit $ac_status); }; } &&
36856          { ac_try='test -s conftest.$ac_objext'
36857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858   (eval $ac_try) 2>&5
36859   ac_status=$?
36860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861   (exit $ac_status); }; }; then
36862   glibcxx_cv_func__ldexpl_use=yes
36863 else
36864   echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 glibcxx_cv_func__ldexpl_use=no
36868 fi
36869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36870       ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36875
36876
36877 fi
36878
36879   fi
36880   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
36881 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
36882
36883     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36884
36885 for ac_func in _ldexpl
36886 do
36887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36888 echo "$as_me:$LINENO: checking for $ac_func" >&5
36889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36890 if eval "test \"\${$as_ac_var+set}\" = set"; then
36891   echo $ECHO_N "(cached) $ECHO_C" >&6
36892 else
36893   if test x$gcc_no_link = xyes; then
36894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36896    { (exit 1); exit 1; }; }
36897 fi
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h.  */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h.  */
36904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36906 #define $ac_func innocuous_$ac_func
36907
36908 /* System header to define __stub macros and hopefully few prototypes,
36909     which can conflict with char $ac_func (); below.
36910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36911     <limits.h> exists even on freestanding compilers.  */
36912
36913 #ifdef __STDC__
36914 # include <limits.h>
36915 #else
36916 # include <assert.h>
36917 #endif
36918
36919 #undef $ac_func
36920
36921 /* Override any gcc2 internal prototype to avoid an error.  */
36922 #ifdef __cplusplus
36923 extern "C"
36924 {
36925 #endif
36926 /* We use char because int might match the return type of a gcc2
36927    builtin and then its argument prototype would still apply.  */
36928 char $ac_func ();
36929 /* The GNU C library defines this for functions which it implements
36930     to always fail with ENOSYS.  Some functions are actually named
36931     something starting with __ and the normal name is an alias.  */
36932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36933 choke me
36934 #else
36935 char (*f) () = $ac_func;
36936 #endif
36937 #ifdef __cplusplus
36938 }
36939 #endif
36940
36941 int
36942 main ()
36943 {
36944 return f != $ac_func;
36945   ;
36946   return 0;
36947 }
36948 _ACEOF
36949 rm -f conftest.$ac_objext conftest$ac_exeext
36950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36951   (eval $ac_link) 2>conftest.er1
36952   ac_status=$?
36953   grep -v '^ *+' conftest.er1 >conftest.err
36954   rm -f conftest.er1
36955   cat conftest.err >&5
36956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957   (exit $ac_status); } &&
36958          { ac_try='test -z "$ac_c_werror_flag"
36959                          || test ! -s conftest.err'
36960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36961   (eval $ac_try) 2>&5
36962   ac_status=$?
36963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964   (exit $ac_status); }; } &&
36965          { ac_try='test -s conftest$ac_exeext'
36966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36967   (eval $ac_try) 2>&5
36968   ac_status=$?
36969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36970   (exit $ac_status); }; }; then
36971   eval "$as_ac_var=yes"
36972 else
36973   echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36975
36976 eval "$as_ac_var=no"
36977 fi
36978 rm -f conftest.err conftest.$ac_objext \
36979       conftest$ac_exeext conftest.$ac_ext
36980 fi
36981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36983 if test `eval echo '${'$as_ac_var'}'` = yes; then
36984   cat >>confdefs.h <<_ACEOF
36985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36986 _ACEOF
36987
36988 fi
36989 done
36990
36991     fi
36992   fi
36993
36994
36995
36996
36997
36998
36999   echo "$as_me:$LINENO: checking for logl declaration" >&5
37000 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
37001   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37002     if test "${glibcxx_cv_func_logl_use+set}" = set; then
37003   echo $ECHO_N "(cached) $ECHO_C" >&6
37004 else
37005
37006
37007
37008       ac_ext=cc
37009 ac_cpp='$CXXCPP $CPPFLAGS'
37010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37013
37014       cat >conftest.$ac_ext <<_ACEOF
37015 /* confdefs.h.  */
37016 _ACEOF
37017 cat confdefs.h >>conftest.$ac_ext
37018 cat >>conftest.$ac_ext <<_ACEOF
37019 /* end confdefs.h.  */
37020 #include <math.h>
37021                       #ifdef HAVE_IEEEFP_H
37022                       #include <ieeefp.h>
37023                       #endif
37024
37025 int
37026 main ()
37027 {
37028  logl(0);
37029   ;
37030   return 0;
37031 }
37032 _ACEOF
37033 rm -f conftest.$ac_objext
37034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37035   (eval $ac_compile) 2>conftest.er1
37036   ac_status=$?
37037   grep -v '^ *+' conftest.er1 >conftest.err
37038   rm -f conftest.er1
37039   cat conftest.err >&5
37040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041   (exit $ac_status); } &&
37042          { ac_try='test -z "$ac_cxx_werror_flag"
37043                          || test ! -s conftest.err'
37044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045   (eval $ac_try) 2>&5
37046   ac_status=$?
37047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048   (exit $ac_status); }; } &&
37049          { ac_try='test -s conftest.$ac_objext'
37050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051   (eval $ac_try) 2>&5
37052   ac_status=$?
37053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054   (exit $ac_status); }; }; then
37055   glibcxx_cv_func_logl_use=yes
37056 else
37057   echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.$ac_ext >&5
37059
37060 glibcxx_cv_func_logl_use=no
37061 fi
37062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37063       ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37068
37069
37070 fi
37071
37072   fi
37073   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
37074 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
37075
37076   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37077
37078 for ac_func in logl
37079 do
37080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37081 echo "$as_me:$LINENO: checking for $ac_func" >&5
37082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37083 if eval "test \"\${$as_ac_var+set}\" = set"; then
37084   echo $ECHO_N "(cached) $ECHO_C" >&6
37085 else
37086   if test x$gcc_no_link = xyes; then
37087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37089    { (exit 1); exit 1; }; }
37090 fi
37091 cat >conftest.$ac_ext <<_ACEOF
37092 /* confdefs.h.  */
37093 _ACEOF
37094 cat confdefs.h >>conftest.$ac_ext
37095 cat >>conftest.$ac_ext <<_ACEOF
37096 /* end confdefs.h.  */
37097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37099 #define $ac_func innocuous_$ac_func
37100
37101 /* System header to define __stub macros and hopefully few prototypes,
37102     which can conflict with char $ac_func (); below.
37103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37104     <limits.h> exists even on freestanding compilers.  */
37105
37106 #ifdef __STDC__
37107 # include <limits.h>
37108 #else
37109 # include <assert.h>
37110 #endif
37111
37112 #undef $ac_func
37113
37114 /* Override any gcc2 internal prototype to avoid an error.  */
37115 #ifdef __cplusplus
37116 extern "C"
37117 {
37118 #endif
37119 /* We use char because int might match the return type of a gcc2
37120    builtin and then its argument prototype would still apply.  */
37121 char $ac_func ();
37122 /* The GNU C library defines this for functions which it implements
37123     to always fail with ENOSYS.  Some functions are actually named
37124     something starting with __ and the normal name is an alias.  */
37125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37126 choke me
37127 #else
37128 char (*f) () = $ac_func;
37129 #endif
37130 #ifdef __cplusplus
37131 }
37132 #endif
37133
37134 int
37135 main ()
37136 {
37137 return f != $ac_func;
37138   ;
37139   return 0;
37140 }
37141 _ACEOF
37142 rm -f conftest.$ac_objext conftest$ac_exeext
37143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37144   (eval $ac_link) 2>conftest.er1
37145   ac_status=$?
37146   grep -v '^ *+' conftest.er1 >conftest.err
37147   rm -f conftest.er1
37148   cat conftest.err >&5
37149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150   (exit $ac_status); } &&
37151          { ac_try='test -z "$ac_c_werror_flag"
37152                          || test ! -s conftest.err'
37153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37154   (eval $ac_try) 2>&5
37155   ac_status=$?
37156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157   (exit $ac_status); }; } &&
37158          { ac_try='test -s conftest$ac_exeext'
37159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37160   (eval $ac_try) 2>&5
37161   ac_status=$?
37162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37163   (exit $ac_status); }; }; then
37164   eval "$as_ac_var=yes"
37165 else
37166   echo "$as_me: failed program was:" >&5
37167 sed 's/^/| /' conftest.$ac_ext >&5
37168
37169 eval "$as_ac_var=no"
37170 fi
37171 rm -f conftest.err conftest.$ac_objext \
37172       conftest$ac_exeext conftest.$ac_ext
37173 fi
37174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37176 if test `eval echo '${'$as_ac_var'}'` = yes; then
37177   cat >>confdefs.h <<_ACEOF
37178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37179 _ACEOF
37180
37181 fi
37182 done
37183
37184   else
37185
37186   echo "$as_me:$LINENO: checking for _logl declaration" >&5
37187 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
37188   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37189     if test "${glibcxx_cv_func__logl_use+set}" = set; then
37190   echo $ECHO_N "(cached) $ECHO_C" >&6
37191 else
37192
37193
37194
37195       ac_ext=cc
37196 ac_cpp='$CXXCPP $CPPFLAGS'
37197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37200
37201       cat >conftest.$ac_ext <<_ACEOF
37202 /* confdefs.h.  */
37203 _ACEOF
37204 cat confdefs.h >>conftest.$ac_ext
37205 cat >>conftest.$ac_ext <<_ACEOF
37206 /* end confdefs.h.  */
37207 #include <math.h>
37208                       #ifdef HAVE_IEEEFP_H
37209                       #include <ieeefp.h>
37210                       #endif
37211
37212 int
37213 main ()
37214 {
37215  _logl(0);
37216   ;
37217   return 0;
37218 }
37219 _ACEOF
37220 rm -f conftest.$ac_objext
37221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37222   (eval $ac_compile) 2>conftest.er1
37223   ac_status=$?
37224   grep -v '^ *+' conftest.er1 >conftest.err
37225   rm -f conftest.er1
37226   cat conftest.err >&5
37227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37228   (exit $ac_status); } &&
37229          { ac_try='test -z "$ac_cxx_werror_flag"
37230                          || test ! -s conftest.err'
37231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37232   (eval $ac_try) 2>&5
37233   ac_status=$?
37234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235   (exit $ac_status); }; } &&
37236          { ac_try='test -s conftest.$ac_objext'
37237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37238   (eval $ac_try) 2>&5
37239   ac_status=$?
37240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241   (exit $ac_status); }; }; then
37242   glibcxx_cv_func__logl_use=yes
37243 else
37244   echo "$as_me: failed program was:" >&5
37245 sed 's/^/| /' conftest.$ac_ext >&5
37246
37247 glibcxx_cv_func__logl_use=no
37248 fi
37249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37250       ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255
37256
37257 fi
37258
37259   fi
37260   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
37261 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
37262
37263     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37264
37265 for ac_func in _logl
37266 do
37267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 echo "$as_me:$LINENO: checking for $ac_func" >&5
37269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37270 if eval "test \"\${$as_ac_var+set}\" = set"; then
37271   echo $ECHO_N "(cached) $ECHO_C" >&6
37272 else
37273   if test x$gcc_no_link = xyes; then
37274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37276    { (exit 1); exit 1; }; }
37277 fi
37278 cat >conftest.$ac_ext <<_ACEOF
37279 /* confdefs.h.  */
37280 _ACEOF
37281 cat confdefs.h >>conftest.$ac_ext
37282 cat >>conftest.$ac_ext <<_ACEOF
37283 /* end confdefs.h.  */
37284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37286 #define $ac_func innocuous_$ac_func
37287
37288 /* System header to define __stub macros and hopefully few prototypes,
37289     which can conflict with char $ac_func (); below.
37290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37291     <limits.h> exists even on freestanding compilers.  */
37292
37293 #ifdef __STDC__
37294 # include <limits.h>
37295 #else
37296 # include <assert.h>
37297 #endif
37298
37299 #undef $ac_func
37300
37301 /* Override any gcc2 internal prototype to avoid an error.  */
37302 #ifdef __cplusplus
37303 extern "C"
37304 {
37305 #endif
37306 /* We use char because int might match the return type of a gcc2
37307    builtin and then its argument prototype would still apply.  */
37308 char $ac_func ();
37309 /* The GNU C library defines this for functions which it implements
37310     to always fail with ENOSYS.  Some functions are actually named
37311     something starting with __ and the normal name is an alias.  */
37312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37313 choke me
37314 #else
37315 char (*f) () = $ac_func;
37316 #endif
37317 #ifdef __cplusplus
37318 }
37319 #endif
37320
37321 int
37322 main ()
37323 {
37324 return f != $ac_func;
37325   ;
37326   return 0;
37327 }
37328 _ACEOF
37329 rm -f conftest.$ac_objext conftest$ac_exeext
37330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37331   (eval $ac_link) 2>conftest.er1
37332   ac_status=$?
37333   grep -v '^ *+' conftest.er1 >conftest.err
37334   rm -f conftest.er1
37335   cat conftest.err >&5
37336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337   (exit $ac_status); } &&
37338          { ac_try='test -z "$ac_c_werror_flag"
37339                          || test ! -s conftest.err'
37340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341   (eval $ac_try) 2>&5
37342   ac_status=$?
37343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344   (exit $ac_status); }; } &&
37345          { ac_try='test -s conftest$ac_exeext'
37346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347   (eval $ac_try) 2>&5
37348   ac_status=$?
37349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350   (exit $ac_status); }; }; then
37351   eval "$as_ac_var=yes"
37352 else
37353   echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 eval "$as_ac_var=no"
37357 fi
37358 rm -f conftest.err conftest.$ac_objext \
37359       conftest$ac_exeext conftest.$ac_ext
37360 fi
37361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37363 if test `eval echo '${'$as_ac_var'}'` = yes; then
37364   cat >>confdefs.h <<_ACEOF
37365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37366 _ACEOF
37367
37368 fi
37369 done
37370
37371     fi
37372   fi
37373
37374
37375
37376
37377
37378
37379   echo "$as_me:$LINENO: checking for log10l declaration" >&5
37380 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
37381   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37382     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
37383   echo $ECHO_N "(cached) $ECHO_C" >&6
37384 else
37385
37386
37387
37388       ac_ext=cc
37389 ac_cpp='$CXXCPP $CPPFLAGS'
37390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37393
37394       cat >conftest.$ac_ext <<_ACEOF
37395 /* confdefs.h.  */
37396 _ACEOF
37397 cat confdefs.h >>conftest.$ac_ext
37398 cat >>conftest.$ac_ext <<_ACEOF
37399 /* end confdefs.h.  */
37400 #include <math.h>
37401                       #ifdef HAVE_IEEEFP_H
37402                       #include <ieeefp.h>
37403                       #endif
37404
37405 int
37406 main ()
37407 {
37408  log10l(0);
37409   ;
37410   return 0;
37411 }
37412 _ACEOF
37413 rm -f conftest.$ac_objext
37414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37415   (eval $ac_compile) 2>conftest.er1
37416   ac_status=$?
37417   grep -v '^ *+' conftest.er1 >conftest.err
37418   rm -f conftest.er1
37419   cat conftest.err >&5
37420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421   (exit $ac_status); } &&
37422          { ac_try='test -z "$ac_cxx_werror_flag"
37423                          || test ! -s conftest.err'
37424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425   (eval $ac_try) 2>&5
37426   ac_status=$?
37427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428   (exit $ac_status); }; } &&
37429          { ac_try='test -s conftest.$ac_objext'
37430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431   (eval $ac_try) 2>&5
37432   ac_status=$?
37433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434   (exit $ac_status); }; }; then
37435   glibcxx_cv_func_log10l_use=yes
37436 else
37437   echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37439
37440 glibcxx_cv_func_log10l_use=no
37441 fi
37442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37443       ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448
37449
37450 fi
37451
37452   fi
37453   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
37454 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
37455
37456   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37457
37458 for ac_func in log10l
37459 do
37460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37461 echo "$as_me:$LINENO: checking for $ac_func" >&5
37462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37463 if eval "test \"\${$as_ac_var+set}\" = set"; then
37464   echo $ECHO_N "(cached) $ECHO_C" >&6
37465 else
37466   if test x$gcc_no_link = xyes; then
37467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37469    { (exit 1); exit 1; }; }
37470 fi
37471 cat >conftest.$ac_ext <<_ACEOF
37472 /* confdefs.h.  */
37473 _ACEOF
37474 cat confdefs.h >>conftest.$ac_ext
37475 cat >>conftest.$ac_ext <<_ACEOF
37476 /* end confdefs.h.  */
37477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37479 #define $ac_func innocuous_$ac_func
37480
37481 /* System header to define __stub macros and hopefully few prototypes,
37482     which can conflict with char $ac_func (); below.
37483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37484     <limits.h> exists even on freestanding compilers.  */
37485
37486 #ifdef __STDC__
37487 # include <limits.h>
37488 #else
37489 # include <assert.h>
37490 #endif
37491
37492 #undef $ac_func
37493
37494 /* Override any gcc2 internal prototype to avoid an error.  */
37495 #ifdef __cplusplus
37496 extern "C"
37497 {
37498 #endif
37499 /* We use char because int might match the return type of a gcc2
37500    builtin and then its argument prototype would still apply.  */
37501 char $ac_func ();
37502 /* The GNU C library defines this for functions which it implements
37503     to always fail with ENOSYS.  Some functions are actually named
37504     something starting with __ and the normal name is an alias.  */
37505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37506 choke me
37507 #else
37508 char (*f) () = $ac_func;
37509 #endif
37510 #ifdef __cplusplus
37511 }
37512 #endif
37513
37514 int
37515 main ()
37516 {
37517 return f != $ac_func;
37518   ;
37519   return 0;
37520 }
37521 _ACEOF
37522 rm -f conftest.$ac_objext conftest$ac_exeext
37523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37524   (eval $ac_link) 2>conftest.er1
37525   ac_status=$?
37526   grep -v '^ *+' conftest.er1 >conftest.err
37527   rm -f conftest.er1
37528   cat conftest.err >&5
37529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37530   (exit $ac_status); } &&
37531          { ac_try='test -z "$ac_c_werror_flag"
37532                          || test ! -s conftest.err'
37533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534   (eval $ac_try) 2>&5
37535   ac_status=$?
37536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537   (exit $ac_status); }; } &&
37538          { ac_try='test -s conftest$ac_exeext'
37539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37540   (eval $ac_try) 2>&5
37541   ac_status=$?
37542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37543   (exit $ac_status); }; }; then
37544   eval "$as_ac_var=yes"
37545 else
37546   echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.$ac_ext >&5
37548
37549 eval "$as_ac_var=no"
37550 fi
37551 rm -f conftest.err conftest.$ac_objext \
37552       conftest$ac_exeext conftest.$ac_ext
37553 fi
37554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37556 if test `eval echo '${'$as_ac_var'}'` = yes; then
37557   cat >>confdefs.h <<_ACEOF
37558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37559 _ACEOF
37560
37561 fi
37562 done
37563
37564   else
37565
37566   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
37567 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
37568   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37569     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
37570   echo $ECHO_N "(cached) $ECHO_C" >&6
37571 else
37572
37573
37574
37575       ac_ext=cc
37576 ac_cpp='$CXXCPP $CPPFLAGS'
37577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37580
37581       cat >conftest.$ac_ext <<_ACEOF
37582 /* confdefs.h.  */
37583 _ACEOF
37584 cat confdefs.h >>conftest.$ac_ext
37585 cat >>conftest.$ac_ext <<_ACEOF
37586 /* end confdefs.h.  */
37587 #include <math.h>
37588                       #ifdef HAVE_IEEEFP_H
37589                       #include <ieeefp.h>
37590                       #endif
37591
37592 int
37593 main ()
37594 {
37595  _log10l(0);
37596   ;
37597   return 0;
37598 }
37599 _ACEOF
37600 rm -f conftest.$ac_objext
37601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37602   (eval $ac_compile) 2>conftest.er1
37603   ac_status=$?
37604   grep -v '^ *+' conftest.er1 >conftest.err
37605   rm -f conftest.er1
37606   cat conftest.err >&5
37607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608   (exit $ac_status); } &&
37609          { ac_try='test -z "$ac_cxx_werror_flag"
37610                          || test ! -s conftest.err'
37611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37612   (eval $ac_try) 2>&5
37613   ac_status=$?
37614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615   (exit $ac_status); }; } &&
37616          { ac_try='test -s conftest.$ac_objext'
37617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37618   (eval $ac_try) 2>&5
37619   ac_status=$?
37620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621   (exit $ac_status); }; }; then
37622   glibcxx_cv_func__log10l_use=yes
37623 else
37624   echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 glibcxx_cv_func__log10l_use=no
37628 fi
37629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37630       ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635
37636
37637 fi
37638
37639   fi
37640   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
37641 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
37642
37643     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37644
37645 for ac_func in _log10l
37646 do
37647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37648 echo "$as_me:$LINENO: checking for $ac_func" >&5
37649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37650 if eval "test \"\${$as_ac_var+set}\" = set"; then
37651   echo $ECHO_N "(cached) $ECHO_C" >&6
37652 else
37653   if test x$gcc_no_link = xyes; then
37654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37656    { (exit 1); exit 1; }; }
37657 fi
37658 cat >conftest.$ac_ext <<_ACEOF
37659 /* confdefs.h.  */
37660 _ACEOF
37661 cat confdefs.h >>conftest.$ac_ext
37662 cat >>conftest.$ac_ext <<_ACEOF
37663 /* end confdefs.h.  */
37664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37666 #define $ac_func innocuous_$ac_func
37667
37668 /* System header to define __stub macros and hopefully few prototypes,
37669     which can conflict with char $ac_func (); below.
37670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37671     <limits.h> exists even on freestanding compilers.  */
37672
37673 #ifdef __STDC__
37674 # include <limits.h>
37675 #else
37676 # include <assert.h>
37677 #endif
37678
37679 #undef $ac_func
37680
37681 /* Override any gcc2 internal prototype to avoid an error.  */
37682 #ifdef __cplusplus
37683 extern "C"
37684 {
37685 #endif
37686 /* We use char because int might match the return type of a gcc2
37687    builtin and then its argument prototype would still apply.  */
37688 char $ac_func ();
37689 /* The GNU C library defines this for functions which it implements
37690     to always fail with ENOSYS.  Some functions are actually named
37691     something starting with __ and the normal name is an alias.  */
37692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37693 choke me
37694 #else
37695 char (*f) () = $ac_func;
37696 #endif
37697 #ifdef __cplusplus
37698 }
37699 #endif
37700
37701 int
37702 main ()
37703 {
37704 return f != $ac_func;
37705   ;
37706   return 0;
37707 }
37708 _ACEOF
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37711   (eval $ac_link) 2>conftest.er1
37712   ac_status=$?
37713   grep -v '^ *+' conftest.er1 >conftest.err
37714   rm -f conftest.er1
37715   cat conftest.err >&5
37716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717   (exit $ac_status); } &&
37718          { ac_try='test -z "$ac_c_werror_flag"
37719                          || test ! -s conftest.err'
37720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37721   (eval $ac_try) 2>&5
37722   ac_status=$?
37723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724   (exit $ac_status); }; } &&
37725          { ac_try='test -s conftest$ac_exeext'
37726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37727   (eval $ac_try) 2>&5
37728   ac_status=$?
37729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730   (exit $ac_status); }; }; then
37731   eval "$as_ac_var=yes"
37732 else
37733   echo "$as_me: failed program was:" >&5
37734 sed 's/^/| /' conftest.$ac_ext >&5
37735
37736 eval "$as_ac_var=no"
37737 fi
37738 rm -f conftest.err conftest.$ac_objext \
37739       conftest$ac_exeext conftest.$ac_ext
37740 fi
37741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37743 if test `eval echo '${'$as_ac_var'}'` = yes; then
37744   cat >>confdefs.h <<_ACEOF
37745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37746 _ACEOF
37747
37748 fi
37749 done
37750
37751     fi
37752   fi
37753
37754
37755
37756
37757
37758
37759   echo "$as_me:$LINENO: checking for modfl declaration" >&5
37760 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
37761   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37762     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
37763   echo $ECHO_N "(cached) $ECHO_C" >&6
37764 else
37765
37766
37767
37768       ac_ext=cc
37769 ac_cpp='$CXXCPP $CPPFLAGS'
37770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773
37774       cat >conftest.$ac_ext <<_ACEOF
37775 /* confdefs.h.  */
37776 _ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h.  */
37780 #include <math.h>
37781 int
37782 main ()
37783 {
37784  modfl(0, 0);
37785   ;
37786   return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37791   (eval $ac_compile) 2>conftest.er1
37792   ac_status=$?
37793   grep -v '^ *+' conftest.er1 >conftest.err
37794   rm -f conftest.er1
37795   cat conftest.err >&5
37796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797   (exit $ac_status); } &&
37798          { ac_try='test -z "$ac_cxx_werror_flag"
37799                          || test ! -s conftest.err'
37800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801   (eval $ac_try) 2>&5
37802   ac_status=$?
37803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804   (exit $ac_status); }; } &&
37805          { ac_try='test -s conftest.$ac_objext'
37806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807   (eval $ac_try) 2>&5
37808   ac_status=$?
37809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810   (exit $ac_status); }; }; then
37811   glibcxx_cv_func_modfl_use=yes
37812 else
37813   echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816 glibcxx_cv_func_modfl_use=no
37817 fi
37818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37819       ac_ext=c
37820 ac_cpp='$CPP $CPPFLAGS'
37821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37824
37825
37826 fi
37827
37828   fi
37829   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
37830 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
37831
37832   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37833
37834 for ac_func in modfl
37835 do
37836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37837 echo "$as_me:$LINENO: checking for $ac_func" >&5
37838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37839 if eval "test \"\${$as_ac_var+set}\" = set"; then
37840   echo $ECHO_N "(cached) $ECHO_C" >&6
37841 else
37842   if test x$gcc_no_link = xyes; then
37843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37845    { (exit 1); exit 1; }; }
37846 fi
37847 cat >conftest.$ac_ext <<_ACEOF
37848 /* confdefs.h.  */
37849 _ACEOF
37850 cat confdefs.h >>conftest.$ac_ext
37851 cat >>conftest.$ac_ext <<_ACEOF
37852 /* end confdefs.h.  */
37853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37855 #define $ac_func innocuous_$ac_func
37856
37857 /* System header to define __stub macros and hopefully few prototypes,
37858     which can conflict with char $ac_func (); below.
37859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37860     <limits.h> exists even on freestanding compilers.  */
37861
37862 #ifdef __STDC__
37863 # include <limits.h>
37864 #else
37865 # include <assert.h>
37866 #endif
37867
37868 #undef $ac_func
37869
37870 /* Override any gcc2 internal prototype to avoid an error.  */
37871 #ifdef __cplusplus
37872 extern "C"
37873 {
37874 #endif
37875 /* We use char because int might match the return type of a gcc2
37876    builtin and then its argument prototype would still apply.  */
37877 char $ac_func ();
37878 /* The GNU C library defines this for functions which it implements
37879     to always fail with ENOSYS.  Some functions are actually named
37880     something starting with __ and the normal name is an alias.  */
37881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37882 choke me
37883 #else
37884 char (*f) () = $ac_func;
37885 #endif
37886 #ifdef __cplusplus
37887 }
37888 #endif
37889
37890 int
37891 main ()
37892 {
37893 return f != $ac_func;
37894   ;
37895   return 0;
37896 }
37897 _ACEOF
37898 rm -f conftest.$ac_objext conftest$ac_exeext
37899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37900   (eval $ac_link) 2>conftest.er1
37901   ac_status=$?
37902   grep -v '^ *+' conftest.er1 >conftest.err
37903   rm -f conftest.er1
37904   cat conftest.err >&5
37905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906   (exit $ac_status); } &&
37907          { ac_try='test -z "$ac_c_werror_flag"
37908                          || test ! -s conftest.err'
37909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37910   (eval $ac_try) 2>&5
37911   ac_status=$?
37912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913   (exit $ac_status); }; } &&
37914          { ac_try='test -s conftest$ac_exeext'
37915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37916   (eval $ac_try) 2>&5
37917   ac_status=$?
37918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37919   (exit $ac_status); }; }; then
37920   eval "$as_ac_var=yes"
37921 else
37922   echo "$as_me: failed program was:" >&5
37923 sed 's/^/| /' conftest.$ac_ext >&5
37924
37925 eval "$as_ac_var=no"
37926 fi
37927 rm -f conftest.err conftest.$ac_objext \
37928       conftest$ac_exeext conftest.$ac_ext
37929 fi
37930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37932 if test `eval echo '${'$as_ac_var'}'` = yes; then
37933   cat >>confdefs.h <<_ACEOF
37934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37935 _ACEOF
37936
37937 fi
37938 done
37939
37940   else
37941
37942   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
37943 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
37944   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37945     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
37946   echo $ECHO_N "(cached) $ECHO_C" >&6
37947 else
37948
37949
37950
37951       ac_ext=cc
37952 ac_cpp='$CXXCPP $CPPFLAGS'
37953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37956
37957       cat >conftest.$ac_ext <<_ACEOF
37958 /* confdefs.h.  */
37959 _ACEOF
37960 cat confdefs.h >>conftest.$ac_ext
37961 cat >>conftest.$ac_ext <<_ACEOF
37962 /* end confdefs.h.  */
37963 #include <math.h>
37964 int
37965 main ()
37966 {
37967  _modfl(0, 0);
37968   ;
37969   return 0;
37970 }
37971 _ACEOF
37972 rm -f conftest.$ac_objext
37973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37974   (eval $ac_compile) 2>conftest.er1
37975   ac_status=$?
37976   grep -v '^ *+' conftest.er1 >conftest.err
37977   rm -f conftest.er1
37978   cat conftest.err >&5
37979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980   (exit $ac_status); } &&
37981          { ac_try='test -z "$ac_cxx_werror_flag"
37982                          || test ! -s conftest.err'
37983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984   (eval $ac_try) 2>&5
37985   ac_status=$?
37986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987   (exit $ac_status); }; } &&
37988          { ac_try='test -s conftest.$ac_objext'
37989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990   (eval $ac_try) 2>&5
37991   ac_status=$?
37992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993   (exit $ac_status); }; }; then
37994   glibcxx_cv_func__modfl_use=yes
37995 else
37996   echo "$as_me: failed program was:" >&5
37997 sed 's/^/| /' conftest.$ac_ext >&5
37998
37999 glibcxx_cv_func__modfl_use=no
38000 fi
38001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38002       ac_ext=c
38003 ac_cpp='$CPP $CPPFLAGS'
38004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38007
38008
38009 fi
38010
38011   fi
38012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
38013 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
38014
38015     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38016
38017 for ac_func in _modfl
38018 do
38019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38020 echo "$as_me:$LINENO: checking for $ac_func" >&5
38021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38022 if eval "test \"\${$as_ac_var+set}\" = set"; then
38023   echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38025   if test x$gcc_no_link = xyes; then
38026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38028    { (exit 1); exit 1; }; }
38029 fi
38030 cat >conftest.$ac_ext <<_ACEOF
38031 /* confdefs.h.  */
38032 _ACEOF
38033 cat confdefs.h >>conftest.$ac_ext
38034 cat >>conftest.$ac_ext <<_ACEOF
38035 /* end confdefs.h.  */
38036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38038 #define $ac_func innocuous_$ac_func
38039
38040 /* System header to define __stub macros and hopefully few prototypes,
38041     which can conflict with char $ac_func (); below.
38042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38043     <limits.h> exists even on freestanding compilers.  */
38044
38045 #ifdef __STDC__
38046 # include <limits.h>
38047 #else
38048 # include <assert.h>
38049 #endif
38050
38051 #undef $ac_func
38052
38053 /* Override any gcc2 internal prototype to avoid an error.  */
38054 #ifdef __cplusplus
38055 extern "C"
38056 {
38057 #endif
38058 /* We use char because int might match the return type of a gcc2
38059    builtin and then its argument prototype would still apply.  */
38060 char $ac_func ();
38061 /* The GNU C library defines this for functions which it implements
38062     to always fail with ENOSYS.  Some functions are actually named
38063     something starting with __ and the normal name is an alias.  */
38064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38065 choke me
38066 #else
38067 char (*f) () = $ac_func;
38068 #endif
38069 #ifdef __cplusplus
38070 }
38071 #endif
38072
38073 int
38074 main ()
38075 {
38076 return f != $ac_func;
38077   ;
38078   return 0;
38079 }
38080 _ACEOF
38081 rm -f conftest.$ac_objext conftest$ac_exeext
38082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38083   (eval $ac_link) 2>conftest.er1
38084   ac_status=$?
38085   grep -v '^ *+' conftest.er1 >conftest.err
38086   rm -f conftest.er1
38087   cat conftest.err >&5
38088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38089   (exit $ac_status); } &&
38090          { ac_try='test -z "$ac_c_werror_flag"
38091                          || test ! -s conftest.err'
38092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38093   (eval $ac_try) 2>&5
38094   ac_status=$?
38095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38096   (exit $ac_status); }; } &&
38097          { ac_try='test -s conftest$ac_exeext'
38098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38099   (eval $ac_try) 2>&5
38100   ac_status=$?
38101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102   (exit $ac_status); }; }; then
38103   eval "$as_ac_var=yes"
38104 else
38105   echo "$as_me: failed program was:" >&5
38106 sed 's/^/| /' conftest.$ac_ext >&5
38107
38108 eval "$as_ac_var=no"
38109 fi
38110 rm -f conftest.err conftest.$ac_objext \
38111       conftest$ac_exeext conftest.$ac_ext
38112 fi
38113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38115 if test `eval echo '${'$as_ac_var'}'` = yes; then
38116   cat >>confdefs.h <<_ACEOF
38117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38118 _ACEOF
38119
38120 fi
38121 done
38122
38123     fi
38124   fi
38125
38126
38127
38128
38129
38130
38131   echo "$as_me:$LINENO: checking for powl declaration" >&5
38132 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
38133   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38134     if test "${glibcxx_cv_func_powl_use+set}" = set; then
38135   echo $ECHO_N "(cached) $ECHO_C" >&6
38136 else
38137
38138
38139
38140       ac_ext=cc
38141 ac_cpp='$CXXCPP $CPPFLAGS'
38142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38145
38146       cat >conftest.$ac_ext <<_ACEOF
38147 /* confdefs.h.  */
38148 _ACEOF
38149 cat confdefs.h >>conftest.$ac_ext
38150 cat >>conftest.$ac_ext <<_ACEOF
38151 /* end confdefs.h.  */
38152 #include <math.h>
38153 int
38154 main ()
38155 {
38156  powl(0, 0);
38157   ;
38158   return 0;
38159 }
38160 _ACEOF
38161 rm -f conftest.$ac_objext
38162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38163   (eval $ac_compile) 2>conftest.er1
38164   ac_status=$?
38165   grep -v '^ *+' conftest.er1 >conftest.err
38166   rm -f conftest.er1
38167   cat conftest.err >&5
38168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169   (exit $ac_status); } &&
38170          { ac_try='test -z "$ac_cxx_werror_flag"
38171                          || test ! -s conftest.err'
38172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173   (eval $ac_try) 2>&5
38174   ac_status=$?
38175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176   (exit $ac_status); }; } &&
38177          { ac_try='test -s conftest.$ac_objext'
38178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38179   (eval $ac_try) 2>&5
38180   ac_status=$?
38181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182   (exit $ac_status); }; }; then
38183   glibcxx_cv_func_powl_use=yes
38184 else
38185   echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38187
38188 glibcxx_cv_func_powl_use=no
38189 fi
38190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38191       ac_ext=c
38192 ac_cpp='$CPP $CPPFLAGS'
38193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38196
38197
38198 fi
38199
38200   fi
38201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
38202 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
38203
38204   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38205
38206 for ac_func in powl
38207 do
38208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38209 echo "$as_me:$LINENO: checking for $ac_func" >&5
38210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38211 if eval "test \"\${$as_ac_var+set}\" = set"; then
38212   echo $ECHO_N "(cached) $ECHO_C" >&6
38213 else
38214   if test x$gcc_no_link = xyes; then
38215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38217    { (exit 1); exit 1; }; }
38218 fi
38219 cat >conftest.$ac_ext <<_ACEOF
38220 /* confdefs.h.  */
38221 _ACEOF
38222 cat confdefs.h >>conftest.$ac_ext
38223 cat >>conftest.$ac_ext <<_ACEOF
38224 /* end confdefs.h.  */
38225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38227 #define $ac_func innocuous_$ac_func
38228
38229 /* System header to define __stub macros and hopefully few prototypes,
38230     which can conflict with char $ac_func (); below.
38231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38232     <limits.h> exists even on freestanding compilers.  */
38233
38234 #ifdef __STDC__
38235 # include <limits.h>
38236 #else
38237 # include <assert.h>
38238 #endif
38239
38240 #undef $ac_func
38241
38242 /* Override any gcc2 internal prototype to avoid an error.  */
38243 #ifdef __cplusplus
38244 extern "C"
38245 {
38246 #endif
38247 /* We use char because int might match the return type of a gcc2
38248    builtin and then its argument prototype would still apply.  */
38249 char $ac_func ();
38250 /* The GNU C library defines this for functions which it implements
38251     to always fail with ENOSYS.  Some functions are actually named
38252     something starting with __ and the normal name is an alias.  */
38253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38254 choke me
38255 #else
38256 char (*f) () = $ac_func;
38257 #endif
38258 #ifdef __cplusplus
38259 }
38260 #endif
38261
38262 int
38263 main ()
38264 {
38265 return f != $ac_func;
38266   ;
38267   return 0;
38268 }
38269 _ACEOF
38270 rm -f conftest.$ac_objext conftest$ac_exeext
38271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38272   (eval $ac_link) 2>conftest.er1
38273   ac_status=$?
38274   grep -v '^ *+' conftest.er1 >conftest.err
38275   rm -f conftest.er1
38276   cat conftest.err >&5
38277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278   (exit $ac_status); } &&
38279          { ac_try='test -z "$ac_c_werror_flag"
38280                          || test ! -s conftest.err'
38281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38282   (eval $ac_try) 2>&5
38283   ac_status=$?
38284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38285   (exit $ac_status); }; } &&
38286          { ac_try='test -s conftest$ac_exeext'
38287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38288   (eval $ac_try) 2>&5
38289   ac_status=$?
38290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291   (exit $ac_status); }; }; then
38292   eval "$as_ac_var=yes"
38293 else
38294   echo "$as_me: failed program was:" >&5
38295 sed 's/^/| /' conftest.$ac_ext >&5
38296
38297 eval "$as_ac_var=no"
38298 fi
38299 rm -f conftest.err conftest.$ac_objext \
38300       conftest$ac_exeext conftest.$ac_ext
38301 fi
38302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38304 if test `eval echo '${'$as_ac_var'}'` = yes; then
38305   cat >>confdefs.h <<_ACEOF
38306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38307 _ACEOF
38308
38309 fi
38310 done
38311
38312   else
38313
38314   echo "$as_me:$LINENO: checking for _powl declaration" >&5
38315 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
38316   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38317     if test "${glibcxx_cv_func__powl_use+set}" = set; then
38318   echo $ECHO_N "(cached) $ECHO_C" >&6
38319 else
38320
38321
38322
38323       ac_ext=cc
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38328
38329       cat >conftest.$ac_ext <<_ACEOF
38330 /* confdefs.h.  */
38331 _ACEOF
38332 cat confdefs.h >>conftest.$ac_ext
38333 cat >>conftest.$ac_ext <<_ACEOF
38334 /* end confdefs.h.  */
38335 #include <math.h>
38336 int
38337 main ()
38338 {
38339  _powl(0, 0);
38340   ;
38341   return 0;
38342 }
38343 _ACEOF
38344 rm -f conftest.$ac_objext
38345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38346   (eval $ac_compile) 2>conftest.er1
38347   ac_status=$?
38348   grep -v '^ *+' conftest.er1 >conftest.err
38349   rm -f conftest.er1
38350   cat conftest.err >&5
38351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38352   (exit $ac_status); } &&
38353          { ac_try='test -z "$ac_cxx_werror_flag"
38354                          || test ! -s conftest.err'
38355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38356   (eval $ac_try) 2>&5
38357   ac_status=$?
38358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359   (exit $ac_status); }; } &&
38360          { ac_try='test -s conftest.$ac_objext'
38361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362   (eval $ac_try) 2>&5
38363   ac_status=$?
38364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365   (exit $ac_status); }; }; then
38366   glibcxx_cv_func__powl_use=yes
38367 else
38368   echo "$as_me: failed program was:" >&5
38369 sed 's/^/| /' conftest.$ac_ext >&5
38370
38371 glibcxx_cv_func__powl_use=no
38372 fi
38373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38374       ac_ext=c
38375 ac_cpp='$CPP $CPPFLAGS'
38376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38379
38380
38381 fi
38382
38383   fi
38384   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
38385 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
38386
38387     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38388
38389 for ac_func in _powl
38390 do
38391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38392 echo "$as_me:$LINENO: checking for $ac_func" >&5
38393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38394 if eval "test \"\${$as_ac_var+set}\" = set"; then
38395   echo $ECHO_N "(cached) $ECHO_C" >&6
38396 else
38397   if test x$gcc_no_link = xyes; then
38398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38400    { (exit 1); exit 1; }; }
38401 fi
38402 cat >conftest.$ac_ext <<_ACEOF
38403 /* confdefs.h.  */
38404 _ACEOF
38405 cat confdefs.h >>conftest.$ac_ext
38406 cat >>conftest.$ac_ext <<_ACEOF
38407 /* end confdefs.h.  */
38408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38410 #define $ac_func innocuous_$ac_func
38411
38412 /* System header to define __stub macros and hopefully few prototypes,
38413     which can conflict with char $ac_func (); below.
38414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38415     <limits.h> exists even on freestanding compilers.  */
38416
38417 #ifdef __STDC__
38418 # include <limits.h>
38419 #else
38420 # include <assert.h>
38421 #endif
38422
38423 #undef $ac_func
38424
38425 /* Override any gcc2 internal prototype to avoid an error.  */
38426 #ifdef __cplusplus
38427 extern "C"
38428 {
38429 #endif
38430 /* We use char because int might match the return type of a gcc2
38431    builtin and then its argument prototype would still apply.  */
38432 char $ac_func ();
38433 /* The GNU C library defines this for functions which it implements
38434     to always fail with ENOSYS.  Some functions are actually named
38435     something starting with __ and the normal name is an alias.  */
38436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38437 choke me
38438 #else
38439 char (*f) () = $ac_func;
38440 #endif
38441 #ifdef __cplusplus
38442 }
38443 #endif
38444
38445 int
38446 main ()
38447 {
38448 return f != $ac_func;
38449   ;
38450   return 0;
38451 }
38452 _ACEOF
38453 rm -f conftest.$ac_objext conftest$ac_exeext
38454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38455   (eval $ac_link) 2>conftest.er1
38456   ac_status=$?
38457   grep -v '^ *+' conftest.er1 >conftest.err
38458   rm -f conftest.er1
38459   cat conftest.err >&5
38460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38461   (exit $ac_status); } &&
38462          { ac_try='test -z "$ac_c_werror_flag"
38463                          || test ! -s conftest.err'
38464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38465   (eval $ac_try) 2>&5
38466   ac_status=$?
38467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38468   (exit $ac_status); }; } &&
38469          { ac_try='test -s conftest$ac_exeext'
38470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38471   (eval $ac_try) 2>&5
38472   ac_status=$?
38473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474   (exit $ac_status); }; }; then
38475   eval "$as_ac_var=yes"
38476 else
38477   echo "$as_me: failed program was:" >&5
38478 sed 's/^/| /' conftest.$ac_ext >&5
38479
38480 eval "$as_ac_var=no"
38481 fi
38482 rm -f conftest.err conftest.$ac_objext \
38483       conftest$ac_exeext conftest.$ac_ext
38484 fi
38485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38487 if test `eval echo '${'$as_ac_var'}'` = yes; then
38488   cat >>confdefs.h <<_ACEOF
38489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38490 _ACEOF
38491
38492 fi
38493 done
38494
38495     fi
38496   fi
38497
38498
38499
38500
38501
38502
38503   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
38504 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
38505   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38506     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
38507   echo $ECHO_N "(cached) $ECHO_C" >&6
38508 else
38509
38510
38511
38512       ac_ext=cc
38513 ac_cpp='$CXXCPP $CPPFLAGS'
38514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38517
38518       cat >conftest.$ac_ext <<_ACEOF
38519 /* confdefs.h.  */
38520 _ACEOF
38521 cat confdefs.h >>conftest.$ac_ext
38522 cat >>conftest.$ac_ext <<_ACEOF
38523 /* end confdefs.h.  */
38524 #include <math.h>
38525                       #ifdef HAVE_IEEEFP_H
38526                       #include <ieeefp.h>
38527                       #endif
38528
38529 int
38530 main ()
38531 {
38532  sqrtl(0);
38533   ;
38534   return 0;
38535 }
38536 _ACEOF
38537 rm -f conftest.$ac_objext
38538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38539   (eval $ac_compile) 2>conftest.er1
38540   ac_status=$?
38541   grep -v '^ *+' conftest.er1 >conftest.err
38542   rm -f conftest.er1
38543   cat conftest.err >&5
38544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545   (exit $ac_status); } &&
38546          { ac_try='test -z "$ac_cxx_werror_flag"
38547                          || test ! -s conftest.err'
38548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38549   (eval $ac_try) 2>&5
38550   ac_status=$?
38551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552   (exit $ac_status); }; } &&
38553          { ac_try='test -s conftest.$ac_objext'
38554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38555   (eval $ac_try) 2>&5
38556   ac_status=$?
38557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558   (exit $ac_status); }; }; then
38559   glibcxx_cv_func_sqrtl_use=yes
38560 else
38561   echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38563
38564 glibcxx_cv_func_sqrtl_use=no
38565 fi
38566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38567       ac_ext=c
38568 ac_cpp='$CPP $CPPFLAGS'
38569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38572
38573
38574 fi
38575
38576   fi
38577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
38578 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
38579
38580   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38581
38582 for ac_func in sqrtl
38583 do
38584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38585 echo "$as_me:$LINENO: checking for $ac_func" >&5
38586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38587 if eval "test \"\${$as_ac_var+set}\" = set"; then
38588   echo $ECHO_N "(cached) $ECHO_C" >&6
38589 else
38590   if test x$gcc_no_link = xyes; then
38591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38593    { (exit 1); exit 1; }; }
38594 fi
38595 cat >conftest.$ac_ext <<_ACEOF
38596 /* confdefs.h.  */
38597 _ACEOF
38598 cat confdefs.h >>conftest.$ac_ext
38599 cat >>conftest.$ac_ext <<_ACEOF
38600 /* end confdefs.h.  */
38601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38603 #define $ac_func innocuous_$ac_func
38604
38605 /* System header to define __stub macros and hopefully few prototypes,
38606     which can conflict with char $ac_func (); below.
38607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38608     <limits.h> exists even on freestanding compilers.  */
38609
38610 #ifdef __STDC__
38611 # include <limits.h>
38612 #else
38613 # include <assert.h>
38614 #endif
38615
38616 #undef $ac_func
38617
38618 /* Override any gcc2 internal prototype to avoid an error.  */
38619 #ifdef __cplusplus
38620 extern "C"
38621 {
38622 #endif
38623 /* We use char because int might match the return type of a gcc2
38624    builtin and then its argument prototype would still apply.  */
38625 char $ac_func ();
38626 /* The GNU C library defines this for functions which it implements
38627     to always fail with ENOSYS.  Some functions are actually named
38628     something starting with __ and the normal name is an alias.  */
38629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38630 choke me
38631 #else
38632 char (*f) () = $ac_func;
38633 #endif
38634 #ifdef __cplusplus
38635 }
38636 #endif
38637
38638 int
38639 main ()
38640 {
38641 return f != $ac_func;
38642   ;
38643   return 0;
38644 }
38645 _ACEOF
38646 rm -f conftest.$ac_objext conftest$ac_exeext
38647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38648   (eval $ac_link) 2>conftest.er1
38649   ac_status=$?
38650   grep -v '^ *+' conftest.er1 >conftest.err
38651   rm -f conftest.er1
38652   cat conftest.err >&5
38653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654   (exit $ac_status); } &&
38655          { ac_try='test -z "$ac_c_werror_flag"
38656                          || test ! -s conftest.err'
38657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38658   (eval $ac_try) 2>&5
38659   ac_status=$?
38660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661   (exit $ac_status); }; } &&
38662          { ac_try='test -s conftest$ac_exeext'
38663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664   (eval $ac_try) 2>&5
38665   ac_status=$?
38666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667   (exit $ac_status); }; }; then
38668   eval "$as_ac_var=yes"
38669 else
38670   echo "$as_me: failed program was:" >&5
38671 sed 's/^/| /' conftest.$ac_ext >&5
38672
38673 eval "$as_ac_var=no"
38674 fi
38675 rm -f conftest.err conftest.$ac_objext \
38676       conftest$ac_exeext conftest.$ac_ext
38677 fi
38678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38680 if test `eval echo '${'$as_ac_var'}'` = yes; then
38681   cat >>confdefs.h <<_ACEOF
38682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38683 _ACEOF
38684
38685 fi
38686 done
38687
38688   else
38689
38690   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
38691 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
38692   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38693     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
38694   echo $ECHO_N "(cached) $ECHO_C" >&6
38695 else
38696
38697
38698
38699       ac_ext=cc
38700 ac_cpp='$CXXCPP $CPPFLAGS'
38701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38704
38705       cat >conftest.$ac_ext <<_ACEOF
38706 /* confdefs.h.  */
38707 _ACEOF
38708 cat confdefs.h >>conftest.$ac_ext
38709 cat >>conftest.$ac_ext <<_ACEOF
38710 /* end confdefs.h.  */
38711 #include <math.h>
38712                       #ifdef HAVE_IEEEFP_H
38713                       #include <ieeefp.h>
38714                       #endif
38715
38716 int
38717 main ()
38718 {
38719  _sqrtl(0);
38720   ;
38721   return 0;
38722 }
38723 _ACEOF
38724 rm -f conftest.$ac_objext
38725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38726   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func__sqrtl_use=yes
38747 else
38748   echo "$as_me: failed program was:" >&5
38749 sed 's/^/| /' conftest.$ac_ext >&5
38750
38751 glibcxx_cv_func__sqrtl_use=no
38752 fi
38753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38754       ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759
38760
38761 fi
38762
38763   fi
38764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
38765 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
38766
38767     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38768
38769 for ac_func in _sqrtl
38770 do
38771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38772 echo "$as_me:$LINENO: checking for $ac_func" >&5
38773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38774 if eval "test \"\${$as_ac_var+set}\" = set"; then
38775   echo $ECHO_N "(cached) $ECHO_C" >&6
38776 else
38777   if test x$gcc_no_link = xyes; then
38778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38780    { (exit 1); exit 1; }; }
38781 fi
38782 cat >conftest.$ac_ext <<_ACEOF
38783 /* confdefs.h.  */
38784 _ACEOF
38785 cat confdefs.h >>conftest.$ac_ext
38786 cat >>conftest.$ac_ext <<_ACEOF
38787 /* end confdefs.h.  */
38788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38790 #define $ac_func innocuous_$ac_func
38791
38792 /* System header to define __stub macros and hopefully few prototypes,
38793     which can conflict with char $ac_func (); below.
38794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38795     <limits.h> exists even on freestanding compilers.  */
38796
38797 #ifdef __STDC__
38798 # include <limits.h>
38799 #else
38800 # include <assert.h>
38801 #endif
38802
38803 #undef $ac_func
38804
38805 /* Override any gcc2 internal prototype to avoid an error.  */
38806 #ifdef __cplusplus
38807 extern "C"
38808 {
38809 #endif
38810 /* We use char because int might match the return type of a gcc2
38811    builtin and then its argument prototype would still apply.  */
38812 char $ac_func ();
38813 /* The GNU C library defines this for functions which it implements
38814     to always fail with ENOSYS.  Some functions are actually named
38815     something starting with __ and the normal name is an alias.  */
38816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38817 choke me
38818 #else
38819 char (*f) () = $ac_func;
38820 #endif
38821 #ifdef __cplusplus
38822 }
38823 #endif
38824
38825 int
38826 main ()
38827 {
38828 return f != $ac_func;
38829   ;
38830   return 0;
38831 }
38832 _ACEOF
38833 rm -f conftest.$ac_objext conftest$ac_exeext
38834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38835   (eval $ac_link) 2>conftest.er1
38836   ac_status=$?
38837   grep -v '^ *+' conftest.er1 >conftest.err
38838   rm -f conftest.er1
38839   cat conftest.err >&5
38840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841   (exit $ac_status); } &&
38842          { ac_try='test -z "$ac_c_werror_flag"
38843                          || test ! -s conftest.err'
38844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38845   (eval $ac_try) 2>&5
38846   ac_status=$?
38847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848   (exit $ac_status); }; } &&
38849          { ac_try='test -s conftest$ac_exeext'
38850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851   (eval $ac_try) 2>&5
38852   ac_status=$?
38853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854   (exit $ac_status); }; }; then
38855   eval "$as_ac_var=yes"
38856 else
38857   echo "$as_me: failed program was:" >&5
38858 sed 's/^/| /' conftest.$ac_ext >&5
38859
38860 eval "$as_ac_var=no"
38861 fi
38862 rm -f conftest.err conftest.$ac_objext \
38863       conftest$ac_exeext conftest.$ac_ext
38864 fi
38865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38867 if test `eval echo '${'$as_ac_var'}'` = yes; then
38868   cat >>confdefs.h <<_ACEOF
38869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38870 _ACEOF
38871
38872 fi
38873 done
38874
38875     fi
38876   fi
38877
38878
38879
38880
38881
38882
38883   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
38884 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
38885   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38886     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
38887   echo $ECHO_N "(cached) $ECHO_C" >&6
38888 else
38889
38890
38891
38892       ac_ext=cc
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38897
38898       cat >conftest.$ac_ext <<_ACEOF
38899 /* confdefs.h.  */
38900 _ACEOF
38901 cat confdefs.h >>conftest.$ac_ext
38902 cat >>conftest.$ac_ext <<_ACEOF
38903 /* end confdefs.h.  */
38904 #include <math.h>
38905 int
38906 main ()
38907 {
38908  sincosl(0, 0, 0);
38909   ;
38910   return 0;
38911 }
38912 _ACEOF
38913 rm -f conftest.$ac_objext
38914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38915   (eval $ac_compile) 2>conftest.er1
38916   ac_status=$?
38917   grep -v '^ *+' conftest.er1 >conftest.err
38918   rm -f conftest.er1
38919   cat conftest.err >&5
38920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921   (exit $ac_status); } &&
38922          { ac_try='test -z "$ac_cxx_werror_flag"
38923                          || test ! -s conftest.err'
38924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38925   (eval $ac_try) 2>&5
38926   ac_status=$?
38927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928   (exit $ac_status); }; } &&
38929          { ac_try='test -s conftest.$ac_objext'
38930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38931   (eval $ac_try) 2>&5
38932   ac_status=$?
38933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38934   (exit $ac_status); }; }; then
38935   glibcxx_cv_func_sincosl_use=yes
38936 else
38937   echo "$as_me: failed program was:" >&5
38938 sed 's/^/| /' conftest.$ac_ext >&5
38939
38940 glibcxx_cv_func_sincosl_use=no
38941 fi
38942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38943       ac_ext=c
38944 ac_cpp='$CPP $CPPFLAGS'
38945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38948
38949
38950 fi
38951
38952   fi
38953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
38954 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
38955
38956   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38957
38958 for ac_func in sincosl
38959 do
38960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38961 echo "$as_me:$LINENO: checking for $ac_func" >&5
38962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38963 if eval "test \"\${$as_ac_var+set}\" = set"; then
38964   echo $ECHO_N "(cached) $ECHO_C" >&6
38965 else
38966   if test x$gcc_no_link = xyes; then
38967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38969    { (exit 1); exit 1; }; }
38970 fi
38971 cat >conftest.$ac_ext <<_ACEOF
38972 /* confdefs.h.  */
38973 _ACEOF
38974 cat confdefs.h >>conftest.$ac_ext
38975 cat >>conftest.$ac_ext <<_ACEOF
38976 /* end confdefs.h.  */
38977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38979 #define $ac_func innocuous_$ac_func
38980
38981 /* System header to define __stub macros and hopefully few prototypes,
38982     which can conflict with char $ac_func (); below.
38983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38984     <limits.h> exists even on freestanding compilers.  */
38985
38986 #ifdef __STDC__
38987 # include <limits.h>
38988 #else
38989 # include <assert.h>
38990 #endif
38991
38992 #undef $ac_func
38993
38994 /* Override any gcc2 internal prototype to avoid an error.  */
38995 #ifdef __cplusplus
38996 extern "C"
38997 {
38998 #endif
38999 /* We use char because int might match the return type of a gcc2
39000    builtin and then its argument prototype would still apply.  */
39001 char $ac_func ();
39002 /* The GNU C library defines this for functions which it implements
39003     to always fail with ENOSYS.  Some functions are actually named
39004     something starting with __ and the normal name is an alias.  */
39005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39006 choke me
39007 #else
39008 char (*f) () = $ac_func;
39009 #endif
39010 #ifdef __cplusplus
39011 }
39012 #endif
39013
39014 int
39015 main ()
39016 {
39017 return f != $ac_func;
39018   ;
39019   return 0;
39020 }
39021 _ACEOF
39022 rm -f conftest.$ac_objext conftest$ac_exeext
39023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39024   (eval $ac_link) 2>conftest.er1
39025   ac_status=$?
39026   grep -v '^ *+' conftest.er1 >conftest.err
39027   rm -f conftest.er1
39028   cat conftest.err >&5
39029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030   (exit $ac_status); } &&
39031          { ac_try='test -z "$ac_c_werror_flag"
39032                          || test ! -s conftest.err'
39033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39034   (eval $ac_try) 2>&5
39035   ac_status=$?
39036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037   (exit $ac_status); }; } &&
39038          { ac_try='test -s conftest$ac_exeext'
39039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39040   (eval $ac_try) 2>&5
39041   ac_status=$?
39042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043   (exit $ac_status); }; }; then
39044   eval "$as_ac_var=yes"
39045 else
39046   echo "$as_me: failed program was:" >&5
39047 sed 's/^/| /' conftest.$ac_ext >&5
39048
39049 eval "$as_ac_var=no"
39050 fi
39051 rm -f conftest.err conftest.$ac_objext \
39052       conftest$ac_exeext conftest.$ac_ext
39053 fi
39054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39056 if test `eval echo '${'$as_ac_var'}'` = yes; then
39057   cat >>confdefs.h <<_ACEOF
39058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39059 _ACEOF
39060
39061 fi
39062 done
39063
39064   else
39065
39066   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
39067 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
39068   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39069     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
39070   echo $ECHO_N "(cached) $ECHO_C" >&6
39071 else
39072
39073
39074
39075       ac_ext=cc
39076 ac_cpp='$CXXCPP $CPPFLAGS'
39077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39080
39081       cat >conftest.$ac_ext <<_ACEOF
39082 /* confdefs.h.  */
39083 _ACEOF
39084 cat confdefs.h >>conftest.$ac_ext
39085 cat >>conftest.$ac_ext <<_ACEOF
39086 /* end confdefs.h.  */
39087 #include <math.h>
39088 int
39089 main ()
39090 {
39091  _sincosl(0, 0, 0);
39092   ;
39093   return 0;
39094 }
39095 _ACEOF
39096 rm -f conftest.$ac_objext
39097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39098   (eval $ac_compile) 2>conftest.er1
39099   ac_status=$?
39100   grep -v '^ *+' conftest.er1 >conftest.err
39101   rm -f conftest.er1
39102   cat conftest.err >&5
39103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39104   (exit $ac_status); } &&
39105          { ac_try='test -z "$ac_cxx_werror_flag"
39106                          || test ! -s conftest.err'
39107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108   (eval $ac_try) 2>&5
39109   ac_status=$?
39110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111   (exit $ac_status); }; } &&
39112          { ac_try='test -s conftest.$ac_objext'
39113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39114   (eval $ac_try) 2>&5
39115   ac_status=$?
39116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39117   (exit $ac_status); }; }; then
39118   glibcxx_cv_func__sincosl_use=yes
39119 else
39120   echo "$as_me: failed program was:" >&5
39121 sed 's/^/| /' conftest.$ac_ext >&5
39122
39123 glibcxx_cv_func__sincosl_use=no
39124 fi
39125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39126       ac_ext=c
39127 ac_cpp='$CPP $CPPFLAGS'
39128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39131
39132
39133 fi
39134
39135   fi
39136   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
39137 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
39138
39139     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39140
39141 for ac_func in _sincosl
39142 do
39143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39144 echo "$as_me:$LINENO: checking for $ac_func" >&5
39145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39146 if eval "test \"\${$as_ac_var+set}\" = set"; then
39147   echo $ECHO_N "(cached) $ECHO_C" >&6
39148 else
39149   if test x$gcc_no_link = xyes; then
39150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39152    { (exit 1); exit 1; }; }
39153 fi
39154 cat >conftest.$ac_ext <<_ACEOF
39155 /* confdefs.h.  */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h.  */
39160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39162 #define $ac_func innocuous_$ac_func
39163
39164 /* System header to define __stub macros and hopefully few prototypes,
39165     which can conflict with char $ac_func (); below.
39166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39167     <limits.h> exists even on freestanding compilers.  */
39168
39169 #ifdef __STDC__
39170 # include <limits.h>
39171 #else
39172 # include <assert.h>
39173 #endif
39174
39175 #undef $ac_func
39176
39177 /* Override any gcc2 internal prototype to avoid an error.  */
39178 #ifdef __cplusplus
39179 extern "C"
39180 {
39181 #endif
39182 /* We use char because int might match the return type of a gcc2
39183    builtin and then its argument prototype would still apply.  */
39184 char $ac_func ();
39185 /* The GNU C library defines this for functions which it implements
39186     to always fail with ENOSYS.  Some functions are actually named
39187     something starting with __ and the normal name is an alias.  */
39188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39189 choke me
39190 #else
39191 char (*f) () = $ac_func;
39192 #endif
39193 #ifdef __cplusplus
39194 }
39195 #endif
39196
39197 int
39198 main ()
39199 {
39200 return f != $ac_func;
39201   ;
39202   return 0;
39203 }
39204 _ACEOF
39205 rm -f conftest.$ac_objext conftest$ac_exeext
39206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39207   (eval $ac_link) 2>conftest.er1
39208   ac_status=$?
39209   grep -v '^ *+' conftest.er1 >conftest.err
39210   rm -f conftest.er1
39211   cat conftest.err >&5
39212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213   (exit $ac_status); } &&
39214          { ac_try='test -z "$ac_c_werror_flag"
39215                          || test ! -s conftest.err'
39216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39217   (eval $ac_try) 2>&5
39218   ac_status=$?
39219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220   (exit $ac_status); }; } &&
39221          { ac_try='test -s conftest$ac_exeext'
39222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223   (eval $ac_try) 2>&5
39224   ac_status=$?
39225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226   (exit $ac_status); }; }; then
39227   eval "$as_ac_var=yes"
39228 else
39229   echo "$as_me: failed program was:" >&5
39230 sed 's/^/| /' conftest.$ac_ext >&5
39231
39232 eval "$as_ac_var=no"
39233 fi
39234 rm -f conftest.err conftest.$ac_objext \
39235       conftest$ac_exeext conftest.$ac_ext
39236 fi
39237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39239 if test `eval echo '${'$as_ac_var'}'` = yes; then
39240   cat >>confdefs.h <<_ACEOF
39241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39242 _ACEOF
39243
39244 fi
39245 done
39246
39247     fi
39248   fi
39249
39250
39251
39252
39253
39254
39255   echo "$as_me:$LINENO: checking for finitel declaration" >&5
39256 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
39257   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39258     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
39259   echo $ECHO_N "(cached) $ECHO_C" >&6
39260 else
39261
39262
39263
39264       ac_ext=cc
39265 ac_cpp='$CXXCPP $CPPFLAGS'
39266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39269
39270       cat >conftest.$ac_ext <<_ACEOF
39271 /* confdefs.h.  */
39272 _ACEOF
39273 cat confdefs.h >>conftest.$ac_ext
39274 cat >>conftest.$ac_ext <<_ACEOF
39275 /* end confdefs.h.  */
39276 #include <math.h>
39277                       #ifdef HAVE_IEEEFP_H
39278                       #include <ieeefp.h>
39279                       #endif
39280
39281 int
39282 main ()
39283 {
39284  finitel(0);
39285   ;
39286   return 0;
39287 }
39288 _ACEOF
39289 rm -f conftest.$ac_objext
39290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39291   (eval $ac_compile) 2>conftest.er1
39292   ac_status=$?
39293   grep -v '^ *+' conftest.er1 >conftest.err
39294   rm -f conftest.er1
39295   cat conftest.err >&5
39296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39297   (exit $ac_status); } &&
39298          { ac_try='test -z "$ac_cxx_werror_flag"
39299                          || test ! -s conftest.err'
39300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39301   (eval $ac_try) 2>&5
39302   ac_status=$?
39303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304   (exit $ac_status); }; } &&
39305          { ac_try='test -s conftest.$ac_objext'
39306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39307   (eval $ac_try) 2>&5
39308   ac_status=$?
39309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39310   (exit $ac_status); }; }; then
39311   glibcxx_cv_func_finitel_use=yes
39312 else
39313   echo "$as_me: failed program was:" >&5
39314 sed 's/^/| /' conftest.$ac_ext >&5
39315
39316 glibcxx_cv_func_finitel_use=no
39317 fi
39318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39319       ac_ext=c
39320 ac_cpp='$CPP $CPPFLAGS'
39321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324
39325
39326 fi
39327
39328   fi
39329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
39330 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
39331
39332   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39333
39334 for ac_func in finitel
39335 do
39336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39337 echo "$as_me:$LINENO: checking for $ac_func" >&5
39338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39339 if eval "test \"\${$as_ac_var+set}\" = set"; then
39340   echo $ECHO_N "(cached) $ECHO_C" >&6
39341 else
39342   if test x$gcc_no_link = xyes; then
39343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39345    { (exit 1); exit 1; }; }
39346 fi
39347 cat >conftest.$ac_ext <<_ACEOF
39348 /* confdefs.h.  */
39349 _ACEOF
39350 cat confdefs.h >>conftest.$ac_ext
39351 cat >>conftest.$ac_ext <<_ACEOF
39352 /* end confdefs.h.  */
39353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39355 #define $ac_func innocuous_$ac_func
39356
39357 /* System header to define __stub macros and hopefully few prototypes,
39358     which can conflict with char $ac_func (); below.
39359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39360     <limits.h> exists even on freestanding compilers.  */
39361
39362 #ifdef __STDC__
39363 # include <limits.h>
39364 #else
39365 # include <assert.h>
39366 #endif
39367
39368 #undef $ac_func
39369
39370 /* Override any gcc2 internal prototype to avoid an error.  */
39371 #ifdef __cplusplus
39372 extern "C"
39373 {
39374 #endif
39375 /* We use char because int might match the return type of a gcc2
39376    builtin and then its argument prototype would still apply.  */
39377 char $ac_func ();
39378 /* The GNU C library defines this for functions which it implements
39379     to always fail with ENOSYS.  Some functions are actually named
39380     something starting with __ and the normal name is an alias.  */
39381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39382 choke me
39383 #else
39384 char (*f) () = $ac_func;
39385 #endif
39386 #ifdef __cplusplus
39387 }
39388 #endif
39389
39390 int
39391 main ()
39392 {
39393 return f != $ac_func;
39394   ;
39395   return 0;
39396 }
39397 _ACEOF
39398 rm -f conftest.$ac_objext conftest$ac_exeext
39399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39400   (eval $ac_link) 2>conftest.er1
39401   ac_status=$?
39402   grep -v '^ *+' conftest.er1 >conftest.err
39403   rm -f conftest.er1
39404   cat conftest.err >&5
39405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406   (exit $ac_status); } &&
39407          { ac_try='test -z "$ac_c_werror_flag"
39408                          || test ! -s conftest.err'
39409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39410   (eval $ac_try) 2>&5
39411   ac_status=$?
39412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413   (exit $ac_status); }; } &&
39414          { ac_try='test -s conftest$ac_exeext'
39415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39416   (eval $ac_try) 2>&5
39417   ac_status=$?
39418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419   (exit $ac_status); }; }; then
39420   eval "$as_ac_var=yes"
39421 else
39422   echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425 eval "$as_ac_var=no"
39426 fi
39427 rm -f conftest.err conftest.$ac_objext \
39428       conftest$ac_exeext conftest.$ac_ext
39429 fi
39430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39432 if test `eval echo '${'$as_ac_var'}'` = yes; then
39433   cat >>confdefs.h <<_ACEOF
39434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39435 _ACEOF
39436
39437 fi
39438 done
39439
39440   else
39441
39442   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
39443 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
39444   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39445     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
39446   echo $ECHO_N "(cached) $ECHO_C" >&6
39447 else
39448
39449
39450
39451       ac_ext=cc
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39456
39457       cat >conftest.$ac_ext <<_ACEOF
39458 /* confdefs.h.  */
39459 _ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h.  */
39463 #include <math.h>
39464                       #ifdef HAVE_IEEEFP_H
39465                       #include <ieeefp.h>
39466                       #endif
39467
39468 int
39469 main ()
39470 {
39471  _finitel(0);
39472   ;
39473   return 0;
39474 }
39475 _ACEOF
39476 rm -f conftest.$ac_objext
39477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39478   (eval $ac_compile) 2>conftest.er1
39479   ac_status=$?
39480   grep -v '^ *+' conftest.er1 >conftest.err
39481   rm -f conftest.er1
39482   cat conftest.err >&5
39483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39484   (exit $ac_status); } &&
39485          { ac_try='test -z "$ac_cxx_werror_flag"
39486                          || test ! -s conftest.err'
39487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39488   (eval $ac_try) 2>&5
39489   ac_status=$?
39490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491   (exit $ac_status); }; } &&
39492          { ac_try='test -s conftest.$ac_objext'
39493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39494   (eval $ac_try) 2>&5
39495   ac_status=$?
39496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497   (exit $ac_status); }; }; then
39498   glibcxx_cv_func__finitel_use=yes
39499 else
39500   echo "$as_me: failed program was:" >&5
39501 sed 's/^/| /' conftest.$ac_ext >&5
39502
39503 glibcxx_cv_func__finitel_use=no
39504 fi
39505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39506       ac_ext=c
39507 ac_cpp='$CPP $CPPFLAGS'
39508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39511
39512
39513 fi
39514
39515   fi
39516   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
39517 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
39518
39519     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39520
39521 for ac_func in _finitel
39522 do
39523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39524 echo "$as_me:$LINENO: checking for $ac_func" >&5
39525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39526 if eval "test \"\${$as_ac_var+set}\" = set"; then
39527   echo $ECHO_N "(cached) $ECHO_C" >&6
39528 else
39529   if test x$gcc_no_link = xyes; then
39530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39532    { (exit 1); exit 1; }; }
39533 fi
39534 cat >conftest.$ac_ext <<_ACEOF
39535 /* confdefs.h.  */
39536 _ACEOF
39537 cat confdefs.h >>conftest.$ac_ext
39538 cat >>conftest.$ac_ext <<_ACEOF
39539 /* end confdefs.h.  */
39540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39542 #define $ac_func innocuous_$ac_func
39543
39544 /* System header to define __stub macros and hopefully few prototypes,
39545     which can conflict with char $ac_func (); below.
39546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39547     <limits.h> exists even on freestanding compilers.  */
39548
39549 #ifdef __STDC__
39550 # include <limits.h>
39551 #else
39552 # include <assert.h>
39553 #endif
39554
39555 #undef $ac_func
39556
39557 /* Override any gcc2 internal prototype to avoid an error.  */
39558 #ifdef __cplusplus
39559 extern "C"
39560 {
39561 #endif
39562 /* We use char because int might match the return type of a gcc2
39563    builtin and then its argument prototype would still apply.  */
39564 char $ac_func ();
39565 /* The GNU C library defines this for functions which it implements
39566     to always fail with ENOSYS.  Some functions are actually named
39567     something starting with __ and the normal name is an alias.  */
39568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39569 choke me
39570 #else
39571 char (*f) () = $ac_func;
39572 #endif
39573 #ifdef __cplusplus
39574 }
39575 #endif
39576
39577 int
39578 main ()
39579 {
39580 return f != $ac_func;
39581   ;
39582   return 0;
39583 }
39584 _ACEOF
39585 rm -f conftest.$ac_objext conftest$ac_exeext
39586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39587   (eval $ac_link) 2>conftest.er1
39588   ac_status=$?
39589   grep -v '^ *+' conftest.er1 >conftest.err
39590   rm -f conftest.er1
39591   cat conftest.err >&5
39592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593   (exit $ac_status); } &&
39594          { ac_try='test -z "$ac_c_werror_flag"
39595                          || test ! -s conftest.err'
39596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39597   (eval $ac_try) 2>&5
39598   ac_status=$?
39599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39600   (exit $ac_status); }; } &&
39601          { ac_try='test -s conftest$ac_exeext'
39602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39603   (eval $ac_try) 2>&5
39604   ac_status=$?
39605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606   (exit $ac_status); }; }; then
39607   eval "$as_ac_var=yes"
39608 else
39609   echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.$ac_ext >&5
39611
39612 eval "$as_ac_var=no"
39613 fi
39614 rm -f conftest.err conftest.$ac_objext \
39615       conftest$ac_exeext conftest.$ac_ext
39616 fi
39617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39619 if test `eval echo '${'$as_ac_var'}'` = yes; then
39620   cat >>confdefs.h <<_ACEOF
39621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39622 _ACEOF
39623
39624 fi
39625 done
39626
39627     fi
39628   fi
39629
39630
39631
39632
39633
39634   LIBS="$ac_save_LIBS"
39635   CXXFLAGS="$ac_save_CXXFLAGS"
39636
39637
39638
39639 echo "$as_me:$LINENO: checking for main in -lm" >&5
39640 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
39641 if test "${ac_cv_lib_m_main+set}" = set; then
39642   echo $ECHO_N "(cached) $ECHO_C" >&6
39643 else
39644   ac_check_lib_save_LIBS=$LIBS
39645 LIBS="-lm  $LIBS"
39646 if test x$gcc_no_link = xyes; then
39647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39649    { (exit 1); exit 1; }; }
39650 fi
39651 cat >conftest.$ac_ext <<_ACEOF
39652 /* confdefs.h.  */
39653 _ACEOF
39654 cat confdefs.h >>conftest.$ac_ext
39655 cat >>conftest.$ac_ext <<_ACEOF
39656 /* end confdefs.h.  */
39657
39658
39659 int
39660 main ()
39661 {
39662 main ();
39663   ;
39664   return 0;
39665 }
39666 _ACEOF
39667 rm -f conftest.$ac_objext conftest$ac_exeext
39668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39669   (eval $ac_link) 2>conftest.er1
39670   ac_status=$?
39671   grep -v '^ *+' conftest.er1 >conftest.err
39672   rm -f conftest.er1
39673   cat conftest.err >&5
39674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675   (exit $ac_status); } &&
39676          { ac_try='test -z "$ac_c_werror_flag"
39677                          || test ! -s conftest.err'
39678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679   (eval $ac_try) 2>&5
39680   ac_status=$?
39681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682   (exit $ac_status); }; } &&
39683          { ac_try='test -s conftest$ac_exeext'
39684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39685   (eval $ac_try) 2>&5
39686   ac_status=$?
39687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39688   (exit $ac_status); }; }; then
39689   ac_cv_lib_m_main=yes
39690 else
39691   echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39693
39694 ac_cv_lib_m_main=no
39695 fi
39696 rm -f conftest.err conftest.$ac_objext \
39697       conftest$ac_exeext conftest.$ac_ext
39698 LIBS=$ac_check_lib_save_LIBS
39699 fi
39700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
39701 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
39702 if test $ac_cv_lib_m_main = yes; then
39703   cat >>confdefs.h <<_ACEOF
39704 #define HAVE_LIBM 1
39705 _ACEOF
39706
39707   LIBS="-lm $LIBS"
39708
39709 fi
39710
39711
39712 for ac_func in copysignf
39713 do
39714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39715 echo "$as_me:$LINENO: checking for $ac_func" >&5
39716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39717 if eval "test \"\${$as_ac_var+set}\" = set"; then
39718   echo $ECHO_N "(cached) $ECHO_C" >&6
39719 else
39720   if test x$gcc_no_link = xyes; then
39721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39723    { (exit 1); exit 1; }; }
39724 fi
39725 cat >conftest.$ac_ext <<_ACEOF
39726 /* confdefs.h.  */
39727 _ACEOF
39728 cat confdefs.h >>conftest.$ac_ext
39729 cat >>conftest.$ac_ext <<_ACEOF
39730 /* end confdefs.h.  */
39731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39733 #define $ac_func innocuous_$ac_func
39734
39735 /* System header to define __stub macros and hopefully few prototypes,
39736     which can conflict with char $ac_func (); below.
39737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39738     <limits.h> exists even on freestanding compilers.  */
39739
39740 #ifdef __STDC__
39741 # include <limits.h>
39742 #else
39743 # include <assert.h>
39744 #endif
39745
39746 #undef $ac_func
39747
39748 /* Override any gcc2 internal prototype to avoid an error.  */
39749 #ifdef __cplusplus
39750 extern "C"
39751 {
39752 #endif
39753 /* We use char because int might match the return type of a gcc2
39754    builtin and then its argument prototype would still apply.  */
39755 char $ac_func ();
39756 /* The GNU C library defines this for functions which it implements
39757     to always fail with ENOSYS.  Some functions are actually named
39758     something starting with __ and the normal name is an alias.  */
39759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39760 choke me
39761 #else
39762 char (*f) () = $ac_func;
39763 #endif
39764 #ifdef __cplusplus
39765 }
39766 #endif
39767
39768 int
39769 main ()
39770 {
39771 return f != $ac_func;
39772   ;
39773   return 0;
39774 }
39775 _ACEOF
39776 rm -f conftest.$ac_objext conftest$ac_exeext
39777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39778   (eval $ac_link) 2>conftest.er1
39779   ac_status=$?
39780   grep -v '^ *+' conftest.er1 >conftest.err
39781   rm -f conftest.er1
39782   cat conftest.err >&5
39783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784   (exit $ac_status); } &&
39785          { ac_try='test -z "$ac_c_werror_flag"
39786                          || test ! -s conftest.err'
39787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39788   (eval $ac_try) 2>&5
39789   ac_status=$?
39790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791   (exit $ac_status); }; } &&
39792          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39798   eval "$as_ac_var=yes"
39799 else
39800   echo "$as_me: failed program was:" >&5
39801 sed 's/^/| /' conftest.$ac_ext >&5
39802
39803 eval "$as_ac_var=no"
39804 fi
39805 rm -f conftest.err conftest.$ac_objext \
39806       conftest$ac_exeext conftest.$ac_ext
39807 fi
39808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39810 if test `eval echo '${'$as_ac_var'}'` = yes; then
39811   cat >>confdefs.h <<_ACEOF
39812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39813 _ACEOF
39814
39815 else
39816   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
39817 fi
39818 done
39819
39820
39821
39822 for ac_func in __signbit
39823 do
39824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39825 echo "$as_me:$LINENO: checking for $ac_func" >&5
39826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39827 if eval "test \"\${$as_ac_var+set}\" = set"; then
39828   echo $ECHO_N "(cached) $ECHO_C" >&6
39829 else
39830   if test x$gcc_no_link = xyes; then
39831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39833    { (exit 1); exit 1; }; }
39834 fi
39835 cat >conftest.$ac_ext <<_ACEOF
39836 /* confdefs.h.  */
39837 _ACEOF
39838 cat confdefs.h >>conftest.$ac_ext
39839 cat >>conftest.$ac_ext <<_ACEOF
39840 /* end confdefs.h.  */
39841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39843 #define $ac_func innocuous_$ac_func
39844
39845 /* System header to define __stub macros and hopefully few prototypes,
39846     which can conflict with char $ac_func (); below.
39847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39848     <limits.h> exists even on freestanding compilers.  */
39849
39850 #ifdef __STDC__
39851 # include <limits.h>
39852 #else
39853 # include <assert.h>
39854 #endif
39855
39856 #undef $ac_func
39857
39858 /* Override any gcc2 internal prototype to avoid an error.  */
39859 #ifdef __cplusplus
39860 extern "C"
39861 {
39862 #endif
39863 /* We use char because int might match the return type of a gcc2
39864    builtin and then its argument prototype would still apply.  */
39865 char $ac_func ();
39866 /* The GNU C library defines this for functions which it implements
39867     to always fail with ENOSYS.  Some functions are actually named
39868     something starting with __ and the normal name is an alias.  */
39869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39870 choke me
39871 #else
39872 char (*f) () = $ac_func;
39873 #endif
39874 #ifdef __cplusplus
39875 }
39876 #endif
39877
39878 int
39879 main ()
39880 {
39881 return f != $ac_func;
39882   ;
39883   return 0;
39884 }
39885 _ACEOF
39886 rm -f conftest.$ac_objext conftest$ac_exeext
39887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39888   (eval $ac_link) 2>conftest.er1
39889   ac_status=$?
39890   grep -v '^ *+' conftest.er1 >conftest.err
39891   rm -f conftest.er1
39892   cat conftest.err >&5
39893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894   (exit $ac_status); } &&
39895          { ac_try='test -z "$ac_c_werror_flag"
39896                          || test ! -s conftest.err'
39897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39898   (eval $ac_try) 2>&5
39899   ac_status=$?
39900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901   (exit $ac_status); }; } &&
39902          { ac_try='test -s conftest$ac_exeext'
39903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39904   (eval $ac_try) 2>&5
39905   ac_status=$?
39906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907   (exit $ac_status); }; }; then
39908   eval "$as_ac_var=yes"
39909 else
39910   echo "$as_me: failed program was:" >&5
39911 sed 's/^/| /' conftest.$ac_ext >&5
39912
39913 eval "$as_ac_var=no"
39914 fi
39915 rm -f conftest.err conftest.$ac_objext \
39916       conftest$ac_exeext conftest.$ac_ext
39917 fi
39918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39920 if test `eval echo '${'$as_ac_var'}'` = yes; then
39921   cat >>confdefs.h <<_ACEOF
39922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39923 _ACEOF
39924
39925 else
39926   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
39927 fi
39928 done
39929
39930
39931
39932 for ac_func in __signbitf
39933 do
39934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39935 echo "$as_me:$LINENO: checking for $ac_func" >&5
39936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39937 if eval "test \"\${$as_ac_var+set}\" = set"; then
39938   echo $ECHO_N "(cached) $ECHO_C" >&6
39939 else
39940   if test x$gcc_no_link = xyes; then
39941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39943    { (exit 1); exit 1; }; }
39944 fi
39945 cat >conftest.$ac_ext <<_ACEOF
39946 /* confdefs.h.  */
39947 _ACEOF
39948 cat confdefs.h >>conftest.$ac_ext
39949 cat >>conftest.$ac_ext <<_ACEOF
39950 /* end confdefs.h.  */
39951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39953 #define $ac_func innocuous_$ac_func
39954
39955 /* System header to define __stub macros and hopefully few prototypes,
39956     which can conflict with char $ac_func (); below.
39957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39958     <limits.h> exists even on freestanding compilers.  */
39959
39960 #ifdef __STDC__
39961 # include <limits.h>
39962 #else
39963 # include <assert.h>
39964 #endif
39965
39966 #undef $ac_func
39967
39968 /* Override any gcc2 internal prototype to avoid an error.  */
39969 #ifdef __cplusplus
39970 extern "C"
39971 {
39972 #endif
39973 /* We use char because int might match the return type of a gcc2
39974    builtin and then its argument prototype would still apply.  */
39975 char $ac_func ();
39976 /* The GNU C library defines this for functions which it implements
39977     to always fail with ENOSYS.  Some functions are actually named
39978     something starting with __ and the normal name is an alias.  */
39979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39980 choke me
39981 #else
39982 char (*f) () = $ac_func;
39983 #endif
39984 #ifdef __cplusplus
39985 }
39986 #endif
39987
39988 int
39989 main ()
39990 {
39991 return f != $ac_func;
39992   ;
39993   return 0;
39994 }
39995 _ACEOF
39996 rm -f conftest.$ac_objext conftest$ac_exeext
39997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39998   (eval $ac_link) 2>conftest.er1
39999   ac_status=$?
40000   grep -v '^ *+' conftest.er1 >conftest.err
40001   rm -f conftest.er1
40002   cat conftest.err >&5
40003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004   (exit $ac_status); } &&
40005          { ac_try='test -z "$ac_c_werror_flag"
40006                          || test ! -s conftest.err'
40007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40008   (eval $ac_try) 2>&5
40009   ac_status=$?
40010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40011   (exit $ac_status); }; } &&
40012          { ac_try='test -s conftest$ac_exeext'
40013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40014   (eval $ac_try) 2>&5
40015   ac_status=$?
40016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40017   (exit $ac_status); }; }; then
40018   eval "$as_ac_var=yes"
40019 else
40020   echo "$as_me: failed program was:" >&5
40021 sed 's/^/| /' conftest.$ac_ext >&5
40022
40023 eval "$as_ac_var=no"
40024 fi
40025 rm -f conftest.err conftest.$ac_objext \
40026       conftest$ac_exeext conftest.$ac_ext
40027 fi
40028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40030 if test `eval echo '${'$as_ac_var'}'` = yes; then
40031   cat >>confdefs.h <<_ACEOF
40032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40033 _ACEOF
40034
40035 else
40036   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
40037 fi
40038 done
40039
40040
40041           if test x$ac_cv_func_copysignl = x"yes"; then
40042
40043 for ac_func in __signbitl
40044 do
40045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40046 echo "$as_me:$LINENO: checking for $ac_func" >&5
40047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40048 if eval "test \"\${$as_ac_var+set}\" = set"; then
40049   echo $ECHO_N "(cached) $ECHO_C" >&6
40050 else
40051   if test x$gcc_no_link = xyes; then
40052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40054    { (exit 1); exit 1; }; }
40055 fi
40056 cat >conftest.$ac_ext <<_ACEOF
40057 /* confdefs.h.  */
40058 _ACEOF
40059 cat confdefs.h >>conftest.$ac_ext
40060 cat >>conftest.$ac_ext <<_ACEOF
40061 /* end confdefs.h.  */
40062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40064 #define $ac_func innocuous_$ac_func
40065
40066 /* System header to define __stub macros and hopefully few prototypes,
40067     which can conflict with char $ac_func (); below.
40068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40069     <limits.h> exists even on freestanding compilers.  */
40070
40071 #ifdef __STDC__
40072 # include <limits.h>
40073 #else
40074 # include <assert.h>
40075 #endif
40076
40077 #undef $ac_func
40078
40079 /* Override any gcc2 internal prototype to avoid an error.  */
40080 #ifdef __cplusplus
40081 extern "C"
40082 {
40083 #endif
40084 /* We use char because int might match the return type of a gcc2
40085    builtin and then its argument prototype would still apply.  */
40086 char $ac_func ();
40087 /* The GNU C library defines this for functions which it implements
40088     to always fail with ENOSYS.  Some functions are actually named
40089     something starting with __ and the normal name is an alias.  */
40090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40091 choke me
40092 #else
40093 char (*f) () = $ac_func;
40094 #endif
40095 #ifdef __cplusplus
40096 }
40097 #endif
40098
40099 int
40100 main ()
40101 {
40102 return f != $ac_func;
40103   ;
40104   return 0;
40105 }
40106 _ACEOF
40107 rm -f conftest.$ac_objext conftest$ac_exeext
40108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40109   (eval $ac_link) 2>conftest.er1
40110   ac_status=$?
40111   grep -v '^ *+' conftest.er1 >conftest.err
40112   rm -f conftest.er1
40113   cat conftest.err >&5
40114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115   (exit $ac_status); } &&
40116          { ac_try='test -z "$ac_c_werror_flag"
40117                          || test ! -s conftest.err'
40118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119   (eval $ac_try) 2>&5
40120   ac_status=$?
40121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122   (exit $ac_status); }; } &&
40123          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40129   eval "$as_ac_var=yes"
40130 else
40131   echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40133
40134 eval "$as_ac_var=no"
40135 fi
40136 rm -f conftest.err conftest.$ac_objext \
40137       conftest$ac_exeext conftest.$ac_ext
40138 fi
40139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40141 if test `eval echo '${'$as_ac_var'}'` = yes; then
40142   cat >>confdefs.h <<_ACEOF
40143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40144 _ACEOF
40145
40146 else
40147   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
40148 fi
40149 done
40150
40151   fi
40152
40153   # Used in libmath/Makefile.am.
40154   if test -n "$LIBMATHOBJS"; then
40155     need_libmath=yes
40156   fi
40157
40158
40159
40160   ac_test_CXXFLAGS="${CXXFLAGS+set}"
40161   ac_save_CXXFLAGS="$CXXFLAGS"
40162   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40163
40164
40165   echo "$as_me:$LINENO: checking for strtold declaration" >&5
40166 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
40167   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40168     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
40169   echo $ECHO_N "(cached) $ECHO_C" >&6
40170 else
40171
40172
40173
40174       ac_ext=cc
40175 ac_cpp='$CXXCPP $CPPFLAGS'
40176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40179
40180       cat >conftest.$ac_ext <<_ACEOF
40181 /* confdefs.h.  */
40182 _ACEOF
40183 cat confdefs.h >>conftest.$ac_ext
40184 cat >>conftest.$ac_ext <<_ACEOF
40185 /* end confdefs.h.  */
40186 #include <stdlib.h>
40187 int
40188 main ()
40189 {
40190  strtold(0, 0);
40191   ;
40192   return 0;
40193 }
40194 _ACEOF
40195 rm -f conftest.$ac_objext
40196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40197   (eval $ac_compile) 2>conftest.er1
40198   ac_status=$?
40199   grep -v '^ *+' conftest.er1 >conftest.err
40200   rm -f conftest.er1
40201   cat conftest.err >&5
40202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203   (exit $ac_status); } &&
40204          { ac_try='test -z "$ac_cxx_werror_flag"
40205                          || test ! -s conftest.err'
40206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40207   (eval $ac_try) 2>&5
40208   ac_status=$?
40209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210   (exit $ac_status); }; } &&
40211          { ac_try='test -s conftest.$ac_objext'
40212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40213   (eval $ac_try) 2>&5
40214   ac_status=$?
40215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216   (exit $ac_status); }; }; then
40217   glibcxx_cv_func_strtold_use=yes
40218 else
40219   echo "$as_me: failed program was:" >&5
40220 sed 's/^/| /' conftest.$ac_ext >&5
40221
40222 glibcxx_cv_func_strtold_use=no
40223 fi
40224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40225       ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230
40231
40232 fi
40233
40234   fi
40235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
40236 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
40237   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40238
40239 for ac_func in strtold
40240 do
40241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40242 echo "$as_me:$LINENO: checking for $ac_func" >&5
40243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40244 if eval "test \"\${$as_ac_var+set}\" = set"; then
40245   echo $ECHO_N "(cached) $ECHO_C" >&6
40246 else
40247   if test x$gcc_no_link = xyes; then
40248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40250    { (exit 1); exit 1; }; }
40251 fi
40252 cat >conftest.$ac_ext <<_ACEOF
40253 /* confdefs.h.  */
40254 _ACEOF
40255 cat confdefs.h >>conftest.$ac_ext
40256 cat >>conftest.$ac_ext <<_ACEOF
40257 /* end confdefs.h.  */
40258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40260 #define $ac_func innocuous_$ac_func
40261
40262 /* System header to define __stub macros and hopefully few prototypes,
40263     which can conflict with char $ac_func (); below.
40264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40265     <limits.h> exists even on freestanding compilers.  */
40266
40267 #ifdef __STDC__
40268 # include <limits.h>
40269 #else
40270 # include <assert.h>
40271 #endif
40272
40273 #undef $ac_func
40274
40275 /* Override any gcc2 internal prototype to avoid an error.  */
40276 #ifdef __cplusplus
40277 extern "C"
40278 {
40279 #endif
40280 /* We use char because int might match the return type of a gcc2
40281    builtin and then its argument prototype would still apply.  */
40282 char $ac_func ();
40283 /* The GNU C library defines this for functions which it implements
40284     to always fail with ENOSYS.  Some functions are actually named
40285     something starting with __ and the normal name is an alias.  */
40286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40287 choke me
40288 #else
40289 char (*f) () = $ac_func;
40290 #endif
40291 #ifdef __cplusplus
40292 }
40293 #endif
40294
40295 int
40296 main ()
40297 {
40298 return f != $ac_func;
40299   ;
40300   return 0;
40301 }
40302 _ACEOF
40303 rm -f conftest.$ac_objext conftest$ac_exeext
40304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40305   (eval $ac_link) 2>conftest.er1
40306   ac_status=$?
40307   grep -v '^ *+' conftest.er1 >conftest.err
40308   rm -f conftest.er1
40309   cat conftest.err >&5
40310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40311   (exit $ac_status); } &&
40312          { ac_try='test -z "$ac_c_werror_flag"
40313                          || test ! -s conftest.err'
40314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315   (eval $ac_try) 2>&5
40316   ac_status=$?
40317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318   (exit $ac_status); }; } &&
40319          { ac_try='test -s conftest$ac_exeext'
40320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321   (eval $ac_try) 2>&5
40322   ac_status=$?
40323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324   (exit $ac_status); }; }; then
40325   eval "$as_ac_var=yes"
40326 else
40327   echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.$ac_ext >&5
40329
40330 eval "$as_ac_var=no"
40331 fi
40332 rm -f conftest.err conftest.$ac_objext \
40333       conftest$ac_exeext conftest.$ac_ext
40334 fi
40335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40337 if test `eval echo '${'$as_ac_var'}'` = yes; then
40338   cat >>confdefs.h <<_ACEOF
40339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40340 _ACEOF
40341
40342 fi
40343 done
40344
40345   fi
40346
40347
40348
40349
40350
40351   echo "$as_me:$LINENO: checking for strtof declaration" >&5
40352 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
40353   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40354     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
40355   echo $ECHO_N "(cached) $ECHO_C" >&6
40356 else
40357
40358
40359
40360       ac_ext=cc
40361 ac_cpp='$CXXCPP $CPPFLAGS'
40362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40365
40366       cat >conftest.$ac_ext <<_ACEOF
40367 /* confdefs.h.  */
40368 _ACEOF
40369 cat confdefs.h >>conftest.$ac_ext
40370 cat >>conftest.$ac_ext <<_ACEOF
40371 /* end confdefs.h.  */
40372 #include <stdlib.h>
40373 int
40374 main ()
40375 {
40376  strtof(0, 0);
40377   ;
40378   return 0;
40379 }
40380 _ACEOF
40381 rm -f conftest.$ac_objext
40382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40383   (eval $ac_compile) 2>conftest.er1
40384   ac_status=$?
40385   grep -v '^ *+' conftest.er1 >conftest.err
40386   rm -f conftest.er1
40387   cat conftest.err >&5
40388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389   (exit $ac_status); } &&
40390          { ac_try='test -z "$ac_cxx_werror_flag"
40391                          || test ! -s conftest.err'
40392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40393   (eval $ac_try) 2>&5
40394   ac_status=$?
40395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396   (exit $ac_status); }; } &&
40397          { ac_try='test -s conftest.$ac_objext'
40398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40399   (eval $ac_try) 2>&5
40400   ac_status=$?
40401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402   (exit $ac_status); }; }; then
40403   glibcxx_cv_func_strtof_use=yes
40404 else
40405   echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.$ac_ext >&5
40407
40408 glibcxx_cv_func_strtof_use=no
40409 fi
40410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40411       ac_ext=c
40412 ac_cpp='$CPP $CPPFLAGS'
40413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40416
40417
40418 fi
40419
40420   fi
40421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
40422 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
40423   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40424
40425 for ac_func in strtof
40426 do
40427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40428 echo "$as_me:$LINENO: checking for $ac_func" >&5
40429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40430 if eval "test \"\${$as_ac_var+set}\" = set"; then
40431   echo $ECHO_N "(cached) $ECHO_C" >&6
40432 else
40433   if test x$gcc_no_link = xyes; then
40434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40436    { (exit 1); exit 1; }; }
40437 fi
40438 cat >conftest.$ac_ext <<_ACEOF
40439 /* confdefs.h.  */
40440 _ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h.  */
40444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40446 #define $ac_func innocuous_$ac_func
40447
40448 /* System header to define __stub macros and hopefully few prototypes,
40449     which can conflict with char $ac_func (); below.
40450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40451     <limits.h> exists even on freestanding compilers.  */
40452
40453 #ifdef __STDC__
40454 # include <limits.h>
40455 #else
40456 # include <assert.h>
40457 #endif
40458
40459 #undef $ac_func
40460
40461 /* Override any gcc2 internal prototype to avoid an error.  */
40462 #ifdef __cplusplus
40463 extern "C"
40464 {
40465 #endif
40466 /* We use char because int might match the return type of a gcc2
40467    builtin and then its argument prototype would still apply.  */
40468 char $ac_func ();
40469 /* The GNU C library defines this for functions which it implements
40470     to always fail with ENOSYS.  Some functions are actually named
40471     something starting with __ and the normal name is an alias.  */
40472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40473 choke me
40474 #else
40475 char (*f) () = $ac_func;
40476 #endif
40477 #ifdef __cplusplus
40478 }
40479 #endif
40480
40481 int
40482 main ()
40483 {
40484 return f != $ac_func;
40485   ;
40486   return 0;
40487 }
40488 _ACEOF
40489 rm -f conftest.$ac_objext conftest$ac_exeext
40490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40491   (eval $ac_link) 2>conftest.er1
40492   ac_status=$?
40493   grep -v '^ *+' conftest.er1 >conftest.err
40494   rm -f conftest.er1
40495   cat conftest.err >&5
40496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497   (exit $ac_status); } &&
40498          { ac_try='test -z "$ac_c_werror_flag"
40499                          || test ! -s conftest.err'
40500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40501   (eval $ac_try) 2>&5
40502   ac_status=$?
40503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504   (exit $ac_status); }; } &&
40505          { ac_try='test -s conftest$ac_exeext'
40506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507   (eval $ac_try) 2>&5
40508   ac_status=$?
40509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510   (exit $ac_status); }; }; then
40511   eval "$as_ac_var=yes"
40512 else
40513   echo "$as_me: failed program was:" >&5
40514 sed 's/^/| /' conftest.$ac_ext >&5
40515
40516 eval "$as_ac_var=no"
40517 fi
40518 rm -f conftest.err conftest.$ac_objext \
40519       conftest$ac_exeext conftest.$ac_ext
40520 fi
40521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40523 if test `eval echo '${'$as_ac_var'}'` = yes; then
40524   cat >>confdefs.h <<_ACEOF
40525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40526 _ACEOF
40527
40528 fi
40529 done
40530
40531   fi
40532
40533
40534
40535
40536
40537   CXXFLAGS="$ac_save_CXXFLAGS"
40538
40539
40540   # For /dev/random and /dev/urandom for TR1.
40541
40542
40543   echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
40544 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40545   if test "${glibcxx_cv_random_tr1+set}" = set; then
40546   echo $ECHO_N "(cached) $ECHO_C" >&6
40547 else
40548
40549     if test -r /dev/random && test -r /dev/urandom; then
40550       glibcxx_cv_random_tr1=yes;
40551     else
40552       glibcxx_cv_random_tr1=no;
40553     fi
40554
40555 fi
40556
40557   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40558 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40559
40560   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40561
40562 cat >>confdefs.h <<\_ACEOF
40563 #define _GLIBCXX_USE_RANDOM_TR1 1
40564 _ACEOF
40565
40566   fi
40567
40568
40569
40570   # For TLS support.
40571
40572    # Check whether --enable-tls or --disable-tls was given.
40573 if test "${enable_tls+set}" = set; then
40574   enableval="$enable_tls"
40575
40576       case "$enableval" in
40577        yes|no) ;;
40578        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40579 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40580    { (exit 1); exit 1; }; } ;;
40581       esac
40582
40583 else
40584   enable_tls=yes
40585 fi;
40586
40587   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40588 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40589 if test "${gcc_cv_have_tls+set}" = set; then
40590   echo $ECHO_N "(cached) $ECHO_C" >&6
40591 else
40592
40593     if test "$cross_compiling" = yes; then
40594                 if test x$gcc_no_link = xyes; then
40595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40597    { (exit 1); exit 1; }; }
40598 fi
40599 cat >conftest.$ac_ext <<_ACEOF
40600 __thread int a; int b; int main() { return a = b; }
40601 _ACEOF
40602 rm -f conftest.$ac_objext conftest$ac_exeext
40603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40604   (eval $ac_link) 2>conftest.er1
40605   ac_status=$?
40606   grep -v '^ *+' conftest.er1 >conftest.err
40607   rm -f conftest.er1
40608   cat conftest.err >&5
40609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610   (exit $ac_status); } &&
40611          { ac_try='test -z "$ac_c_werror_flag"
40612                          || test ! -s conftest.err'
40613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614   (eval $ac_try) 2>&5
40615   ac_status=$?
40616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617   (exit $ac_status); }; } &&
40618          { ac_try='test -s conftest$ac_exeext'
40619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40620   (eval $ac_try) 2>&5
40621   ac_status=$?
40622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623   (exit $ac_status); }; }; then
40624   gcc_cv_have_tls=yes
40625 else
40626   echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 gcc_cv_have_tls=no
40630 fi
40631 rm -f conftest.err conftest.$ac_objext \
40632       conftest$ac_exeext conftest.$ac_ext
40633
40634
40635 else
40636   cat >conftest.$ac_ext <<_ACEOF
40637 __thread int a; int b; int main() { return a = b; }
40638 _ACEOF
40639 rm -f conftest$ac_exeext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40641   (eval $ac_link) 2>&5
40642   ac_status=$?
40643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646   (eval $ac_try) 2>&5
40647   ac_status=$?
40648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649   (exit $ac_status); }; }; then
40650                       chktls_save_LDFLAGS="$LDFLAGS"
40651       LDFLAGS="-static $LDFLAGS"
40652       if test x$gcc_no_link = xyes; then
40653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40655    { (exit 1); exit 1; }; }
40656 fi
40657 cat >conftest.$ac_ext <<_ACEOF
40658 int main() { return 0; }
40659 _ACEOF
40660 rm -f conftest.$ac_objext conftest$ac_exeext
40661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40662   (eval $ac_link) 2>conftest.er1
40663   ac_status=$?
40664   grep -v '^ *+' conftest.er1 >conftest.err
40665   rm -f conftest.er1
40666   cat conftest.err >&5
40667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668   (exit $ac_status); } &&
40669          { ac_try='test -z "$ac_c_werror_flag"
40670                          || test ! -s conftest.err'
40671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40672   (eval $ac_try) 2>&5
40673   ac_status=$?
40674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675   (exit $ac_status); }; } &&
40676          { ac_try='test -s conftest$ac_exeext'
40677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40678   (eval $ac_try) 2>&5
40679   ac_status=$?
40680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681   (exit $ac_status); }; }; then
40682   if test "$cross_compiling" = yes; then
40683   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40684 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40685 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40686 See \`config.log' for more details." >&5
40687 echo "$as_me: error: cannot run test program while cross compiling
40688 See \`config.log' for more details." >&2;}
40689    { (exit 1); exit 1; }; }; }
40690 else
40691   cat >conftest.$ac_ext <<_ACEOF
40692 __thread int a; int b; int main() { return a = b; }
40693 _ACEOF
40694 rm -f conftest$ac_exeext
40695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40696   (eval $ac_link) 2>&5
40697   ac_status=$?
40698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40699   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40701   (eval $ac_try) 2>&5
40702   ac_status=$?
40703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704   (exit $ac_status); }; }; then
40705   gcc_cv_have_tls=yes
40706 else
40707   echo "$as_me: program exited with status $ac_status" >&5
40708 echo "$as_me: failed program was:" >&5
40709 sed 's/^/| /' conftest.$ac_ext >&5
40710
40711 ( exit $ac_status )
40712 gcc_cv_have_tls=no
40713 fi
40714 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40715 fi
40716 else
40717   echo "$as_me: failed program was:" >&5
40718 sed 's/^/| /' conftest.$ac_ext >&5
40719
40720 gcc_cv_have_tls=yes
40721 fi
40722 rm -f conftest.err conftest.$ac_objext \
40723       conftest$ac_exeext conftest.$ac_ext
40724       LDFLAGS="$chktls_save_LDFLAGS"
40725       if test $gcc_cv_have_tls = yes; then
40726                                                 chktls_save_CFLAGS="$CFLAGS"
40727         thread_CFLAGS=failed
40728         for flag in '' '-pthread' '-lpthread'; do
40729           CFLAGS="$flag $chktls_save_CFLAGS"
40730           if test x$gcc_no_link = xyes; then
40731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40733    { (exit 1); exit 1; }; }
40734 fi
40735 cat >conftest.$ac_ext <<_ACEOF
40736 /* confdefs.h.  */
40737 _ACEOF
40738 cat confdefs.h >>conftest.$ac_ext
40739 cat >>conftest.$ac_ext <<_ACEOF
40740 /* end confdefs.h.  */
40741 #include <pthread.h>
40742                 void *g(void *d) { return NULL; }
40743 int
40744 main ()
40745 {
40746 pthread_t t; pthread_create(&t,NULL,g,NULL);
40747   ;
40748   return 0;
40749 }
40750 _ACEOF
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40753   (eval $ac_link) 2>conftest.er1
40754   ac_status=$?
40755   grep -v '^ *+' conftest.er1 >conftest.err
40756   rm -f conftest.er1
40757   cat conftest.err >&5
40758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759   (exit $ac_status); } &&
40760          { ac_try='test -z "$ac_c_werror_flag"
40761                          || test ! -s conftest.err'
40762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763   (eval $ac_try) 2>&5
40764   ac_status=$?
40765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766   (exit $ac_status); }; } &&
40767          { ac_try='test -s conftest$ac_exeext'
40768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40769   (eval $ac_try) 2>&5
40770   ac_status=$?
40771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772   (exit $ac_status); }; }; then
40773   thread_CFLAGS="$flag"
40774 else
40775   echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40777
40778 fi
40779 rm -f conftest.err conftest.$ac_objext \
40780       conftest$ac_exeext conftest.$ac_ext
40781           if test "X$thread_CFLAGS" != Xfailed; then
40782             break
40783           fi
40784         done
40785         CFLAGS="$chktls_save_CFLAGS"
40786         if test "X$thread_CFLAGS" != Xfailed; then
40787           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40788           if test "$cross_compiling" = yes; then
40789   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40790 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40791 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40792 See \`config.log' for more details." >&5
40793 echo "$as_me: error: cannot run test program while cross compiling
40794 See \`config.log' for more details." >&2;}
40795    { (exit 1); exit 1; }; }; }
40796 else
40797   cat >conftest.$ac_ext <<_ACEOF
40798 /* confdefs.h.  */
40799 _ACEOF
40800 cat confdefs.h >>conftest.$ac_ext
40801 cat >>conftest.$ac_ext <<_ACEOF
40802 /* end confdefs.h.  */
40803 #include <pthread.h>
40804                 __thread int a;
40805                 static int *a_in_other_thread;
40806                 static void *
40807                 thread_func (void *arg)
40808                 {
40809                   a_in_other_thread = &a;
40810                   return (void *)0;
40811                 }
40812 int
40813 main ()
40814 {
40815 pthread_t thread;
40816                 void *thread_retval;
40817                 int *a_in_main_thread;
40818                 if (pthread_create (&thread, (pthread_attr_t *)0,
40819                                     thread_func, (void *)0))
40820                   return 0;
40821                 a_in_main_thread = &a;
40822                 if (pthread_join (thread, &thread_retval))
40823                   return 0;
40824                 return (a_in_other_thread == a_in_main_thread);
40825   ;
40826   return 0;
40827 }
40828 _ACEOF
40829 rm -f conftest$ac_exeext
40830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40831   (eval $ac_link) 2>&5
40832   ac_status=$?
40833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40836   (eval $ac_try) 2>&5
40837   ac_status=$?
40838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839   (exit $ac_status); }; }; then
40840   gcc_cv_have_tls=yes
40841 else
40842   echo "$as_me: program exited with status $ac_status" >&5
40843 echo "$as_me: failed program was:" >&5
40844 sed 's/^/| /' conftest.$ac_ext >&5
40845
40846 ( exit $ac_status )
40847 gcc_cv_have_tls=no
40848 fi
40849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40850 fi
40851           CFLAGS="$chktls_save_CFLAGS"
40852         fi
40853       fi
40854 else
40855   echo "$as_me: program exited with status $ac_status" >&5
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40858
40859 ( exit $ac_status )
40860 gcc_cv_have_tls=no
40861 fi
40862 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40863 fi
40864 fi
40865 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40866 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40867   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40868
40869 cat >>confdefs.h <<\_ACEOF
40870 #define HAVE_TLS 1
40871 _ACEOF
40872
40873   fi
40874
40875   # For _Unwind_GetIPInfo.
40876
40877
40878
40879   ac_ext=cc
40880 ac_cpp='$CXXCPP $CPPFLAGS'
40881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40884
40885   ac_save_CXXFLAGS="$CXXFLAGS"
40886   CXXFLAGS="$CXXFLAGS -fno-exceptions"
40887   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40888 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40889   if test "${gcc_cv_getipinfo+set}" = set; then
40890   echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40892
40893   if test x$gcc_no_link = xyes; then
40894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40896    { (exit 1); exit 1; }; }
40897 fi
40898 cat >conftest.$ac_ext <<_ACEOF
40899 /* confdefs.h.  */
40900 _ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h.  */
40904 extern "C" { extern void _Unwind_GetIPInfo(); }
40905 int
40906 main ()
40907 {
40908 _Unwind_GetIPInfo();
40909   ;
40910   return 0;
40911 }
40912 _ACEOF
40913 rm -f conftest.$ac_objext conftest$ac_exeext
40914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40915   (eval $ac_link) 2>conftest.er1
40916   ac_status=$?
40917   grep -v '^ *+' conftest.er1 >conftest.err
40918   rm -f conftest.er1
40919   cat conftest.err >&5
40920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40921   (exit $ac_status); } &&
40922          { ac_try='test -z "$ac_cxx_werror_flag"
40923                          || test ! -s conftest.err'
40924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40925   (eval $ac_try) 2>&5
40926   ac_status=$?
40927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40928   (exit $ac_status); }; } &&
40929          { ac_try='test -s conftest$ac_exeext'
40930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40931   (eval $ac_try) 2>&5
40932   ac_status=$?
40933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934   (exit $ac_status); }; }; then
40935   gcc_cv_getipinfo=yes
40936 else
40937   echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.$ac_ext >&5
40939
40940 gcc_cv_getipinfo=no
40941 fi
40942 rm -f conftest.err conftest.$ac_objext \
40943       conftest$ac_exeext conftest.$ac_ext
40944
40945 fi
40946
40947   if test $gcc_cv_getipinfo = yes; then
40948
40949 cat >>confdefs.h <<\_ACEOF
40950 #define HAVE_GETIPINFO 1
40951 _ACEOF
40952
40953   fi
40954   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40955 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40956   CXXFLAGS="$ac_save_CXXFLAGS"
40957   ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962
40963
40964
40965   # For iconv support.
40966
40967       if test "X$prefix" = "XNONE"; then
40968     acl_final_prefix="$ac_default_prefix"
40969   else
40970     acl_final_prefix="$prefix"
40971   fi
40972   if test "X$exec_prefix" = "XNONE"; then
40973     acl_final_exec_prefix='${prefix}'
40974   else
40975     acl_final_exec_prefix="$exec_prefix"
40976   fi
40977   acl_save_prefix="$prefix"
40978   prefix="$acl_final_prefix"
40979   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40980   prefix="$acl_save_prefix"
40981
40982
40983 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40984 if test "${with_gnu_ld+set}" = set; then
40985   withval="$with_gnu_ld"
40986   test "$withval" = no || with_gnu_ld=yes
40987 else
40988   with_gnu_ld=no
40989 fi;
40990 # Prepare PATH_SEPARATOR.
40991 # The user is always right.
40992 if test "${PATH_SEPARATOR+set}" != set; then
40993   echo "#! /bin/sh" >conf$$.sh
40994   echo  "exit 0"   >>conf$$.sh
40995   chmod +x conf$$.sh
40996   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40997     PATH_SEPARATOR=';'
40998   else
40999     PATH_SEPARATOR=:
41000   fi
41001   rm -f conf$$.sh
41002 fi
41003 ac_prog=ld
41004 if test "$GCC" = yes; then
41005   # Check if gcc -print-prog-name=ld gives a path.
41006   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41007 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41008   case $host in
41009   *-*-mingw*)
41010     # gcc leaves a trailing carriage return which upsets mingw
41011     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41012   *)
41013     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41014   esac
41015   case $ac_prog in
41016     # Accept absolute paths.
41017     [\\/]* | [A-Za-z]:[\\/]*)
41018       re_direlt='/[^/][^/]*/\.\./'
41019       # Canonicalize the path of ld
41020       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41021       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41022         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41023       done
41024       test -z "$LD" && LD="$ac_prog"
41025       ;;
41026   "")
41027     # If it fails, then pretend we aren't using GCC.
41028     ac_prog=ld
41029     ;;
41030   *)
41031     # If it is relative, then search for the first ld in PATH.
41032     with_gnu_ld=unknown
41033     ;;
41034   esac
41035 elif test "$with_gnu_ld" = yes; then
41036   echo "$as_me:$LINENO: checking for GNU ld" >&5
41037 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41038 else
41039   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41040 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41041 fi
41042 if test "${acl_cv_path_LD+set}" = set; then
41043   echo $ECHO_N "(cached) $ECHO_C" >&6
41044 else
41045   if test -z "$LD"; then
41046   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41047   for ac_dir in $PATH; do
41048     test -z "$ac_dir" && ac_dir=.
41049     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41050       acl_cv_path_LD="$ac_dir/$ac_prog"
41051       # Check to see if the program is GNU ld.  I'd rather use --version,
41052       # but apparently some GNU ld's only accept -v.
41053       # Break only if it was the GNU/non-GNU ld that we prefer.
41054       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41055         test "$with_gnu_ld" != no && break
41056       else
41057         test "$with_gnu_ld" != yes && break
41058       fi
41059     fi
41060   done
41061   IFS="$ac_save_ifs"
41062 else
41063   acl_cv_path_LD="$LD" # Let the user override the test with a path.
41064 fi
41065 fi
41066
41067 LD="$acl_cv_path_LD"
41068 if test -n "$LD"; then
41069   echo "$as_me:$LINENO: result: $LD" >&5
41070 echo "${ECHO_T}$LD" >&6
41071 else
41072   echo "$as_me:$LINENO: result: no" >&5
41073 echo "${ECHO_T}no" >&6
41074 fi
41075 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41076 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41077    { (exit 1); exit 1; }; }
41078 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41079 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41080 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41081   echo $ECHO_N "(cached) $ECHO_C" >&6
41082 else
41083   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41084 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41085   acl_cv_prog_gnu_ld=yes
41086 else
41087   acl_cv_prog_gnu_ld=no
41088 fi
41089 fi
41090 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41091 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41092 with_gnu_ld=$acl_cv_prog_gnu_ld
41093
41094
41095
41096                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41097 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41098 if test "${acl_cv_rpath+set}" = set; then
41099   echo $ECHO_N "(cached) $ECHO_C" >&6
41100 else
41101
41102     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41103     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41104     . ./conftest.sh
41105     rm -f ./conftest.sh
41106     acl_cv_rpath=done
41107
41108 fi
41109 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41110 echo "${ECHO_T}$acl_cv_rpath" >&6
41111   wl="$acl_cv_wl"
41112   libext="$acl_cv_libext"
41113   shlibext="$acl_cv_shlibext"
41114   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41115   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41116   hardcode_direct="$acl_cv_hardcode_direct"
41117   hardcode_minus_L="$acl_cv_hardcode_minus_L"
41118     # Check whether --enable-rpath or --disable-rpath was given.
41119 if test "${enable_rpath+set}" = set; then
41120   enableval="$enable_rpath"
41121   :
41122 else
41123   enable_rpath=yes
41124 fi;
41125
41126
41127
41128
41129
41130
41131
41132     use_additional=yes
41133
41134   acl_save_prefix="$prefix"
41135   prefix="$acl_final_prefix"
41136   acl_save_exec_prefix="$exec_prefix"
41137   exec_prefix="$acl_final_exec_prefix"
41138
41139     eval additional_includedir=\"$includedir\"
41140     eval additional_libdir=\"$libdir\"
41141
41142   exec_prefix="$acl_save_exec_prefix"
41143   prefix="$acl_save_prefix"
41144
41145
41146 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41147 if test "${with_libiconv_prefix+set}" = set; then
41148   withval="$with_libiconv_prefix"
41149
41150     if test "X$withval" = "Xno"; then
41151       use_additional=no
41152     else
41153       if test "X$withval" = "X"; then
41154
41155   acl_save_prefix="$prefix"
41156   prefix="$acl_final_prefix"
41157   acl_save_exec_prefix="$exec_prefix"
41158   exec_prefix="$acl_final_exec_prefix"
41159
41160           eval additional_includedir=\"$includedir\"
41161           eval additional_libdir=\"$libdir\"
41162
41163   exec_prefix="$acl_save_exec_prefix"
41164   prefix="$acl_save_prefix"
41165
41166       else
41167         additional_includedir="$withval/include"
41168         additional_libdir="$withval/lib"
41169       fi
41170     fi
41171
41172 fi;
41173       LIBICONV=
41174   LTLIBICONV=
41175   INCICONV=
41176   rpathdirs=
41177   ltrpathdirs=
41178   names_already_handled=
41179   names_next_round='iconv '
41180   while test -n "$names_next_round"; do
41181     names_this_round="$names_next_round"
41182     names_next_round=
41183     for name in $names_this_round; do
41184       already_handled=
41185       for n in $names_already_handled; do
41186         if test "$n" = "$name"; then
41187           already_handled=yes
41188           break
41189         fi
41190       done
41191       if test -z "$already_handled"; then
41192         names_already_handled="$names_already_handled $name"
41193                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41194         eval value=\"\$HAVE_LIB$uppername\"
41195         if test -n "$value"; then
41196           if test "$value" = yes; then
41197             eval value=\"\$LIB$uppername\"
41198             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41199             eval value=\"\$LTLIB$uppername\"
41200             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41201           else
41202                                     :
41203           fi
41204         else
41205                               found_dir=
41206           found_la=
41207           found_so=
41208           found_a=
41209           if test $use_additional = yes; then
41210             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41211               found_dir="$additional_libdir"
41212               found_so="$additional_libdir/lib$name.$shlibext"
41213               if test -f "$additional_libdir/lib$name.la"; then
41214                 found_la="$additional_libdir/lib$name.la"
41215               fi
41216             else
41217               if test -f "$additional_libdir/lib$name.$libext"; then
41218                 found_dir="$additional_libdir"
41219                 found_a="$additional_libdir/lib$name.$libext"
41220                 if test -f "$additional_libdir/lib$name.la"; then
41221                   found_la="$additional_libdir/lib$name.la"
41222                 fi
41223               fi
41224             fi
41225           fi
41226           if test "X$found_dir" = "X"; then
41227             for x in $LDFLAGS $LTLIBICONV; do
41228
41229   acl_save_prefix="$prefix"
41230   prefix="$acl_final_prefix"
41231   acl_save_exec_prefix="$exec_prefix"
41232   exec_prefix="$acl_final_exec_prefix"
41233   eval x=\"$x\"
41234   exec_prefix="$acl_save_exec_prefix"
41235   prefix="$acl_save_prefix"
41236
41237               case "$x" in
41238                 -L*)
41239                   dir=`echo "X$x" | sed -e 's/^X-L//'`
41240                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41241                     found_dir="$dir"
41242                     found_so="$dir/lib$name.$shlibext"
41243                     if test -f "$dir/lib$name.la"; then
41244                       found_la="$dir/lib$name.la"
41245                     fi
41246                   else
41247                     if test -f "$dir/lib$name.$libext"; then
41248                       found_dir="$dir"
41249                       found_a="$dir/lib$name.$libext"
41250                       if test -f "$dir/lib$name.la"; then
41251                         found_la="$dir/lib$name.la"
41252                       fi
41253                     fi
41254                   fi
41255                   ;;
41256               esac
41257               if test "X$found_dir" != "X"; then
41258                 break
41259               fi
41260             done
41261           fi
41262           if test "X$found_dir" != "X"; then
41263                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41264             if test "X$found_so" != "X"; then
41265                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41266                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41267               else
41268                                                                                 haveit=
41269                 for x in $ltrpathdirs; do
41270                   if test "X$x" = "X$found_dir"; then
41271                     haveit=yes
41272                     break
41273                   fi
41274                 done
41275                 if test -z "$haveit"; then
41276                   ltrpathdirs="$ltrpathdirs $found_dir"
41277                 fi
41278                                 if test "$hardcode_direct" = yes; then
41279                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41280                 else
41281                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41282                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41283                                                             haveit=
41284                     for x in $rpathdirs; do
41285                       if test "X$x" = "X$found_dir"; then
41286                         haveit=yes
41287                         break
41288                       fi
41289                     done
41290                     if test -z "$haveit"; then
41291                       rpathdirs="$rpathdirs $found_dir"
41292                     fi
41293                   else
41294                                                                                 haveit=
41295                     for x in $LDFLAGS $LIBICONV; do
41296
41297   acl_save_prefix="$prefix"
41298   prefix="$acl_final_prefix"
41299   acl_save_exec_prefix="$exec_prefix"
41300   exec_prefix="$acl_final_exec_prefix"
41301   eval x=\"$x\"
41302   exec_prefix="$acl_save_exec_prefix"
41303   prefix="$acl_save_prefix"
41304
41305                       if test "X$x" = "X-L$found_dir"; then
41306                         haveit=yes
41307                         break
41308                       fi
41309                     done
41310                     if test -z "$haveit"; then
41311                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41312                     fi
41313                     if test "$hardcode_minus_L" != no; then
41314                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41315                     else
41316                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41317                     fi
41318                   fi
41319                 fi
41320               fi
41321             else
41322               if test "X$found_a" != "X"; then
41323                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41324               else
41325                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41326               fi
41327             fi
41328                         additional_includedir=
41329             case "$found_dir" in
41330               */lib | */lib/)
41331                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41332                 additional_includedir="$basedir/include"
41333                 ;;
41334             esac
41335             if test "X$additional_includedir" != "X"; then
41336                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
41337                 haveit=
41338                 if test "X$additional_includedir" = "X/usr/local/include"; then
41339                   if test -n "$GCC"; then
41340                     case $host_os in
41341                       linux*) haveit=yes;;
41342                     esac
41343                   fi
41344                 fi
41345                 if test -z "$haveit"; then
41346                   for x in $CPPFLAGS $INCICONV; do
41347
41348   acl_save_prefix="$prefix"
41349   prefix="$acl_final_prefix"
41350   acl_save_exec_prefix="$exec_prefix"
41351   exec_prefix="$acl_final_exec_prefix"
41352   eval x=\"$x\"
41353   exec_prefix="$acl_save_exec_prefix"
41354   prefix="$acl_save_prefix"
41355
41356                     if test "X$x" = "X-I$additional_includedir"; then
41357                       haveit=yes
41358                       break
41359                     fi
41360                   done
41361                   if test -z "$haveit"; then
41362                     if test -d "$additional_includedir"; then
41363                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41364                     fi
41365                   fi
41366                 fi
41367               fi
41368             fi
41369                         if test -n "$found_la"; then
41370                                                         save_libdir="$libdir"
41371               case "$found_la" in
41372                 */* | *\\*) . "$found_la" ;;
41373                 *) . "./$found_la" ;;
41374               esac
41375               libdir="$save_libdir"
41376                             for dep in $dependency_libs; do
41377                 case "$dep" in
41378                   -L*)
41379                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41380                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
41381                       haveit=
41382                       if test "X$additional_libdir" = "X/usr/local/lib"; then
41383                         if test -n "$GCC"; then
41384                           case $host_os in
41385                             linux*) haveit=yes;;
41386                           esac
41387                         fi
41388                       fi
41389                       if test -z "$haveit"; then
41390                         haveit=
41391                         for x in $LDFLAGS $LIBICONV; do
41392
41393   acl_save_prefix="$prefix"
41394   prefix="$acl_final_prefix"
41395   acl_save_exec_prefix="$exec_prefix"
41396   exec_prefix="$acl_final_exec_prefix"
41397   eval x=\"$x\"
41398   exec_prefix="$acl_save_exec_prefix"
41399   prefix="$acl_save_prefix"
41400
41401                           if test "X$x" = "X-L$additional_libdir"; then
41402                             haveit=yes
41403                             break
41404                           fi
41405                         done
41406                         if test -z "$haveit"; then
41407                           if test -d "$additional_libdir"; then
41408                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41409                           fi
41410                         fi
41411                         haveit=
41412                         for x in $LDFLAGS $LTLIBICONV; do
41413
41414   acl_save_prefix="$prefix"
41415   prefix="$acl_final_prefix"
41416   acl_save_exec_prefix="$exec_prefix"
41417   exec_prefix="$acl_final_exec_prefix"
41418   eval x=\"$x\"
41419   exec_prefix="$acl_save_exec_prefix"
41420   prefix="$acl_save_prefix"
41421
41422                           if test "X$x" = "X-L$additional_libdir"; then
41423                             haveit=yes
41424                             break
41425                           fi
41426                         done
41427                         if test -z "$haveit"; then
41428                           if test -d "$additional_libdir"; then
41429                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41430                           fi
41431                         fi
41432                       fi
41433                     fi
41434                     ;;
41435                   -R*)
41436                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
41437                     if test "$enable_rpath" != no; then
41438                                                                   haveit=
41439                       for x in $rpathdirs; do
41440                         if test "X$x" = "X$dir"; then
41441                           haveit=yes
41442                           break
41443                         fi
41444                       done
41445                       if test -z "$haveit"; then
41446                         rpathdirs="$rpathdirs $dir"
41447                       fi
41448                                                                   haveit=
41449                       for x in $ltrpathdirs; do
41450                         if test "X$x" = "X$dir"; then
41451                           haveit=yes
41452                           break
41453                         fi
41454                       done
41455                       if test -z "$haveit"; then
41456                         ltrpathdirs="$ltrpathdirs $dir"
41457                       fi
41458                     fi
41459                     ;;
41460                   -l*)
41461                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41462                     ;;
41463                   *.la)
41464                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41465                     ;;
41466                   *)
41467                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41468                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41469                     ;;
41470                 esac
41471               done
41472             fi
41473           else
41474                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41475             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41476           fi
41477         fi
41478       fi
41479     done
41480   done
41481   if test "X$rpathdirs" != "X"; then
41482     if test -n "$hardcode_libdir_separator"; then
41483                         alldirs=
41484       for found_dir in $rpathdirs; do
41485         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41486       done
41487             acl_save_libdir="$libdir"
41488       libdir="$alldirs"
41489       eval flag=\"$hardcode_libdir_flag_spec\"
41490       libdir="$acl_save_libdir"
41491       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41492     else
41493             for found_dir in $rpathdirs; do
41494         acl_save_libdir="$libdir"
41495         libdir="$found_dir"
41496         eval flag=\"$hardcode_libdir_flag_spec\"
41497         libdir="$acl_save_libdir"
41498         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41499       done
41500     fi
41501   fi
41502   if test "X$ltrpathdirs" != "X"; then
41503             for found_dir in $ltrpathdirs; do
41504       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41505     done
41506   fi
41507
41508
41509
41510
41511
41512
41513
41514           am_save_CPPFLAGS="$CPPFLAGS"
41515
41516   for element in $INCICONV; do
41517     haveit=
41518     for x in $CPPFLAGS; do
41519
41520   acl_save_prefix="$prefix"
41521   prefix="$acl_final_prefix"
41522   acl_save_exec_prefix="$exec_prefix"
41523   exec_prefix="$acl_final_exec_prefix"
41524   eval x=\"$x\"
41525   exec_prefix="$acl_save_exec_prefix"
41526   prefix="$acl_save_prefix"
41527
41528       if test "X$x" = "X$element"; then
41529         haveit=yes
41530         break
41531       fi
41532     done
41533     if test -z "$haveit"; then
41534       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41535     fi
41536   done
41537
41538
41539   echo "$as_me:$LINENO: checking for iconv" >&5
41540 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41541 if test "${am_cv_func_iconv+set}" = set; then
41542   echo $ECHO_N "(cached) $ECHO_C" >&6
41543 else
41544
41545     am_cv_func_iconv="no, consider installing GNU libiconv"
41546     am_cv_lib_iconv=no
41547     if test x$gcc_no_link = xyes; then
41548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41550    { (exit 1); exit 1; }; }
41551 fi
41552 cat >conftest.$ac_ext <<_ACEOF
41553 /* confdefs.h.  */
41554 _ACEOF
41555 cat confdefs.h >>conftest.$ac_ext
41556 cat >>conftest.$ac_ext <<_ACEOF
41557 /* end confdefs.h.  */
41558 #include <stdlib.h>
41559 #include <iconv.h>
41560 int
41561 main ()
41562 {
41563 iconv_t cd = iconv_open("","");
41564        iconv(cd,NULL,NULL,NULL,NULL);
41565        iconv_close(cd);
41566   ;
41567   return 0;
41568 }
41569 _ACEOF
41570 rm -f conftest.$ac_objext conftest$ac_exeext
41571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41572   (eval $ac_link) 2>conftest.er1
41573   ac_status=$?
41574   grep -v '^ *+' conftest.er1 >conftest.err
41575   rm -f conftest.er1
41576   cat conftest.err >&5
41577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578   (exit $ac_status); } &&
41579          { ac_try='test -z "$ac_c_werror_flag"
41580                          || test ! -s conftest.err'
41581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582   (eval $ac_try) 2>&5
41583   ac_status=$?
41584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585   (exit $ac_status); }; } &&
41586          { ac_try='test -s conftest$ac_exeext'
41587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588   (eval $ac_try) 2>&5
41589   ac_status=$?
41590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591   (exit $ac_status); }; }; then
41592   am_cv_func_iconv=yes
41593 else
41594   echo "$as_me: failed program was:" >&5
41595 sed 's/^/| /' conftest.$ac_ext >&5
41596
41597 fi
41598 rm -f conftest.err conftest.$ac_objext \
41599       conftest$ac_exeext conftest.$ac_ext
41600     if test "$am_cv_func_iconv" != yes; then
41601       am_save_LIBS="$LIBS"
41602       LIBS="$LIBS $LIBICONV"
41603       if test x$gcc_no_link = xyes; then
41604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41606    { (exit 1); exit 1; }; }
41607 fi
41608 cat >conftest.$ac_ext <<_ACEOF
41609 /* confdefs.h.  */
41610 _ACEOF
41611 cat confdefs.h >>conftest.$ac_ext
41612 cat >>conftest.$ac_ext <<_ACEOF
41613 /* end confdefs.h.  */
41614 #include <stdlib.h>
41615 #include <iconv.h>
41616 int
41617 main ()
41618 {
41619 iconv_t cd = iconv_open("","");
41620          iconv(cd,NULL,NULL,NULL,NULL);
41621          iconv_close(cd);
41622   ;
41623   return 0;
41624 }
41625 _ACEOF
41626 rm -f conftest.$ac_objext conftest$ac_exeext
41627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41628   (eval $ac_link) 2>conftest.er1
41629   ac_status=$?
41630   grep -v '^ *+' conftest.er1 >conftest.err
41631   rm -f conftest.er1
41632   cat conftest.err >&5
41633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41634   (exit $ac_status); } &&
41635          { ac_try='test -z "$ac_c_werror_flag"
41636                          || test ! -s conftest.err'
41637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41638   (eval $ac_try) 2>&5
41639   ac_status=$?
41640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641   (exit $ac_status); }; } &&
41642          { ac_try='test -s conftest$ac_exeext'
41643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41644   (eval $ac_try) 2>&5
41645   ac_status=$?
41646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647   (exit $ac_status); }; }; then
41648   am_cv_lib_iconv=yes
41649         am_cv_func_iconv=yes
41650 else
41651   echo "$as_me: failed program was:" >&5
41652 sed 's/^/| /' conftest.$ac_ext >&5
41653
41654 fi
41655 rm -f conftest.err conftest.$ac_objext \
41656       conftest$ac_exeext conftest.$ac_ext
41657       LIBS="$am_save_LIBS"
41658     fi
41659
41660 fi
41661 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41662 echo "${ECHO_T}$am_cv_func_iconv" >&6
41663   if test "$am_cv_func_iconv" = yes; then
41664
41665 cat >>confdefs.h <<\_ACEOF
41666 #define HAVE_ICONV 1
41667 _ACEOF
41668
41669   fi
41670   if test "$am_cv_lib_iconv" = yes; then
41671     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41672 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41673     echo "$as_me:$LINENO: result: $LIBICONV" >&5
41674 echo "${ECHO_T}$LIBICONV" >&6
41675   else
41676             CPPFLAGS="$am_save_CPPFLAGS"
41677     LIBICONV=
41678     LTLIBICONV=
41679   fi
41680
41681
41682
41683   if test "$am_cv_func_iconv" = yes; then
41684     echo "$as_me:$LINENO: checking for iconv declaration" >&5
41685 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41686     if test "${am_cv_proto_iconv+set}" = set; then
41687   echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689
41690       cat >conftest.$ac_ext <<_ACEOF
41691 /* confdefs.h.  */
41692 _ACEOF
41693 cat confdefs.h >>conftest.$ac_ext
41694 cat >>conftest.$ac_ext <<_ACEOF
41695 /* end confdefs.h.  */
41696
41697 #include <stdlib.h>
41698 #include <iconv.h>
41699 extern
41700 #ifdef __cplusplus
41701 "C"
41702 #endif
41703 #if defined(__STDC__) || defined(__cplusplus)
41704 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41705 #else
41706 size_t iconv();
41707 #endif
41708
41709 int
41710 main ()
41711 {
41712
41713   ;
41714   return 0;
41715 }
41716 _ACEOF
41717 rm -f conftest.$ac_objext
41718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41719   (eval $ac_compile) 2>conftest.er1
41720   ac_status=$?
41721   grep -v '^ *+' conftest.er1 >conftest.err
41722   rm -f conftest.er1
41723   cat conftest.err >&5
41724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41725   (exit $ac_status); } &&
41726          { ac_try='test -z "$ac_c_werror_flag"
41727                          || test ! -s conftest.err'
41728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729   (eval $ac_try) 2>&5
41730   ac_status=$?
41731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732   (exit $ac_status); }; } &&
41733          { ac_try='test -s conftest.$ac_objext'
41734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41735   (eval $ac_try) 2>&5
41736   ac_status=$?
41737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41738   (exit $ac_status); }; }; then
41739   am_cv_proto_iconv_arg1=""
41740 else
41741   echo "$as_me: failed program was:" >&5
41742 sed 's/^/| /' conftest.$ac_ext >&5
41743
41744 am_cv_proto_iconv_arg1="const"
41745 fi
41746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41747       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);"
41748 fi
41749
41750     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41751     echo "$as_me:$LINENO: result: ${ac_t:-
41752          }$am_cv_proto_iconv" >&5
41753 echo "${ECHO_T}${ac_t:-
41754          }$am_cv_proto_iconv" >&6
41755
41756 cat >>confdefs.h <<_ACEOF
41757 #define ICONV_CONST $am_cv_proto_iconv_arg1
41758 _ACEOF
41759
41760   fi
41761
41762
41763 else
41764
41765   # This lets us hard-code the functionality we know we'll have in the cross
41766   # target environment.  "Let" is a sugar-coated word placed on an especially
41767   # dull and tedious hack, actually.
41768   #
41769   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41770   # that involve linking, can't be used:
41771   #    "cannot open sim-crt0.o"
41772   #    "cannot open crt0.o"
41773   # etc.  All this is because there currently exists no unified, consistent
41774   # way for top level CC information to be passed down to target directories:
41775   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41776   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41777   # crosses can be removed.
41778
41779   # If Canadian cross, then don't pick up tools from the build directory.
41780   # Used only in GLIBCXX_EXPORT_INCLUDES.
41781   if test -n "$with_cross_host" &&
41782      test x"$build_alias" != x"$with_cross_host" &&
41783      test x"$build" != x"$target";
41784   then
41785     CANADIAN=yes
41786   else
41787     CANADIAN=no
41788   fi
41789
41790   # Construct crosses by hand, eliminating bits that need ld...
41791   # GLIBCXX_CHECK_MATH_SUPPORT
41792
41793   # First, test for "known" system libraries.  We may be using newlib even
41794   # on a hosted environment.
41795   if test "x${with_newlib}" = "xyes"; then
41796     os_include_dir="os/newlib"
41797     cat >>confdefs.h <<\_ACEOF
41798 #define HAVE_HYPOT 1
41799 _ACEOF
41800
41801
41802     # GLIBCXX_CHECK_STDLIB_SUPPORT
41803     cat >>confdefs.h <<\_ACEOF
41804 #define HAVE_STRTOF 1
41805 _ACEOF
41806
41807
41808     cat >>confdefs.h <<\_ACEOF
41809 #define HAVE_ACOSF 1
41810 _ACEOF
41811
41812     cat >>confdefs.h <<\_ACEOF
41813 #define HAVE_ASINF 1
41814 _ACEOF
41815
41816     cat >>confdefs.h <<\_ACEOF
41817 #define HAVE_ATAN2F 1
41818 _ACEOF
41819
41820     cat >>confdefs.h <<\_ACEOF
41821 #define HAVE_ATANF 1
41822 _ACEOF
41823
41824     cat >>confdefs.h <<\_ACEOF
41825 #define HAVE_CEILF 1
41826 _ACEOF
41827
41828     cat >>confdefs.h <<\_ACEOF
41829 #define HAVE_COPYSIGN 1
41830 _ACEOF
41831
41832     cat >>confdefs.h <<\_ACEOF
41833 #define HAVE_COPYSIGNF 1
41834 _ACEOF
41835
41836     cat >>confdefs.h <<\_ACEOF
41837 #define HAVE_COSF 1
41838 _ACEOF
41839
41840     cat >>confdefs.h <<\_ACEOF
41841 #define HAVE_COSHF 1
41842 _ACEOF
41843
41844     cat >>confdefs.h <<\_ACEOF
41845 #define HAVE_EXPF 1
41846 _ACEOF
41847
41848     cat >>confdefs.h <<\_ACEOF
41849 #define HAVE_FABSF 1
41850 _ACEOF
41851
41852     cat >>confdefs.h <<\_ACEOF
41853 #define HAVE_FLOORF 1
41854 _ACEOF
41855
41856     cat >>confdefs.h <<\_ACEOF
41857 #define HAVE_FMODF 1
41858 _ACEOF
41859
41860     cat >>confdefs.h <<\_ACEOF
41861 #define HAVE_FREXPF 1
41862 _ACEOF
41863
41864     cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_LDEXPF 1
41866 _ACEOF
41867
41868     cat >>confdefs.h <<\_ACEOF
41869 #define HAVE_LOG10F 1
41870 _ACEOF
41871
41872     cat >>confdefs.h <<\_ACEOF
41873 #define HAVE_LOGF 1
41874 _ACEOF
41875
41876     cat >>confdefs.h <<\_ACEOF
41877 #define HAVE_MODFF 1
41878 _ACEOF
41879
41880     cat >>confdefs.h <<\_ACEOF
41881 #define HAVE_POWF 1
41882 _ACEOF
41883
41884     cat >>confdefs.h <<\_ACEOF
41885 #define HAVE_SINF 1
41886 _ACEOF
41887
41888     cat >>confdefs.h <<\_ACEOF
41889 #define HAVE_SINHF 1
41890 _ACEOF
41891
41892     cat >>confdefs.h <<\_ACEOF
41893 #define HAVE_SQRTF 1
41894 _ACEOF
41895
41896     cat >>confdefs.h <<\_ACEOF
41897 #define HAVE_TANF 1
41898 _ACEOF
41899
41900     cat >>confdefs.h <<\_ACEOF
41901 #define HAVE_TANHF 1
41902 _ACEOF
41903
41904
41905     cat >>confdefs.h <<\_ACEOF
41906 #define HAVE_ICONV 1
41907 _ACEOF
41908
41909   else
41910
41911 # Base decisions on target environment.
41912 case "${host}" in
41913   arm*-*-symbianelf*)
41914     # This is a freestanding configuration; there is nothing to do here.
41915     ;;
41916
41917   mips*-sde-elf*)
41918     # These definitions are for the SDE C library rather than newlib.
41919     SECTION_FLAGS='-ffunction-sections -fdata-sections'
41920
41921
41922   # All these tests are for C++; save the language and the compiler flags.
41923   # The CXXFLAGS thing is suspicious, but based on similar bits previously
41924   # found in GLIBCXX_CONFIGURE.
41925
41926
41927   ac_ext=cc
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932
41933   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41934   ac_save_CXXFLAGS="$CXXFLAGS"
41935
41936   # Check for maintainer-mode bits.
41937   if test x"$USE_MAINTAINER_MODE" = xno; then
41938     WERROR=''
41939   else
41940     WERROR='-Werror'
41941   fi
41942
41943   # Check for -ffunction-sections -fdata-sections
41944   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
41945 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
41946   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
41947   cat >conftest.$ac_ext <<_ACEOF
41948 /* confdefs.h.  */
41949 _ACEOF
41950 cat confdefs.h >>conftest.$ac_ext
41951 cat >>conftest.$ac_ext <<_ACEOF
41952 /* end confdefs.h.  */
41953 int foo; void bar() { };
41954 int
41955 main ()
41956 {
41957
41958   ;
41959   return 0;
41960 }
41961 _ACEOF
41962 rm -f conftest.$ac_objext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41964   (eval $ac_compile) 2>conftest.er1
41965   ac_status=$?
41966   grep -v '^ *+' conftest.er1 >conftest.err
41967   rm -f conftest.er1
41968   cat conftest.err >&5
41969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970   (exit $ac_status); } &&
41971          { ac_try='test -z "$ac_cxx_werror_flag"
41972                          || test ! -s conftest.err'
41973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41974   (eval $ac_try) 2>&5
41975   ac_status=$?
41976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977   (exit $ac_status); }; } &&
41978          { ac_try='test -s conftest.$ac_objext'
41979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41980   (eval $ac_try) 2>&5
41981   ac_status=$?
41982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983   (exit $ac_status); }; }; then
41984   ac_fdsections=yes
41985 else
41986   echo "$as_me: failed program was:" >&5
41987 sed 's/^/| /' conftest.$ac_ext >&5
41988
41989 ac_fdsections=no
41990 fi
41991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41992   if test "$ac_test_CXXFLAGS" = set; then
41993     CXXFLAGS="$ac_save_CXXFLAGS"
41994   else
41995     # this is the suspicious part
41996     CXXFLAGS=''
41997   fi
41998   if test x"$ac_fdsections" = x"yes"; then
41999     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42000   fi
42001   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42002 echo "${ECHO_T}$ac_fdsections" >&6
42003
42004   ac_ext=c
42005 ac_cpp='$CPP $CPPFLAGS'
42006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42009
42010
42011
42012
42013
42014   # If we're not using GNU ld, then there's no point in even trying these
42015   # tests.  Check for that first.  We should have already tested for gld
42016   # by now (in libtool), but require it now just to be safe...
42017   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42018   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42019
42020
42021
42022   # The name set by libtool depends on the version of libtool.  Shame on us
42023   # for depending on an impl detail, but c'est la vie.  Older versions used
42024   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42025   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42026   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
42027   # set (hence we're using an older libtool), then set it.
42028   if test x${with_gnu_ld+set} != xset; then
42029     if test x${ac_cv_prog_gnu_ld+set} != xset; then
42030       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
42031       with_gnu_ld=no
42032     else
42033       with_gnu_ld=$ac_cv_prog_gnu_ld
42034     fi
42035   fi
42036
42037   # Start by getting the version number.  I think the libtool test already
42038   # does some of this, but throws away the result.
42039   glibcxx_ld_is_gold=no
42040   if test x"$with_gnu_ld" = x"yes"; then
42041     echo "$as_me:$LINENO: checking for ld version" >&5
42042 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42043
42044     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
42045       glibcxx_ld_is_gold=yes
42046     fi
42047     ldver=`$LD --version 2>/dev/null | head -1 | \
42048            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
42049
42050     glibcxx_gnu_ld_version=`echo $ldver | \
42051            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42052     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42053 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42054   fi
42055
42056   # Set --gc-sections.
42057   glibcxx_have_gc_sections=no
42058   if test "$glibcxx_ld_is_gold" = "yes"; then
42059     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
42060       glibcxx_have_gc_sections=yes
42061     fi
42062   else
42063     glibcxx_gcsections_min_ld=21602
42064     if test x"$with_gnu_ld" = x"yes" &&
42065         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42066       glibcxx_have_gc_sections=yes
42067     fi
42068   fi
42069   if test "$glibcxx_have_gc_sections" = "yes"; then
42070     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
42071     # NB: This flag only works reliably after 2.16.1. Configure tests
42072     # for this are difficult, so hard wire a value that should work.
42073
42074     ac_test_CFLAGS="${CFLAGS+set}"
42075     ac_save_CFLAGS="$CFLAGS"
42076     CFLAGS='-Wl,--gc-sections'
42077
42078     # Check for -Wl,--gc-sections
42079     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42080 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42081     if test x$gcc_no_link = xyes; then
42082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42084    { (exit 1); exit 1; }; }
42085 fi
42086 cat >conftest.$ac_ext <<_ACEOF
42087 /* confdefs.h.  */
42088 _ACEOF
42089 cat confdefs.h >>conftest.$ac_ext
42090 cat >>conftest.$ac_ext <<_ACEOF
42091 /* end confdefs.h.  */
42092  int one(void) { return 1; }
42093      int two(void) { return 2; }
42094
42095 int
42096 main ()
42097 {
42098  two();
42099   ;
42100   return 0;
42101 }
42102 _ACEOF
42103 rm -f conftest.$ac_objext conftest$ac_exeext
42104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42105   (eval $ac_link) 2>conftest.er1
42106   ac_status=$?
42107   grep -v '^ *+' conftest.er1 >conftest.err
42108   rm -f conftest.er1
42109   cat conftest.err >&5
42110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42111   (exit $ac_status); } &&
42112          { ac_try='test -z "$ac_c_werror_flag"
42113                          || test ! -s conftest.err'
42114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42115   (eval $ac_try) 2>&5
42116   ac_status=$?
42117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118   (exit $ac_status); }; } &&
42119          { ac_try='test -s conftest$ac_exeext'
42120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42121   (eval $ac_try) 2>&5
42122   ac_status=$?
42123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42124   (exit $ac_status); }; }; then
42125   ac_gcsections=yes
42126 else
42127   echo "$as_me: failed program was:" >&5
42128 sed 's/^/| /' conftest.$ac_ext >&5
42129
42130 ac_gcsections=no
42131 fi
42132 rm -f conftest.err conftest.$ac_objext \
42133       conftest$ac_exeext conftest.$ac_ext
42134     if test "$ac_gcsections" = "yes"; then
42135       rm -f conftest.c
42136       touch conftest.c
42137       if $CC -c conftest.c; then
42138         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42139            grep "Warning: gc-sections option ignored" > /dev/null; then
42140           ac_gcsections=no
42141         fi
42142       fi
42143       rm -f conftest.c conftest.o conftest
42144     fi
42145     if test "$ac_gcsections" = "yes"; then
42146       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42147     fi
42148     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42149 echo "${ECHO_T}$ac_gcsections" >&6
42150
42151     if test "$ac_test_CFLAGS" = set; then
42152       CFLAGS="$ac_save_CFLAGS"
42153     else
42154       # this is the suspicious part
42155       CFLAGS=''
42156     fi
42157   fi
42158
42159   # Set -z,relro.
42160   # Note this is only for shared objects.
42161   ac_ld_relro=no
42162   if test x"$with_gnu_ld" = x"yes"; then
42163     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42164 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42165     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42166     if test -n "$cxx_z_relo"; then
42167       OPT_LDFLAGS="-Wl,-z,relro"
42168       ac_ld_relro=yes
42169     fi
42170     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42171 echo "${ECHO_T}$ac_ld_relro" >&6
42172   fi
42173
42174   # Set linker optimization flags.
42175   if test x"$with_gnu_ld" = x"yes"; then
42176     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42177   fi
42178
42179
42180
42181
42182
42183   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42184   ac_save_CXXFLAGS="$CXXFLAGS"
42185   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42186
42187     echo "$as_me:$LINENO: checking for sin in -lm" >&5
42188 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42189 if test "${ac_cv_lib_m_sin+set}" = set; then
42190   echo $ECHO_N "(cached) $ECHO_C" >&6
42191 else
42192   ac_check_lib_save_LIBS=$LIBS
42193 LIBS="-lm  $LIBS"
42194 if test x$gcc_no_link = xyes; then
42195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42197    { (exit 1); exit 1; }; }
42198 fi
42199 cat >conftest.$ac_ext <<_ACEOF
42200 /* confdefs.h.  */
42201 _ACEOF
42202 cat confdefs.h >>conftest.$ac_ext
42203 cat >>conftest.$ac_ext <<_ACEOF
42204 /* end confdefs.h.  */
42205
42206 /* Override any gcc2 internal prototype to avoid an error.  */
42207 #ifdef __cplusplus
42208 extern "C"
42209 #endif
42210 /* We use char because int might match the return type of a gcc2
42211    builtin and then its argument prototype would still apply.  */
42212 char sin ();
42213 int
42214 main ()
42215 {
42216 sin ();
42217   ;
42218   return 0;
42219 }
42220 _ACEOF
42221 rm -f conftest.$ac_objext conftest$ac_exeext
42222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42223   (eval $ac_link) 2>conftest.er1
42224   ac_status=$?
42225   grep -v '^ *+' conftest.er1 >conftest.err
42226   rm -f conftest.er1
42227   cat conftest.err >&5
42228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229   (exit $ac_status); } &&
42230          { ac_try='test -z "$ac_c_werror_flag"
42231                          || test ! -s conftest.err'
42232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42233   (eval $ac_try) 2>&5
42234   ac_status=$?
42235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42236   (exit $ac_status); }; } &&
42237          { ac_try='test -s conftest$ac_exeext'
42238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42239   (eval $ac_try) 2>&5
42240   ac_status=$?
42241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242   (exit $ac_status); }; }; then
42243   ac_cv_lib_m_sin=yes
42244 else
42245   echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42247
42248 ac_cv_lib_m_sin=no
42249 fi
42250 rm -f conftest.err conftest.$ac_objext \
42251       conftest$ac_exeext conftest.$ac_ext
42252 LIBS=$ac_check_lib_save_LIBS
42253 fi
42254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42255 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42256 if test $ac_cv_lib_m_sin = yes; then
42257   libm="-lm"
42258 fi
42259
42260   ac_save_LIBS="$LIBS"
42261   LIBS="$LIBS $libm"
42262
42263
42264
42265   echo "$as_me:$LINENO: checking for isinf declaration" >&5
42266 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42267   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42268     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42269   echo $ECHO_N "(cached) $ECHO_C" >&6
42270 else
42271
42272
42273
42274       ac_ext=cc
42275 ac_cpp='$CXXCPP $CPPFLAGS'
42276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279
42280       cat >conftest.$ac_ext <<_ACEOF
42281 /* confdefs.h.  */
42282 _ACEOF
42283 cat confdefs.h >>conftest.$ac_ext
42284 cat >>conftest.$ac_ext <<_ACEOF
42285 /* end confdefs.h.  */
42286 #include <math.h>
42287                       #ifdef HAVE_IEEEFP_H
42288                       #include <ieeefp.h>
42289                       #endif
42290
42291 int
42292 main ()
42293 {
42294  isinf(0);
42295   ;
42296   return 0;
42297 }
42298 _ACEOF
42299 rm -f conftest.$ac_objext
42300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42301   (eval $ac_compile) 2>conftest.er1
42302   ac_status=$?
42303   grep -v '^ *+' conftest.er1 >conftest.err
42304   rm -f conftest.er1
42305   cat conftest.err >&5
42306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307   (exit $ac_status); } &&
42308          { ac_try='test -z "$ac_cxx_werror_flag"
42309                          || test ! -s conftest.err'
42310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311   (eval $ac_try) 2>&5
42312   ac_status=$?
42313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314   (exit $ac_status); }; } &&
42315          { ac_try='test -s conftest.$ac_objext'
42316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42317   (eval $ac_try) 2>&5
42318   ac_status=$?
42319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42320   (exit $ac_status); }; }; then
42321   glibcxx_cv_func_isinf_use=yes
42322 else
42323   echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42325
42326 glibcxx_cv_func_isinf_use=no
42327 fi
42328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42329       ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42334
42335
42336 fi
42337
42338   fi
42339   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42340 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42341
42342   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42343
42344 for ac_func in isinf
42345 do
42346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42347 echo "$as_me:$LINENO: checking for $ac_func" >&5
42348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42349 if eval "test \"\${$as_ac_var+set}\" = set"; then
42350   echo $ECHO_N "(cached) $ECHO_C" >&6
42351 else
42352   if test x$gcc_no_link = xyes; then
42353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42355    { (exit 1); exit 1; }; }
42356 fi
42357 cat >conftest.$ac_ext <<_ACEOF
42358 /* confdefs.h.  */
42359 _ACEOF
42360 cat confdefs.h >>conftest.$ac_ext
42361 cat >>conftest.$ac_ext <<_ACEOF
42362 /* end confdefs.h.  */
42363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42365 #define $ac_func innocuous_$ac_func
42366
42367 /* System header to define __stub macros and hopefully few prototypes,
42368     which can conflict with char $ac_func (); below.
42369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42370     <limits.h> exists even on freestanding compilers.  */
42371
42372 #ifdef __STDC__
42373 # include <limits.h>
42374 #else
42375 # include <assert.h>
42376 #endif
42377
42378 #undef $ac_func
42379
42380 /* Override any gcc2 internal prototype to avoid an error.  */
42381 #ifdef __cplusplus
42382 extern "C"
42383 {
42384 #endif
42385 /* We use char because int might match the return type of a gcc2
42386    builtin and then its argument prototype would still apply.  */
42387 char $ac_func ();
42388 /* The GNU C library defines this for functions which it implements
42389     to always fail with ENOSYS.  Some functions are actually named
42390     something starting with __ and the normal name is an alias.  */
42391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42392 choke me
42393 #else
42394 char (*f) () = $ac_func;
42395 #endif
42396 #ifdef __cplusplus
42397 }
42398 #endif
42399
42400 int
42401 main ()
42402 {
42403 return f != $ac_func;
42404   ;
42405   return 0;
42406 }
42407 _ACEOF
42408 rm -f conftest.$ac_objext conftest$ac_exeext
42409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42410   (eval $ac_link) 2>conftest.er1
42411   ac_status=$?
42412   grep -v '^ *+' conftest.er1 >conftest.err
42413   rm -f conftest.er1
42414   cat conftest.err >&5
42415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416   (exit $ac_status); } &&
42417          { ac_try='test -z "$ac_c_werror_flag"
42418                          || test ! -s conftest.err'
42419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42420   (eval $ac_try) 2>&5
42421   ac_status=$?
42422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423   (exit $ac_status); }; } &&
42424          { ac_try='test -s conftest$ac_exeext'
42425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42426   (eval $ac_try) 2>&5
42427   ac_status=$?
42428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42429   (exit $ac_status); }; }; then
42430   eval "$as_ac_var=yes"
42431 else
42432   echo "$as_me: failed program was:" >&5
42433 sed 's/^/| /' conftest.$ac_ext >&5
42434
42435 eval "$as_ac_var=no"
42436 fi
42437 rm -f conftest.err conftest.$ac_objext \
42438       conftest$ac_exeext conftest.$ac_ext
42439 fi
42440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42442 if test `eval echo '${'$as_ac_var'}'` = yes; then
42443   cat >>confdefs.h <<_ACEOF
42444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42445 _ACEOF
42446
42447 fi
42448 done
42449
42450   else
42451
42452   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42453 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42454   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42455     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42456   echo $ECHO_N "(cached) $ECHO_C" >&6
42457 else
42458
42459
42460
42461       ac_ext=cc
42462 ac_cpp='$CXXCPP $CPPFLAGS'
42463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42466
42467       cat >conftest.$ac_ext <<_ACEOF
42468 /* confdefs.h.  */
42469 _ACEOF
42470 cat confdefs.h >>conftest.$ac_ext
42471 cat >>conftest.$ac_ext <<_ACEOF
42472 /* end confdefs.h.  */
42473 #include <math.h>
42474                       #ifdef HAVE_IEEEFP_H
42475                       #include <ieeefp.h>
42476                       #endif
42477
42478 int
42479 main ()
42480 {
42481  _isinf(0);
42482   ;
42483   return 0;
42484 }
42485 _ACEOF
42486 rm -f conftest.$ac_objext
42487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42488   (eval $ac_compile) 2>conftest.er1
42489   ac_status=$?
42490   grep -v '^ *+' conftest.er1 >conftest.err
42491   rm -f conftest.er1
42492   cat conftest.err >&5
42493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494   (exit $ac_status); } &&
42495          { ac_try='test -z "$ac_cxx_werror_flag"
42496                          || test ! -s conftest.err'
42497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42498   (eval $ac_try) 2>&5
42499   ac_status=$?
42500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42501   (exit $ac_status); }; } &&
42502          { ac_try='test -s conftest.$ac_objext'
42503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42504   (eval $ac_try) 2>&5
42505   ac_status=$?
42506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507   (exit $ac_status); }; }; then
42508   glibcxx_cv_func__isinf_use=yes
42509 else
42510   echo "$as_me: failed program was:" >&5
42511 sed 's/^/| /' conftest.$ac_ext >&5
42512
42513 glibcxx_cv_func__isinf_use=no
42514 fi
42515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42516       ac_ext=c
42517 ac_cpp='$CPP $CPPFLAGS'
42518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42521
42522
42523 fi
42524
42525   fi
42526   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42527 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42528
42529     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42530
42531 for ac_func in _isinf
42532 do
42533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42534 echo "$as_me:$LINENO: checking for $ac_func" >&5
42535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42536 if eval "test \"\${$as_ac_var+set}\" = set"; then
42537   echo $ECHO_N "(cached) $ECHO_C" >&6
42538 else
42539   if test x$gcc_no_link = xyes; then
42540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42542    { (exit 1); exit 1; }; }
42543 fi
42544 cat >conftest.$ac_ext <<_ACEOF
42545 /* confdefs.h.  */
42546 _ACEOF
42547 cat confdefs.h >>conftest.$ac_ext
42548 cat >>conftest.$ac_ext <<_ACEOF
42549 /* end confdefs.h.  */
42550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42552 #define $ac_func innocuous_$ac_func
42553
42554 /* System header to define __stub macros and hopefully few prototypes,
42555     which can conflict with char $ac_func (); below.
42556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42557     <limits.h> exists even on freestanding compilers.  */
42558
42559 #ifdef __STDC__
42560 # include <limits.h>
42561 #else
42562 # include <assert.h>
42563 #endif
42564
42565 #undef $ac_func
42566
42567 /* Override any gcc2 internal prototype to avoid an error.  */
42568 #ifdef __cplusplus
42569 extern "C"
42570 {
42571 #endif
42572 /* We use char because int might match the return type of a gcc2
42573    builtin and then its argument prototype would still apply.  */
42574 char $ac_func ();
42575 /* The GNU C library defines this for functions which it implements
42576     to always fail with ENOSYS.  Some functions are actually named
42577     something starting with __ and the normal name is an alias.  */
42578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42579 choke me
42580 #else
42581 char (*f) () = $ac_func;
42582 #endif
42583 #ifdef __cplusplus
42584 }
42585 #endif
42586
42587 int
42588 main ()
42589 {
42590 return f != $ac_func;
42591   ;
42592   return 0;
42593 }
42594 _ACEOF
42595 rm -f conftest.$ac_objext conftest$ac_exeext
42596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42597   (eval $ac_link) 2>conftest.er1
42598   ac_status=$?
42599   grep -v '^ *+' conftest.er1 >conftest.err
42600   rm -f conftest.er1
42601   cat conftest.err >&5
42602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603   (exit $ac_status); } &&
42604          { ac_try='test -z "$ac_c_werror_flag"
42605                          || test ! -s conftest.err'
42606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42607   (eval $ac_try) 2>&5
42608   ac_status=$?
42609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42610   (exit $ac_status); }; } &&
42611          { ac_try='test -s conftest$ac_exeext'
42612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42613   (eval $ac_try) 2>&5
42614   ac_status=$?
42615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42616   (exit $ac_status); }; }; then
42617   eval "$as_ac_var=yes"
42618 else
42619   echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.$ac_ext >&5
42621
42622 eval "$as_ac_var=no"
42623 fi
42624 rm -f conftest.err conftest.$ac_objext \
42625       conftest$ac_exeext conftest.$ac_ext
42626 fi
42627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42629 if test `eval echo '${'$as_ac_var'}'` = yes; then
42630   cat >>confdefs.h <<_ACEOF
42631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42632 _ACEOF
42633
42634 fi
42635 done
42636
42637     fi
42638   fi
42639
42640
42641
42642
42643
42644
42645   echo "$as_me:$LINENO: checking for isnan declaration" >&5
42646 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42647   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42648     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42649   echo $ECHO_N "(cached) $ECHO_C" >&6
42650 else
42651
42652
42653
42654       ac_ext=cc
42655 ac_cpp='$CXXCPP $CPPFLAGS'
42656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42659
42660       cat >conftest.$ac_ext <<_ACEOF
42661 /* confdefs.h.  */
42662 _ACEOF
42663 cat confdefs.h >>conftest.$ac_ext
42664 cat >>conftest.$ac_ext <<_ACEOF
42665 /* end confdefs.h.  */
42666 #include <math.h>
42667                       #ifdef HAVE_IEEEFP_H
42668                       #include <ieeefp.h>
42669                       #endif
42670
42671 int
42672 main ()
42673 {
42674  isnan(0);
42675   ;
42676   return 0;
42677 }
42678 _ACEOF
42679 rm -f conftest.$ac_objext
42680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42681   (eval $ac_compile) 2>conftest.er1
42682   ac_status=$?
42683   grep -v '^ *+' conftest.er1 >conftest.err
42684   rm -f conftest.er1
42685   cat conftest.err >&5
42686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687   (exit $ac_status); } &&
42688          { ac_try='test -z "$ac_cxx_werror_flag"
42689                          || test ! -s conftest.err'
42690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42691   (eval $ac_try) 2>&5
42692   ac_status=$?
42693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694   (exit $ac_status); }; } &&
42695          { ac_try='test -s conftest.$ac_objext'
42696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42697   (eval $ac_try) 2>&5
42698   ac_status=$?
42699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700   (exit $ac_status); }; }; then
42701   glibcxx_cv_func_isnan_use=yes
42702 else
42703   echo "$as_me: failed program was:" >&5
42704 sed 's/^/| /' conftest.$ac_ext >&5
42705
42706 glibcxx_cv_func_isnan_use=no
42707 fi
42708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42709       ac_ext=c
42710 ac_cpp='$CPP $CPPFLAGS'
42711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42714
42715
42716 fi
42717
42718   fi
42719   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42720 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42721
42722   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42723
42724 for ac_func in isnan
42725 do
42726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42727 echo "$as_me:$LINENO: checking for $ac_func" >&5
42728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42729 if eval "test \"\${$as_ac_var+set}\" = set"; then
42730   echo $ECHO_N "(cached) $ECHO_C" >&6
42731 else
42732   if test x$gcc_no_link = xyes; then
42733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42735    { (exit 1); exit 1; }; }
42736 fi
42737 cat >conftest.$ac_ext <<_ACEOF
42738 /* confdefs.h.  */
42739 _ACEOF
42740 cat confdefs.h >>conftest.$ac_ext
42741 cat >>conftest.$ac_ext <<_ACEOF
42742 /* end confdefs.h.  */
42743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42745 #define $ac_func innocuous_$ac_func
42746
42747 /* System header to define __stub macros and hopefully few prototypes,
42748     which can conflict with char $ac_func (); below.
42749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42750     <limits.h> exists even on freestanding compilers.  */
42751
42752 #ifdef __STDC__
42753 # include <limits.h>
42754 #else
42755 # include <assert.h>
42756 #endif
42757
42758 #undef $ac_func
42759
42760 /* Override any gcc2 internal prototype to avoid an error.  */
42761 #ifdef __cplusplus
42762 extern "C"
42763 {
42764 #endif
42765 /* We use char because int might match the return type of a gcc2
42766    builtin and then its argument prototype would still apply.  */
42767 char $ac_func ();
42768 /* The GNU C library defines this for functions which it implements
42769     to always fail with ENOSYS.  Some functions are actually named
42770     something starting with __ and the normal name is an alias.  */
42771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42772 choke me
42773 #else
42774 char (*f) () = $ac_func;
42775 #endif
42776 #ifdef __cplusplus
42777 }
42778 #endif
42779
42780 int
42781 main ()
42782 {
42783 return f != $ac_func;
42784   ;
42785   return 0;
42786 }
42787 _ACEOF
42788 rm -f conftest.$ac_objext conftest$ac_exeext
42789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42790   (eval $ac_link) 2>conftest.er1
42791   ac_status=$?
42792   grep -v '^ *+' conftest.er1 >conftest.err
42793   rm -f conftest.er1
42794   cat conftest.err >&5
42795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42796   (exit $ac_status); } &&
42797          { ac_try='test -z "$ac_c_werror_flag"
42798                          || test ! -s conftest.err'
42799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42800   (eval $ac_try) 2>&5
42801   ac_status=$?
42802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803   (exit $ac_status); }; } &&
42804          { ac_try='test -s conftest$ac_exeext'
42805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42806   (eval $ac_try) 2>&5
42807   ac_status=$?
42808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42809   (exit $ac_status); }; }; then
42810   eval "$as_ac_var=yes"
42811 else
42812   echo "$as_me: failed program was:" >&5
42813 sed 's/^/| /' conftest.$ac_ext >&5
42814
42815 eval "$as_ac_var=no"
42816 fi
42817 rm -f conftest.err conftest.$ac_objext \
42818       conftest$ac_exeext conftest.$ac_ext
42819 fi
42820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42822 if test `eval echo '${'$as_ac_var'}'` = yes; then
42823   cat >>confdefs.h <<_ACEOF
42824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42825 _ACEOF
42826
42827 fi
42828 done
42829
42830   else
42831
42832   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42833 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42834   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42835     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42836   echo $ECHO_N "(cached) $ECHO_C" >&6
42837 else
42838
42839
42840
42841       ac_ext=cc
42842 ac_cpp='$CXXCPP $CPPFLAGS'
42843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42846
42847       cat >conftest.$ac_ext <<_ACEOF
42848 /* confdefs.h.  */
42849 _ACEOF
42850 cat confdefs.h >>conftest.$ac_ext
42851 cat >>conftest.$ac_ext <<_ACEOF
42852 /* end confdefs.h.  */
42853 #include <math.h>
42854                       #ifdef HAVE_IEEEFP_H
42855                       #include <ieeefp.h>
42856                       #endif
42857
42858 int
42859 main ()
42860 {
42861  _isnan(0);
42862   ;
42863   return 0;
42864 }
42865 _ACEOF
42866 rm -f conftest.$ac_objext
42867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42868   (eval $ac_compile) 2>conftest.er1
42869   ac_status=$?
42870   grep -v '^ *+' conftest.er1 >conftest.err
42871   rm -f conftest.er1
42872   cat conftest.err >&5
42873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874   (exit $ac_status); } &&
42875          { ac_try='test -z "$ac_cxx_werror_flag"
42876                          || test ! -s conftest.err'
42877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878   (eval $ac_try) 2>&5
42879   ac_status=$?
42880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881   (exit $ac_status); }; } &&
42882          { ac_try='test -s conftest.$ac_objext'
42883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42884   (eval $ac_try) 2>&5
42885   ac_status=$?
42886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42887   (exit $ac_status); }; }; then
42888   glibcxx_cv_func__isnan_use=yes
42889 else
42890   echo "$as_me: failed program was:" >&5
42891 sed 's/^/| /' conftest.$ac_ext >&5
42892
42893 glibcxx_cv_func__isnan_use=no
42894 fi
42895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42896       ac_ext=c
42897 ac_cpp='$CPP $CPPFLAGS'
42898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901
42902
42903 fi
42904
42905   fi
42906   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42907 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42908
42909     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42910
42911 for ac_func in _isnan
42912 do
42913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42914 echo "$as_me:$LINENO: checking for $ac_func" >&5
42915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42916 if eval "test \"\${$as_ac_var+set}\" = set"; then
42917   echo $ECHO_N "(cached) $ECHO_C" >&6
42918 else
42919   if test x$gcc_no_link = xyes; then
42920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42922    { (exit 1); exit 1; }; }
42923 fi
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h.  */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h.  */
42930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42932 #define $ac_func innocuous_$ac_func
42933
42934 /* System header to define __stub macros and hopefully few prototypes,
42935     which can conflict with char $ac_func (); below.
42936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42937     <limits.h> exists even on freestanding compilers.  */
42938
42939 #ifdef __STDC__
42940 # include <limits.h>
42941 #else
42942 # include <assert.h>
42943 #endif
42944
42945 #undef $ac_func
42946
42947 /* Override any gcc2 internal prototype to avoid an error.  */
42948 #ifdef __cplusplus
42949 extern "C"
42950 {
42951 #endif
42952 /* We use char because int might match the return type of a gcc2
42953    builtin and then its argument prototype would still apply.  */
42954 char $ac_func ();
42955 /* The GNU C library defines this for functions which it implements
42956     to always fail with ENOSYS.  Some functions are actually named
42957     something starting with __ and the normal name is an alias.  */
42958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42959 choke me
42960 #else
42961 char (*f) () = $ac_func;
42962 #endif
42963 #ifdef __cplusplus
42964 }
42965 #endif
42966
42967 int
42968 main ()
42969 {
42970 return f != $ac_func;
42971   ;
42972   return 0;
42973 }
42974 _ACEOF
42975 rm -f conftest.$ac_objext conftest$ac_exeext
42976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42977   (eval $ac_link) 2>conftest.er1
42978   ac_status=$?
42979   grep -v '^ *+' conftest.er1 >conftest.err
42980   rm -f conftest.er1
42981   cat conftest.err >&5
42982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983   (exit $ac_status); } &&
42984          { ac_try='test -z "$ac_c_werror_flag"
42985                          || test ! -s conftest.err'
42986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42987   (eval $ac_try) 2>&5
42988   ac_status=$?
42989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990   (exit $ac_status); }; } &&
42991          { ac_try='test -s conftest$ac_exeext'
42992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993   (eval $ac_try) 2>&5
42994   ac_status=$?
42995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996   (exit $ac_status); }; }; then
42997   eval "$as_ac_var=yes"
42998 else
42999   echo "$as_me: failed program was:" >&5
43000 sed 's/^/| /' conftest.$ac_ext >&5
43001
43002 eval "$as_ac_var=no"
43003 fi
43004 rm -f conftest.err conftest.$ac_objext \
43005       conftest$ac_exeext conftest.$ac_ext
43006 fi
43007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43009 if test `eval echo '${'$as_ac_var'}'` = yes; then
43010   cat >>confdefs.h <<_ACEOF
43011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43012 _ACEOF
43013
43014 fi
43015 done
43016
43017     fi
43018   fi
43019
43020
43021
43022
43023
43024
43025   echo "$as_me:$LINENO: checking for finite declaration" >&5
43026 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43027   if test x${glibcxx_cv_func_finite_use+set} != xset; then
43028     if test "${glibcxx_cv_func_finite_use+set}" = set; then
43029   echo $ECHO_N "(cached) $ECHO_C" >&6
43030 else
43031
43032
43033
43034       ac_ext=cc
43035 ac_cpp='$CXXCPP $CPPFLAGS'
43036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43039
43040       cat >conftest.$ac_ext <<_ACEOF
43041 /* confdefs.h.  */
43042 _ACEOF
43043 cat confdefs.h >>conftest.$ac_ext
43044 cat >>conftest.$ac_ext <<_ACEOF
43045 /* end confdefs.h.  */
43046 #include <math.h>
43047                       #ifdef HAVE_IEEEFP_H
43048                       #include <ieeefp.h>
43049                       #endif
43050
43051 int
43052 main ()
43053 {
43054  finite(0);
43055   ;
43056   return 0;
43057 }
43058 _ACEOF
43059 rm -f conftest.$ac_objext
43060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43061   (eval $ac_compile) 2>conftest.er1
43062   ac_status=$?
43063   grep -v '^ *+' conftest.er1 >conftest.err
43064   rm -f conftest.er1
43065   cat conftest.err >&5
43066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067   (exit $ac_status); } &&
43068          { ac_try='test -z "$ac_cxx_werror_flag"
43069                          || test ! -s conftest.err'
43070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43071   (eval $ac_try) 2>&5
43072   ac_status=$?
43073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074   (exit $ac_status); }; } &&
43075          { ac_try='test -s conftest.$ac_objext'
43076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077   (eval $ac_try) 2>&5
43078   ac_status=$?
43079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080   (exit $ac_status); }; }; then
43081   glibcxx_cv_func_finite_use=yes
43082 else
43083   echo "$as_me: failed program was:" >&5
43084 sed 's/^/| /' conftest.$ac_ext >&5
43085
43086 glibcxx_cv_func_finite_use=no
43087 fi
43088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43089       ac_ext=c
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43094
43095
43096 fi
43097
43098   fi
43099   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43100 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43101
43102   if test x$glibcxx_cv_func_finite_use = x"yes"; then
43103
43104 for ac_func in finite
43105 do
43106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43107 echo "$as_me:$LINENO: checking for $ac_func" >&5
43108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43109 if eval "test \"\${$as_ac_var+set}\" = set"; then
43110   echo $ECHO_N "(cached) $ECHO_C" >&6
43111 else
43112   if test x$gcc_no_link = xyes; then
43113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43115    { (exit 1); exit 1; }; }
43116 fi
43117 cat >conftest.$ac_ext <<_ACEOF
43118 /* confdefs.h.  */
43119 _ACEOF
43120 cat confdefs.h >>conftest.$ac_ext
43121 cat >>conftest.$ac_ext <<_ACEOF
43122 /* end confdefs.h.  */
43123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43125 #define $ac_func innocuous_$ac_func
43126
43127 /* System header to define __stub macros and hopefully few prototypes,
43128     which can conflict with char $ac_func (); below.
43129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43130     <limits.h> exists even on freestanding compilers.  */
43131
43132 #ifdef __STDC__
43133 # include <limits.h>
43134 #else
43135 # include <assert.h>
43136 #endif
43137
43138 #undef $ac_func
43139
43140 /* Override any gcc2 internal prototype to avoid an error.  */
43141 #ifdef __cplusplus
43142 extern "C"
43143 {
43144 #endif
43145 /* We use char because int might match the return type of a gcc2
43146    builtin and then its argument prototype would still apply.  */
43147 char $ac_func ();
43148 /* The GNU C library defines this for functions which it implements
43149     to always fail with ENOSYS.  Some functions are actually named
43150     something starting with __ and the normal name is an alias.  */
43151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43152 choke me
43153 #else
43154 char (*f) () = $ac_func;
43155 #endif
43156 #ifdef __cplusplus
43157 }
43158 #endif
43159
43160 int
43161 main ()
43162 {
43163 return f != $ac_func;
43164   ;
43165   return 0;
43166 }
43167 _ACEOF
43168 rm -f conftest.$ac_objext conftest$ac_exeext
43169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43170   (eval $ac_link) 2>conftest.er1
43171   ac_status=$?
43172   grep -v '^ *+' conftest.er1 >conftest.err
43173   rm -f conftest.er1
43174   cat conftest.err >&5
43175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43176   (exit $ac_status); } &&
43177          { ac_try='test -z "$ac_c_werror_flag"
43178                          || test ! -s conftest.err'
43179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43180   (eval $ac_try) 2>&5
43181   ac_status=$?
43182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43183   (exit $ac_status); }; } &&
43184          { ac_try='test -s conftest$ac_exeext'
43185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43186   (eval $ac_try) 2>&5
43187   ac_status=$?
43188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43189   (exit $ac_status); }; }; then
43190   eval "$as_ac_var=yes"
43191 else
43192   echo "$as_me: failed program was:" >&5
43193 sed 's/^/| /' conftest.$ac_ext >&5
43194
43195 eval "$as_ac_var=no"
43196 fi
43197 rm -f conftest.err conftest.$ac_objext \
43198       conftest$ac_exeext conftest.$ac_ext
43199 fi
43200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43202 if test `eval echo '${'$as_ac_var'}'` = yes; then
43203   cat >>confdefs.h <<_ACEOF
43204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43205 _ACEOF
43206
43207 fi
43208 done
43209
43210   else
43211
43212   echo "$as_me:$LINENO: checking for _finite declaration" >&5
43213 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43214   if test x${glibcxx_cv_func__finite_use+set} != xset; then
43215     if test "${glibcxx_cv_func__finite_use+set}" = set; then
43216   echo $ECHO_N "(cached) $ECHO_C" >&6
43217 else
43218
43219
43220
43221       ac_ext=cc
43222 ac_cpp='$CXXCPP $CPPFLAGS'
43223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43226
43227       cat >conftest.$ac_ext <<_ACEOF
43228 /* confdefs.h.  */
43229 _ACEOF
43230 cat confdefs.h >>conftest.$ac_ext
43231 cat >>conftest.$ac_ext <<_ACEOF
43232 /* end confdefs.h.  */
43233 #include <math.h>
43234                       #ifdef HAVE_IEEEFP_H
43235                       #include <ieeefp.h>
43236                       #endif
43237
43238 int
43239 main ()
43240 {
43241  _finite(0);
43242   ;
43243   return 0;
43244 }
43245 _ACEOF
43246 rm -f conftest.$ac_objext
43247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43248   (eval $ac_compile) 2>conftest.er1
43249   ac_status=$?
43250   grep -v '^ *+' conftest.er1 >conftest.err
43251   rm -f conftest.er1
43252   cat conftest.err >&5
43253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254   (exit $ac_status); } &&
43255          { ac_try='test -z "$ac_cxx_werror_flag"
43256                          || test ! -s conftest.err'
43257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43258   (eval $ac_try) 2>&5
43259   ac_status=$?
43260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43261   (exit $ac_status); }; } &&
43262          { ac_try='test -s conftest.$ac_objext'
43263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43264   (eval $ac_try) 2>&5
43265   ac_status=$?
43266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267   (exit $ac_status); }; }; then
43268   glibcxx_cv_func__finite_use=yes
43269 else
43270   echo "$as_me: failed program was:" >&5
43271 sed 's/^/| /' conftest.$ac_ext >&5
43272
43273 glibcxx_cv_func__finite_use=no
43274 fi
43275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43276       ac_ext=c
43277 ac_cpp='$CPP $CPPFLAGS'
43278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43281
43282
43283 fi
43284
43285   fi
43286   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43287 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43288
43289     if test x$glibcxx_cv_func__finite_use = x"yes"; then
43290
43291 for ac_func in _finite
43292 do
43293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43294 echo "$as_me:$LINENO: checking for $ac_func" >&5
43295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43296 if eval "test \"\${$as_ac_var+set}\" = set"; then
43297   echo $ECHO_N "(cached) $ECHO_C" >&6
43298 else
43299   if test x$gcc_no_link = xyes; then
43300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43302    { (exit 1); exit 1; }; }
43303 fi
43304 cat >conftest.$ac_ext <<_ACEOF
43305 /* confdefs.h.  */
43306 _ACEOF
43307 cat confdefs.h >>conftest.$ac_ext
43308 cat >>conftest.$ac_ext <<_ACEOF
43309 /* end confdefs.h.  */
43310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43312 #define $ac_func innocuous_$ac_func
43313
43314 /* System header to define __stub macros and hopefully few prototypes,
43315     which can conflict with char $ac_func (); below.
43316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43317     <limits.h> exists even on freestanding compilers.  */
43318
43319 #ifdef __STDC__
43320 # include <limits.h>
43321 #else
43322 # include <assert.h>
43323 #endif
43324
43325 #undef $ac_func
43326
43327 /* Override any gcc2 internal prototype to avoid an error.  */
43328 #ifdef __cplusplus
43329 extern "C"
43330 {
43331 #endif
43332 /* We use char because int might match the return type of a gcc2
43333    builtin and then its argument prototype would still apply.  */
43334 char $ac_func ();
43335 /* The GNU C library defines this for functions which it implements
43336     to always fail with ENOSYS.  Some functions are actually named
43337     something starting with __ and the normal name is an alias.  */
43338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43339 choke me
43340 #else
43341 char (*f) () = $ac_func;
43342 #endif
43343 #ifdef __cplusplus
43344 }
43345 #endif
43346
43347 int
43348 main ()
43349 {
43350 return f != $ac_func;
43351   ;
43352   return 0;
43353 }
43354 _ACEOF
43355 rm -f conftest.$ac_objext conftest$ac_exeext
43356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43357   (eval $ac_link) 2>conftest.er1
43358   ac_status=$?
43359   grep -v '^ *+' conftest.er1 >conftest.err
43360   rm -f conftest.er1
43361   cat conftest.err >&5
43362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43363   (exit $ac_status); } &&
43364          { ac_try='test -z "$ac_c_werror_flag"
43365                          || test ! -s conftest.err'
43366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43367   (eval $ac_try) 2>&5
43368   ac_status=$?
43369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370   (exit $ac_status); }; } &&
43371          { ac_try='test -s conftest$ac_exeext'
43372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43373   (eval $ac_try) 2>&5
43374   ac_status=$?
43375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376   (exit $ac_status); }; }; then
43377   eval "$as_ac_var=yes"
43378 else
43379   echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.$ac_ext >&5
43381
43382 eval "$as_ac_var=no"
43383 fi
43384 rm -f conftest.err conftest.$ac_objext \
43385       conftest$ac_exeext conftest.$ac_ext
43386 fi
43387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43389 if test `eval echo '${'$as_ac_var'}'` = yes; then
43390   cat >>confdefs.h <<_ACEOF
43391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43392 _ACEOF
43393
43394 fi
43395 done
43396
43397     fi
43398   fi
43399
43400
43401
43402
43403
43404
43405   echo "$as_me:$LINENO: checking for copysign declaration" >&5
43406 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
43407   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43408     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43409   echo $ECHO_N "(cached) $ECHO_C" >&6
43410 else
43411
43412
43413
43414       ac_ext=cc
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43419
43420       cat >conftest.$ac_ext <<_ACEOF
43421 /* confdefs.h.  */
43422 _ACEOF
43423 cat confdefs.h >>conftest.$ac_ext
43424 cat >>conftest.$ac_ext <<_ACEOF
43425 /* end confdefs.h.  */
43426 #include <math.h>
43427 int
43428 main ()
43429 {
43430  copysign(0, 0);
43431   ;
43432   return 0;
43433 }
43434 _ACEOF
43435 rm -f conftest.$ac_objext
43436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43437   (eval $ac_compile) 2>conftest.er1
43438   ac_status=$?
43439   grep -v '^ *+' conftest.er1 >conftest.err
43440   rm -f conftest.er1
43441   cat conftest.err >&5
43442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443   (exit $ac_status); } &&
43444          { ac_try='test -z "$ac_cxx_werror_flag"
43445                          || test ! -s conftest.err'
43446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43447   (eval $ac_try) 2>&5
43448   ac_status=$?
43449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450   (exit $ac_status); }; } &&
43451          { ac_try='test -s conftest.$ac_objext'
43452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43453   (eval $ac_try) 2>&5
43454   ac_status=$?
43455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456   (exit $ac_status); }; }; then
43457   glibcxx_cv_func_copysign_use=yes
43458 else
43459   echo "$as_me: failed program was:" >&5
43460 sed 's/^/| /' conftest.$ac_ext >&5
43461
43462 glibcxx_cv_func_copysign_use=no
43463 fi
43464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43465       ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43470
43471
43472 fi
43473
43474   fi
43475   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43476 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
43477
43478   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43479
43480 for ac_func in copysign
43481 do
43482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43483 echo "$as_me:$LINENO: checking for $ac_func" >&5
43484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43485 if eval "test \"\${$as_ac_var+set}\" = set"; then
43486   echo $ECHO_N "(cached) $ECHO_C" >&6
43487 else
43488   if test x$gcc_no_link = xyes; then
43489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43491    { (exit 1); exit 1; }; }
43492 fi
43493 cat >conftest.$ac_ext <<_ACEOF
43494 /* confdefs.h.  */
43495 _ACEOF
43496 cat confdefs.h >>conftest.$ac_ext
43497 cat >>conftest.$ac_ext <<_ACEOF
43498 /* end confdefs.h.  */
43499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43501 #define $ac_func innocuous_$ac_func
43502
43503 /* System header to define __stub macros and hopefully few prototypes,
43504     which can conflict with char $ac_func (); below.
43505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43506     <limits.h> exists even on freestanding compilers.  */
43507
43508 #ifdef __STDC__
43509 # include <limits.h>
43510 #else
43511 # include <assert.h>
43512 #endif
43513
43514 #undef $ac_func
43515
43516 /* Override any gcc2 internal prototype to avoid an error.  */
43517 #ifdef __cplusplus
43518 extern "C"
43519 {
43520 #endif
43521 /* We use char because int might match the return type of a gcc2
43522    builtin and then its argument prototype would still apply.  */
43523 char $ac_func ();
43524 /* The GNU C library defines this for functions which it implements
43525     to always fail with ENOSYS.  Some functions are actually named
43526     something starting with __ and the normal name is an alias.  */
43527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43528 choke me
43529 #else
43530 char (*f) () = $ac_func;
43531 #endif
43532 #ifdef __cplusplus
43533 }
43534 #endif
43535
43536 int
43537 main ()
43538 {
43539 return f != $ac_func;
43540   ;
43541   return 0;
43542 }
43543 _ACEOF
43544 rm -f conftest.$ac_objext conftest$ac_exeext
43545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43546   (eval $ac_link) 2>conftest.er1
43547   ac_status=$?
43548   grep -v '^ *+' conftest.er1 >conftest.err
43549   rm -f conftest.er1
43550   cat conftest.err >&5
43551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552   (exit $ac_status); } &&
43553          { ac_try='test -z "$ac_c_werror_flag"
43554                          || test ! -s conftest.err'
43555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43556   (eval $ac_try) 2>&5
43557   ac_status=$?
43558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559   (exit $ac_status); }; } &&
43560          { ac_try='test -s conftest$ac_exeext'
43561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43562   (eval $ac_try) 2>&5
43563   ac_status=$?
43564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565   (exit $ac_status); }; }; then
43566   eval "$as_ac_var=yes"
43567 else
43568   echo "$as_me: failed program was:" >&5
43569 sed 's/^/| /' conftest.$ac_ext >&5
43570
43571 eval "$as_ac_var=no"
43572 fi
43573 rm -f conftest.err conftest.$ac_objext \
43574       conftest$ac_exeext conftest.$ac_ext
43575 fi
43576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43578 if test `eval echo '${'$as_ac_var'}'` = yes; then
43579   cat >>confdefs.h <<_ACEOF
43580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43581 _ACEOF
43582
43583 fi
43584 done
43585
43586   else
43587
43588   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43589 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43590   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43591     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43592   echo $ECHO_N "(cached) $ECHO_C" >&6
43593 else
43594
43595
43596
43597       ac_ext=cc
43598 ac_cpp='$CXXCPP $CPPFLAGS'
43599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43602
43603       cat >conftest.$ac_ext <<_ACEOF
43604 /* confdefs.h.  */
43605 _ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h.  */
43609 #include <math.h>
43610 int
43611 main ()
43612 {
43613  _copysign(0, 0);
43614   ;
43615   return 0;
43616 }
43617 _ACEOF
43618 rm -f conftest.$ac_objext
43619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43620   (eval $ac_compile) 2>conftest.er1
43621   ac_status=$?
43622   grep -v '^ *+' conftest.er1 >conftest.err
43623   rm -f conftest.er1
43624   cat conftest.err >&5
43625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626   (exit $ac_status); } &&
43627          { ac_try='test -z "$ac_cxx_werror_flag"
43628                          || test ! -s conftest.err'
43629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43630   (eval $ac_try) 2>&5
43631   ac_status=$?
43632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633   (exit $ac_status); }; } &&
43634          { ac_try='test -s conftest.$ac_objext'
43635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43636   (eval $ac_try) 2>&5
43637   ac_status=$?
43638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639   (exit $ac_status); }; }; then
43640   glibcxx_cv_func__copysign_use=yes
43641 else
43642   echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43644
43645 glibcxx_cv_func__copysign_use=no
43646 fi
43647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43648       ac_ext=c
43649 ac_cpp='$CPP $CPPFLAGS'
43650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43653
43654
43655 fi
43656
43657   fi
43658   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43659 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43660
43661     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43662
43663 for ac_func in _copysign
43664 do
43665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43666 echo "$as_me:$LINENO: checking for $ac_func" >&5
43667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43668 if eval "test \"\${$as_ac_var+set}\" = set"; then
43669   echo $ECHO_N "(cached) $ECHO_C" >&6
43670 else
43671   if test x$gcc_no_link = xyes; then
43672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43674    { (exit 1); exit 1; }; }
43675 fi
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h.  */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h.  */
43682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43684 #define $ac_func innocuous_$ac_func
43685
43686 /* System header to define __stub macros and hopefully few prototypes,
43687     which can conflict with char $ac_func (); below.
43688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43689     <limits.h> exists even on freestanding compilers.  */
43690
43691 #ifdef __STDC__
43692 # include <limits.h>
43693 #else
43694 # include <assert.h>
43695 #endif
43696
43697 #undef $ac_func
43698
43699 /* Override any gcc2 internal prototype to avoid an error.  */
43700 #ifdef __cplusplus
43701 extern "C"
43702 {
43703 #endif
43704 /* We use char because int might match the return type of a gcc2
43705    builtin and then its argument prototype would still apply.  */
43706 char $ac_func ();
43707 /* The GNU C library defines this for functions which it implements
43708     to always fail with ENOSYS.  Some functions are actually named
43709     something starting with __ and the normal name is an alias.  */
43710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43711 choke me
43712 #else
43713 char (*f) () = $ac_func;
43714 #endif
43715 #ifdef __cplusplus
43716 }
43717 #endif
43718
43719 int
43720 main ()
43721 {
43722 return f != $ac_func;
43723   ;
43724   return 0;
43725 }
43726 _ACEOF
43727 rm -f conftest.$ac_objext conftest$ac_exeext
43728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43729   (eval $ac_link) 2>conftest.er1
43730   ac_status=$?
43731   grep -v '^ *+' conftest.er1 >conftest.err
43732   rm -f conftest.er1
43733   cat conftest.err >&5
43734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735   (exit $ac_status); } &&
43736          { ac_try='test -z "$ac_c_werror_flag"
43737                          || test ! -s conftest.err'
43738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43739   (eval $ac_try) 2>&5
43740   ac_status=$?
43741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43742   (exit $ac_status); }; } &&
43743          { ac_try='test -s conftest$ac_exeext'
43744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43745   (eval $ac_try) 2>&5
43746   ac_status=$?
43747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748   (exit $ac_status); }; }; then
43749   eval "$as_ac_var=yes"
43750 else
43751   echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.$ac_ext >&5
43753
43754 eval "$as_ac_var=no"
43755 fi
43756 rm -f conftest.err conftest.$ac_objext \
43757       conftest$ac_exeext conftest.$ac_ext
43758 fi
43759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43761 if test `eval echo '${'$as_ac_var'}'` = yes; then
43762   cat >>confdefs.h <<_ACEOF
43763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43764 _ACEOF
43765
43766 fi
43767 done
43768
43769     fi
43770   fi
43771
43772
43773
43774
43775
43776
43777   echo "$as_me:$LINENO: checking for sincos declaration" >&5
43778 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43779   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43780     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43781   echo $ECHO_N "(cached) $ECHO_C" >&6
43782 else
43783
43784
43785
43786       ac_ext=cc
43787 ac_cpp='$CXXCPP $CPPFLAGS'
43788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43791
43792       cat >conftest.$ac_ext <<_ACEOF
43793 /* confdefs.h.  */
43794 _ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h.  */
43798 #include <math.h>
43799 int
43800 main ()
43801 {
43802  sincos(0, 0, 0);
43803   ;
43804   return 0;
43805 }
43806 _ACEOF
43807 rm -f conftest.$ac_objext
43808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43809   (eval $ac_compile) 2>conftest.er1
43810   ac_status=$?
43811   grep -v '^ *+' conftest.er1 >conftest.err
43812   rm -f conftest.er1
43813   cat conftest.err >&5
43814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43815   (exit $ac_status); } &&
43816          { ac_try='test -z "$ac_cxx_werror_flag"
43817                          || test ! -s conftest.err'
43818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43819   (eval $ac_try) 2>&5
43820   ac_status=$?
43821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822   (exit $ac_status); }; } &&
43823          { ac_try='test -s conftest.$ac_objext'
43824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43825   (eval $ac_try) 2>&5
43826   ac_status=$?
43827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828   (exit $ac_status); }; }; then
43829   glibcxx_cv_func_sincos_use=yes
43830 else
43831   echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.$ac_ext >&5
43833
43834 glibcxx_cv_func_sincos_use=no
43835 fi
43836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43837       ac_ext=c
43838 ac_cpp='$CPP $CPPFLAGS'
43839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43842
43843
43844 fi
43845
43846   fi
43847   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43848 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43849
43850   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43851
43852 for ac_func in sincos
43853 do
43854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43855 echo "$as_me:$LINENO: checking for $ac_func" >&5
43856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43857 if eval "test \"\${$as_ac_var+set}\" = set"; then
43858   echo $ECHO_N "(cached) $ECHO_C" >&6
43859 else
43860   if test x$gcc_no_link = xyes; then
43861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43863    { (exit 1); exit 1; }; }
43864 fi
43865 cat >conftest.$ac_ext <<_ACEOF
43866 /* confdefs.h.  */
43867 _ACEOF
43868 cat confdefs.h >>conftest.$ac_ext
43869 cat >>conftest.$ac_ext <<_ACEOF
43870 /* end confdefs.h.  */
43871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43873 #define $ac_func innocuous_$ac_func
43874
43875 /* System header to define __stub macros and hopefully few prototypes,
43876     which can conflict with char $ac_func (); below.
43877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43878     <limits.h> exists even on freestanding compilers.  */
43879
43880 #ifdef __STDC__
43881 # include <limits.h>
43882 #else
43883 # include <assert.h>
43884 #endif
43885
43886 #undef $ac_func
43887
43888 /* Override any gcc2 internal prototype to avoid an error.  */
43889 #ifdef __cplusplus
43890 extern "C"
43891 {
43892 #endif
43893 /* We use char because int might match the return type of a gcc2
43894    builtin and then its argument prototype would still apply.  */
43895 char $ac_func ();
43896 /* The GNU C library defines this for functions which it implements
43897     to always fail with ENOSYS.  Some functions are actually named
43898     something starting with __ and the normal name is an alias.  */
43899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43900 choke me
43901 #else
43902 char (*f) () = $ac_func;
43903 #endif
43904 #ifdef __cplusplus
43905 }
43906 #endif
43907
43908 int
43909 main ()
43910 {
43911 return f != $ac_func;
43912   ;
43913   return 0;
43914 }
43915 _ACEOF
43916 rm -f conftest.$ac_objext conftest$ac_exeext
43917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43918   (eval $ac_link) 2>conftest.er1
43919   ac_status=$?
43920   grep -v '^ *+' conftest.er1 >conftest.err
43921   rm -f conftest.er1
43922   cat conftest.err >&5
43923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924   (exit $ac_status); } &&
43925          { ac_try='test -z "$ac_c_werror_flag"
43926                          || test ! -s conftest.err'
43927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928   (eval $ac_try) 2>&5
43929   ac_status=$?
43930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931   (exit $ac_status); }; } &&
43932          { ac_try='test -s conftest$ac_exeext'
43933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934   (eval $ac_try) 2>&5
43935   ac_status=$?
43936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937   (exit $ac_status); }; }; then
43938   eval "$as_ac_var=yes"
43939 else
43940   echo "$as_me: failed program was:" >&5
43941 sed 's/^/| /' conftest.$ac_ext >&5
43942
43943 eval "$as_ac_var=no"
43944 fi
43945 rm -f conftest.err conftest.$ac_objext \
43946       conftest$ac_exeext conftest.$ac_ext
43947 fi
43948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43950 if test `eval echo '${'$as_ac_var'}'` = yes; then
43951   cat >>confdefs.h <<_ACEOF
43952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43953 _ACEOF
43954
43955 fi
43956 done
43957
43958   else
43959
43960   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43961 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43962   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43963     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43964   echo $ECHO_N "(cached) $ECHO_C" >&6
43965 else
43966
43967
43968
43969       ac_ext=cc
43970 ac_cpp='$CXXCPP $CPPFLAGS'
43971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974
43975       cat >conftest.$ac_ext <<_ACEOF
43976 /* confdefs.h.  */
43977 _ACEOF
43978 cat confdefs.h >>conftest.$ac_ext
43979 cat >>conftest.$ac_ext <<_ACEOF
43980 /* end confdefs.h.  */
43981 #include <math.h>
43982 int
43983 main ()
43984 {
43985  _sincos(0, 0, 0);
43986   ;
43987   return 0;
43988 }
43989 _ACEOF
43990 rm -f conftest.$ac_objext
43991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43992   (eval $ac_compile) 2>conftest.er1
43993   ac_status=$?
43994   grep -v '^ *+' conftest.er1 >conftest.err
43995   rm -f conftest.er1
43996   cat conftest.err >&5
43997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998   (exit $ac_status); } &&
43999          { ac_try='test -z "$ac_cxx_werror_flag"
44000                          || test ! -s conftest.err'
44001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002   (eval $ac_try) 2>&5
44003   ac_status=$?
44004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005   (exit $ac_status); }; } &&
44006          { ac_try='test -s conftest.$ac_objext'
44007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008   (eval $ac_try) 2>&5
44009   ac_status=$?
44010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011   (exit $ac_status); }; }; then
44012   glibcxx_cv_func__sincos_use=yes
44013 else
44014   echo "$as_me: failed program was:" >&5
44015 sed 's/^/| /' conftest.$ac_ext >&5
44016
44017 glibcxx_cv_func__sincos_use=no
44018 fi
44019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44020       ac_ext=c
44021 ac_cpp='$CPP $CPPFLAGS'
44022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44025
44026
44027 fi
44028
44029   fi
44030   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44031 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44032
44033     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44034
44035 for ac_func in _sincos
44036 do
44037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44038 echo "$as_me:$LINENO: checking for $ac_func" >&5
44039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44040 if eval "test \"\${$as_ac_var+set}\" = set"; then
44041   echo $ECHO_N "(cached) $ECHO_C" >&6
44042 else
44043   if test x$gcc_no_link = xyes; then
44044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44046    { (exit 1); exit 1; }; }
44047 fi
44048 cat >conftest.$ac_ext <<_ACEOF
44049 /* confdefs.h.  */
44050 _ACEOF
44051 cat confdefs.h >>conftest.$ac_ext
44052 cat >>conftest.$ac_ext <<_ACEOF
44053 /* end confdefs.h.  */
44054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44056 #define $ac_func innocuous_$ac_func
44057
44058 /* System header to define __stub macros and hopefully few prototypes,
44059     which can conflict with char $ac_func (); below.
44060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44061     <limits.h> exists even on freestanding compilers.  */
44062
44063 #ifdef __STDC__
44064 # include <limits.h>
44065 #else
44066 # include <assert.h>
44067 #endif
44068
44069 #undef $ac_func
44070
44071 /* Override any gcc2 internal prototype to avoid an error.  */
44072 #ifdef __cplusplus
44073 extern "C"
44074 {
44075 #endif
44076 /* We use char because int might match the return type of a gcc2
44077    builtin and then its argument prototype would still apply.  */
44078 char $ac_func ();
44079 /* The GNU C library defines this for functions which it implements
44080     to always fail with ENOSYS.  Some functions are actually named
44081     something starting with __ and the normal name is an alias.  */
44082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44083 choke me
44084 #else
44085 char (*f) () = $ac_func;
44086 #endif
44087 #ifdef __cplusplus
44088 }
44089 #endif
44090
44091 int
44092 main ()
44093 {
44094 return f != $ac_func;
44095   ;
44096   return 0;
44097 }
44098 _ACEOF
44099 rm -f conftest.$ac_objext conftest$ac_exeext
44100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44101   (eval $ac_link) 2>conftest.er1
44102   ac_status=$?
44103   grep -v '^ *+' conftest.er1 >conftest.err
44104   rm -f conftest.er1
44105   cat conftest.err >&5
44106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107   (exit $ac_status); } &&
44108          { ac_try='test -z "$ac_c_werror_flag"
44109                          || test ! -s conftest.err'
44110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44111   (eval $ac_try) 2>&5
44112   ac_status=$?
44113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44114   (exit $ac_status); }; } &&
44115          { ac_try='test -s conftest$ac_exeext'
44116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44117   (eval $ac_try) 2>&5
44118   ac_status=$?
44119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44120   (exit $ac_status); }; }; then
44121   eval "$as_ac_var=yes"
44122 else
44123   echo "$as_me: failed program was:" >&5
44124 sed 's/^/| /' conftest.$ac_ext >&5
44125
44126 eval "$as_ac_var=no"
44127 fi
44128 rm -f conftest.err conftest.$ac_objext \
44129       conftest$ac_exeext conftest.$ac_ext
44130 fi
44131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44133 if test `eval echo '${'$as_ac_var'}'` = yes; then
44134   cat >>confdefs.h <<_ACEOF
44135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44136 _ACEOF
44137
44138 fi
44139 done
44140
44141     fi
44142   fi
44143
44144
44145
44146
44147
44148
44149   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44150 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44151   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44152     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44153   echo $ECHO_N "(cached) $ECHO_C" >&6
44154 else
44155
44156
44157
44158       ac_ext=cc
44159 ac_cpp='$CXXCPP $CPPFLAGS'
44160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44163
44164       cat >conftest.$ac_ext <<_ACEOF
44165 /* confdefs.h.  */
44166 _ACEOF
44167 cat confdefs.h >>conftest.$ac_ext
44168 cat >>conftest.$ac_ext <<_ACEOF
44169 /* end confdefs.h.  */
44170 #include <math.h>
44171                       #ifdef HAVE_IEEEFP_H
44172                       #include <ieeefp.h>
44173                       #endif
44174
44175 int
44176 main ()
44177 {
44178  fpclass(0);
44179   ;
44180   return 0;
44181 }
44182 _ACEOF
44183 rm -f conftest.$ac_objext
44184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44185   (eval $ac_compile) 2>conftest.er1
44186   ac_status=$?
44187   grep -v '^ *+' conftest.er1 >conftest.err
44188   rm -f conftest.er1
44189   cat conftest.err >&5
44190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44191   (exit $ac_status); } &&
44192          { ac_try='test -z "$ac_cxx_werror_flag"
44193                          || test ! -s conftest.err'
44194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44195   (eval $ac_try) 2>&5
44196   ac_status=$?
44197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44198   (exit $ac_status); }; } &&
44199          { ac_try='test -s conftest.$ac_objext'
44200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44201   (eval $ac_try) 2>&5
44202   ac_status=$?
44203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204   (exit $ac_status); }; }; then
44205   glibcxx_cv_func_fpclass_use=yes
44206 else
44207   echo "$as_me: failed program was:" >&5
44208 sed 's/^/| /' conftest.$ac_ext >&5
44209
44210 glibcxx_cv_func_fpclass_use=no
44211 fi
44212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44213       ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44218
44219
44220 fi
44221
44222   fi
44223   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44224 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44225
44226   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44227
44228 for ac_func in fpclass
44229 do
44230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44231 echo "$as_me:$LINENO: checking for $ac_func" >&5
44232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44233 if eval "test \"\${$as_ac_var+set}\" = set"; then
44234   echo $ECHO_N "(cached) $ECHO_C" >&6
44235 else
44236   if test x$gcc_no_link = xyes; then
44237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44239    { (exit 1); exit 1; }; }
44240 fi
44241 cat >conftest.$ac_ext <<_ACEOF
44242 /* confdefs.h.  */
44243 _ACEOF
44244 cat confdefs.h >>conftest.$ac_ext
44245 cat >>conftest.$ac_ext <<_ACEOF
44246 /* end confdefs.h.  */
44247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44249 #define $ac_func innocuous_$ac_func
44250
44251 /* System header to define __stub macros and hopefully few prototypes,
44252     which can conflict with char $ac_func (); below.
44253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44254     <limits.h> exists even on freestanding compilers.  */
44255
44256 #ifdef __STDC__
44257 # include <limits.h>
44258 #else
44259 # include <assert.h>
44260 #endif
44261
44262 #undef $ac_func
44263
44264 /* Override any gcc2 internal prototype to avoid an error.  */
44265 #ifdef __cplusplus
44266 extern "C"
44267 {
44268 #endif
44269 /* We use char because int might match the return type of a gcc2
44270    builtin and then its argument prototype would still apply.  */
44271 char $ac_func ();
44272 /* The GNU C library defines this for functions which it implements
44273     to always fail with ENOSYS.  Some functions are actually named
44274     something starting with __ and the normal name is an alias.  */
44275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44276 choke me
44277 #else
44278 char (*f) () = $ac_func;
44279 #endif
44280 #ifdef __cplusplus
44281 }
44282 #endif
44283
44284 int
44285 main ()
44286 {
44287 return f != $ac_func;
44288   ;
44289   return 0;
44290 }
44291 _ACEOF
44292 rm -f conftest.$ac_objext conftest$ac_exeext
44293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44294   (eval $ac_link) 2>conftest.er1
44295   ac_status=$?
44296   grep -v '^ *+' conftest.er1 >conftest.err
44297   rm -f conftest.er1
44298   cat conftest.err >&5
44299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300   (exit $ac_status); } &&
44301          { ac_try='test -z "$ac_c_werror_flag"
44302                          || test ! -s conftest.err'
44303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44304   (eval $ac_try) 2>&5
44305   ac_status=$?
44306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307   (exit $ac_status); }; } &&
44308          { ac_try='test -s conftest$ac_exeext'
44309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44310   (eval $ac_try) 2>&5
44311   ac_status=$?
44312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44313   (exit $ac_status); }; }; then
44314   eval "$as_ac_var=yes"
44315 else
44316   echo "$as_me: failed program was:" >&5
44317 sed 's/^/| /' conftest.$ac_ext >&5
44318
44319 eval "$as_ac_var=no"
44320 fi
44321 rm -f conftest.err conftest.$ac_objext \
44322       conftest$ac_exeext conftest.$ac_ext
44323 fi
44324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44326 if test `eval echo '${'$as_ac_var'}'` = yes; then
44327   cat >>confdefs.h <<_ACEOF
44328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44329 _ACEOF
44330
44331 fi
44332 done
44333
44334   else
44335
44336   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44337 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44338   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44339     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44340   echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342
44343
44344
44345       ac_ext=cc
44346 ac_cpp='$CXXCPP $CPPFLAGS'
44347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350
44351       cat >conftest.$ac_ext <<_ACEOF
44352 /* confdefs.h.  */
44353 _ACEOF
44354 cat confdefs.h >>conftest.$ac_ext
44355 cat >>conftest.$ac_ext <<_ACEOF
44356 /* end confdefs.h.  */
44357 #include <math.h>
44358                       #ifdef HAVE_IEEEFP_H
44359                       #include <ieeefp.h>
44360                       #endif
44361
44362 int
44363 main ()
44364 {
44365  _fpclass(0);
44366   ;
44367   return 0;
44368 }
44369 _ACEOF
44370 rm -f conftest.$ac_objext
44371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44372   (eval $ac_compile) 2>conftest.er1
44373   ac_status=$?
44374   grep -v '^ *+' conftest.er1 >conftest.err
44375   rm -f conftest.er1
44376   cat conftest.err >&5
44377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378   (exit $ac_status); } &&
44379          { ac_try='test -z "$ac_cxx_werror_flag"
44380                          || test ! -s conftest.err'
44381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44382   (eval $ac_try) 2>&5
44383   ac_status=$?
44384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385   (exit $ac_status); }; } &&
44386          { ac_try='test -s conftest.$ac_objext'
44387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44388   (eval $ac_try) 2>&5
44389   ac_status=$?
44390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391   (exit $ac_status); }; }; then
44392   glibcxx_cv_func__fpclass_use=yes
44393 else
44394   echo "$as_me: failed program was:" >&5
44395 sed 's/^/| /' conftest.$ac_ext >&5
44396
44397 glibcxx_cv_func__fpclass_use=no
44398 fi
44399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44400       ac_ext=c
44401 ac_cpp='$CPP $CPPFLAGS'
44402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405
44406
44407 fi
44408
44409   fi
44410   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44411 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44412
44413     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44414
44415 for ac_func in _fpclass
44416 do
44417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44418 echo "$as_me:$LINENO: checking for $ac_func" >&5
44419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44420 if eval "test \"\${$as_ac_var+set}\" = set"; then
44421   echo $ECHO_N "(cached) $ECHO_C" >&6
44422 else
44423   if test x$gcc_no_link = xyes; then
44424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44426    { (exit 1); exit 1; }; }
44427 fi
44428 cat >conftest.$ac_ext <<_ACEOF
44429 /* confdefs.h.  */
44430 _ACEOF
44431 cat confdefs.h >>conftest.$ac_ext
44432 cat >>conftest.$ac_ext <<_ACEOF
44433 /* end confdefs.h.  */
44434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44436 #define $ac_func innocuous_$ac_func
44437
44438 /* System header to define __stub macros and hopefully few prototypes,
44439     which can conflict with char $ac_func (); below.
44440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44441     <limits.h> exists even on freestanding compilers.  */
44442
44443 #ifdef __STDC__
44444 # include <limits.h>
44445 #else
44446 # include <assert.h>
44447 #endif
44448
44449 #undef $ac_func
44450
44451 /* Override any gcc2 internal prototype to avoid an error.  */
44452 #ifdef __cplusplus
44453 extern "C"
44454 {
44455 #endif
44456 /* We use char because int might match the return type of a gcc2
44457    builtin and then its argument prototype would still apply.  */
44458 char $ac_func ();
44459 /* The GNU C library defines this for functions which it implements
44460     to always fail with ENOSYS.  Some functions are actually named
44461     something starting with __ and the normal name is an alias.  */
44462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44463 choke me
44464 #else
44465 char (*f) () = $ac_func;
44466 #endif
44467 #ifdef __cplusplus
44468 }
44469 #endif
44470
44471 int
44472 main ()
44473 {
44474 return f != $ac_func;
44475   ;
44476   return 0;
44477 }
44478 _ACEOF
44479 rm -f conftest.$ac_objext conftest$ac_exeext
44480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44481   (eval $ac_link) 2>conftest.er1
44482   ac_status=$?
44483   grep -v '^ *+' conftest.er1 >conftest.err
44484   rm -f conftest.er1
44485   cat conftest.err >&5
44486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487   (exit $ac_status); } &&
44488          { ac_try='test -z "$ac_c_werror_flag"
44489                          || test ! -s conftest.err'
44490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44491   (eval $ac_try) 2>&5
44492   ac_status=$?
44493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494   (exit $ac_status); }; } &&
44495          { ac_try='test -s conftest$ac_exeext'
44496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44497   (eval $ac_try) 2>&5
44498   ac_status=$?
44499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44500   (exit $ac_status); }; }; then
44501   eval "$as_ac_var=yes"
44502 else
44503   echo "$as_me: failed program was:" >&5
44504 sed 's/^/| /' conftest.$ac_ext >&5
44505
44506 eval "$as_ac_var=no"
44507 fi
44508 rm -f conftest.err conftest.$ac_objext \
44509       conftest$ac_exeext conftest.$ac_ext
44510 fi
44511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44513 if test `eval echo '${'$as_ac_var'}'` = yes; then
44514   cat >>confdefs.h <<_ACEOF
44515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44516 _ACEOF
44517
44518 fi
44519 done
44520
44521     fi
44522   fi
44523
44524
44525
44526
44527
44528
44529   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44530 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44531   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44532     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44533   echo $ECHO_N "(cached) $ECHO_C" >&6
44534 else
44535
44536
44537
44538       ac_ext=cc
44539 ac_cpp='$CXXCPP $CPPFLAGS'
44540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44543
44544       cat >conftest.$ac_ext <<_ACEOF
44545 /* confdefs.h.  */
44546 _ACEOF
44547 cat confdefs.h >>conftest.$ac_ext
44548 cat >>conftest.$ac_ext <<_ACEOF
44549 /* end confdefs.h.  */
44550 #include <math.h>
44551                       #ifdef HAVE_IEEEFP_H
44552                       #include <ieeefp.h>
44553                       #endif
44554
44555 int
44556 main ()
44557 {
44558  qfpclass(0);
44559   ;
44560   return 0;
44561 }
44562 _ACEOF
44563 rm -f conftest.$ac_objext
44564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44565   (eval $ac_compile) 2>conftest.er1
44566   ac_status=$?
44567   grep -v '^ *+' conftest.er1 >conftest.err
44568   rm -f conftest.er1
44569   cat conftest.err >&5
44570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44571   (exit $ac_status); } &&
44572          { ac_try='test -z "$ac_cxx_werror_flag"
44573                          || test ! -s conftest.err'
44574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44575   (eval $ac_try) 2>&5
44576   ac_status=$?
44577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578   (exit $ac_status); }; } &&
44579          { ac_try='test -s conftest.$ac_objext'
44580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44581   (eval $ac_try) 2>&5
44582   ac_status=$?
44583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44584   (exit $ac_status); }; }; then
44585   glibcxx_cv_func_qfpclass_use=yes
44586 else
44587   echo "$as_me: failed program was:" >&5
44588 sed 's/^/| /' conftest.$ac_ext >&5
44589
44590 glibcxx_cv_func_qfpclass_use=no
44591 fi
44592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44593       ac_ext=c
44594 ac_cpp='$CPP $CPPFLAGS'
44595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44598
44599
44600 fi
44601
44602   fi
44603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44604 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44605
44606   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44607
44608 for ac_func in qfpclass
44609 do
44610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44611 echo "$as_me:$LINENO: checking for $ac_func" >&5
44612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44613 if eval "test \"\${$as_ac_var+set}\" = set"; then
44614   echo $ECHO_N "(cached) $ECHO_C" >&6
44615 else
44616   if test x$gcc_no_link = xyes; then
44617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44619    { (exit 1); exit 1; }; }
44620 fi
44621 cat >conftest.$ac_ext <<_ACEOF
44622 /* confdefs.h.  */
44623 _ACEOF
44624 cat confdefs.h >>conftest.$ac_ext
44625 cat >>conftest.$ac_ext <<_ACEOF
44626 /* end confdefs.h.  */
44627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44629 #define $ac_func innocuous_$ac_func
44630
44631 /* System header to define __stub macros and hopefully few prototypes,
44632     which can conflict with char $ac_func (); below.
44633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44634     <limits.h> exists even on freestanding compilers.  */
44635
44636 #ifdef __STDC__
44637 # include <limits.h>
44638 #else
44639 # include <assert.h>
44640 #endif
44641
44642 #undef $ac_func
44643
44644 /* Override any gcc2 internal prototype to avoid an error.  */
44645 #ifdef __cplusplus
44646 extern "C"
44647 {
44648 #endif
44649 /* We use char because int might match the return type of a gcc2
44650    builtin and then its argument prototype would still apply.  */
44651 char $ac_func ();
44652 /* The GNU C library defines this for functions which it implements
44653     to always fail with ENOSYS.  Some functions are actually named
44654     something starting with __ and the normal name is an alias.  */
44655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44656 choke me
44657 #else
44658 char (*f) () = $ac_func;
44659 #endif
44660 #ifdef __cplusplus
44661 }
44662 #endif
44663
44664 int
44665 main ()
44666 {
44667 return f != $ac_func;
44668   ;
44669   return 0;
44670 }
44671 _ACEOF
44672 rm -f conftest.$ac_objext conftest$ac_exeext
44673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44674   (eval $ac_link) 2>conftest.er1
44675   ac_status=$?
44676   grep -v '^ *+' conftest.er1 >conftest.err
44677   rm -f conftest.er1
44678   cat conftest.err >&5
44679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680   (exit $ac_status); } &&
44681          { ac_try='test -z "$ac_c_werror_flag"
44682                          || test ! -s conftest.err'
44683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44684   (eval $ac_try) 2>&5
44685   ac_status=$?
44686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687   (exit $ac_status); }; } &&
44688          { ac_try='test -s conftest$ac_exeext'
44689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44690   (eval $ac_try) 2>&5
44691   ac_status=$?
44692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44693   (exit $ac_status); }; }; then
44694   eval "$as_ac_var=yes"
44695 else
44696   echo "$as_me: failed program was:" >&5
44697 sed 's/^/| /' conftest.$ac_ext >&5
44698
44699 eval "$as_ac_var=no"
44700 fi
44701 rm -f conftest.err conftest.$ac_objext \
44702       conftest$ac_exeext conftest.$ac_ext
44703 fi
44704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44706 if test `eval echo '${'$as_ac_var'}'` = yes; then
44707   cat >>confdefs.h <<_ACEOF
44708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44709 _ACEOF
44710
44711 fi
44712 done
44713
44714   else
44715
44716   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44717 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44718   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44719     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44720   echo $ECHO_N "(cached) $ECHO_C" >&6
44721 else
44722
44723
44724
44725       ac_ext=cc
44726 ac_cpp='$CXXCPP $CPPFLAGS'
44727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44730
44731       cat >conftest.$ac_ext <<_ACEOF
44732 /* confdefs.h.  */
44733 _ACEOF
44734 cat confdefs.h >>conftest.$ac_ext
44735 cat >>conftest.$ac_ext <<_ACEOF
44736 /* end confdefs.h.  */
44737 #include <math.h>
44738                       #ifdef HAVE_IEEEFP_H
44739                       #include <ieeefp.h>
44740                       #endif
44741
44742 int
44743 main ()
44744 {
44745  _qfpclass(0);
44746   ;
44747   return 0;
44748 }
44749 _ACEOF
44750 rm -f conftest.$ac_objext
44751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44752   (eval $ac_compile) 2>conftest.er1
44753   ac_status=$?
44754   grep -v '^ *+' conftest.er1 >conftest.err
44755   rm -f conftest.er1
44756   cat conftest.err >&5
44757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758   (exit $ac_status); } &&
44759          { ac_try='test -z "$ac_cxx_werror_flag"
44760                          || test ! -s conftest.err'
44761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44762   (eval $ac_try) 2>&5
44763   ac_status=$?
44764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765   (exit $ac_status); }; } &&
44766          { ac_try='test -s conftest.$ac_objext'
44767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44768   (eval $ac_try) 2>&5
44769   ac_status=$?
44770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44771   (exit $ac_status); }; }; then
44772   glibcxx_cv_func__qfpclass_use=yes
44773 else
44774   echo "$as_me: failed program was:" >&5
44775 sed 's/^/| /' conftest.$ac_ext >&5
44776
44777 glibcxx_cv_func__qfpclass_use=no
44778 fi
44779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44780       ac_ext=c
44781 ac_cpp='$CPP $CPPFLAGS'
44782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44785
44786
44787 fi
44788
44789   fi
44790   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44791 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44792
44793     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44794
44795 for ac_func in _qfpclass
44796 do
44797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44798 echo "$as_me:$LINENO: checking for $ac_func" >&5
44799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44800 if eval "test \"\${$as_ac_var+set}\" = set"; then
44801   echo $ECHO_N "(cached) $ECHO_C" >&6
44802 else
44803   if test x$gcc_no_link = xyes; then
44804   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44806    { (exit 1); exit 1; }; }
44807 fi
44808 cat >conftest.$ac_ext <<_ACEOF
44809 /* confdefs.h.  */
44810 _ACEOF
44811 cat confdefs.h >>conftest.$ac_ext
44812 cat >>conftest.$ac_ext <<_ACEOF
44813 /* end confdefs.h.  */
44814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44815    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44816 #define $ac_func innocuous_$ac_func
44817
44818 /* System header to define __stub macros and hopefully few prototypes,
44819     which can conflict with char $ac_func (); below.
44820     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44821     <limits.h> exists even on freestanding compilers.  */
44822
44823 #ifdef __STDC__
44824 # include <limits.h>
44825 #else
44826 # include <assert.h>
44827 #endif
44828
44829 #undef $ac_func
44830
44831 /* Override any gcc2 internal prototype to avoid an error.  */
44832 #ifdef __cplusplus
44833 extern "C"
44834 {
44835 #endif
44836 /* We use char because int might match the return type of a gcc2
44837    builtin and then its argument prototype would still apply.  */
44838 char $ac_func ();
44839 /* The GNU C library defines this for functions which it implements
44840     to always fail with ENOSYS.  Some functions are actually named
44841     something starting with __ and the normal name is an alias.  */
44842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44843 choke me
44844 #else
44845 char (*f) () = $ac_func;
44846 #endif
44847 #ifdef __cplusplus
44848 }
44849 #endif
44850
44851 int
44852 main ()
44853 {
44854 return f != $ac_func;
44855   ;
44856   return 0;
44857 }
44858 _ACEOF
44859 rm -f conftest.$ac_objext conftest$ac_exeext
44860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44861   (eval $ac_link) 2>conftest.er1
44862   ac_status=$?
44863   grep -v '^ *+' conftest.er1 >conftest.err
44864   rm -f conftest.er1
44865   cat conftest.err >&5
44866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867   (exit $ac_status); } &&
44868          { ac_try='test -z "$ac_c_werror_flag"
44869                          || test ! -s conftest.err'
44870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44871   (eval $ac_try) 2>&5
44872   ac_status=$?
44873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874   (exit $ac_status); }; } &&
44875          { ac_try='test -s conftest$ac_exeext'
44876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44877   (eval $ac_try) 2>&5
44878   ac_status=$?
44879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44880   (exit $ac_status); }; }; then
44881   eval "$as_ac_var=yes"
44882 else
44883   echo "$as_me: failed program was:" >&5
44884 sed 's/^/| /' conftest.$ac_ext >&5
44885
44886 eval "$as_ac_var=no"
44887 fi
44888 rm -f conftest.err conftest.$ac_objext \
44889       conftest$ac_exeext conftest.$ac_ext
44890 fi
44891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44893 if test `eval echo '${'$as_ac_var'}'` = yes; then
44894   cat >>confdefs.h <<_ACEOF
44895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44896 _ACEOF
44897
44898 fi
44899 done
44900
44901     fi
44902   fi
44903
44904
44905
44906
44907
44908
44909   echo "$as_me:$LINENO: checking for hypot declaration" >&5
44910 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44911   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44912     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44913   echo $ECHO_N "(cached) $ECHO_C" >&6
44914 else
44915
44916
44917
44918       ac_ext=cc
44919 ac_cpp='$CXXCPP $CPPFLAGS'
44920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923
44924       cat >conftest.$ac_ext <<_ACEOF
44925 /* confdefs.h.  */
44926 _ACEOF
44927 cat confdefs.h >>conftest.$ac_ext
44928 cat >>conftest.$ac_ext <<_ACEOF
44929 /* end confdefs.h.  */
44930 #include <math.h>
44931 int
44932 main ()
44933 {
44934  hypot(0, 0);
44935   ;
44936   return 0;
44937 }
44938 _ACEOF
44939 rm -f conftest.$ac_objext
44940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44941   (eval $ac_compile) 2>conftest.er1
44942   ac_status=$?
44943   grep -v '^ *+' conftest.er1 >conftest.err
44944   rm -f conftest.er1
44945   cat conftest.err >&5
44946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44947   (exit $ac_status); } &&
44948          { ac_try='test -z "$ac_cxx_werror_flag"
44949                          || test ! -s conftest.err'
44950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44951   (eval $ac_try) 2>&5
44952   ac_status=$?
44953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44954   (exit $ac_status); }; } &&
44955          { ac_try='test -s conftest.$ac_objext'
44956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44957   (eval $ac_try) 2>&5
44958   ac_status=$?
44959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960   (exit $ac_status); }; }; then
44961   glibcxx_cv_func_hypot_use=yes
44962 else
44963   echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44965
44966 glibcxx_cv_func_hypot_use=no
44967 fi
44968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44969       ac_ext=c
44970 ac_cpp='$CPP $CPPFLAGS'
44971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44974
44975
44976 fi
44977
44978   fi
44979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44980 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44981
44982   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44983
44984 for ac_func in hypot
44985 do
44986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44987 echo "$as_me:$LINENO: checking for $ac_func" >&5
44988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44989 if eval "test \"\${$as_ac_var+set}\" = set"; then
44990   echo $ECHO_N "(cached) $ECHO_C" >&6
44991 else
44992   if test x$gcc_no_link = xyes; then
44993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44995    { (exit 1); exit 1; }; }
44996 fi
44997 cat >conftest.$ac_ext <<_ACEOF
44998 /* confdefs.h.  */
44999 _ACEOF
45000 cat confdefs.h >>conftest.$ac_ext
45001 cat >>conftest.$ac_ext <<_ACEOF
45002 /* end confdefs.h.  */
45003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45005 #define $ac_func innocuous_$ac_func
45006
45007 /* System header to define __stub macros and hopefully few prototypes,
45008     which can conflict with char $ac_func (); below.
45009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45010     <limits.h> exists even on freestanding compilers.  */
45011
45012 #ifdef __STDC__
45013 # include <limits.h>
45014 #else
45015 # include <assert.h>
45016 #endif
45017
45018 #undef $ac_func
45019
45020 /* Override any gcc2 internal prototype to avoid an error.  */
45021 #ifdef __cplusplus
45022 extern "C"
45023 {
45024 #endif
45025 /* We use char because int might match the return type of a gcc2
45026    builtin and then its argument prototype would still apply.  */
45027 char $ac_func ();
45028 /* The GNU C library defines this for functions which it implements
45029     to always fail with ENOSYS.  Some functions are actually named
45030     something starting with __ and the normal name is an alias.  */
45031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45032 choke me
45033 #else
45034 char (*f) () = $ac_func;
45035 #endif
45036 #ifdef __cplusplus
45037 }
45038 #endif
45039
45040 int
45041 main ()
45042 {
45043 return f != $ac_func;
45044   ;
45045   return 0;
45046 }
45047 _ACEOF
45048 rm -f conftest.$ac_objext conftest$ac_exeext
45049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45050   (eval $ac_link) 2>conftest.er1
45051   ac_status=$?
45052   grep -v '^ *+' conftest.er1 >conftest.err
45053   rm -f conftest.er1
45054   cat conftest.err >&5
45055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45056   (exit $ac_status); } &&
45057          { ac_try='test -z "$ac_c_werror_flag"
45058                          || test ! -s conftest.err'
45059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45060   (eval $ac_try) 2>&5
45061   ac_status=$?
45062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45063   (exit $ac_status); }; } &&
45064          { ac_try='test -s conftest$ac_exeext'
45065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45066   (eval $ac_try) 2>&5
45067   ac_status=$?
45068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069   (exit $ac_status); }; }; then
45070   eval "$as_ac_var=yes"
45071 else
45072   echo "$as_me: failed program was:" >&5
45073 sed 's/^/| /' conftest.$ac_ext >&5
45074
45075 eval "$as_ac_var=no"
45076 fi
45077 rm -f conftest.err conftest.$ac_objext \
45078       conftest$ac_exeext conftest.$ac_ext
45079 fi
45080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45082 if test `eval echo '${'$as_ac_var'}'` = yes; then
45083   cat >>confdefs.h <<_ACEOF
45084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45085 _ACEOF
45086
45087 fi
45088 done
45089
45090   else
45091
45092   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45093 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45094   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45095     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45096   echo $ECHO_N "(cached) $ECHO_C" >&6
45097 else
45098
45099
45100
45101       ac_ext=cc
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106
45107       cat >conftest.$ac_ext <<_ACEOF
45108 /* confdefs.h.  */
45109 _ACEOF
45110 cat confdefs.h >>conftest.$ac_ext
45111 cat >>conftest.$ac_ext <<_ACEOF
45112 /* end confdefs.h.  */
45113 #include <math.h>
45114 int
45115 main ()
45116 {
45117  _hypot(0, 0);
45118   ;
45119   return 0;
45120 }
45121 _ACEOF
45122 rm -f conftest.$ac_objext
45123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45124   (eval $ac_compile) 2>conftest.er1
45125   ac_status=$?
45126   grep -v '^ *+' conftest.er1 >conftest.err
45127   rm -f conftest.er1
45128   cat conftest.err >&5
45129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45130   (exit $ac_status); } &&
45131          { ac_try='test -z "$ac_cxx_werror_flag"
45132                          || test ! -s conftest.err'
45133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45134   (eval $ac_try) 2>&5
45135   ac_status=$?
45136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45137   (exit $ac_status); }; } &&
45138          { ac_try='test -s conftest.$ac_objext'
45139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45140   (eval $ac_try) 2>&5
45141   ac_status=$?
45142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143   (exit $ac_status); }; }; then
45144   glibcxx_cv_func__hypot_use=yes
45145 else
45146   echo "$as_me: failed program was:" >&5
45147 sed 's/^/| /' conftest.$ac_ext >&5
45148
45149 glibcxx_cv_func__hypot_use=no
45150 fi
45151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45152       ac_ext=c
45153 ac_cpp='$CPP $CPPFLAGS'
45154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45157
45158
45159 fi
45160
45161   fi
45162   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45163 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45164
45165     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45166
45167 for ac_func in _hypot
45168 do
45169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45170 echo "$as_me:$LINENO: checking for $ac_func" >&5
45171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45172 if eval "test \"\${$as_ac_var+set}\" = set"; then
45173   echo $ECHO_N "(cached) $ECHO_C" >&6
45174 else
45175   if test x$gcc_no_link = xyes; then
45176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45178    { (exit 1); exit 1; }; }
45179 fi
45180 cat >conftest.$ac_ext <<_ACEOF
45181 /* confdefs.h.  */
45182 _ACEOF
45183 cat confdefs.h >>conftest.$ac_ext
45184 cat >>conftest.$ac_ext <<_ACEOF
45185 /* end confdefs.h.  */
45186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45188 #define $ac_func innocuous_$ac_func
45189
45190 /* System header to define __stub macros and hopefully few prototypes,
45191     which can conflict with char $ac_func (); below.
45192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45193     <limits.h> exists even on freestanding compilers.  */
45194
45195 #ifdef __STDC__
45196 # include <limits.h>
45197 #else
45198 # include <assert.h>
45199 #endif
45200
45201 #undef $ac_func
45202
45203 /* Override any gcc2 internal prototype to avoid an error.  */
45204 #ifdef __cplusplus
45205 extern "C"
45206 {
45207 #endif
45208 /* We use char because int might match the return type of a gcc2
45209    builtin and then its argument prototype would still apply.  */
45210 char $ac_func ();
45211 /* The GNU C library defines this for functions which it implements
45212     to always fail with ENOSYS.  Some functions are actually named
45213     something starting with __ and the normal name is an alias.  */
45214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45215 choke me
45216 #else
45217 char (*f) () = $ac_func;
45218 #endif
45219 #ifdef __cplusplus
45220 }
45221 #endif
45222
45223 int
45224 main ()
45225 {
45226 return f != $ac_func;
45227   ;
45228   return 0;
45229 }
45230 _ACEOF
45231 rm -f conftest.$ac_objext conftest$ac_exeext
45232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45233   (eval $ac_link) 2>conftest.er1
45234   ac_status=$?
45235   grep -v '^ *+' conftest.er1 >conftest.err
45236   rm -f conftest.er1
45237   cat conftest.err >&5
45238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239   (exit $ac_status); } &&
45240          { ac_try='test -z "$ac_c_werror_flag"
45241                          || test ! -s conftest.err'
45242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45243   (eval $ac_try) 2>&5
45244   ac_status=$?
45245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45246   (exit $ac_status); }; } &&
45247          { ac_try='test -s conftest$ac_exeext'
45248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45249   (eval $ac_try) 2>&5
45250   ac_status=$?
45251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252   (exit $ac_status); }; }; then
45253   eval "$as_ac_var=yes"
45254 else
45255   echo "$as_me: failed program was:" >&5
45256 sed 's/^/| /' conftest.$ac_ext >&5
45257
45258 eval "$as_ac_var=no"
45259 fi
45260 rm -f conftest.err conftest.$ac_objext \
45261       conftest$ac_exeext conftest.$ac_ext
45262 fi
45263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45265 if test `eval echo '${'$as_ac_var'}'` = yes; then
45266   cat >>confdefs.h <<_ACEOF
45267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45268 _ACEOF
45269
45270 fi
45271 done
45272
45273     fi
45274   fi
45275
45276
45277
45278
45279
45280
45281     echo "$as_me:$LINENO: checking for float trig functions" >&5
45282 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45283   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45284   echo $ECHO_N "(cached) $ECHO_C" >&6
45285 else
45286
45287
45288
45289     ac_ext=cc
45290 ac_cpp='$CXXCPP $CPPFLAGS'
45291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45294
45295     cat >conftest.$ac_ext <<_ACEOF
45296 /* confdefs.h.  */
45297 _ACEOF
45298 cat confdefs.h >>conftest.$ac_ext
45299 cat >>conftest.$ac_ext <<_ACEOF
45300 /* end confdefs.h.  */
45301 #include <math.h>
45302 int
45303 main ()
45304 {
45305 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45306   ;
45307   return 0;
45308 }
45309 _ACEOF
45310 rm -f conftest.$ac_objext
45311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45312   (eval $ac_compile) 2>conftest.er1
45313   ac_status=$?
45314   grep -v '^ *+' conftest.er1 >conftest.err
45315   rm -f conftest.er1
45316   cat conftest.err >&5
45317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45318   (exit $ac_status); } &&
45319          { ac_try='test -z "$ac_cxx_werror_flag"
45320                          || test ! -s conftest.err'
45321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45322   (eval $ac_try) 2>&5
45323   ac_status=$?
45324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325   (exit $ac_status); }; } &&
45326          { ac_try='test -s conftest.$ac_objext'
45327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45328   (eval $ac_try) 2>&5
45329   ac_status=$?
45330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331   (exit $ac_status); }; }; then
45332   glibcxx_cv_func_float_trig_use=yes
45333 else
45334   echo "$as_me: failed program was:" >&5
45335 sed 's/^/| /' conftest.$ac_ext >&5
45336
45337 glibcxx_cv_func_float_trig_use=no
45338 fi
45339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45340     ac_ext=c
45341 ac_cpp='$CPP $CPPFLAGS'
45342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45345
45346 fi
45347
45348   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45349 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45350   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45361 do
45362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45363 echo "$as_me:$LINENO: checking for $ac_func" >&5
45364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45365 if eval "test \"\${$as_ac_var+set}\" = set"; then
45366   echo $ECHO_N "(cached) $ECHO_C" >&6
45367 else
45368   if test x$gcc_no_link = xyes; then
45369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45371    { (exit 1); exit 1; }; }
45372 fi
45373 cat >conftest.$ac_ext <<_ACEOF
45374 /* confdefs.h.  */
45375 _ACEOF
45376 cat confdefs.h >>conftest.$ac_ext
45377 cat >>conftest.$ac_ext <<_ACEOF
45378 /* end confdefs.h.  */
45379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45381 #define $ac_func innocuous_$ac_func
45382
45383 /* System header to define __stub macros and hopefully few prototypes,
45384     which can conflict with char $ac_func (); below.
45385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45386     <limits.h> exists even on freestanding compilers.  */
45387
45388 #ifdef __STDC__
45389 # include <limits.h>
45390 #else
45391 # include <assert.h>
45392 #endif
45393
45394 #undef $ac_func
45395
45396 /* Override any gcc2 internal prototype to avoid an error.  */
45397 #ifdef __cplusplus
45398 extern "C"
45399 {
45400 #endif
45401 /* We use char because int might match the return type of a gcc2
45402    builtin and then its argument prototype would still apply.  */
45403 char $ac_func ();
45404 /* The GNU C library defines this for functions which it implements
45405     to always fail with ENOSYS.  Some functions are actually named
45406     something starting with __ and the normal name is an alias.  */
45407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45408 choke me
45409 #else
45410 char (*f) () = $ac_func;
45411 #endif
45412 #ifdef __cplusplus
45413 }
45414 #endif
45415
45416 int
45417 main ()
45418 {
45419 return f != $ac_func;
45420   ;
45421   return 0;
45422 }
45423 _ACEOF
45424 rm -f conftest.$ac_objext conftest$ac_exeext
45425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45426   (eval $ac_link) 2>conftest.er1
45427   ac_status=$?
45428   grep -v '^ *+' conftest.er1 >conftest.err
45429   rm -f conftest.er1
45430   cat conftest.err >&5
45431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45432   (exit $ac_status); } &&
45433          { ac_try='test -z "$ac_c_werror_flag"
45434                          || test ! -s conftest.err'
45435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45436   (eval $ac_try) 2>&5
45437   ac_status=$?
45438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45439   (exit $ac_status); }; } &&
45440          { ac_try='test -s conftest$ac_exeext'
45441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442   (eval $ac_try) 2>&5
45443   ac_status=$?
45444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445   (exit $ac_status); }; }; then
45446   eval "$as_ac_var=yes"
45447 else
45448   echo "$as_me: failed program was:" >&5
45449 sed 's/^/| /' conftest.$ac_ext >&5
45450
45451 eval "$as_ac_var=no"
45452 fi
45453 rm -f conftest.err conftest.$ac_objext \
45454       conftest$ac_exeext conftest.$ac_ext
45455 fi
45456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45458 if test `eval echo '${'$as_ac_var'}'` = yes; then
45459   cat >>confdefs.h <<_ACEOF
45460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45461 _ACEOF
45462
45463 fi
45464 done
45465
45466   else
45467     echo "$as_me:$LINENO: checking for _float trig functions" >&5
45468 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45469     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45470   echo $ECHO_N "(cached) $ECHO_C" >&6
45471 else
45472
45473
45474
45475       ac_ext=cc
45476 ac_cpp='$CXXCPP $CPPFLAGS'
45477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480
45481       cat >conftest.$ac_ext <<_ACEOF
45482 /* confdefs.h.  */
45483 _ACEOF
45484 cat confdefs.h >>conftest.$ac_ext
45485 cat >>conftest.$ac_ext <<_ACEOF
45486 /* end confdefs.h.  */
45487 #include <math.h>
45488 int
45489 main ()
45490 {
45491 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45492   ;
45493   return 0;
45494 }
45495 _ACEOF
45496 rm -f conftest.$ac_objext
45497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45498   (eval $ac_compile) 2>conftest.er1
45499   ac_status=$?
45500   grep -v '^ *+' conftest.er1 >conftest.err
45501   rm -f conftest.er1
45502   cat conftest.err >&5
45503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45504   (exit $ac_status); } &&
45505          { ac_try='test -z "$ac_cxx_werror_flag"
45506                          || test ! -s conftest.err'
45507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45508   (eval $ac_try) 2>&5
45509   ac_status=$?
45510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511   (exit $ac_status); }; } &&
45512          { ac_try='test -s conftest.$ac_objext'
45513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45514   (eval $ac_try) 2>&5
45515   ac_status=$?
45516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517   (exit $ac_status); }; }; then
45518   glibcxx_cv_func__float_trig_use=yes
45519 else
45520   echo "$as_me: failed program was:" >&5
45521 sed 's/^/| /' conftest.$ac_ext >&5
45522
45523 glibcxx_cv_func__float_trig_use=no
45524 fi
45525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45526       ac_ext=c
45527 ac_cpp='$CPP $CPPFLAGS'
45528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45531
45532 fi
45533
45534     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45535 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45536     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45547 do
45548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45549 echo "$as_me:$LINENO: checking for $ac_func" >&5
45550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45551 if eval "test \"\${$as_ac_var+set}\" = set"; then
45552   echo $ECHO_N "(cached) $ECHO_C" >&6
45553 else
45554   if test x$gcc_no_link = xyes; then
45555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45557    { (exit 1); exit 1; }; }
45558 fi
45559 cat >conftest.$ac_ext <<_ACEOF
45560 /* confdefs.h.  */
45561 _ACEOF
45562 cat confdefs.h >>conftest.$ac_ext
45563 cat >>conftest.$ac_ext <<_ACEOF
45564 /* end confdefs.h.  */
45565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45567 #define $ac_func innocuous_$ac_func
45568
45569 /* System header to define __stub macros and hopefully few prototypes,
45570     which can conflict with char $ac_func (); below.
45571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45572     <limits.h> exists even on freestanding compilers.  */
45573
45574 #ifdef __STDC__
45575 # include <limits.h>
45576 #else
45577 # include <assert.h>
45578 #endif
45579
45580 #undef $ac_func
45581
45582 /* Override any gcc2 internal prototype to avoid an error.  */
45583 #ifdef __cplusplus
45584 extern "C"
45585 {
45586 #endif
45587 /* We use char because int might match the return type of a gcc2
45588    builtin and then its argument prototype would still apply.  */
45589 char $ac_func ();
45590 /* The GNU C library defines this for functions which it implements
45591     to always fail with ENOSYS.  Some functions are actually named
45592     something starting with __ and the normal name is an alias.  */
45593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45594 choke me
45595 #else
45596 char (*f) () = $ac_func;
45597 #endif
45598 #ifdef __cplusplus
45599 }
45600 #endif
45601
45602 int
45603 main ()
45604 {
45605 return f != $ac_func;
45606   ;
45607   return 0;
45608 }
45609 _ACEOF
45610 rm -f conftest.$ac_objext conftest$ac_exeext
45611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45612   (eval $ac_link) 2>conftest.er1
45613   ac_status=$?
45614   grep -v '^ *+' conftest.er1 >conftest.err
45615   rm -f conftest.er1
45616   cat conftest.err >&5
45617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45618   (exit $ac_status); } &&
45619          { ac_try='test -z "$ac_c_werror_flag"
45620                          || test ! -s conftest.err'
45621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45622   (eval $ac_try) 2>&5
45623   ac_status=$?
45624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625   (exit $ac_status); }; } &&
45626          { ac_try='test -s conftest$ac_exeext'
45627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628   (eval $ac_try) 2>&5
45629   ac_status=$?
45630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631   (exit $ac_status); }; }; then
45632   eval "$as_ac_var=yes"
45633 else
45634   echo "$as_me: failed program was:" >&5
45635 sed 's/^/| /' conftest.$ac_ext >&5
45636
45637 eval "$as_ac_var=no"
45638 fi
45639 rm -f conftest.err conftest.$ac_objext \
45640       conftest$ac_exeext conftest.$ac_ext
45641 fi
45642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45644 if test `eval echo '${'$as_ac_var'}'` = yes; then
45645   cat >>confdefs.h <<_ACEOF
45646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45647 _ACEOF
45648
45649 fi
45650 done
45651
45652     fi
45653   fi
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668     echo "$as_me:$LINENO: checking for float round functions" >&5
45669 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45670   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45671   echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45673
45674
45675
45676     ac_ext=cc
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681
45682     cat >conftest.$ac_ext <<_ACEOF
45683 /* confdefs.h.  */
45684 _ACEOF
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h.  */
45688 #include <math.h>
45689 int
45690 main ()
45691 {
45692 ceilf (0); floorf (0);
45693   ;
45694   return 0;
45695 }
45696 _ACEOF
45697 rm -f conftest.$ac_objext
45698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45699   (eval $ac_compile) 2>conftest.er1
45700   ac_status=$?
45701   grep -v '^ *+' conftest.er1 >conftest.err
45702   rm -f conftest.er1
45703   cat conftest.err >&5
45704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705   (exit $ac_status); } &&
45706          { ac_try='test -z "$ac_cxx_werror_flag"
45707                          || test ! -s conftest.err'
45708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45709   (eval $ac_try) 2>&5
45710   ac_status=$?
45711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45712   (exit $ac_status); }; } &&
45713          { ac_try='test -s conftest.$ac_objext'
45714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45715   (eval $ac_try) 2>&5
45716   ac_status=$?
45717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718   (exit $ac_status); }; }; then
45719   glibcxx_cv_func_float_round_use=yes
45720 else
45721   echo "$as_me: failed program was:" >&5
45722 sed 's/^/| /' conftest.$ac_ext >&5
45723
45724 glibcxx_cv_func_float_round_use=no
45725 fi
45726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45727     ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732
45733 fi
45734
45735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45736 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45737   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45738
45739
45740 for ac_func in ceilf floorf
45741 do
45742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45743 echo "$as_me:$LINENO: checking for $ac_func" >&5
45744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45745 if eval "test \"\${$as_ac_var+set}\" = set"; then
45746   echo $ECHO_N "(cached) $ECHO_C" >&6
45747 else
45748   if test x$gcc_no_link = xyes; then
45749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45751    { (exit 1); exit 1; }; }
45752 fi
45753 cat >conftest.$ac_ext <<_ACEOF
45754 /* confdefs.h.  */
45755 _ACEOF
45756 cat confdefs.h >>conftest.$ac_ext
45757 cat >>conftest.$ac_ext <<_ACEOF
45758 /* end confdefs.h.  */
45759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45761 #define $ac_func innocuous_$ac_func
45762
45763 /* System header to define __stub macros and hopefully few prototypes,
45764     which can conflict with char $ac_func (); below.
45765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45766     <limits.h> exists even on freestanding compilers.  */
45767
45768 #ifdef __STDC__
45769 # include <limits.h>
45770 #else
45771 # include <assert.h>
45772 #endif
45773
45774 #undef $ac_func
45775
45776 /* Override any gcc2 internal prototype to avoid an error.  */
45777 #ifdef __cplusplus
45778 extern "C"
45779 {
45780 #endif
45781 /* We use char because int might match the return type of a gcc2
45782    builtin and then its argument prototype would still apply.  */
45783 char $ac_func ();
45784 /* The GNU C library defines this for functions which it implements
45785     to always fail with ENOSYS.  Some functions are actually named
45786     something starting with __ and the normal name is an alias.  */
45787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45788 choke me
45789 #else
45790 char (*f) () = $ac_func;
45791 #endif
45792 #ifdef __cplusplus
45793 }
45794 #endif
45795
45796 int
45797 main ()
45798 {
45799 return f != $ac_func;
45800   ;
45801   return 0;
45802 }
45803 _ACEOF
45804 rm -f conftest.$ac_objext conftest$ac_exeext
45805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45806   (eval $ac_link) 2>conftest.er1
45807   ac_status=$?
45808   grep -v '^ *+' conftest.er1 >conftest.err
45809   rm -f conftest.er1
45810   cat conftest.err >&5
45811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812   (exit $ac_status); } &&
45813          { ac_try='test -z "$ac_c_werror_flag"
45814                          || test ! -s conftest.err'
45815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45816   (eval $ac_try) 2>&5
45817   ac_status=$?
45818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45819   (exit $ac_status); }; } &&
45820          { ac_try='test -s conftest$ac_exeext'
45821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822   (eval $ac_try) 2>&5
45823   ac_status=$?
45824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825   (exit $ac_status); }; }; then
45826   eval "$as_ac_var=yes"
45827 else
45828   echo "$as_me: failed program was:" >&5
45829 sed 's/^/| /' conftest.$ac_ext >&5
45830
45831 eval "$as_ac_var=no"
45832 fi
45833 rm -f conftest.err conftest.$ac_objext \
45834       conftest$ac_exeext conftest.$ac_ext
45835 fi
45836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45838 if test `eval echo '${'$as_ac_var'}'` = yes; then
45839   cat >>confdefs.h <<_ACEOF
45840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45841 _ACEOF
45842
45843 fi
45844 done
45845
45846   else
45847     echo "$as_me:$LINENO: checking for _float round functions" >&5
45848 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45849     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45850   echo $ECHO_N "(cached) $ECHO_C" >&6
45851 else
45852
45853
45854
45855       ac_ext=cc
45856 ac_cpp='$CXXCPP $CPPFLAGS'
45857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45860
45861       cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h.  */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h.  */
45867 #include <math.h>
45868 int
45869 main ()
45870 {
45871 _ceilf (0); _floorf (0);
45872   ;
45873   return 0;
45874 }
45875 _ACEOF
45876 rm -f conftest.$ac_objext
45877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45878   (eval $ac_compile) 2>conftest.er1
45879   ac_status=$?
45880   grep -v '^ *+' conftest.er1 >conftest.err
45881   rm -f conftest.er1
45882   cat conftest.err >&5
45883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884   (exit $ac_status); } &&
45885          { ac_try='test -z "$ac_cxx_werror_flag"
45886                          || test ! -s conftest.err'
45887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45888   (eval $ac_try) 2>&5
45889   ac_status=$?
45890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891   (exit $ac_status); }; } &&
45892          { ac_try='test -s conftest.$ac_objext'
45893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45894   (eval $ac_try) 2>&5
45895   ac_status=$?
45896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897   (exit $ac_status); }; }; then
45898   glibcxx_cv_func__float_round_use=yes
45899 else
45900   echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.$ac_ext >&5
45902
45903 glibcxx_cv_func__float_round_use=no
45904 fi
45905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45906       ac_ext=c
45907 ac_cpp='$CPP $CPPFLAGS'
45908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45911
45912 fi
45913
45914     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45915 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45916     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45917
45918
45919 for ac_func in _ceilf _floorf
45920 do
45921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45922 echo "$as_me:$LINENO: checking for $ac_func" >&5
45923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45924 if eval "test \"\${$as_ac_var+set}\" = set"; then
45925   echo $ECHO_N "(cached) $ECHO_C" >&6
45926 else
45927   if test x$gcc_no_link = xyes; then
45928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45930    { (exit 1); exit 1; }; }
45931 fi
45932 cat >conftest.$ac_ext <<_ACEOF
45933 /* confdefs.h.  */
45934 _ACEOF
45935 cat confdefs.h >>conftest.$ac_ext
45936 cat >>conftest.$ac_ext <<_ACEOF
45937 /* end confdefs.h.  */
45938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45939    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45940 #define $ac_func innocuous_$ac_func
45941
45942 /* System header to define __stub macros and hopefully few prototypes,
45943     which can conflict with char $ac_func (); below.
45944     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45945     <limits.h> exists even on freestanding compilers.  */
45946
45947 #ifdef __STDC__
45948 # include <limits.h>
45949 #else
45950 # include <assert.h>
45951 #endif
45952
45953 #undef $ac_func
45954
45955 /* Override any gcc2 internal prototype to avoid an error.  */
45956 #ifdef __cplusplus
45957 extern "C"
45958 {
45959 #endif
45960 /* We use char because int might match the return type of a gcc2
45961    builtin and then its argument prototype would still apply.  */
45962 char $ac_func ();
45963 /* The GNU C library defines this for functions which it implements
45964     to always fail with ENOSYS.  Some functions are actually named
45965     something starting with __ and the normal name is an alias.  */
45966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45967 choke me
45968 #else
45969 char (*f) () = $ac_func;
45970 #endif
45971 #ifdef __cplusplus
45972 }
45973 #endif
45974
45975 int
45976 main ()
45977 {
45978 return f != $ac_func;
45979   ;
45980   return 0;
45981 }
45982 _ACEOF
45983 rm -f conftest.$ac_objext conftest$ac_exeext
45984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45985   (eval $ac_link) 2>conftest.er1
45986   ac_status=$?
45987   grep -v '^ *+' conftest.er1 >conftest.err
45988   rm -f conftest.er1
45989   cat conftest.err >&5
45990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991   (exit $ac_status); } &&
45992          { ac_try='test -z "$ac_c_werror_flag"
45993                          || test ! -s conftest.err'
45994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45995   (eval $ac_try) 2>&5
45996   ac_status=$?
45997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998   (exit $ac_status); }; } &&
45999          { ac_try='test -s conftest$ac_exeext'
46000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46001   (eval $ac_try) 2>&5
46002   ac_status=$?
46003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004   (exit $ac_status); }; }; then
46005   eval "$as_ac_var=yes"
46006 else
46007   echo "$as_me: failed program was:" >&5
46008 sed 's/^/| /' conftest.$ac_ext >&5
46009
46010 eval "$as_ac_var=no"
46011 fi
46012 rm -f conftest.err conftest.$ac_objext \
46013       conftest$ac_exeext conftest.$ac_ext
46014 fi
46015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46017 if test `eval echo '${'$as_ac_var'}'` = yes; then
46018   cat >>confdefs.h <<_ACEOF
46019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46020 _ACEOF
46021
46022 fi
46023 done
46024
46025     fi
46026   fi
46027
46028
46029
46030
46031
46032
46033
46034
46035   echo "$as_me:$LINENO: checking for expf declaration" >&5
46036 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46037   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46038     if test "${glibcxx_cv_func_expf_use+set}" = set; then
46039   echo $ECHO_N "(cached) $ECHO_C" >&6
46040 else
46041
46042
46043
46044       ac_ext=cc
46045 ac_cpp='$CXXCPP $CPPFLAGS'
46046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46049
46050       cat >conftest.$ac_ext <<_ACEOF
46051 /* confdefs.h.  */
46052 _ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h.  */
46056 #include <math.h>
46057                       #ifdef HAVE_IEEEFP_H
46058                       #include <ieeefp.h>
46059                       #endif
46060
46061 int
46062 main ()
46063 {
46064  expf(0);
46065   ;
46066   return 0;
46067 }
46068 _ACEOF
46069 rm -f conftest.$ac_objext
46070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46071   (eval $ac_compile) 2>conftest.er1
46072   ac_status=$?
46073   grep -v '^ *+' conftest.er1 >conftest.err
46074   rm -f conftest.er1
46075   cat conftest.err >&5
46076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077   (exit $ac_status); } &&
46078          { ac_try='test -z "$ac_cxx_werror_flag"
46079                          || test ! -s conftest.err'
46080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46081   (eval $ac_try) 2>&5
46082   ac_status=$?
46083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084   (exit $ac_status); }; } &&
46085          { ac_try='test -s conftest.$ac_objext'
46086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46087   (eval $ac_try) 2>&5
46088   ac_status=$?
46089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46090   (exit $ac_status); }; }; then
46091   glibcxx_cv_func_expf_use=yes
46092 else
46093   echo "$as_me: failed program was:" >&5
46094 sed 's/^/| /' conftest.$ac_ext >&5
46095
46096 glibcxx_cv_func_expf_use=no
46097 fi
46098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46099       ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104
46105
46106 fi
46107
46108   fi
46109   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46110 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46111
46112   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46113
46114 for ac_func in expf
46115 do
46116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46117 echo "$as_me:$LINENO: checking for $ac_func" >&5
46118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46119 if eval "test \"\${$as_ac_var+set}\" = set"; then
46120   echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122   if test x$gcc_no_link = xyes; then
46123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46125    { (exit 1); exit 1; }; }
46126 fi
46127 cat >conftest.$ac_ext <<_ACEOF
46128 /* confdefs.h.  */
46129 _ACEOF
46130 cat confdefs.h >>conftest.$ac_ext
46131 cat >>conftest.$ac_ext <<_ACEOF
46132 /* end confdefs.h.  */
46133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46135 #define $ac_func innocuous_$ac_func
46136
46137 /* System header to define __stub macros and hopefully few prototypes,
46138     which can conflict with char $ac_func (); below.
46139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46140     <limits.h> exists even on freestanding compilers.  */
46141
46142 #ifdef __STDC__
46143 # include <limits.h>
46144 #else
46145 # include <assert.h>
46146 #endif
46147
46148 #undef $ac_func
46149
46150 /* Override any gcc2 internal prototype to avoid an error.  */
46151 #ifdef __cplusplus
46152 extern "C"
46153 {
46154 #endif
46155 /* We use char because int might match the return type of a gcc2
46156    builtin and then its argument prototype would still apply.  */
46157 char $ac_func ();
46158 /* The GNU C library defines this for functions which it implements
46159     to always fail with ENOSYS.  Some functions are actually named
46160     something starting with __ and the normal name is an alias.  */
46161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46162 choke me
46163 #else
46164 char (*f) () = $ac_func;
46165 #endif
46166 #ifdef __cplusplus
46167 }
46168 #endif
46169
46170 int
46171 main ()
46172 {
46173 return f != $ac_func;
46174   ;
46175   return 0;
46176 }
46177 _ACEOF
46178 rm -f conftest.$ac_objext conftest$ac_exeext
46179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46180   (eval $ac_link) 2>conftest.er1
46181   ac_status=$?
46182   grep -v '^ *+' conftest.er1 >conftest.err
46183   rm -f conftest.er1
46184   cat conftest.err >&5
46185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46186   (exit $ac_status); } &&
46187          { ac_try='test -z "$ac_c_werror_flag"
46188                          || test ! -s conftest.err'
46189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46190   (eval $ac_try) 2>&5
46191   ac_status=$?
46192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193   (exit $ac_status); }; } &&
46194          { ac_try='test -s conftest$ac_exeext'
46195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46196   (eval $ac_try) 2>&5
46197   ac_status=$?
46198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199   (exit $ac_status); }; }; then
46200   eval "$as_ac_var=yes"
46201 else
46202   echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46204
46205 eval "$as_ac_var=no"
46206 fi
46207 rm -f conftest.err conftest.$ac_objext \
46208       conftest$ac_exeext conftest.$ac_ext
46209 fi
46210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46212 if test `eval echo '${'$as_ac_var'}'` = yes; then
46213   cat >>confdefs.h <<_ACEOF
46214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46215 _ACEOF
46216
46217 fi
46218 done
46219
46220   else
46221
46222   echo "$as_me:$LINENO: checking for _expf declaration" >&5
46223 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46224   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46225     if test "${glibcxx_cv_func__expf_use+set}" = set; then
46226   echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228
46229
46230
46231       ac_ext=cc
46232 ac_cpp='$CXXCPP $CPPFLAGS'
46233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46236
46237       cat >conftest.$ac_ext <<_ACEOF
46238 /* confdefs.h.  */
46239 _ACEOF
46240 cat confdefs.h >>conftest.$ac_ext
46241 cat >>conftest.$ac_ext <<_ACEOF
46242 /* end confdefs.h.  */
46243 #include <math.h>
46244                       #ifdef HAVE_IEEEFP_H
46245                       #include <ieeefp.h>
46246                       #endif
46247
46248 int
46249 main ()
46250 {
46251  _expf(0);
46252   ;
46253   return 0;
46254 }
46255 _ACEOF
46256 rm -f conftest.$ac_objext
46257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46258   (eval $ac_compile) 2>conftest.er1
46259   ac_status=$?
46260   grep -v '^ *+' conftest.er1 >conftest.err
46261   rm -f conftest.er1
46262   cat conftest.err >&5
46263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46264   (exit $ac_status); } &&
46265          { ac_try='test -z "$ac_cxx_werror_flag"
46266                          || test ! -s conftest.err'
46267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46268   (eval $ac_try) 2>&5
46269   ac_status=$?
46270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46271   (exit $ac_status); }; } &&
46272          { ac_try='test -s conftest.$ac_objext'
46273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46274   (eval $ac_try) 2>&5
46275   ac_status=$?
46276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46277   (exit $ac_status); }; }; then
46278   glibcxx_cv_func__expf_use=yes
46279 else
46280   echo "$as_me: failed program was:" >&5
46281 sed 's/^/| /' conftest.$ac_ext >&5
46282
46283 glibcxx_cv_func__expf_use=no
46284 fi
46285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46286       ac_ext=c
46287 ac_cpp='$CPP $CPPFLAGS'
46288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46291
46292
46293 fi
46294
46295   fi
46296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46297 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46298
46299     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46300
46301 for ac_func in _expf
46302 do
46303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46304 echo "$as_me:$LINENO: checking for $ac_func" >&5
46305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46306 if eval "test \"\${$as_ac_var+set}\" = set"; then
46307   echo $ECHO_N "(cached) $ECHO_C" >&6
46308 else
46309   if test x$gcc_no_link = xyes; then
46310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46312    { (exit 1); exit 1; }; }
46313 fi
46314 cat >conftest.$ac_ext <<_ACEOF
46315 /* confdefs.h.  */
46316 _ACEOF
46317 cat confdefs.h >>conftest.$ac_ext
46318 cat >>conftest.$ac_ext <<_ACEOF
46319 /* end confdefs.h.  */
46320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46322 #define $ac_func innocuous_$ac_func
46323
46324 /* System header to define __stub macros and hopefully few prototypes,
46325     which can conflict with char $ac_func (); below.
46326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46327     <limits.h> exists even on freestanding compilers.  */
46328
46329 #ifdef __STDC__
46330 # include <limits.h>
46331 #else
46332 # include <assert.h>
46333 #endif
46334
46335 #undef $ac_func
46336
46337 /* Override any gcc2 internal prototype to avoid an error.  */
46338 #ifdef __cplusplus
46339 extern "C"
46340 {
46341 #endif
46342 /* We use char because int might match the return type of a gcc2
46343    builtin and then its argument prototype would still apply.  */
46344 char $ac_func ();
46345 /* The GNU C library defines this for functions which it implements
46346     to always fail with ENOSYS.  Some functions are actually named
46347     something starting with __ and the normal name is an alias.  */
46348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46349 choke me
46350 #else
46351 char (*f) () = $ac_func;
46352 #endif
46353 #ifdef __cplusplus
46354 }
46355 #endif
46356
46357 int
46358 main ()
46359 {
46360 return f != $ac_func;
46361   ;
46362   return 0;
46363 }
46364 _ACEOF
46365 rm -f conftest.$ac_objext conftest$ac_exeext
46366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46367   (eval $ac_link) 2>conftest.er1
46368   ac_status=$?
46369   grep -v '^ *+' conftest.er1 >conftest.err
46370   rm -f conftest.er1
46371   cat conftest.err >&5
46372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373   (exit $ac_status); } &&
46374          { ac_try='test -z "$ac_c_werror_flag"
46375                          || test ! -s conftest.err'
46376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46377   (eval $ac_try) 2>&5
46378   ac_status=$?
46379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46380   (exit $ac_status); }; } &&
46381          { ac_try='test -s conftest$ac_exeext'
46382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383   (eval $ac_try) 2>&5
46384   ac_status=$?
46385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386   (exit $ac_status); }; }; then
46387   eval "$as_ac_var=yes"
46388 else
46389   echo "$as_me: failed program was:" >&5
46390 sed 's/^/| /' conftest.$ac_ext >&5
46391
46392 eval "$as_ac_var=no"
46393 fi
46394 rm -f conftest.err conftest.$ac_objext \
46395       conftest$ac_exeext conftest.$ac_ext
46396 fi
46397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46399 if test `eval echo '${'$as_ac_var'}'` = yes; then
46400   cat >>confdefs.h <<_ACEOF
46401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46402 _ACEOF
46403
46404 fi
46405 done
46406
46407     fi
46408   fi
46409
46410
46411
46412
46413
46414
46415   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46416 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46417   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46418     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46419   echo $ECHO_N "(cached) $ECHO_C" >&6
46420 else
46421
46422
46423
46424       ac_ext=cc
46425 ac_cpp='$CXXCPP $CPPFLAGS'
46426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46429
46430       cat >conftest.$ac_ext <<_ACEOF
46431 /* confdefs.h.  */
46432 _ACEOF
46433 cat confdefs.h >>conftest.$ac_ext
46434 cat >>conftest.$ac_ext <<_ACEOF
46435 /* end confdefs.h.  */
46436 #include <math.h>
46437                       #ifdef HAVE_IEEEFP_H
46438                       #include <ieeefp.h>
46439                       #endif
46440
46441 int
46442 main ()
46443 {
46444  isnanf(0);
46445   ;
46446   return 0;
46447 }
46448 _ACEOF
46449 rm -f conftest.$ac_objext
46450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46451   (eval $ac_compile) 2>conftest.er1
46452   ac_status=$?
46453   grep -v '^ *+' conftest.er1 >conftest.err
46454   rm -f conftest.er1
46455   cat conftest.err >&5
46456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457   (exit $ac_status); } &&
46458          { ac_try='test -z "$ac_cxx_werror_flag"
46459                          || test ! -s conftest.err'
46460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46461   (eval $ac_try) 2>&5
46462   ac_status=$?
46463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46464   (exit $ac_status); }; } &&
46465          { ac_try='test -s conftest.$ac_objext'
46466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46467   (eval $ac_try) 2>&5
46468   ac_status=$?
46469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46470   (exit $ac_status); }; }; then
46471   glibcxx_cv_func_isnanf_use=yes
46472 else
46473   echo "$as_me: failed program was:" >&5
46474 sed 's/^/| /' conftest.$ac_ext >&5
46475
46476 glibcxx_cv_func_isnanf_use=no
46477 fi
46478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46479       ac_ext=c
46480 ac_cpp='$CPP $CPPFLAGS'
46481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46484
46485
46486 fi
46487
46488   fi
46489   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46490 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46491
46492   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46493
46494 for ac_func in isnanf
46495 do
46496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46497 echo "$as_me:$LINENO: checking for $ac_func" >&5
46498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46499 if eval "test \"\${$as_ac_var+set}\" = set"; then
46500   echo $ECHO_N "(cached) $ECHO_C" >&6
46501 else
46502   if test x$gcc_no_link = xyes; then
46503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46505    { (exit 1); exit 1; }; }
46506 fi
46507 cat >conftest.$ac_ext <<_ACEOF
46508 /* confdefs.h.  */
46509 _ACEOF
46510 cat confdefs.h >>conftest.$ac_ext
46511 cat >>conftest.$ac_ext <<_ACEOF
46512 /* end confdefs.h.  */
46513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46515 #define $ac_func innocuous_$ac_func
46516
46517 /* System header to define __stub macros and hopefully few prototypes,
46518     which can conflict with char $ac_func (); below.
46519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46520     <limits.h> exists even on freestanding compilers.  */
46521
46522 #ifdef __STDC__
46523 # include <limits.h>
46524 #else
46525 # include <assert.h>
46526 #endif
46527
46528 #undef $ac_func
46529
46530 /* Override any gcc2 internal prototype to avoid an error.  */
46531 #ifdef __cplusplus
46532 extern "C"
46533 {
46534 #endif
46535 /* We use char because int might match the return type of a gcc2
46536    builtin and then its argument prototype would still apply.  */
46537 char $ac_func ();
46538 /* The GNU C library defines this for functions which it implements
46539     to always fail with ENOSYS.  Some functions are actually named
46540     something starting with __ and the normal name is an alias.  */
46541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46542 choke me
46543 #else
46544 char (*f) () = $ac_func;
46545 #endif
46546 #ifdef __cplusplus
46547 }
46548 #endif
46549
46550 int
46551 main ()
46552 {
46553 return f != $ac_func;
46554   ;
46555   return 0;
46556 }
46557 _ACEOF
46558 rm -f conftest.$ac_objext conftest$ac_exeext
46559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46560   (eval $ac_link) 2>conftest.er1
46561   ac_status=$?
46562   grep -v '^ *+' conftest.er1 >conftest.err
46563   rm -f conftest.er1
46564   cat conftest.err >&5
46565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566   (exit $ac_status); } &&
46567          { ac_try='test -z "$ac_c_werror_flag"
46568                          || test ! -s conftest.err'
46569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46570   (eval $ac_try) 2>&5
46571   ac_status=$?
46572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573   (exit $ac_status); }; } &&
46574          { ac_try='test -s conftest$ac_exeext'
46575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46576   (eval $ac_try) 2>&5
46577   ac_status=$?
46578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579   (exit $ac_status); }; }; then
46580   eval "$as_ac_var=yes"
46581 else
46582   echo "$as_me: failed program was:" >&5
46583 sed 's/^/| /' conftest.$ac_ext >&5
46584
46585 eval "$as_ac_var=no"
46586 fi
46587 rm -f conftest.err conftest.$ac_objext \
46588       conftest$ac_exeext conftest.$ac_ext
46589 fi
46590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46592 if test `eval echo '${'$as_ac_var'}'` = yes; then
46593   cat >>confdefs.h <<_ACEOF
46594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46595 _ACEOF
46596
46597 fi
46598 done
46599
46600   else
46601
46602   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46603 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46604   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46605     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46606   echo $ECHO_N "(cached) $ECHO_C" >&6
46607 else
46608
46609
46610
46611       ac_ext=cc
46612 ac_cpp='$CXXCPP $CPPFLAGS'
46613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46616
46617       cat >conftest.$ac_ext <<_ACEOF
46618 /* confdefs.h.  */
46619 _ACEOF
46620 cat confdefs.h >>conftest.$ac_ext
46621 cat >>conftest.$ac_ext <<_ACEOF
46622 /* end confdefs.h.  */
46623 #include <math.h>
46624                       #ifdef HAVE_IEEEFP_H
46625                       #include <ieeefp.h>
46626                       #endif
46627
46628 int
46629 main ()
46630 {
46631  _isnanf(0);
46632   ;
46633   return 0;
46634 }
46635 _ACEOF
46636 rm -f conftest.$ac_objext
46637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46638   (eval $ac_compile) 2>conftest.er1
46639   ac_status=$?
46640   grep -v '^ *+' conftest.er1 >conftest.err
46641   rm -f conftest.er1
46642   cat conftest.err >&5
46643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644   (exit $ac_status); } &&
46645          { ac_try='test -z "$ac_cxx_werror_flag"
46646                          || test ! -s conftest.err'
46647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46648   (eval $ac_try) 2>&5
46649   ac_status=$?
46650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651   (exit $ac_status); }; } &&
46652          { ac_try='test -s conftest.$ac_objext'
46653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46654   (eval $ac_try) 2>&5
46655   ac_status=$?
46656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657   (exit $ac_status); }; }; then
46658   glibcxx_cv_func__isnanf_use=yes
46659 else
46660   echo "$as_me: failed program was:" >&5
46661 sed 's/^/| /' conftest.$ac_ext >&5
46662
46663 glibcxx_cv_func__isnanf_use=no
46664 fi
46665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46666       ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46671
46672
46673 fi
46674
46675   fi
46676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46677 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46678
46679     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46680
46681 for ac_func in _isnanf
46682 do
46683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46684 echo "$as_me:$LINENO: checking for $ac_func" >&5
46685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46686 if eval "test \"\${$as_ac_var+set}\" = set"; then
46687   echo $ECHO_N "(cached) $ECHO_C" >&6
46688 else
46689   if test x$gcc_no_link = xyes; then
46690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46692    { (exit 1); exit 1; }; }
46693 fi
46694 cat >conftest.$ac_ext <<_ACEOF
46695 /* confdefs.h.  */
46696 _ACEOF
46697 cat confdefs.h >>conftest.$ac_ext
46698 cat >>conftest.$ac_ext <<_ACEOF
46699 /* end confdefs.h.  */
46700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46702 #define $ac_func innocuous_$ac_func
46703
46704 /* System header to define __stub macros and hopefully few prototypes,
46705     which can conflict with char $ac_func (); below.
46706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46707     <limits.h> exists even on freestanding compilers.  */
46708
46709 #ifdef __STDC__
46710 # include <limits.h>
46711 #else
46712 # include <assert.h>
46713 #endif
46714
46715 #undef $ac_func
46716
46717 /* Override any gcc2 internal prototype to avoid an error.  */
46718 #ifdef __cplusplus
46719 extern "C"
46720 {
46721 #endif
46722 /* We use char because int might match the return type of a gcc2
46723    builtin and then its argument prototype would still apply.  */
46724 char $ac_func ();
46725 /* The GNU C library defines this for functions which it implements
46726     to always fail with ENOSYS.  Some functions are actually named
46727     something starting with __ and the normal name is an alias.  */
46728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46729 choke me
46730 #else
46731 char (*f) () = $ac_func;
46732 #endif
46733 #ifdef __cplusplus
46734 }
46735 #endif
46736
46737 int
46738 main ()
46739 {
46740 return f != $ac_func;
46741   ;
46742   return 0;
46743 }
46744 _ACEOF
46745 rm -f conftest.$ac_objext conftest$ac_exeext
46746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46747   (eval $ac_link) 2>conftest.er1
46748   ac_status=$?
46749   grep -v '^ *+' conftest.er1 >conftest.err
46750   rm -f conftest.er1
46751   cat conftest.err >&5
46752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753   (exit $ac_status); } &&
46754          { ac_try='test -z "$ac_c_werror_flag"
46755                          || test ! -s conftest.err'
46756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46757   (eval $ac_try) 2>&5
46758   ac_status=$?
46759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760   (exit $ac_status); }; } &&
46761          { ac_try='test -s conftest$ac_exeext'
46762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46763   (eval $ac_try) 2>&5
46764   ac_status=$?
46765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766   (exit $ac_status); }; }; then
46767   eval "$as_ac_var=yes"
46768 else
46769   echo "$as_me: failed program was:" >&5
46770 sed 's/^/| /' conftest.$ac_ext >&5
46771
46772 eval "$as_ac_var=no"
46773 fi
46774 rm -f conftest.err conftest.$ac_objext \
46775       conftest$ac_exeext conftest.$ac_ext
46776 fi
46777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46779 if test `eval echo '${'$as_ac_var'}'` = yes; then
46780   cat >>confdefs.h <<_ACEOF
46781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46782 _ACEOF
46783
46784 fi
46785 done
46786
46787     fi
46788   fi
46789
46790
46791
46792
46793
46794
46795   echo "$as_me:$LINENO: checking for isinff declaration" >&5
46796 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46797   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46798     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46799   echo $ECHO_N "(cached) $ECHO_C" >&6
46800 else
46801
46802
46803
46804       ac_ext=cc
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46809
46810       cat >conftest.$ac_ext <<_ACEOF
46811 /* confdefs.h.  */
46812 _ACEOF
46813 cat confdefs.h >>conftest.$ac_ext
46814 cat >>conftest.$ac_ext <<_ACEOF
46815 /* end confdefs.h.  */
46816 #include <math.h>
46817                       #ifdef HAVE_IEEEFP_H
46818                       #include <ieeefp.h>
46819                       #endif
46820
46821 int
46822 main ()
46823 {
46824  isinff(0);
46825   ;
46826   return 0;
46827 }
46828 _ACEOF
46829 rm -f conftest.$ac_objext
46830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46831   (eval $ac_compile) 2>conftest.er1
46832   ac_status=$?
46833   grep -v '^ *+' conftest.er1 >conftest.err
46834   rm -f conftest.er1
46835   cat conftest.err >&5
46836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46837   (exit $ac_status); } &&
46838          { ac_try='test -z "$ac_cxx_werror_flag"
46839                          || test ! -s conftest.err'
46840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46841   (eval $ac_try) 2>&5
46842   ac_status=$?
46843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46844   (exit $ac_status); }; } &&
46845          { ac_try='test -s conftest.$ac_objext'
46846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46847   (eval $ac_try) 2>&5
46848   ac_status=$?
46849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850   (exit $ac_status); }; }; then
46851   glibcxx_cv_func_isinff_use=yes
46852 else
46853   echo "$as_me: failed program was:" >&5
46854 sed 's/^/| /' conftest.$ac_ext >&5
46855
46856 glibcxx_cv_func_isinff_use=no
46857 fi
46858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46859       ac_ext=c
46860 ac_cpp='$CPP $CPPFLAGS'
46861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46864
46865
46866 fi
46867
46868   fi
46869   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46870 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46871
46872   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46873
46874 for ac_func in isinff
46875 do
46876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46877 echo "$as_me:$LINENO: checking for $ac_func" >&5
46878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46879 if eval "test \"\${$as_ac_var+set}\" = set"; then
46880   echo $ECHO_N "(cached) $ECHO_C" >&6
46881 else
46882   if test x$gcc_no_link = xyes; then
46883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46885    { (exit 1); exit 1; }; }
46886 fi
46887 cat >conftest.$ac_ext <<_ACEOF
46888 /* confdefs.h.  */
46889 _ACEOF
46890 cat confdefs.h >>conftest.$ac_ext
46891 cat >>conftest.$ac_ext <<_ACEOF
46892 /* end confdefs.h.  */
46893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46895 #define $ac_func innocuous_$ac_func
46896
46897 /* System header to define __stub macros and hopefully few prototypes,
46898     which can conflict with char $ac_func (); below.
46899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46900     <limits.h> exists even on freestanding compilers.  */
46901
46902 #ifdef __STDC__
46903 # include <limits.h>
46904 #else
46905 # include <assert.h>
46906 #endif
46907
46908 #undef $ac_func
46909
46910 /* Override any gcc2 internal prototype to avoid an error.  */
46911 #ifdef __cplusplus
46912 extern "C"
46913 {
46914 #endif
46915 /* We use char because int might match the return type of a gcc2
46916    builtin and then its argument prototype would still apply.  */
46917 char $ac_func ();
46918 /* The GNU C library defines this for functions which it implements
46919     to always fail with ENOSYS.  Some functions are actually named
46920     something starting with __ and the normal name is an alias.  */
46921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46922 choke me
46923 #else
46924 char (*f) () = $ac_func;
46925 #endif
46926 #ifdef __cplusplus
46927 }
46928 #endif
46929
46930 int
46931 main ()
46932 {
46933 return f != $ac_func;
46934   ;
46935   return 0;
46936 }
46937 _ACEOF
46938 rm -f conftest.$ac_objext conftest$ac_exeext
46939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46940   (eval $ac_link) 2>conftest.er1
46941   ac_status=$?
46942   grep -v '^ *+' conftest.er1 >conftest.err
46943   rm -f conftest.er1
46944   cat conftest.err >&5
46945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946   (exit $ac_status); } &&
46947          { ac_try='test -z "$ac_c_werror_flag"
46948                          || test ! -s conftest.err'
46949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46950   (eval $ac_try) 2>&5
46951   ac_status=$?
46952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46953   (exit $ac_status); }; } &&
46954          { ac_try='test -s conftest$ac_exeext'
46955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46956   (eval $ac_try) 2>&5
46957   ac_status=$?
46958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46959   (exit $ac_status); }; }; then
46960   eval "$as_ac_var=yes"
46961 else
46962   echo "$as_me: failed program was:" >&5
46963 sed 's/^/| /' conftest.$ac_ext >&5
46964
46965 eval "$as_ac_var=no"
46966 fi
46967 rm -f conftest.err conftest.$ac_objext \
46968       conftest$ac_exeext conftest.$ac_ext
46969 fi
46970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46972 if test `eval echo '${'$as_ac_var'}'` = yes; then
46973   cat >>confdefs.h <<_ACEOF
46974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46975 _ACEOF
46976
46977 fi
46978 done
46979
46980   else
46981
46982   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46983 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46984   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46985     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46986   echo $ECHO_N "(cached) $ECHO_C" >&6
46987 else
46988
46989
46990
46991       ac_ext=cc
46992 ac_cpp='$CXXCPP $CPPFLAGS'
46993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46996
46997       cat >conftest.$ac_ext <<_ACEOF
46998 /* confdefs.h.  */
46999 _ACEOF
47000 cat confdefs.h >>conftest.$ac_ext
47001 cat >>conftest.$ac_ext <<_ACEOF
47002 /* end confdefs.h.  */
47003 #include <math.h>
47004                       #ifdef HAVE_IEEEFP_H
47005                       #include <ieeefp.h>
47006                       #endif
47007
47008 int
47009 main ()
47010 {
47011  _isinff(0);
47012   ;
47013   return 0;
47014 }
47015 _ACEOF
47016 rm -f conftest.$ac_objext
47017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47018   (eval $ac_compile) 2>conftest.er1
47019   ac_status=$?
47020   grep -v '^ *+' conftest.er1 >conftest.err
47021   rm -f conftest.er1
47022   cat conftest.err >&5
47023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47024   (exit $ac_status); } &&
47025          { ac_try='test -z "$ac_cxx_werror_flag"
47026                          || test ! -s conftest.err'
47027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47028   (eval $ac_try) 2>&5
47029   ac_status=$?
47030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47031   (exit $ac_status); }; } &&
47032          { ac_try='test -s conftest.$ac_objext'
47033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47034   (eval $ac_try) 2>&5
47035   ac_status=$?
47036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47037   (exit $ac_status); }; }; then
47038   glibcxx_cv_func__isinff_use=yes
47039 else
47040   echo "$as_me: failed program was:" >&5
47041 sed 's/^/| /' conftest.$ac_ext >&5
47042
47043 glibcxx_cv_func__isinff_use=no
47044 fi
47045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47046       ac_ext=c
47047 ac_cpp='$CPP $CPPFLAGS'
47048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051
47052
47053 fi
47054
47055   fi
47056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47057 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47058
47059     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47060
47061 for ac_func in _isinff
47062 do
47063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47064 echo "$as_me:$LINENO: checking for $ac_func" >&5
47065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47066 if eval "test \"\${$as_ac_var+set}\" = set"; then
47067   echo $ECHO_N "(cached) $ECHO_C" >&6
47068 else
47069   if test x$gcc_no_link = xyes; then
47070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47072    { (exit 1); exit 1; }; }
47073 fi
47074 cat >conftest.$ac_ext <<_ACEOF
47075 /* confdefs.h.  */
47076 _ACEOF
47077 cat confdefs.h >>conftest.$ac_ext
47078 cat >>conftest.$ac_ext <<_ACEOF
47079 /* end confdefs.h.  */
47080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47082 #define $ac_func innocuous_$ac_func
47083
47084 /* System header to define __stub macros and hopefully few prototypes,
47085     which can conflict with char $ac_func (); below.
47086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47087     <limits.h> exists even on freestanding compilers.  */
47088
47089 #ifdef __STDC__
47090 # include <limits.h>
47091 #else
47092 # include <assert.h>
47093 #endif
47094
47095 #undef $ac_func
47096
47097 /* Override any gcc2 internal prototype to avoid an error.  */
47098 #ifdef __cplusplus
47099 extern "C"
47100 {
47101 #endif
47102 /* We use char because int might match the return type of a gcc2
47103    builtin and then its argument prototype would still apply.  */
47104 char $ac_func ();
47105 /* The GNU C library defines this for functions which it implements
47106     to always fail with ENOSYS.  Some functions are actually named
47107     something starting with __ and the normal name is an alias.  */
47108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47109 choke me
47110 #else
47111 char (*f) () = $ac_func;
47112 #endif
47113 #ifdef __cplusplus
47114 }
47115 #endif
47116
47117 int
47118 main ()
47119 {
47120 return f != $ac_func;
47121   ;
47122   return 0;
47123 }
47124 _ACEOF
47125 rm -f conftest.$ac_objext conftest$ac_exeext
47126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47127   (eval $ac_link) 2>conftest.er1
47128   ac_status=$?
47129   grep -v '^ *+' conftest.er1 >conftest.err
47130   rm -f conftest.er1
47131   cat conftest.err >&5
47132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47133   (exit $ac_status); } &&
47134          { ac_try='test -z "$ac_c_werror_flag"
47135                          || test ! -s conftest.err'
47136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47137   (eval $ac_try) 2>&5
47138   ac_status=$?
47139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140   (exit $ac_status); }; } &&
47141          { ac_try='test -s conftest$ac_exeext'
47142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47143   (eval $ac_try) 2>&5
47144   ac_status=$?
47145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146   (exit $ac_status); }; }; then
47147   eval "$as_ac_var=yes"
47148 else
47149   echo "$as_me: failed program was:" >&5
47150 sed 's/^/| /' conftest.$ac_ext >&5
47151
47152 eval "$as_ac_var=no"
47153 fi
47154 rm -f conftest.err conftest.$ac_objext \
47155       conftest$ac_exeext conftest.$ac_ext
47156 fi
47157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47159 if test `eval echo '${'$as_ac_var'}'` = yes; then
47160   cat >>confdefs.h <<_ACEOF
47161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47162 _ACEOF
47163
47164 fi
47165 done
47166
47167     fi
47168   fi
47169
47170
47171
47172
47173
47174
47175   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47176 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47177   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47178     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47179   echo $ECHO_N "(cached) $ECHO_C" >&6
47180 else
47181
47182
47183
47184       ac_ext=cc
47185 ac_cpp='$CXXCPP $CPPFLAGS'
47186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47189
47190       cat >conftest.$ac_ext <<_ACEOF
47191 /* confdefs.h.  */
47192 _ACEOF
47193 cat confdefs.h >>conftest.$ac_ext
47194 cat >>conftest.$ac_ext <<_ACEOF
47195 /* end confdefs.h.  */
47196 #include <math.h>
47197 int
47198 main ()
47199 {
47200  atan2f(0, 0);
47201   ;
47202   return 0;
47203 }
47204 _ACEOF
47205 rm -f conftest.$ac_objext
47206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47207   (eval $ac_compile) 2>conftest.er1
47208   ac_status=$?
47209   grep -v '^ *+' conftest.er1 >conftest.err
47210   rm -f conftest.er1
47211   cat conftest.err >&5
47212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213   (exit $ac_status); } &&
47214          { ac_try='test -z "$ac_cxx_werror_flag"
47215                          || test ! -s conftest.err'
47216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47217   (eval $ac_try) 2>&5
47218   ac_status=$?
47219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47220   (exit $ac_status); }; } &&
47221          { ac_try='test -s conftest.$ac_objext'
47222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47223   (eval $ac_try) 2>&5
47224   ac_status=$?
47225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226   (exit $ac_status); }; }; then
47227   glibcxx_cv_func_atan2f_use=yes
47228 else
47229   echo "$as_me: failed program was:" >&5
47230 sed 's/^/| /' conftest.$ac_ext >&5
47231
47232 glibcxx_cv_func_atan2f_use=no
47233 fi
47234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47235       ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240
47241
47242 fi
47243
47244   fi
47245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47246 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47247
47248   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47249
47250 for ac_func in atan2f
47251 do
47252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47253 echo "$as_me:$LINENO: checking for $ac_func" >&5
47254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47255 if eval "test \"\${$as_ac_var+set}\" = set"; then
47256   echo $ECHO_N "(cached) $ECHO_C" >&6
47257 else
47258   if test x$gcc_no_link = xyes; then
47259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47261    { (exit 1); exit 1; }; }
47262 fi
47263 cat >conftest.$ac_ext <<_ACEOF
47264 /* confdefs.h.  */
47265 _ACEOF
47266 cat confdefs.h >>conftest.$ac_ext
47267 cat >>conftest.$ac_ext <<_ACEOF
47268 /* end confdefs.h.  */
47269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47271 #define $ac_func innocuous_$ac_func
47272
47273 /* System header to define __stub macros and hopefully few prototypes,
47274     which can conflict with char $ac_func (); below.
47275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47276     <limits.h> exists even on freestanding compilers.  */
47277
47278 #ifdef __STDC__
47279 # include <limits.h>
47280 #else
47281 # include <assert.h>
47282 #endif
47283
47284 #undef $ac_func
47285
47286 /* Override any gcc2 internal prototype to avoid an error.  */
47287 #ifdef __cplusplus
47288 extern "C"
47289 {
47290 #endif
47291 /* We use char because int might match the return type of a gcc2
47292    builtin and then its argument prototype would still apply.  */
47293 char $ac_func ();
47294 /* The GNU C library defines this for functions which it implements
47295     to always fail with ENOSYS.  Some functions are actually named
47296     something starting with __ and the normal name is an alias.  */
47297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47298 choke me
47299 #else
47300 char (*f) () = $ac_func;
47301 #endif
47302 #ifdef __cplusplus
47303 }
47304 #endif
47305
47306 int
47307 main ()
47308 {
47309 return f != $ac_func;
47310   ;
47311   return 0;
47312 }
47313 _ACEOF
47314 rm -f conftest.$ac_objext conftest$ac_exeext
47315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47316   (eval $ac_link) 2>conftest.er1
47317   ac_status=$?
47318   grep -v '^ *+' conftest.er1 >conftest.err
47319   rm -f conftest.er1
47320   cat conftest.err >&5
47321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47322   (exit $ac_status); } &&
47323          { ac_try='test -z "$ac_c_werror_flag"
47324                          || test ! -s conftest.err'
47325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47326   (eval $ac_try) 2>&5
47327   ac_status=$?
47328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47329   (exit $ac_status); }; } &&
47330          { ac_try='test -s conftest$ac_exeext'
47331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47332   (eval $ac_try) 2>&5
47333   ac_status=$?
47334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47335   (exit $ac_status); }; }; then
47336   eval "$as_ac_var=yes"
47337 else
47338   echo "$as_me: failed program was:" >&5
47339 sed 's/^/| /' conftest.$ac_ext >&5
47340
47341 eval "$as_ac_var=no"
47342 fi
47343 rm -f conftest.err conftest.$ac_objext \
47344       conftest$ac_exeext conftest.$ac_ext
47345 fi
47346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47348 if test `eval echo '${'$as_ac_var'}'` = yes; then
47349   cat >>confdefs.h <<_ACEOF
47350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47351 _ACEOF
47352
47353 fi
47354 done
47355
47356   else
47357
47358   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47359 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47360   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47361     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47362   echo $ECHO_N "(cached) $ECHO_C" >&6
47363 else
47364
47365
47366
47367       ac_ext=cc
47368 ac_cpp='$CXXCPP $CPPFLAGS'
47369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47372
47373       cat >conftest.$ac_ext <<_ACEOF
47374 /* confdefs.h.  */
47375 _ACEOF
47376 cat confdefs.h >>conftest.$ac_ext
47377 cat >>conftest.$ac_ext <<_ACEOF
47378 /* end confdefs.h.  */
47379 #include <math.h>
47380 int
47381 main ()
47382 {
47383  _atan2f(0, 0);
47384   ;
47385   return 0;
47386 }
47387 _ACEOF
47388 rm -f conftest.$ac_objext
47389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47390   (eval $ac_compile) 2>conftest.er1
47391   ac_status=$?
47392   grep -v '^ *+' conftest.er1 >conftest.err
47393   rm -f conftest.er1
47394   cat conftest.err >&5
47395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396   (exit $ac_status); } &&
47397          { ac_try='test -z "$ac_cxx_werror_flag"
47398                          || test ! -s conftest.err'
47399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47400   (eval $ac_try) 2>&5
47401   ac_status=$?
47402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47403   (exit $ac_status); }; } &&
47404          { ac_try='test -s conftest.$ac_objext'
47405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47406   (eval $ac_try) 2>&5
47407   ac_status=$?
47408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47409   (exit $ac_status); }; }; then
47410   glibcxx_cv_func__atan2f_use=yes
47411 else
47412   echo "$as_me: failed program was:" >&5
47413 sed 's/^/| /' conftest.$ac_ext >&5
47414
47415 glibcxx_cv_func__atan2f_use=no
47416 fi
47417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47418       ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423
47424
47425 fi
47426
47427   fi
47428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47429 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47430
47431     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47432
47433 for ac_func in _atan2f
47434 do
47435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47436 echo "$as_me:$LINENO: checking for $ac_func" >&5
47437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47438 if eval "test \"\${$as_ac_var+set}\" = set"; then
47439   echo $ECHO_N "(cached) $ECHO_C" >&6
47440 else
47441   if test x$gcc_no_link = xyes; then
47442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47444    { (exit 1); exit 1; }; }
47445 fi
47446 cat >conftest.$ac_ext <<_ACEOF
47447 /* confdefs.h.  */
47448 _ACEOF
47449 cat confdefs.h >>conftest.$ac_ext
47450 cat >>conftest.$ac_ext <<_ACEOF
47451 /* end confdefs.h.  */
47452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47454 #define $ac_func innocuous_$ac_func
47455
47456 /* System header to define __stub macros and hopefully few prototypes,
47457     which can conflict with char $ac_func (); below.
47458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47459     <limits.h> exists even on freestanding compilers.  */
47460
47461 #ifdef __STDC__
47462 # include <limits.h>
47463 #else
47464 # include <assert.h>
47465 #endif
47466
47467 #undef $ac_func
47468
47469 /* Override any gcc2 internal prototype to avoid an error.  */
47470 #ifdef __cplusplus
47471 extern "C"
47472 {
47473 #endif
47474 /* We use char because int might match the return type of a gcc2
47475    builtin and then its argument prototype would still apply.  */
47476 char $ac_func ();
47477 /* The GNU C library defines this for functions which it implements
47478     to always fail with ENOSYS.  Some functions are actually named
47479     something starting with __ and the normal name is an alias.  */
47480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47481 choke me
47482 #else
47483 char (*f) () = $ac_func;
47484 #endif
47485 #ifdef __cplusplus
47486 }
47487 #endif
47488
47489 int
47490 main ()
47491 {
47492 return f != $ac_func;
47493   ;
47494   return 0;
47495 }
47496 _ACEOF
47497 rm -f conftest.$ac_objext conftest$ac_exeext
47498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47499   (eval $ac_link) 2>conftest.er1
47500   ac_status=$?
47501   grep -v '^ *+' conftest.er1 >conftest.err
47502   rm -f conftest.er1
47503   cat conftest.err >&5
47504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505   (exit $ac_status); } &&
47506          { ac_try='test -z "$ac_c_werror_flag"
47507                          || test ! -s conftest.err'
47508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47509   (eval $ac_try) 2>&5
47510   ac_status=$?
47511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47512   (exit $ac_status); }; } &&
47513          { ac_try='test -s conftest$ac_exeext'
47514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47515   (eval $ac_try) 2>&5
47516   ac_status=$?
47517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47518   (exit $ac_status); }; }; then
47519   eval "$as_ac_var=yes"
47520 else
47521   echo "$as_me: failed program was:" >&5
47522 sed 's/^/| /' conftest.$ac_ext >&5
47523
47524 eval "$as_ac_var=no"
47525 fi
47526 rm -f conftest.err conftest.$ac_objext \
47527       conftest$ac_exeext conftest.$ac_ext
47528 fi
47529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47531 if test `eval echo '${'$as_ac_var'}'` = yes; then
47532   cat >>confdefs.h <<_ACEOF
47533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47534 _ACEOF
47535
47536 fi
47537 done
47538
47539     fi
47540   fi
47541
47542
47543
47544
47545
47546
47547   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47548 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47549   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47550     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47551   echo $ECHO_N "(cached) $ECHO_C" >&6
47552 else
47553
47554
47555
47556       ac_ext=cc
47557 ac_cpp='$CXXCPP $CPPFLAGS'
47558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47561
47562       cat >conftest.$ac_ext <<_ACEOF
47563 /* confdefs.h.  */
47564 _ACEOF
47565 cat confdefs.h >>conftest.$ac_ext
47566 cat >>conftest.$ac_ext <<_ACEOF
47567 /* end confdefs.h.  */
47568 #include <math.h>
47569                       #ifdef HAVE_IEEEFP_H
47570                       #include <ieeefp.h>
47571                       #endif
47572
47573 int
47574 main ()
47575 {
47576  fabsf(0);
47577   ;
47578   return 0;
47579 }
47580 _ACEOF
47581 rm -f conftest.$ac_objext
47582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47583   (eval $ac_compile) 2>conftest.er1
47584   ac_status=$?
47585   grep -v '^ *+' conftest.er1 >conftest.err
47586   rm -f conftest.er1
47587   cat conftest.err >&5
47588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47589   (exit $ac_status); } &&
47590          { ac_try='test -z "$ac_cxx_werror_flag"
47591                          || test ! -s conftest.err'
47592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47593   (eval $ac_try) 2>&5
47594   ac_status=$?
47595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47596   (exit $ac_status); }; } &&
47597          { ac_try='test -s conftest.$ac_objext'
47598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47599   (eval $ac_try) 2>&5
47600   ac_status=$?
47601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47602   (exit $ac_status); }; }; then
47603   glibcxx_cv_func_fabsf_use=yes
47604 else
47605   echo "$as_me: failed program was:" >&5
47606 sed 's/^/| /' conftest.$ac_ext >&5
47607
47608 glibcxx_cv_func_fabsf_use=no
47609 fi
47610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47611       ac_ext=c
47612 ac_cpp='$CPP $CPPFLAGS'
47613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47616
47617
47618 fi
47619
47620   fi
47621   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47622 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47623
47624   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47625
47626 for ac_func in fabsf
47627 do
47628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47629 echo "$as_me:$LINENO: checking for $ac_func" >&5
47630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47631 if eval "test \"\${$as_ac_var+set}\" = set"; then
47632   echo $ECHO_N "(cached) $ECHO_C" >&6
47633 else
47634   if test x$gcc_no_link = xyes; then
47635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47637    { (exit 1); exit 1; }; }
47638 fi
47639 cat >conftest.$ac_ext <<_ACEOF
47640 /* confdefs.h.  */
47641 _ACEOF
47642 cat confdefs.h >>conftest.$ac_ext
47643 cat >>conftest.$ac_ext <<_ACEOF
47644 /* end confdefs.h.  */
47645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47647 #define $ac_func innocuous_$ac_func
47648
47649 /* System header to define __stub macros and hopefully few prototypes,
47650     which can conflict with char $ac_func (); below.
47651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47652     <limits.h> exists even on freestanding compilers.  */
47653
47654 #ifdef __STDC__
47655 # include <limits.h>
47656 #else
47657 # include <assert.h>
47658 #endif
47659
47660 #undef $ac_func
47661
47662 /* Override any gcc2 internal prototype to avoid an error.  */
47663 #ifdef __cplusplus
47664 extern "C"
47665 {
47666 #endif
47667 /* We use char because int might match the return type of a gcc2
47668    builtin and then its argument prototype would still apply.  */
47669 char $ac_func ();
47670 /* The GNU C library defines this for functions which it implements
47671     to always fail with ENOSYS.  Some functions are actually named
47672     something starting with __ and the normal name is an alias.  */
47673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47674 choke me
47675 #else
47676 char (*f) () = $ac_func;
47677 #endif
47678 #ifdef __cplusplus
47679 }
47680 #endif
47681
47682 int
47683 main ()
47684 {
47685 return f != $ac_func;
47686   ;
47687   return 0;
47688 }
47689 _ACEOF
47690 rm -f conftest.$ac_objext conftest$ac_exeext
47691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47692   (eval $ac_link) 2>conftest.er1
47693   ac_status=$?
47694   grep -v '^ *+' conftest.er1 >conftest.err
47695   rm -f conftest.er1
47696   cat conftest.err >&5
47697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698   (exit $ac_status); } &&
47699          { ac_try='test -z "$ac_c_werror_flag"
47700                          || test ! -s conftest.err'
47701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47702   (eval $ac_try) 2>&5
47703   ac_status=$?
47704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47705   (exit $ac_status); }; } &&
47706          { ac_try='test -s conftest$ac_exeext'
47707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708   (eval $ac_try) 2>&5
47709   ac_status=$?
47710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711   (exit $ac_status); }; }; then
47712   eval "$as_ac_var=yes"
47713 else
47714   echo "$as_me: failed program was:" >&5
47715 sed 's/^/| /' conftest.$ac_ext >&5
47716
47717 eval "$as_ac_var=no"
47718 fi
47719 rm -f conftest.err conftest.$ac_objext \
47720       conftest$ac_exeext conftest.$ac_ext
47721 fi
47722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47724 if test `eval echo '${'$as_ac_var'}'` = yes; then
47725   cat >>confdefs.h <<_ACEOF
47726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47727 _ACEOF
47728
47729 fi
47730 done
47731
47732   else
47733
47734   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47735 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47736   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47737     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47738   echo $ECHO_N "(cached) $ECHO_C" >&6
47739 else
47740
47741
47742
47743       ac_ext=cc
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47748
47749       cat >conftest.$ac_ext <<_ACEOF
47750 /* confdefs.h.  */
47751 _ACEOF
47752 cat confdefs.h >>conftest.$ac_ext
47753 cat >>conftest.$ac_ext <<_ACEOF
47754 /* end confdefs.h.  */
47755 #include <math.h>
47756                       #ifdef HAVE_IEEEFP_H
47757                       #include <ieeefp.h>
47758                       #endif
47759
47760 int
47761 main ()
47762 {
47763  _fabsf(0);
47764   ;
47765   return 0;
47766 }
47767 _ACEOF
47768 rm -f conftest.$ac_objext
47769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47770   (eval $ac_compile) 2>conftest.er1
47771   ac_status=$?
47772   grep -v '^ *+' conftest.er1 >conftest.err
47773   rm -f conftest.er1
47774   cat conftest.err >&5
47775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47776   (exit $ac_status); } &&
47777          { ac_try='test -z "$ac_cxx_werror_flag"
47778                          || test ! -s conftest.err'
47779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47780   (eval $ac_try) 2>&5
47781   ac_status=$?
47782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783   (exit $ac_status); }; } &&
47784          { ac_try='test -s conftest.$ac_objext'
47785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47786   (eval $ac_try) 2>&5
47787   ac_status=$?
47788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789   (exit $ac_status); }; }; then
47790   glibcxx_cv_func__fabsf_use=yes
47791 else
47792   echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47794
47795 glibcxx_cv_func__fabsf_use=no
47796 fi
47797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47798       ac_ext=c
47799 ac_cpp='$CPP $CPPFLAGS'
47800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47803
47804
47805 fi
47806
47807   fi
47808   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47809 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47810
47811     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47812
47813 for ac_func in _fabsf
47814 do
47815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47816 echo "$as_me:$LINENO: checking for $ac_func" >&5
47817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47818 if eval "test \"\${$as_ac_var+set}\" = set"; then
47819   echo $ECHO_N "(cached) $ECHO_C" >&6
47820 else
47821   if test x$gcc_no_link = xyes; then
47822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47824    { (exit 1); exit 1; }; }
47825 fi
47826 cat >conftest.$ac_ext <<_ACEOF
47827 /* confdefs.h.  */
47828 _ACEOF
47829 cat confdefs.h >>conftest.$ac_ext
47830 cat >>conftest.$ac_ext <<_ACEOF
47831 /* end confdefs.h.  */
47832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47834 #define $ac_func innocuous_$ac_func
47835
47836 /* System header to define __stub macros and hopefully few prototypes,
47837     which can conflict with char $ac_func (); below.
47838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47839     <limits.h> exists even on freestanding compilers.  */
47840
47841 #ifdef __STDC__
47842 # include <limits.h>
47843 #else
47844 # include <assert.h>
47845 #endif
47846
47847 #undef $ac_func
47848
47849 /* Override any gcc2 internal prototype to avoid an error.  */
47850 #ifdef __cplusplus
47851 extern "C"
47852 {
47853 #endif
47854 /* We use char because int might match the return type of a gcc2
47855    builtin and then its argument prototype would still apply.  */
47856 char $ac_func ();
47857 /* The GNU C library defines this for functions which it implements
47858     to always fail with ENOSYS.  Some functions are actually named
47859     something starting with __ and the normal name is an alias.  */
47860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47861 choke me
47862 #else
47863 char (*f) () = $ac_func;
47864 #endif
47865 #ifdef __cplusplus
47866 }
47867 #endif
47868
47869 int
47870 main ()
47871 {
47872 return f != $ac_func;
47873   ;
47874   return 0;
47875 }
47876 _ACEOF
47877 rm -f conftest.$ac_objext conftest$ac_exeext
47878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47879   (eval $ac_link) 2>conftest.er1
47880   ac_status=$?
47881   grep -v '^ *+' conftest.er1 >conftest.err
47882   rm -f conftest.er1
47883   cat conftest.err >&5
47884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885   (exit $ac_status); } &&
47886          { ac_try='test -z "$ac_c_werror_flag"
47887                          || test ! -s conftest.err'
47888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889   (eval $ac_try) 2>&5
47890   ac_status=$?
47891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892   (exit $ac_status); }; } &&
47893          { ac_try='test -s conftest$ac_exeext'
47894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47895   (eval $ac_try) 2>&5
47896   ac_status=$?
47897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47898   (exit $ac_status); }; }; then
47899   eval "$as_ac_var=yes"
47900 else
47901   echo "$as_me: failed program was:" >&5
47902 sed 's/^/| /' conftest.$ac_ext >&5
47903
47904 eval "$as_ac_var=no"
47905 fi
47906 rm -f conftest.err conftest.$ac_objext \
47907       conftest$ac_exeext conftest.$ac_ext
47908 fi
47909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47911 if test `eval echo '${'$as_ac_var'}'` = yes; then
47912   cat >>confdefs.h <<_ACEOF
47913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47914 _ACEOF
47915
47916 fi
47917 done
47918
47919     fi
47920   fi
47921
47922
47923
47924
47925
47926
47927   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47928 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47929   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47930     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47931   echo $ECHO_N "(cached) $ECHO_C" >&6
47932 else
47933
47934
47935
47936       ac_ext=cc
47937 ac_cpp='$CXXCPP $CPPFLAGS'
47938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47941
47942       cat >conftest.$ac_ext <<_ACEOF
47943 /* confdefs.h.  */
47944 _ACEOF
47945 cat confdefs.h >>conftest.$ac_ext
47946 cat >>conftest.$ac_ext <<_ACEOF
47947 /* end confdefs.h.  */
47948 #include <math.h>
47949 int
47950 main ()
47951 {
47952  fmodf(0, 0);
47953   ;
47954   return 0;
47955 }
47956 _ACEOF
47957 rm -f conftest.$ac_objext
47958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47959   (eval $ac_compile) 2>conftest.er1
47960   ac_status=$?
47961   grep -v '^ *+' conftest.er1 >conftest.err
47962   rm -f conftest.er1
47963   cat conftest.err >&5
47964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47965   (exit $ac_status); } &&
47966          { ac_try='test -z "$ac_cxx_werror_flag"
47967                          || test ! -s conftest.err'
47968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47969   (eval $ac_try) 2>&5
47970   ac_status=$?
47971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47972   (exit $ac_status); }; } &&
47973          { ac_try='test -s conftest.$ac_objext'
47974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47975   (eval $ac_try) 2>&5
47976   ac_status=$?
47977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978   (exit $ac_status); }; }; then
47979   glibcxx_cv_func_fmodf_use=yes
47980 else
47981   echo "$as_me: failed program was:" >&5
47982 sed 's/^/| /' conftest.$ac_ext >&5
47983
47984 glibcxx_cv_func_fmodf_use=no
47985 fi
47986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47987       ac_ext=c
47988 ac_cpp='$CPP $CPPFLAGS'
47989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47992
47993
47994 fi
47995
47996   fi
47997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47998 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47999
48000   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48001
48002 for ac_func in fmodf
48003 do
48004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48005 echo "$as_me:$LINENO: checking for $ac_func" >&5
48006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48007 if eval "test \"\${$as_ac_var+set}\" = set"; then
48008   echo $ECHO_N "(cached) $ECHO_C" >&6
48009 else
48010   if test x$gcc_no_link = xyes; then
48011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48013    { (exit 1); exit 1; }; }
48014 fi
48015 cat >conftest.$ac_ext <<_ACEOF
48016 /* confdefs.h.  */
48017 _ACEOF
48018 cat confdefs.h >>conftest.$ac_ext
48019 cat >>conftest.$ac_ext <<_ACEOF
48020 /* end confdefs.h.  */
48021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48023 #define $ac_func innocuous_$ac_func
48024
48025 /* System header to define __stub macros and hopefully few prototypes,
48026     which can conflict with char $ac_func (); below.
48027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48028     <limits.h> exists even on freestanding compilers.  */
48029
48030 #ifdef __STDC__
48031 # include <limits.h>
48032 #else
48033 # include <assert.h>
48034 #endif
48035
48036 #undef $ac_func
48037
48038 /* Override any gcc2 internal prototype to avoid an error.  */
48039 #ifdef __cplusplus
48040 extern "C"
48041 {
48042 #endif
48043 /* We use char because int might match the return type of a gcc2
48044    builtin and then its argument prototype would still apply.  */
48045 char $ac_func ();
48046 /* The GNU C library defines this for functions which it implements
48047     to always fail with ENOSYS.  Some functions are actually named
48048     something starting with __ and the normal name is an alias.  */
48049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48050 choke me
48051 #else
48052 char (*f) () = $ac_func;
48053 #endif
48054 #ifdef __cplusplus
48055 }
48056 #endif
48057
48058 int
48059 main ()
48060 {
48061 return f != $ac_func;
48062   ;
48063   return 0;
48064 }
48065 _ACEOF
48066 rm -f conftest.$ac_objext conftest$ac_exeext
48067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48068   (eval $ac_link) 2>conftest.er1
48069   ac_status=$?
48070   grep -v '^ *+' conftest.er1 >conftest.err
48071   rm -f conftest.er1
48072   cat conftest.err >&5
48073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074   (exit $ac_status); } &&
48075          { ac_try='test -z "$ac_c_werror_flag"
48076                          || test ! -s conftest.err'
48077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078   (eval $ac_try) 2>&5
48079   ac_status=$?
48080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081   (exit $ac_status); }; } &&
48082          { ac_try='test -s conftest$ac_exeext'
48083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48084   (eval $ac_try) 2>&5
48085   ac_status=$?
48086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087   (exit $ac_status); }; }; then
48088   eval "$as_ac_var=yes"
48089 else
48090   echo "$as_me: failed program was:" >&5
48091 sed 's/^/| /' conftest.$ac_ext >&5
48092
48093 eval "$as_ac_var=no"
48094 fi
48095 rm -f conftest.err conftest.$ac_objext \
48096       conftest$ac_exeext conftest.$ac_ext
48097 fi
48098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48100 if test `eval echo '${'$as_ac_var'}'` = yes; then
48101   cat >>confdefs.h <<_ACEOF
48102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48103 _ACEOF
48104
48105 fi
48106 done
48107
48108   else
48109
48110   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48111 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48112   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48113     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48114   echo $ECHO_N "(cached) $ECHO_C" >&6
48115 else
48116
48117
48118
48119       ac_ext=cc
48120 ac_cpp='$CXXCPP $CPPFLAGS'
48121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48124
48125       cat >conftest.$ac_ext <<_ACEOF
48126 /* confdefs.h.  */
48127 _ACEOF
48128 cat confdefs.h >>conftest.$ac_ext
48129 cat >>conftest.$ac_ext <<_ACEOF
48130 /* end confdefs.h.  */
48131 #include <math.h>
48132 int
48133 main ()
48134 {
48135  _fmodf(0, 0);
48136   ;
48137   return 0;
48138 }
48139 _ACEOF
48140 rm -f conftest.$ac_objext
48141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48142   (eval $ac_compile) 2>conftest.er1
48143   ac_status=$?
48144   grep -v '^ *+' conftest.er1 >conftest.err
48145   rm -f conftest.er1
48146   cat conftest.err >&5
48147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148   (exit $ac_status); } &&
48149          { ac_try='test -z "$ac_cxx_werror_flag"
48150                          || test ! -s conftest.err'
48151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48152   (eval $ac_try) 2>&5
48153   ac_status=$?
48154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155   (exit $ac_status); }; } &&
48156          { ac_try='test -s conftest.$ac_objext'
48157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48158   (eval $ac_try) 2>&5
48159   ac_status=$?
48160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48161   (exit $ac_status); }; }; then
48162   glibcxx_cv_func__fmodf_use=yes
48163 else
48164   echo "$as_me: failed program was:" >&5
48165 sed 's/^/| /' conftest.$ac_ext >&5
48166
48167 glibcxx_cv_func__fmodf_use=no
48168 fi
48169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48170       ac_ext=c
48171 ac_cpp='$CPP $CPPFLAGS'
48172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175
48176
48177 fi
48178
48179   fi
48180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48181 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48182
48183     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48184
48185 for ac_func in _fmodf
48186 do
48187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48188 echo "$as_me:$LINENO: checking for $ac_func" >&5
48189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48190 if eval "test \"\${$as_ac_var+set}\" = set"; then
48191   echo $ECHO_N "(cached) $ECHO_C" >&6
48192 else
48193   if test x$gcc_no_link = xyes; then
48194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48196    { (exit 1); exit 1; }; }
48197 fi
48198 cat >conftest.$ac_ext <<_ACEOF
48199 /* confdefs.h.  */
48200 _ACEOF
48201 cat confdefs.h >>conftest.$ac_ext
48202 cat >>conftest.$ac_ext <<_ACEOF
48203 /* end confdefs.h.  */
48204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48206 #define $ac_func innocuous_$ac_func
48207
48208 /* System header to define __stub macros and hopefully few prototypes,
48209     which can conflict with char $ac_func (); below.
48210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48211     <limits.h> exists even on freestanding compilers.  */
48212
48213 #ifdef __STDC__
48214 # include <limits.h>
48215 #else
48216 # include <assert.h>
48217 #endif
48218
48219 #undef $ac_func
48220
48221 /* Override any gcc2 internal prototype to avoid an error.  */
48222 #ifdef __cplusplus
48223 extern "C"
48224 {
48225 #endif
48226 /* We use char because int might match the return type of a gcc2
48227    builtin and then its argument prototype would still apply.  */
48228 char $ac_func ();
48229 /* The GNU C library defines this for functions which it implements
48230     to always fail with ENOSYS.  Some functions are actually named
48231     something starting with __ and the normal name is an alias.  */
48232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48233 choke me
48234 #else
48235 char (*f) () = $ac_func;
48236 #endif
48237 #ifdef __cplusplus
48238 }
48239 #endif
48240
48241 int
48242 main ()
48243 {
48244 return f != $ac_func;
48245   ;
48246   return 0;
48247 }
48248 _ACEOF
48249 rm -f conftest.$ac_objext conftest$ac_exeext
48250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48251   (eval $ac_link) 2>conftest.er1
48252   ac_status=$?
48253   grep -v '^ *+' conftest.er1 >conftest.err
48254   rm -f conftest.er1
48255   cat conftest.err >&5
48256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48257   (exit $ac_status); } &&
48258          { ac_try='test -z "$ac_c_werror_flag"
48259                          || test ! -s conftest.err'
48260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48261   (eval $ac_try) 2>&5
48262   ac_status=$?
48263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48264   (exit $ac_status); }; } &&
48265          { ac_try='test -s conftest$ac_exeext'
48266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48267   (eval $ac_try) 2>&5
48268   ac_status=$?
48269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48270   (exit $ac_status); }; }; then
48271   eval "$as_ac_var=yes"
48272 else
48273   echo "$as_me: failed program was:" >&5
48274 sed 's/^/| /' conftest.$ac_ext >&5
48275
48276 eval "$as_ac_var=no"
48277 fi
48278 rm -f conftest.err conftest.$ac_objext \
48279       conftest$ac_exeext conftest.$ac_ext
48280 fi
48281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48283 if test `eval echo '${'$as_ac_var'}'` = yes; then
48284   cat >>confdefs.h <<_ACEOF
48285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48286 _ACEOF
48287
48288 fi
48289 done
48290
48291     fi
48292   fi
48293
48294
48295
48296
48297
48298
48299   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48300 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48301   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48302     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48303   echo $ECHO_N "(cached) $ECHO_C" >&6
48304 else
48305
48306
48307
48308       ac_ext=cc
48309 ac_cpp='$CXXCPP $CPPFLAGS'
48310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48313
48314       cat >conftest.$ac_ext <<_ACEOF
48315 /* confdefs.h.  */
48316 _ACEOF
48317 cat confdefs.h >>conftest.$ac_ext
48318 cat >>conftest.$ac_ext <<_ACEOF
48319 /* end confdefs.h.  */
48320 #include <math.h>
48321 int
48322 main ()
48323 {
48324  frexpf(0, 0);
48325   ;
48326   return 0;
48327 }
48328 _ACEOF
48329 rm -f conftest.$ac_objext
48330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48331   (eval $ac_compile) 2>conftest.er1
48332   ac_status=$?
48333   grep -v '^ *+' conftest.er1 >conftest.err
48334   rm -f conftest.er1
48335   cat conftest.err >&5
48336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337   (exit $ac_status); } &&
48338          { ac_try='test -z "$ac_cxx_werror_flag"
48339                          || test ! -s conftest.err'
48340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48341   (eval $ac_try) 2>&5
48342   ac_status=$?
48343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344   (exit $ac_status); }; } &&
48345          { ac_try='test -s conftest.$ac_objext'
48346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48347   (eval $ac_try) 2>&5
48348   ac_status=$?
48349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48350   (exit $ac_status); }; }; then
48351   glibcxx_cv_func_frexpf_use=yes
48352 else
48353   echo "$as_me: failed program was:" >&5
48354 sed 's/^/| /' conftest.$ac_ext >&5
48355
48356 glibcxx_cv_func_frexpf_use=no
48357 fi
48358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48359       ac_ext=c
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48364
48365
48366 fi
48367
48368   fi
48369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48370 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48371
48372   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48373
48374 for ac_func in frexpf
48375 do
48376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48377 echo "$as_me:$LINENO: checking for $ac_func" >&5
48378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48379 if eval "test \"\${$as_ac_var+set}\" = set"; then
48380   echo $ECHO_N "(cached) $ECHO_C" >&6
48381 else
48382   if test x$gcc_no_link = xyes; then
48383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48385    { (exit 1); exit 1; }; }
48386 fi
48387 cat >conftest.$ac_ext <<_ACEOF
48388 /* confdefs.h.  */
48389 _ACEOF
48390 cat confdefs.h >>conftest.$ac_ext
48391 cat >>conftest.$ac_ext <<_ACEOF
48392 /* end confdefs.h.  */
48393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48395 #define $ac_func innocuous_$ac_func
48396
48397 /* System header to define __stub macros and hopefully few prototypes,
48398     which can conflict with char $ac_func (); below.
48399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48400     <limits.h> exists even on freestanding compilers.  */
48401
48402 #ifdef __STDC__
48403 # include <limits.h>
48404 #else
48405 # include <assert.h>
48406 #endif
48407
48408 #undef $ac_func
48409
48410 /* Override any gcc2 internal prototype to avoid an error.  */
48411 #ifdef __cplusplus
48412 extern "C"
48413 {
48414 #endif
48415 /* We use char because int might match the return type of a gcc2
48416    builtin and then its argument prototype would still apply.  */
48417 char $ac_func ();
48418 /* The GNU C library defines this for functions which it implements
48419     to always fail with ENOSYS.  Some functions are actually named
48420     something starting with __ and the normal name is an alias.  */
48421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48422 choke me
48423 #else
48424 char (*f) () = $ac_func;
48425 #endif
48426 #ifdef __cplusplus
48427 }
48428 #endif
48429
48430 int
48431 main ()
48432 {
48433 return f != $ac_func;
48434   ;
48435   return 0;
48436 }
48437 _ACEOF
48438 rm -f conftest.$ac_objext conftest$ac_exeext
48439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48440   (eval $ac_link) 2>conftest.er1
48441   ac_status=$?
48442   grep -v '^ *+' conftest.er1 >conftest.err
48443   rm -f conftest.er1
48444   cat conftest.err >&5
48445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446   (exit $ac_status); } &&
48447          { ac_try='test -z "$ac_c_werror_flag"
48448                          || test ! -s conftest.err'
48449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450   (eval $ac_try) 2>&5
48451   ac_status=$?
48452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453   (exit $ac_status); }; } &&
48454          { ac_try='test -s conftest$ac_exeext'
48455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48456   (eval $ac_try) 2>&5
48457   ac_status=$?
48458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459   (exit $ac_status); }; }; then
48460   eval "$as_ac_var=yes"
48461 else
48462   echo "$as_me: failed program was:" >&5
48463 sed 's/^/| /' conftest.$ac_ext >&5
48464
48465 eval "$as_ac_var=no"
48466 fi
48467 rm -f conftest.err conftest.$ac_objext \
48468       conftest$ac_exeext conftest.$ac_ext
48469 fi
48470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48472 if test `eval echo '${'$as_ac_var'}'` = yes; then
48473   cat >>confdefs.h <<_ACEOF
48474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48475 _ACEOF
48476
48477 fi
48478 done
48479
48480   else
48481
48482   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48483 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48484   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48485     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48486   echo $ECHO_N "(cached) $ECHO_C" >&6
48487 else
48488
48489
48490
48491       ac_ext=cc
48492 ac_cpp='$CXXCPP $CPPFLAGS'
48493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48496
48497       cat >conftest.$ac_ext <<_ACEOF
48498 /* confdefs.h.  */
48499 _ACEOF
48500 cat confdefs.h >>conftest.$ac_ext
48501 cat >>conftest.$ac_ext <<_ACEOF
48502 /* end confdefs.h.  */
48503 #include <math.h>
48504 int
48505 main ()
48506 {
48507  _frexpf(0, 0);
48508   ;
48509   return 0;
48510 }
48511 _ACEOF
48512 rm -f conftest.$ac_objext
48513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48514   (eval $ac_compile) 2>conftest.er1
48515   ac_status=$?
48516   grep -v '^ *+' conftest.er1 >conftest.err
48517   rm -f conftest.er1
48518   cat conftest.err >&5
48519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48520   (exit $ac_status); } &&
48521          { ac_try='test -z "$ac_cxx_werror_flag"
48522                          || test ! -s conftest.err'
48523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48524   (eval $ac_try) 2>&5
48525   ac_status=$?
48526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48527   (exit $ac_status); }; } &&
48528          { ac_try='test -s conftest.$ac_objext'
48529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530   (eval $ac_try) 2>&5
48531   ac_status=$?
48532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533   (exit $ac_status); }; }; then
48534   glibcxx_cv_func__frexpf_use=yes
48535 else
48536   echo "$as_me: failed program was:" >&5
48537 sed 's/^/| /' conftest.$ac_ext >&5
48538
48539 glibcxx_cv_func__frexpf_use=no
48540 fi
48541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48542       ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48547
48548
48549 fi
48550
48551   fi
48552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48553 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48554
48555     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48556
48557 for ac_func in _frexpf
48558 do
48559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48560 echo "$as_me:$LINENO: checking for $ac_func" >&5
48561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48562 if eval "test \"\${$as_ac_var+set}\" = set"; then
48563   echo $ECHO_N "(cached) $ECHO_C" >&6
48564 else
48565   if test x$gcc_no_link = xyes; then
48566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48568    { (exit 1); exit 1; }; }
48569 fi
48570 cat >conftest.$ac_ext <<_ACEOF
48571 /* confdefs.h.  */
48572 _ACEOF
48573 cat confdefs.h >>conftest.$ac_ext
48574 cat >>conftest.$ac_ext <<_ACEOF
48575 /* end confdefs.h.  */
48576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48578 #define $ac_func innocuous_$ac_func
48579
48580 /* System header to define __stub macros and hopefully few prototypes,
48581     which can conflict with char $ac_func (); below.
48582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48583     <limits.h> exists even on freestanding compilers.  */
48584
48585 #ifdef __STDC__
48586 # include <limits.h>
48587 #else
48588 # include <assert.h>
48589 #endif
48590
48591 #undef $ac_func
48592
48593 /* Override any gcc2 internal prototype to avoid an error.  */
48594 #ifdef __cplusplus
48595 extern "C"
48596 {
48597 #endif
48598 /* We use char because int might match the return type of a gcc2
48599    builtin and then its argument prototype would still apply.  */
48600 char $ac_func ();
48601 /* The GNU C library defines this for functions which it implements
48602     to always fail with ENOSYS.  Some functions are actually named
48603     something starting with __ and the normal name is an alias.  */
48604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48605 choke me
48606 #else
48607 char (*f) () = $ac_func;
48608 #endif
48609 #ifdef __cplusplus
48610 }
48611 #endif
48612
48613 int
48614 main ()
48615 {
48616 return f != $ac_func;
48617   ;
48618   return 0;
48619 }
48620 _ACEOF
48621 rm -f conftest.$ac_objext conftest$ac_exeext
48622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48623   (eval $ac_link) 2>conftest.er1
48624   ac_status=$?
48625   grep -v '^ *+' conftest.er1 >conftest.err
48626   rm -f conftest.er1
48627   cat conftest.err >&5
48628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48629   (exit $ac_status); } &&
48630          { ac_try='test -z "$ac_c_werror_flag"
48631                          || test ! -s conftest.err'
48632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48633   (eval $ac_try) 2>&5
48634   ac_status=$?
48635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48636   (exit $ac_status); }; } &&
48637          { ac_try='test -s conftest$ac_exeext'
48638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48639   (eval $ac_try) 2>&5
48640   ac_status=$?
48641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642   (exit $ac_status); }; }; then
48643   eval "$as_ac_var=yes"
48644 else
48645   echo "$as_me: failed program was:" >&5
48646 sed 's/^/| /' conftest.$ac_ext >&5
48647
48648 eval "$as_ac_var=no"
48649 fi
48650 rm -f conftest.err conftest.$ac_objext \
48651       conftest$ac_exeext conftest.$ac_ext
48652 fi
48653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48655 if test `eval echo '${'$as_ac_var'}'` = yes; then
48656   cat >>confdefs.h <<_ACEOF
48657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48658 _ACEOF
48659
48660 fi
48661 done
48662
48663     fi
48664   fi
48665
48666
48667
48668
48669
48670
48671   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48672 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48673   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48674     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48675   echo $ECHO_N "(cached) $ECHO_C" >&6
48676 else
48677
48678
48679
48680       ac_ext=cc
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48685
48686       cat >conftest.$ac_ext <<_ACEOF
48687 /* confdefs.h.  */
48688 _ACEOF
48689 cat confdefs.h >>conftest.$ac_ext
48690 cat >>conftest.$ac_ext <<_ACEOF
48691 /* end confdefs.h.  */
48692 #include <math.h>
48693 int
48694 main ()
48695 {
48696  hypotf(0, 0);
48697   ;
48698   return 0;
48699 }
48700 _ACEOF
48701 rm -f conftest.$ac_objext
48702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48703   (eval $ac_compile) 2>conftest.er1
48704   ac_status=$?
48705   grep -v '^ *+' conftest.er1 >conftest.err
48706   rm -f conftest.er1
48707   cat conftest.err >&5
48708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709   (exit $ac_status); } &&
48710          { ac_try='test -z "$ac_cxx_werror_flag"
48711                          || test ! -s conftest.err'
48712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48713   (eval $ac_try) 2>&5
48714   ac_status=$?
48715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48716   (exit $ac_status); }; } &&
48717          { ac_try='test -s conftest.$ac_objext'
48718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48719   (eval $ac_try) 2>&5
48720   ac_status=$?
48721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722   (exit $ac_status); }; }; then
48723   glibcxx_cv_func_hypotf_use=yes
48724 else
48725   echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48727
48728 glibcxx_cv_func_hypotf_use=no
48729 fi
48730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48731       ac_ext=c
48732 ac_cpp='$CPP $CPPFLAGS'
48733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48736
48737
48738 fi
48739
48740   fi
48741   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48742 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48743
48744   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48745
48746 for ac_func in hypotf
48747 do
48748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48749 echo "$as_me:$LINENO: checking for $ac_func" >&5
48750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48751 if eval "test \"\${$as_ac_var+set}\" = set"; then
48752   echo $ECHO_N "(cached) $ECHO_C" >&6
48753 else
48754   if test x$gcc_no_link = xyes; then
48755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48757    { (exit 1); exit 1; }; }
48758 fi
48759 cat >conftest.$ac_ext <<_ACEOF
48760 /* confdefs.h.  */
48761 _ACEOF
48762 cat confdefs.h >>conftest.$ac_ext
48763 cat >>conftest.$ac_ext <<_ACEOF
48764 /* end confdefs.h.  */
48765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48767 #define $ac_func innocuous_$ac_func
48768
48769 /* System header to define __stub macros and hopefully few prototypes,
48770     which can conflict with char $ac_func (); below.
48771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48772     <limits.h> exists even on freestanding compilers.  */
48773
48774 #ifdef __STDC__
48775 # include <limits.h>
48776 #else
48777 # include <assert.h>
48778 #endif
48779
48780 #undef $ac_func
48781
48782 /* Override any gcc2 internal prototype to avoid an error.  */
48783 #ifdef __cplusplus
48784 extern "C"
48785 {
48786 #endif
48787 /* We use char because int might match the return type of a gcc2
48788    builtin and then its argument prototype would still apply.  */
48789 char $ac_func ();
48790 /* The GNU C library defines this for functions which it implements
48791     to always fail with ENOSYS.  Some functions are actually named
48792     something starting with __ and the normal name is an alias.  */
48793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48794 choke me
48795 #else
48796 char (*f) () = $ac_func;
48797 #endif
48798 #ifdef __cplusplus
48799 }
48800 #endif
48801
48802 int
48803 main ()
48804 {
48805 return f != $ac_func;
48806   ;
48807   return 0;
48808 }
48809 _ACEOF
48810 rm -f conftest.$ac_objext conftest$ac_exeext
48811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48812   (eval $ac_link) 2>conftest.er1
48813   ac_status=$?
48814   grep -v '^ *+' conftest.er1 >conftest.err
48815   rm -f conftest.er1
48816   cat conftest.err >&5
48817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48818   (exit $ac_status); } &&
48819          { ac_try='test -z "$ac_c_werror_flag"
48820                          || test ! -s conftest.err'
48821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48822   (eval $ac_try) 2>&5
48823   ac_status=$?
48824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48825   (exit $ac_status); }; } &&
48826          { ac_try='test -s conftest$ac_exeext'
48827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48828   (eval $ac_try) 2>&5
48829   ac_status=$?
48830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48831   (exit $ac_status); }; }; then
48832   eval "$as_ac_var=yes"
48833 else
48834   echo "$as_me: failed program was:" >&5
48835 sed 's/^/| /' conftest.$ac_ext >&5
48836
48837 eval "$as_ac_var=no"
48838 fi
48839 rm -f conftest.err conftest.$ac_objext \
48840       conftest$ac_exeext conftest.$ac_ext
48841 fi
48842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48844 if test `eval echo '${'$as_ac_var'}'` = yes; then
48845   cat >>confdefs.h <<_ACEOF
48846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48847 _ACEOF
48848
48849 fi
48850 done
48851
48852   else
48853
48854   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48855 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48856   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48857     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48858   echo $ECHO_N "(cached) $ECHO_C" >&6
48859 else
48860
48861
48862
48863       ac_ext=cc
48864 ac_cpp='$CXXCPP $CPPFLAGS'
48865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48868
48869       cat >conftest.$ac_ext <<_ACEOF
48870 /* confdefs.h.  */
48871 _ACEOF
48872 cat confdefs.h >>conftest.$ac_ext
48873 cat >>conftest.$ac_ext <<_ACEOF
48874 /* end confdefs.h.  */
48875 #include <math.h>
48876 int
48877 main ()
48878 {
48879  _hypotf(0, 0);
48880   ;
48881   return 0;
48882 }
48883 _ACEOF
48884 rm -f conftest.$ac_objext
48885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48886   (eval $ac_compile) 2>conftest.er1
48887   ac_status=$?
48888   grep -v '^ *+' conftest.er1 >conftest.err
48889   rm -f conftest.er1
48890   cat conftest.err >&5
48891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892   (exit $ac_status); } &&
48893          { ac_try='test -z "$ac_cxx_werror_flag"
48894                          || test ! -s conftest.err'
48895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48896   (eval $ac_try) 2>&5
48897   ac_status=$?
48898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899   (exit $ac_status); }; } &&
48900          { ac_try='test -s conftest.$ac_objext'
48901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902   (eval $ac_try) 2>&5
48903   ac_status=$?
48904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905   (exit $ac_status); }; }; then
48906   glibcxx_cv_func__hypotf_use=yes
48907 else
48908   echo "$as_me: failed program was:" >&5
48909 sed 's/^/| /' conftest.$ac_ext >&5
48910
48911 glibcxx_cv_func__hypotf_use=no
48912 fi
48913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48914       ac_ext=c
48915 ac_cpp='$CPP $CPPFLAGS'
48916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48919
48920
48921 fi
48922
48923   fi
48924   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48925 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48926
48927     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48928
48929 for ac_func in _hypotf
48930 do
48931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48932 echo "$as_me:$LINENO: checking for $ac_func" >&5
48933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48934 if eval "test \"\${$as_ac_var+set}\" = set"; then
48935   echo $ECHO_N "(cached) $ECHO_C" >&6
48936 else
48937   if test x$gcc_no_link = xyes; then
48938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48940    { (exit 1); exit 1; }; }
48941 fi
48942 cat >conftest.$ac_ext <<_ACEOF
48943 /* confdefs.h.  */
48944 _ACEOF
48945 cat confdefs.h >>conftest.$ac_ext
48946 cat >>conftest.$ac_ext <<_ACEOF
48947 /* end confdefs.h.  */
48948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48950 #define $ac_func innocuous_$ac_func
48951
48952 /* System header to define __stub macros and hopefully few prototypes,
48953     which can conflict with char $ac_func (); below.
48954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48955     <limits.h> exists even on freestanding compilers.  */
48956
48957 #ifdef __STDC__
48958 # include <limits.h>
48959 #else
48960 # include <assert.h>
48961 #endif
48962
48963 #undef $ac_func
48964
48965 /* Override any gcc2 internal prototype to avoid an error.  */
48966 #ifdef __cplusplus
48967 extern "C"
48968 {
48969 #endif
48970 /* We use char because int might match the return type of a gcc2
48971    builtin and then its argument prototype would still apply.  */
48972 char $ac_func ();
48973 /* The GNU C library defines this for functions which it implements
48974     to always fail with ENOSYS.  Some functions are actually named
48975     something starting with __ and the normal name is an alias.  */
48976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48977 choke me
48978 #else
48979 char (*f) () = $ac_func;
48980 #endif
48981 #ifdef __cplusplus
48982 }
48983 #endif
48984
48985 int
48986 main ()
48987 {
48988 return f != $ac_func;
48989   ;
48990   return 0;
48991 }
48992 _ACEOF
48993 rm -f conftest.$ac_objext conftest$ac_exeext
48994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48995   (eval $ac_link) 2>conftest.er1
48996   ac_status=$?
48997   grep -v '^ *+' conftest.er1 >conftest.err
48998   rm -f conftest.er1
48999   cat conftest.err >&5
49000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49001   (exit $ac_status); } &&
49002          { ac_try='test -z "$ac_c_werror_flag"
49003                          || test ! -s conftest.err'
49004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49005   (eval $ac_try) 2>&5
49006   ac_status=$?
49007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49008   (exit $ac_status); }; } &&
49009          { ac_try='test -s conftest$ac_exeext'
49010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011   (eval $ac_try) 2>&5
49012   ac_status=$?
49013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014   (exit $ac_status); }; }; then
49015   eval "$as_ac_var=yes"
49016 else
49017   echo "$as_me: failed program was:" >&5
49018 sed 's/^/| /' conftest.$ac_ext >&5
49019
49020 eval "$as_ac_var=no"
49021 fi
49022 rm -f conftest.err conftest.$ac_objext \
49023       conftest$ac_exeext conftest.$ac_ext
49024 fi
49025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49027 if test `eval echo '${'$as_ac_var'}'` = yes; then
49028   cat >>confdefs.h <<_ACEOF
49029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49030 _ACEOF
49031
49032 fi
49033 done
49034
49035     fi
49036   fi
49037
49038
49039
49040
49041
49042
49043   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49044 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49045   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49046     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49047   echo $ECHO_N "(cached) $ECHO_C" >&6
49048 else
49049
49050
49051
49052       ac_ext=cc
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49057
49058       cat >conftest.$ac_ext <<_ACEOF
49059 /* confdefs.h.  */
49060 _ACEOF
49061 cat confdefs.h >>conftest.$ac_ext
49062 cat >>conftest.$ac_ext <<_ACEOF
49063 /* end confdefs.h.  */
49064 #include <math.h>
49065 int
49066 main ()
49067 {
49068  ldexpf(0, 0);
49069   ;
49070   return 0;
49071 }
49072 _ACEOF
49073 rm -f conftest.$ac_objext
49074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49075   (eval $ac_compile) 2>conftest.er1
49076   ac_status=$?
49077   grep -v '^ *+' conftest.er1 >conftest.err
49078   rm -f conftest.er1
49079   cat conftest.err >&5
49080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081   (exit $ac_status); } &&
49082          { ac_try='test -z "$ac_cxx_werror_flag"
49083                          || test ! -s conftest.err'
49084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49085   (eval $ac_try) 2>&5
49086   ac_status=$?
49087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088   (exit $ac_status); }; } &&
49089          { ac_try='test -s conftest.$ac_objext'
49090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091   (eval $ac_try) 2>&5
49092   ac_status=$?
49093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094   (exit $ac_status); }; }; then
49095   glibcxx_cv_func_ldexpf_use=yes
49096 else
49097   echo "$as_me: failed program was:" >&5
49098 sed 's/^/| /' conftest.$ac_ext >&5
49099
49100 glibcxx_cv_func_ldexpf_use=no
49101 fi
49102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49103       ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108
49109
49110 fi
49111
49112   fi
49113   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49114 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49115
49116   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49117
49118 for ac_func in ldexpf
49119 do
49120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49121 echo "$as_me:$LINENO: checking for $ac_func" >&5
49122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49123 if eval "test \"\${$as_ac_var+set}\" = set"; then
49124   echo $ECHO_N "(cached) $ECHO_C" >&6
49125 else
49126   if test x$gcc_no_link = xyes; then
49127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49129    { (exit 1); exit 1; }; }
49130 fi
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h.  */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h.  */
49137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49139 #define $ac_func innocuous_$ac_func
49140
49141 /* System header to define __stub macros and hopefully few prototypes,
49142     which can conflict with char $ac_func (); below.
49143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49144     <limits.h> exists even on freestanding compilers.  */
49145
49146 #ifdef __STDC__
49147 # include <limits.h>
49148 #else
49149 # include <assert.h>
49150 #endif
49151
49152 #undef $ac_func
49153
49154 /* Override any gcc2 internal prototype to avoid an error.  */
49155 #ifdef __cplusplus
49156 extern "C"
49157 {
49158 #endif
49159 /* We use char because int might match the return type of a gcc2
49160    builtin and then its argument prototype would still apply.  */
49161 char $ac_func ();
49162 /* The GNU C library defines this for functions which it implements
49163     to always fail with ENOSYS.  Some functions are actually named
49164     something starting with __ and the normal name is an alias.  */
49165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49166 choke me
49167 #else
49168 char (*f) () = $ac_func;
49169 #endif
49170 #ifdef __cplusplus
49171 }
49172 #endif
49173
49174 int
49175 main ()
49176 {
49177 return f != $ac_func;
49178   ;
49179   return 0;
49180 }
49181 _ACEOF
49182 rm -f conftest.$ac_objext conftest$ac_exeext
49183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49184   (eval $ac_link) 2>conftest.er1
49185   ac_status=$?
49186   grep -v '^ *+' conftest.er1 >conftest.err
49187   rm -f conftest.er1
49188   cat conftest.err >&5
49189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190   (exit $ac_status); } &&
49191          { ac_try='test -z "$ac_c_werror_flag"
49192                          || test ! -s conftest.err'
49193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194   (eval $ac_try) 2>&5
49195   ac_status=$?
49196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197   (exit $ac_status); }; } &&
49198          { ac_try='test -s conftest$ac_exeext'
49199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200   (eval $ac_try) 2>&5
49201   ac_status=$?
49202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203   (exit $ac_status); }; }; then
49204   eval "$as_ac_var=yes"
49205 else
49206   echo "$as_me: failed program was:" >&5
49207 sed 's/^/| /' conftest.$ac_ext >&5
49208
49209 eval "$as_ac_var=no"
49210 fi
49211 rm -f conftest.err conftest.$ac_objext \
49212       conftest$ac_exeext conftest.$ac_ext
49213 fi
49214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49216 if test `eval echo '${'$as_ac_var'}'` = yes; then
49217   cat >>confdefs.h <<_ACEOF
49218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49219 _ACEOF
49220
49221 fi
49222 done
49223
49224   else
49225
49226   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49227 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49228   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49229     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49230   echo $ECHO_N "(cached) $ECHO_C" >&6
49231 else
49232
49233
49234
49235       ac_ext=cc
49236 ac_cpp='$CXXCPP $CPPFLAGS'
49237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49240
49241       cat >conftest.$ac_ext <<_ACEOF
49242 /* confdefs.h.  */
49243 _ACEOF
49244 cat confdefs.h >>conftest.$ac_ext
49245 cat >>conftest.$ac_ext <<_ACEOF
49246 /* end confdefs.h.  */
49247 #include <math.h>
49248 int
49249 main ()
49250 {
49251  _ldexpf(0, 0);
49252   ;
49253   return 0;
49254 }
49255 _ACEOF
49256 rm -f conftest.$ac_objext
49257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49258   (eval $ac_compile) 2>conftest.er1
49259   ac_status=$?
49260   grep -v '^ *+' conftest.er1 >conftest.err
49261   rm -f conftest.er1
49262   cat conftest.err >&5
49263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264   (exit $ac_status); } &&
49265          { ac_try='test -z "$ac_cxx_werror_flag"
49266                          || test ! -s conftest.err'
49267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49268   (eval $ac_try) 2>&5
49269   ac_status=$?
49270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271   (exit $ac_status); }; } &&
49272          { ac_try='test -s conftest.$ac_objext'
49273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49274   (eval $ac_try) 2>&5
49275   ac_status=$?
49276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277   (exit $ac_status); }; }; then
49278   glibcxx_cv_func__ldexpf_use=yes
49279 else
49280   echo "$as_me: failed program was:" >&5
49281 sed 's/^/| /' conftest.$ac_ext >&5
49282
49283 glibcxx_cv_func__ldexpf_use=no
49284 fi
49285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49286       ac_ext=c
49287 ac_cpp='$CPP $CPPFLAGS'
49288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291
49292
49293 fi
49294
49295   fi
49296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49297 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49298
49299     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49300
49301 for ac_func in _ldexpf
49302 do
49303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49304 echo "$as_me:$LINENO: checking for $ac_func" >&5
49305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49306 if eval "test \"\${$as_ac_var+set}\" = set"; then
49307   echo $ECHO_N "(cached) $ECHO_C" >&6
49308 else
49309   if test x$gcc_no_link = xyes; then
49310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49312    { (exit 1); exit 1; }; }
49313 fi
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h.  */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h.  */
49320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49322 #define $ac_func innocuous_$ac_func
49323
49324 /* System header to define __stub macros and hopefully few prototypes,
49325     which can conflict with char $ac_func (); below.
49326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49327     <limits.h> exists even on freestanding compilers.  */
49328
49329 #ifdef __STDC__
49330 # include <limits.h>
49331 #else
49332 # include <assert.h>
49333 #endif
49334
49335 #undef $ac_func
49336
49337 /* Override any gcc2 internal prototype to avoid an error.  */
49338 #ifdef __cplusplus
49339 extern "C"
49340 {
49341 #endif
49342 /* We use char because int might match the return type of a gcc2
49343    builtin and then its argument prototype would still apply.  */
49344 char $ac_func ();
49345 /* The GNU C library defines this for functions which it implements
49346     to always fail with ENOSYS.  Some functions are actually named
49347     something starting with __ and the normal name is an alias.  */
49348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49349 choke me
49350 #else
49351 char (*f) () = $ac_func;
49352 #endif
49353 #ifdef __cplusplus
49354 }
49355 #endif
49356
49357 int
49358 main ()
49359 {
49360 return f != $ac_func;
49361   ;
49362   return 0;
49363 }
49364 _ACEOF
49365 rm -f conftest.$ac_objext conftest$ac_exeext
49366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49367   (eval $ac_link) 2>conftest.er1
49368   ac_status=$?
49369   grep -v '^ *+' conftest.er1 >conftest.err
49370   rm -f conftest.er1
49371   cat conftest.err >&5
49372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49373   (exit $ac_status); } &&
49374          { ac_try='test -z "$ac_c_werror_flag"
49375                          || test ! -s conftest.err'
49376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49377   (eval $ac_try) 2>&5
49378   ac_status=$?
49379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49380   (exit $ac_status); }; } &&
49381          { ac_try='test -s conftest$ac_exeext'
49382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383   (eval $ac_try) 2>&5
49384   ac_status=$?
49385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386   (exit $ac_status); }; }; then
49387   eval "$as_ac_var=yes"
49388 else
49389   echo "$as_me: failed program was:" >&5
49390 sed 's/^/| /' conftest.$ac_ext >&5
49391
49392 eval "$as_ac_var=no"
49393 fi
49394 rm -f conftest.err conftest.$ac_objext \
49395       conftest$ac_exeext conftest.$ac_ext
49396 fi
49397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49399 if test `eval echo '${'$as_ac_var'}'` = yes; then
49400   cat >>confdefs.h <<_ACEOF
49401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49402 _ACEOF
49403
49404 fi
49405 done
49406
49407     fi
49408   fi
49409
49410
49411
49412
49413
49414
49415   echo "$as_me:$LINENO: checking for logf declaration" >&5
49416 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49417   if test x${glibcxx_cv_func_logf_use+set} != xset; then
49418     if test "${glibcxx_cv_func_logf_use+set}" = set; then
49419   echo $ECHO_N "(cached) $ECHO_C" >&6
49420 else
49421
49422
49423
49424       ac_ext=cc
49425 ac_cpp='$CXXCPP $CPPFLAGS'
49426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49429
49430       cat >conftest.$ac_ext <<_ACEOF
49431 /* confdefs.h.  */
49432 _ACEOF
49433 cat confdefs.h >>conftest.$ac_ext
49434 cat >>conftest.$ac_ext <<_ACEOF
49435 /* end confdefs.h.  */
49436 #include <math.h>
49437                       #ifdef HAVE_IEEEFP_H
49438                       #include <ieeefp.h>
49439                       #endif
49440
49441 int
49442 main ()
49443 {
49444  logf(0);
49445   ;
49446   return 0;
49447 }
49448 _ACEOF
49449 rm -f conftest.$ac_objext
49450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49451   (eval $ac_compile) 2>conftest.er1
49452   ac_status=$?
49453   grep -v '^ *+' conftest.er1 >conftest.err
49454   rm -f conftest.er1
49455   cat conftest.err >&5
49456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49457   (exit $ac_status); } &&
49458          { ac_try='test -z "$ac_cxx_werror_flag"
49459                          || test ! -s conftest.err'
49460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49461   (eval $ac_try) 2>&5
49462   ac_status=$?
49463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49464   (exit $ac_status); }; } &&
49465          { ac_try='test -s conftest.$ac_objext'
49466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49467   (eval $ac_try) 2>&5
49468   ac_status=$?
49469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49470   (exit $ac_status); }; }; then
49471   glibcxx_cv_func_logf_use=yes
49472 else
49473   echo "$as_me: failed program was:" >&5
49474 sed 's/^/| /' conftest.$ac_ext >&5
49475
49476 glibcxx_cv_func_logf_use=no
49477 fi
49478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49479       ac_ext=c
49480 ac_cpp='$CPP $CPPFLAGS'
49481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49484
49485
49486 fi
49487
49488   fi
49489   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49490 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49491
49492   if test x$glibcxx_cv_func_logf_use = x"yes"; then
49493
49494 for ac_func in logf
49495 do
49496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49497 echo "$as_me:$LINENO: checking for $ac_func" >&5
49498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49499 if eval "test \"\${$as_ac_var+set}\" = set"; then
49500   echo $ECHO_N "(cached) $ECHO_C" >&6
49501 else
49502   if test x$gcc_no_link = xyes; then
49503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49505    { (exit 1); exit 1; }; }
49506 fi
49507 cat >conftest.$ac_ext <<_ACEOF
49508 /* confdefs.h.  */
49509 _ACEOF
49510 cat confdefs.h >>conftest.$ac_ext
49511 cat >>conftest.$ac_ext <<_ACEOF
49512 /* end confdefs.h.  */
49513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49515 #define $ac_func innocuous_$ac_func
49516
49517 /* System header to define __stub macros and hopefully few prototypes,
49518     which can conflict with char $ac_func (); below.
49519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49520     <limits.h> exists even on freestanding compilers.  */
49521
49522 #ifdef __STDC__
49523 # include <limits.h>
49524 #else
49525 # include <assert.h>
49526 #endif
49527
49528 #undef $ac_func
49529
49530 /* Override any gcc2 internal prototype to avoid an error.  */
49531 #ifdef __cplusplus
49532 extern "C"
49533 {
49534 #endif
49535 /* We use char because int might match the return type of a gcc2
49536    builtin and then its argument prototype would still apply.  */
49537 char $ac_func ();
49538 /* The GNU C library defines this for functions which it implements
49539     to always fail with ENOSYS.  Some functions are actually named
49540     something starting with __ and the normal name is an alias.  */
49541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49542 choke me
49543 #else
49544 char (*f) () = $ac_func;
49545 #endif
49546 #ifdef __cplusplus
49547 }
49548 #endif
49549
49550 int
49551 main ()
49552 {
49553 return f != $ac_func;
49554   ;
49555   return 0;
49556 }
49557 _ACEOF
49558 rm -f conftest.$ac_objext conftest$ac_exeext
49559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49560   (eval $ac_link) 2>conftest.er1
49561   ac_status=$?
49562   grep -v '^ *+' conftest.er1 >conftest.err
49563   rm -f conftest.er1
49564   cat conftest.err >&5
49565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49566   (exit $ac_status); } &&
49567          { ac_try='test -z "$ac_c_werror_flag"
49568                          || test ! -s conftest.err'
49569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49570   (eval $ac_try) 2>&5
49571   ac_status=$?
49572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49573   (exit $ac_status); }; } &&
49574          { ac_try='test -s conftest$ac_exeext'
49575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49576   (eval $ac_try) 2>&5
49577   ac_status=$?
49578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49579   (exit $ac_status); }; }; then
49580   eval "$as_ac_var=yes"
49581 else
49582   echo "$as_me: failed program was:" >&5
49583 sed 's/^/| /' conftest.$ac_ext >&5
49584
49585 eval "$as_ac_var=no"
49586 fi
49587 rm -f conftest.err conftest.$ac_objext \
49588       conftest$ac_exeext conftest.$ac_ext
49589 fi
49590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49592 if test `eval echo '${'$as_ac_var'}'` = yes; then
49593   cat >>confdefs.h <<_ACEOF
49594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49595 _ACEOF
49596
49597 fi
49598 done
49599
49600   else
49601
49602   echo "$as_me:$LINENO: checking for _logf declaration" >&5
49603 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49604   if test x${glibcxx_cv_func__logf_use+set} != xset; then
49605     if test "${glibcxx_cv_func__logf_use+set}" = set; then
49606   echo $ECHO_N "(cached) $ECHO_C" >&6
49607 else
49608
49609
49610
49611       ac_ext=cc
49612 ac_cpp='$CXXCPP $CPPFLAGS'
49613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49616
49617       cat >conftest.$ac_ext <<_ACEOF
49618 /* confdefs.h.  */
49619 _ACEOF
49620 cat confdefs.h >>conftest.$ac_ext
49621 cat >>conftest.$ac_ext <<_ACEOF
49622 /* end confdefs.h.  */
49623 #include <math.h>
49624                       #ifdef HAVE_IEEEFP_H
49625                       #include <ieeefp.h>
49626                       #endif
49627
49628 int
49629 main ()
49630 {
49631  _logf(0);
49632   ;
49633   return 0;
49634 }
49635 _ACEOF
49636 rm -f conftest.$ac_objext
49637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49638   (eval $ac_compile) 2>conftest.er1
49639   ac_status=$?
49640   grep -v '^ *+' conftest.er1 >conftest.err
49641   rm -f conftest.er1
49642   cat conftest.err >&5
49643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49644   (exit $ac_status); } &&
49645          { ac_try='test -z "$ac_cxx_werror_flag"
49646                          || test ! -s conftest.err'
49647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49648   (eval $ac_try) 2>&5
49649   ac_status=$?
49650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49651   (exit $ac_status); }; } &&
49652          { ac_try='test -s conftest.$ac_objext'
49653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654   (eval $ac_try) 2>&5
49655   ac_status=$?
49656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657   (exit $ac_status); }; }; then
49658   glibcxx_cv_func__logf_use=yes
49659 else
49660   echo "$as_me: failed program was:" >&5
49661 sed 's/^/| /' conftest.$ac_ext >&5
49662
49663 glibcxx_cv_func__logf_use=no
49664 fi
49665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49666       ac_ext=c
49667 ac_cpp='$CPP $CPPFLAGS'
49668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49671
49672
49673 fi
49674
49675   fi
49676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49677 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49678
49679     if test x$glibcxx_cv_func__logf_use = x"yes"; then
49680
49681 for ac_func in _logf
49682 do
49683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49684 echo "$as_me:$LINENO: checking for $ac_func" >&5
49685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49686 if eval "test \"\${$as_ac_var+set}\" = set"; then
49687   echo $ECHO_N "(cached) $ECHO_C" >&6
49688 else
49689   if test x$gcc_no_link = xyes; then
49690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49692    { (exit 1); exit 1; }; }
49693 fi
49694 cat >conftest.$ac_ext <<_ACEOF
49695 /* confdefs.h.  */
49696 _ACEOF
49697 cat confdefs.h >>conftest.$ac_ext
49698 cat >>conftest.$ac_ext <<_ACEOF
49699 /* end confdefs.h.  */
49700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49702 #define $ac_func innocuous_$ac_func
49703
49704 /* System header to define __stub macros and hopefully few prototypes,
49705     which can conflict with char $ac_func (); below.
49706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49707     <limits.h> exists even on freestanding compilers.  */
49708
49709 #ifdef __STDC__
49710 # include <limits.h>
49711 #else
49712 # include <assert.h>
49713 #endif
49714
49715 #undef $ac_func
49716
49717 /* Override any gcc2 internal prototype to avoid an error.  */
49718 #ifdef __cplusplus
49719 extern "C"
49720 {
49721 #endif
49722 /* We use char because int might match the return type of a gcc2
49723    builtin and then its argument prototype would still apply.  */
49724 char $ac_func ();
49725 /* The GNU C library defines this for functions which it implements
49726     to always fail with ENOSYS.  Some functions are actually named
49727     something starting with __ and the normal name is an alias.  */
49728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49729 choke me
49730 #else
49731 char (*f) () = $ac_func;
49732 #endif
49733 #ifdef __cplusplus
49734 }
49735 #endif
49736
49737 int
49738 main ()
49739 {
49740 return f != $ac_func;
49741   ;
49742   return 0;
49743 }
49744 _ACEOF
49745 rm -f conftest.$ac_objext conftest$ac_exeext
49746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49747   (eval $ac_link) 2>conftest.er1
49748   ac_status=$?
49749   grep -v '^ *+' conftest.er1 >conftest.err
49750   rm -f conftest.er1
49751   cat conftest.err >&5
49752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49753   (exit $ac_status); } &&
49754          { ac_try='test -z "$ac_c_werror_flag"
49755                          || test ! -s conftest.err'
49756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49757   (eval $ac_try) 2>&5
49758   ac_status=$?
49759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49760   (exit $ac_status); }; } &&
49761          { ac_try='test -s conftest$ac_exeext'
49762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763   (eval $ac_try) 2>&5
49764   ac_status=$?
49765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766   (exit $ac_status); }; }; then
49767   eval "$as_ac_var=yes"
49768 else
49769   echo "$as_me: failed program was:" >&5
49770 sed 's/^/| /' conftest.$ac_ext >&5
49771
49772 eval "$as_ac_var=no"
49773 fi
49774 rm -f conftest.err conftest.$ac_objext \
49775       conftest$ac_exeext conftest.$ac_ext
49776 fi
49777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49779 if test `eval echo '${'$as_ac_var'}'` = yes; then
49780   cat >>confdefs.h <<_ACEOF
49781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49782 _ACEOF
49783
49784 fi
49785 done
49786
49787     fi
49788   fi
49789
49790
49791
49792
49793
49794
49795   echo "$as_me:$LINENO: checking for log10f declaration" >&5
49796 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49797   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49798     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49799   echo $ECHO_N "(cached) $ECHO_C" >&6
49800 else
49801
49802
49803
49804       ac_ext=cc
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49809
49810       cat >conftest.$ac_ext <<_ACEOF
49811 /* confdefs.h.  */
49812 _ACEOF
49813 cat confdefs.h >>conftest.$ac_ext
49814 cat >>conftest.$ac_ext <<_ACEOF
49815 /* end confdefs.h.  */
49816 #include <math.h>
49817                       #ifdef HAVE_IEEEFP_H
49818                       #include <ieeefp.h>
49819                       #endif
49820
49821 int
49822 main ()
49823 {
49824  log10f(0);
49825   ;
49826   return 0;
49827 }
49828 _ACEOF
49829 rm -f conftest.$ac_objext
49830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49831   (eval $ac_compile) 2>conftest.er1
49832   ac_status=$?
49833   grep -v '^ *+' conftest.er1 >conftest.err
49834   rm -f conftest.er1
49835   cat conftest.err >&5
49836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837   (exit $ac_status); } &&
49838          { ac_try='test -z "$ac_cxx_werror_flag"
49839                          || test ! -s conftest.err'
49840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841   (eval $ac_try) 2>&5
49842   ac_status=$?
49843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844   (exit $ac_status); }; } &&
49845          { ac_try='test -s conftest.$ac_objext'
49846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49847   (eval $ac_try) 2>&5
49848   ac_status=$?
49849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49850   (exit $ac_status); }; }; then
49851   glibcxx_cv_func_log10f_use=yes
49852 else
49853   echo "$as_me: failed program was:" >&5
49854 sed 's/^/| /' conftest.$ac_ext >&5
49855
49856 glibcxx_cv_func_log10f_use=no
49857 fi
49858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49859       ac_ext=c
49860 ac_cpp='$CPP $CPPFLAGS'
49861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49864
49865
49866 fi
49867
49868   fi
49869   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49870 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49871
49872   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49873
49874 for ac_func in log10f
49875 do
49876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49877 echo "$as_me:$LINENO: checking for $ac_func" >&5
49878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49879 if eval "test \"\${$as_ac_var+set}\" = set"; then
49880   echo $ECHO_N "(cached) $ECHO_C" >&6
49881 else
49882   if test x$gcc_no_link = xyes; then
49883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49885    { (exit 1); exit 1; }; }
49886 fi
49887 cat >conftest.$ac_ext <<_ACEOF
49888 /* confdefs.h.  */
49889 _ACEOF
49890 cat confdefs.h >>conftest.$ac_ext
49891 cat >>conftest.$ac_ext <<_ACEOF
49892 /* end confdefs.h.  */
49893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49895 #define $ac_func innocuous_$ac_func
49896
49897 /* System header to define __stub macros and hopefully few prototypes,
49898     which can conflict with char $ac_func (); below.
49899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49900     <limits.h> exists even on freestanding compilers.  */
49901
49902 #ifdef __STDC__
49903 # include <limits.h>
49904 #else
49905 # include <assert.h>
49906 #endif
49907
49908 #undef $ac_func
49909
49910 /* Override any gcc2 internal prototype to avoid an error.  */
49911 #ifdef __cplusplus
49912 extern "C"
49913 {
49914 #endif
49915 /* We use char because int might match the return type of a gcc2
49916    builtin and then its argument prototype would still apply.  */
49917 char $ac_func ();
49918 /* The GNU C library defines this for functions which it implements
49919     to always fail with ENOSYS.  Some functions are actually named
49920     something starting with __ and the normal name is an alias.  */
49921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49922 choke me
49923 #else
49924 char (*f) () = $ac_func;
49925 #endif
49926 #ifdef __cplusplus
49927 }
49928 #endif
49929
49930 int
49931 main ()
49932 {
49933 return f != $ac_func;
49934   ;
49935   return 0;
49936 }
49937 _ACEOF
49938 rm -f conftest.$ac_objext conftest$ac_exeext
49939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49940   (eval $ac_link) 2>conftest.er1
49941   ac_status=$?
49942   grep -v '^ *+' conftest.er1 >conftest.err
49943   rm -f conftest.er1
49944   cat conftest.err >&5
49945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946   (exit $ac_status); } &&
49947          { ac_try='test -z "$ac_c_werror_flag"
49948                          || test ! -s conftest.err'
49949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49950   (eval $ac_try) 2>&5
49951   ac_status=$?
49952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953   (exit $ac_status); }; } &&
49954          { ac_try='test -s conftest$ac_exeext'
49955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49956   (eval $ac_try) 2>&5
49957   ac_status=$?
49958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49959   (exit $ac_status); }; }; then
49960   eval "$as_ac_var=yes"
49961 else
49962   echo "$as_me: failed program was:" >&5
49963 sed 's/^/| /' conftest.$ac_ext >&5
49964
49965 eval "$as_ac_var=no"
49966 fi
49967 rm -f conftest.err conftest.$ac_objext \
49968       conftest$ac_exeext conftest.$ac_ext
49969 fi
49970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49972 if test `eval echo '${'$as_ac_var'}'` = yes; then
49973   cat >>confdefs.h <<_ACEOF
49974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49975 _ACEOF
49976
49977 fi
49978 done
49979
49980   else
49981
49982   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49983 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49984   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49985     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49986   echo $ECHO_N "(cached) $ECHO_C" >&6
49987 else
49988
49989
49990
49991       ac_ext=cc
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49996
49997       cat >conftest.$ac_ext <<_ACEOF
49998 /* confdefs.h.  */
49999 _ACEOF
50000 cat confdefs.h >>conftest.$ac_ext
50001 cat >>conftest.$ac_ext <<_ACEOF
50002 /* end confdefs.h.  */
50003 #include <math.h>
50004                       #ifdef HAVE_IEEEFP_H
50005                       #include <ieeefp.h>
50006                       #endif
50007
50008 int
50009 main ()
50010 {
50011  _log10f(0);
50012   ;
50013   return 0;
50014 }
50015 _ACEOF
50016 rm -f conftest.$ac_objext
50017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50018   (eval $ac_compile) 2>conftest.er1
50019   ac_status=$?
50020   grep -v '^ *+' conftest.er1 >conftest.err
50021   rm -f conftest.er1
50022   cat conftest.err >&5
50023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50024   (exit $ac_status); } &&
50025          { ac_try='test -z "$ac_cxx_werror_flag"
50026                          || test ! -s conftest.err'
50027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50028   (eval $ac_try) 2>&5
50029   ac_status=$?
50030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50031   (exit $ac_status); }; } &&
50032          { ac_try='test -s conftest.$ac_objext'
50033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50034   (eval $ac_try) 2>&5
50035   ac_status=$?
50036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50037   (exit $ac_status); }; }; then
50038   glibcxx_cv_func__log10f_use=yes
50039 else
50040   echo "$as_me: failed program was:" >&5
50041 sed 's/^/| /' conftest.$ac_ext >&5
50042
50043 glibcxx_cv_func__log10f_use=no
50044 fi
50045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50046       ac_ext=c
50047 ac_cpp='$CPP $CPPFLAGS'
50048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50051
50052
50053 fi
50054
50055   fi
50056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50057 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50058
50059     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50060
50061 for ac_func in _log10f
50062 do
50063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50064 echo "$as_me:$LINENO: checking for $ac_func" >&5
50065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50066 if eval "test \"\${$as_ac_var+set}\" = set"; then
50067   echo $ECHO_N "(cached) $ECHO_C" >&6
50068 else
50069   if test x$gcc_no_link = xyes; then
50070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50072    { (exit 1); exit 1; }; }
50073 fi
50074 cat >conftest.$ac_ext <<_ACEOF
50075 /* confdefs.h.  */
50076 _ACEOF
50077 cat confdefs.h >>conftest.$ac_ext
50078 cat >>conftest.$ac_ext <<_ACEOF
50079 /* end confdefs.h.  */
50080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50082 #define $ac_func innocuous_$ac_func
50083
50084 /* System header to define __stub macros and hopefully few prototypes,
50085     which can conflict with char $ac_func (); below.
50086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50087     <limits.h> exists even on freestanding compilers.  */
50088
50089 #ifdef __STDC__
50090 # include <limits.h>
50091 #else
50092 # include <assert.h>
50093 #endif
50094
50095 #undef $ac_func
50096
50097 /* Override any gcc2 internal prototype to avoid an error.  */
50098 #ifdef __cplusplus
50099 extern "C"
50100 {
50101 #endif
50102 /* We use char because int might match the return type of a gcc2
50103    builtin and then its argument prototype would still apply.  */
50104 char $ac_func ();
50105 /* The GNU C library defines this for functions which it implements
50106     to always fail with ENOSYS.  Some functions are actually named
50107     something starting with __ and the normal name is an alias.  */
50108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50109 choke me
50110 #else
50111 char (*f) () = $ac_func;
50112 #endif
50113 #ifdef __cplusplus
50114 }
50115 #endif
50116
50117 int
50118 main ()
50119 {
50120 return f != $ac_func;
50121   ;
50122   return 0;
50123 }
50124 _ACEOF
50125 rm -f conftest.$ac_objext conftest$ac_exeext
50126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50127   (eval $ac_link) 2>conftest.er1
50128   ac_status=$?
50129   grep -v '^ *+' conftest.er1 >conftest.err
50130   rm -f conftest.er1
50131   cat conftest.err >&5
50132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50133   (exit $ac_status); } &&
50134          { ac_try='test -z "$ac_c_werror_flag"
50135                          || test ! -s conftest.err'
50136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50137   (eval $ac_try) 2>&5
50138   ac_status=$?
50139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50140   (exit $ac_status); }; } &&
50141          { ac_try='test -s conftest$ac_exeext'
50142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50143   (eval $ac_try) 2>&5
50144   ac_status=$?
50145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50146   (exit $ac_status); }; }; then
50147   eval "$as_ac_var=yes"
50148 else
50149   echo "$as_me: failed program was:" >&5
50150 sed 's/^/| /' conftest.$ac_ext >&5
50151
50152 eval "$as_ac_var=no"
50153 fi
50154 rm -f conftest.err conftest.$ac_objext \
50155       conftest$ac_exeext conftest.$ac_ext
50156 fi
50157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50159 if test `eval echo '${'$as_ac_var'}'` = yes; then
50160   cat >>confdefs.h <<_ACEOF
50161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50162 _ACEOF
50163
50164 fi
50165 done
50166
50167     fi
50168   fi
50169
50170
50171
50172
50173
50174
50175   echo "$as_me:$LINENO: checking for modff declaration" >&5
50176 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50177   if test x${glibcxx_cv_func_modff_use+set} != xset; then
50178     if test "${glibcxx_cv_func_modff_use+set}" = set; then
50179   echo $ECHO_N "(cached) $ECHO_C" >&6
50180 else
50181
50182
50183
50184       ac_ext=cc
50185 ac_cpp='$CXXCPP $CPPFLAGS'
50186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50189
50190       cat >conftest.$ac_ext <<_ACEOF
50191 /* confdefs.h.  */
50192 _ACEOF
50193 cat confdefs.h >>conftest.$ac_ext
50194 cat >>conftest.$ac_ext <<_ACEOF
50195 /* end confdefs.h.  */
50196 #include <math.h>
50197 int
50198 main ()
50199 {
50200  modff(0, 0);
50201   ;
50202   return 0;
50203 }
50204 _ACEOF
50205 rm -f conftest.$ac_objext
50206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50207   (eval $ac_compile) 2>conftest.er1
50208   ac_status=$?
50209   grep -v '^ *+' conftest.er1 >conftest.err
50210   rm -f conftest.er1
50211   cat conftest.err >&5
50212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213   (exit $ac_status); } &&
50214          { ac_try='test -z "$ac_cxx_werror_flag"
50215                          || test ! -s conftest.err'
50216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50217   (eval $ac_try) 2>&5
50218   ac_status=$?
50219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50220   (exit $ac_status); }; } &&
50221          { ac_try='test -s conftest.$ac_objext'
50222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50223   (eval $ac_try) 2>&5
50224   ac_status=$?
50225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50226   (exit $ac_status); }; }; then
50227   glibcxx_cv_func_modff_use=yes
50228 else
50229   echo "$as_me: failed program was:" >&5
50230 sed 's/^/| /' conftest.$ac_ext >&5
50231
50232 glibcxx_cv_func_modff_use=no
50233 fi
50234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50235       ac_ext=c
50236 ac_cpp='$CPP $CPPFLAGS'
50237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50240
50241
50242 fi
50243
50244   fi
50245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50246 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50247
50248   if test x$glibcxx_cv_func_modff_use = x"yes"; then
50249
50250 for ac_func in modff
50251 do
50252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50253 echo "$as_me:$LINENO: checking for $ac_func" >&5
50254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50255 if eval "test \"\${$as_ac_var+set}\" = set"; then
50256   echo $ECHO_N "(cached) $ECHO_C" >&6
50257 else
50258   if test x$gcc_no_link = xyes; then
50259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50261    { (exit 1); exit 1; }; }
50262 fi
50263 cat >conftest.$ac_ext <<_ACEOF
50264 /* confdefs.h.  */
50265 _ACEOF
50266 cat confdefs.h >>conftest.$ac_ext
50267 cat >>conftest.$ac_ext <<_ACEOF
50268 /* end confdefs.h.  */
50269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50271 #define $ac_func innocuous_$ac_func
50272
50273 /* System header to define __stub macros and hopefully few prototypes,
50274     which can conflict with char $ac_func (); below.
50275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50276     <limits.h> exists even on freestanding compilers.  */
50277
50278 #ifdef __STDC__
50279 # include <limits.h>
50280 #else
50281 # include <assert.h>
50282 #endif
50283
50284 #undef $ac_func
50285
50286 /* Override any gcc2 internal prototype to avoid an error.  */
50287 #ifdef __cplusplus
50288 extern "C"
50289 {
50290 #endif
50291 /* We use char because int might match the return type of a gcc2
50292    builtin and then its argument prototype would still apply.  */
50293 char $ac_func ();
50294 /* The GNU C library defines this for functions which it implements
50295     to always fail with ENOSYS.  Some functions are actually named
50296     something starting with __ and the normal name is an alias.  */
50297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50298 choke me
50299 #else
50300 char (*f) () = $ac_func;
50301 #endif
50302 #ifdef __cplusplus
50303 }
50304 #endif
50305
50306 int
50307 main ()
50308 {
50309 return f != $ac_func;
50310   ;
50311   return 0;
50312 }
50313 _ACEOF
50314 rm -f conftest.$ac_objext conftest$ac_exeext
50315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50316   (eval $ac_link) 2>conftest.er1
50317   ac_status=$?
50318   grep -v '^ *+' conftest.er1 >conftest.err
50319   rm -f conftest.er1
50320   cat conftest.err >&5
50321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50322   (exit $ac_status); } &&
50323          { ac_try='test -z "$ac_c_werror_flag"
50324                          || test ! -s conftest.err'
50325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50326   (eval $ac_try) 2>&5
50327   ac_status=$?
50328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50329   (exit $ac_status); }; } &&
50330          { ac_try='test -s conftest$ac_exeext'
50331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50332   (eval $ac_try) 2>&5
50333   ac_status=$?
50334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50335   (exit $ac_status); }; }; then
50336   eval "$as_ac_var=yes"
50337 else
50338   echo "$as_me: failed program was:" >&5
50339 sed 's/^/| /' conftest.$ac_ext >&5
50340
50341 eval "$as_ac_var=no"
50342 fi
50343 rm -f conftest.err conftest.$ac_objext \
50344       conftest$ac_exeext conftest.$ac_ext
50345 fi
50346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50348 if test `eval echo '${'$as_ac_var'}'` = yes; then
50349   cat >>confdefs.h <<_ACEOF
50350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50351 _ACEOF
50352
50353 fi
50354 done
50355
50356   else
50357
50358   echo "$as_me:$LINENO: checking for _modff declaration" >&5
50359 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50360   if test x${glibcxx_cv_func__modff_use+set} != xset; then
50361     if test "${glibcxx_cv_func__modff_use+set}" = set; then
50362   echo $ECHO_N "(cached) $ECHO_C" >&6
50363 else
50364
50365
50366
50367       ac_ext=cc
50368 ac_cpp='$CXXCPP $CPPFLAGS'
50369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50372
50373       cat >conftest.$ac_ext <<_ACEOF
50374 /* confdefs.h.  */
50375 _ACEOF
50376 cat confdefs.h >>conftest.$ac_ext
50377 cat >>conftest.$ac_ext <<_ACEOF
50378 /* end confdefs.h.  */
50379 #include <math.h>
50380 int
50381 main ()
50382 {
50383  _modff(0, 0);
50384   ;
50385   return 0;
50386 }
50387 _ACEOF
50388 rm -f conftest.$ac_objext
50389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50390   (eval $ac_compile) 2>conftest.er1
50391   ac_status=$?
50392   grep -v '^ *+' conftest.er1 >conftest.err
50393   rm -f conftest.er1
50394   cat conftest.err >&5
50395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396   (exit $ac_status); } &&
50397          { ac_try='test -z "$ac_cxx_werror_flag"
50398                          || test ! -s conftest.err'
50399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50400   (eval $ac_try) 2>&5
50401   ac_status=$?
50402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50403   (exit $ac_status); }; } &&
50404          { ac_try='test -s conftest.$ac_objext'
50405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50406   (eval $ac_try) 2>&5
50407   ac_status=$?
50408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50409   (exit $ac_status); }; }; then
50410   glibcxx_cv_func__modff_use=yes
50411 else
50412   echo "$as_me: failed program was:" >&5
50413 sed 's/^/| /' conftest.$ac_ext >&5
50414
50415 glibcxx_cv_func__modff_use=no
50416 fi
50417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50418       ac_ext=c
50419 ac_cpp='$CPP $CPPFLAGS'
50420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50423
50424
50425 fi
50426
50427   fi
50428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50429 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50430
50431     if test x$glibcxx_cv_func__modff_use = x"yes"; then
50432
50433 for ac_func in _modff
50434 do
50435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50436 echo "$as_me:$LINENO: checking for $ac_func" >&5
50437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50438 if eval "test \"\${$as_ac_var+set}\" = set"; then
50439   echo $ECHO_N "(cached) $ECHO_C" >&6
50440 else
50441   if test x$gcc_no_link = xyes; then
50442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50444    { (exit 1); exit 1; }; }
50445 fi
50446 cat >conftest.$ac_ext <<_ACEOF
50447 /* confdefs.h.  */
50448 _ACEOF
50449 cat confdefs.h >>conftest.$ac_ext
50450 cat >>conftest.$ac_ext <<_ACEOF
50451 /* end confdefs.h.  */
50452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50454 #define $ac_func innocuous_$ac_func
50455
50456 /* System header to define __stub macros and hopefully few prototypes,
50457     which can conflict with char $ac_func (); below.
50458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50459     <limits.h> exists even on freestanding compilers.  */
50460
50461 #ifdef __STDC__
50462 # include <limits.h>
50463 #else
50464 # include <assert.h>
50465 #endif
50466
50467 #undef $ac_func
50468
50469 /* Override any gcc2 internal prototype to avoid an error.  */
50470 #ifdef __cplusplus
50471 extern "C"
50472 {
50473 #endif
50474 /* We use char because int might match the return type of a gcc2
50475    builtin and then its argument prototype would still apply.  */
50476 char $ac_func ();
50477 /* The GNU C library defines this for functions which it implements
50478     to always fail with ENOSYS.  Some functions are actually named
50479     something starting with __ and the normal name is an alias.  */
50480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50481 choke me
50482 #else
50483 char (*f) () = $ac_func;
50484 #endif
50485 #ifdef __cplusplus
50486 }
50487 #endif
50488
50489 int
50490 main ()
50491 {
50492 return f != $ac_func;
50493   ;
50494   return 0;
50495 }
50496 _ACEOF
50497 rm -f conftest.$ac_objext conftest$ac_exeext
50498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50499   (eval $ac_link) 2>conftest.er1
50500   ac_status=$?
50501   grep -v '^ *+' conftest.er1 >conftest.err
50502   rm -f conftest.er1
50503   cat conftest.err >&5
50504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50505   (exit $ac_status); } &&
50506          { ac_try='test -z "$ac_c_werror_flag"
50507                          || test ! -s conftest.err'
50508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50509   (eval $ac_try) 2>&5
50510   ac_status=$?
50511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50512   (exit $ac_status); }; } &&
50513          { ac_try='test -s conftest$ac_exeext'
50514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50515   (eval $ac_try) 2>&5
50516   ac_status=$?
50517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50518   (exit $ac_status); }; }; then
50519   eval "$as_ac_var=yes"
50520 else
50521   echo "$as_me: failed program was:" >&5
50522 sed 's/^/| /' conftest.$ac_ext >&5
50523
50524 eval "$as_ac_var=no"
50525 fi
50526 rm -f conftest.err conftest.$ac_objext \
50527       conftest$ac_exeext conftest.$ac_ext
50528 fi
50529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50531 if test `eval echo '${'$as_ac_var'}'` = yes; then
50532   cat >>confdefs.h <<_ACEOF
50533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50534 _ACEOF
50535
50536 fi
50537 done
50538
50539     fi
50540   fi
50541
50542
50543
50544
50545
50546
50547   echo "$as_me:$LINENO: checking for modf declaration" >&5
50548 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50549   if test x${glibcxx_cv_func_modf_use+set} != xset; then
50550     if test "${glibcxx_cv_func_modf_use+set}" = set; then
50551   echo $ECHO_N "(cached) $ECHO_C" >&6
50552 else
50553
50554
50555
50556       ac_ext=cc
50557 ac_cpp='$CXXCPP $CPPFLAGS'
50558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50561
50562       cat >conftest.$ac_ext <<_ACEOF
50563 /* confdefs.h.  */
50564 _ACEOF
50565 cat confdefs.h >>conftest.$ac_ext
50566 cat >>conftest.$ac_ext <<_ACEOF
50567 /* end confdefs.h.  */
50568 #include <math.h>
50569 int
50570 main ()
50571 {
50572  modf(0, 0);
50573   ;
50574   return 0;
50575 }
50576 _ACEOF
50577 rm -f conftest.$ac_objext
50578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50579   (eval $ac_compile) 2>conftest.er1
50580   ac_status=$?
50581   grep -v '^ *+' conftest.er1 >conftest.err
50582   rm -f conftest.er1
50583   cat conftest.err >&5
50584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585   (exit $ac_status); } &&
50586          { ac_try='test -z "$ac_cxx_werror_flag"
50587                          || test ! -s conftest.err'
50588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50589   (eval $ac_try) 2>&5
50590   ac_status=$?
50591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592   (exit $ac_status); }; } &&
50593          { ac_try='test -s conftest.$ac_objext'
50594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50595   (eval $ac_try) 2>&5
50596   ac_status=$?
50597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50598   (exit $ac_status); }; }; then
50599   glibcxx_cv_func_modf_use=yes
50600 else
50601   echo "$as_me: failed program was:" >&5
50602 sed 's/^/| /' conftest.$ac_ext >&5
50603
50604 glibcxx_cv_func_modf_use=no
50605 fi
50606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50607       ac_ext=c
50608 ac_cpp='$CPP $CPPFLAGS'
50609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50612
50613
50614 fi
50615
50616   fi
50617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50618 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50619
50620   if test x$glibcxx_cv_func_modf_use = x"yes"; then
50621
50622 for ac_func in modf
50623 do
50624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50625 echo "$as_me:$LINENO: checking for $ac_func" >&5
50626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50627 if eval "test \"\${$as_ac_var+set}\" = set"; then
50628   echo $ECHO_N "(cached) $ECHO_C" >&6
50629 else
50630   if test x$gcc_no_link = xyes; then
50631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50633    { (exit 1); exit 1; }; }
50634 fi
50635 cat >conftest.$ac_ext <<_ACEOF
50636 /* confdefs.h.  */
50637 _ACEOF
50638 cat confdefs.h >>conftest.$ac_ext
50639 cat >>conftest.$ac_ext <<_ACEOF
50640 /* end confdefs.h.  */
50641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50643 #define $ac_func innocuous_$ac_func
50644
50645 /* System header to define __stub macros and hopefully few prototypes,
50646     which can conflict with char $ac_func (); below.
50647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50648     <limits.h> exists even on freestanding compilers.  */
50649
50650 #ifdef __STDC__
50651 # include <limits.h>
50652 #else
50653 # include <assert.h>
50654 #endif
50655
50656 #undef $ac_func
50657
50658 /* Override any gcc2 internal prototype to avoid an error.  */
50659 #ifdef __cplusplus
50660 extern "C"
50661 {
50662 #endif
50663 /* We use char because int might match the return type of a gcc2
50664    builtin and then its argument prototype would still apply.  */
50665 char $ac_func ();
50666 /* The GNU C library defines this for functions which it implements
50667     to always fail with ENOSYS.  Some functions are actually named
50668     something starting with __ and the normal name is an alias.  */
50669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50670 choke me
50671 #else
50672 char (*f) () = $ac_func;
50673 #endif
50674 #ifdef __cplusplus
50675 }
50676 #endif
50677
50678 int
50679 main ()
50680 {
50681 return f != $ac_func;
50682   ;
50683   return 0;
50684 }
50685 _ACEOF
50686 rm -f conftest.$ac_objext conftest$ac_exeext
50687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50688   (eval $ac_link) 2>conftest.er1
50689   ac_status=$?
50690   grep -v '^ *+' conftest.er1 >conftest.err
50691   rm -f conftest.er1
50692   cat conftest.err >&5
50693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50694   (exit $ac_status); } &&
50695          { ac_try='test -z "$ac_c_werror_flag"
50696                          || test ! -s conftest.err'
50697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50698   (eval $ac_try) 2>&5
50699   ac_status=$?
50700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701   (exit $ac_status); }; } &&
50702          { ac_try='test -s conftest$ac_exeext'
50703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704   (eval $ac_try) 2>&5
50705   ac_status=$?
50706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707   (exit $ac_status); }; }; then
50708   eval "$as_ac_var=yes"
50709 else
50710   echo "$as_me: failed program was:" >&5
50711 sed 's/^/| /' conftest.$ac_ext >&5
50712
50713 eval "$as_ac_var=no"
50714 fi
50715 rm -f conftest.err conftest.$ac_objext \
50716       conftest$ac_exeext conftest.$ac_ext
50717 fi
50718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50720 if test `eval echo '${'$as_ac_var'}'` = yes; then
50721   cat >>confdefs.h <<_ACEOF
50722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50723 _ACEOF
50724
50725 fi
50726 done
50727
50728   else
50729
50730   echo "$as_me:$LINENO: checking for _modf declaration" >&5
50731 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50732   if test x${glibcxx_cv_func__modf_use+set} != xset; then
50733     if test "${glibcxx_cv_func__modf_use+set}" = set; then
50734   echo $ECHO_N "(cached) $ECHO_C" >&6
50735 else
50736
50737
50738
50739       ac_ext=cc
50740 ac_cpp='$CXXCPP $CPPFLAGS'
50741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50744
50745       cat >conftest.$ac_ext <<_ACEOF
50746 /* confdefs.h.  */
50747 _ACEOF
50748 cat confdefs.h >>conftest.$ac_ext
50749 cat >>conftest.$ac_ext <<_ACEOF
50750 /* end confdefs.h.  */
50751 #include <math.h>
50752 int
50753 main ()
50754 {
50755  _modf(0, 0);
50756   ;
50757   return 0;
50758 }
50759 _ACEOF
50760 rm -f conftest.$ac_objext
50761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50762   (eval $ac_compile) 2>conftest.er1
50763   ac_status=$?
50764   grep -v '^ *+' conftest.er1 >conftest.err
50765   rm -f conftest.er1
50766   cat conftest.err >&5
50767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768   (exit $ac_status); } &&
50769          { ac_try='test -z "$ac_cxx_werror_flag"
50770                          || test ! -s conftest.err'
50771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50772   (eval $ac_try) 2>&5
50773   ac_status=$?
50774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50775   (exit $ac_status); }; } &&
50776          { ac_try='test -s conftest.$ac_objext'
50777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50778   (eval $ac_try) 2>&5
50779   ac_status=$?
50780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781   (exit $ac_status); }; }; then
50782   glibcxx_cv_func__modf_use=yes
50783 else
50784   echo "$as_me: failed program was:" >&5
50785 sed 's/^/| /' conftest.$ac_ext >&5
50786
50787 glibcxx_cv_func__modf_use=no
50788 fi
50789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50790       ac_ext=c
50791 ac_cpp='$CPP $CPPFLAGS'
50792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50795
50796
50797 fi
50798
50799   fi
50800   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50801 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50802
50803     if test x$glibcxx_cv_func__modf_use = x"yes"; then
50804
50805 for ac_func in _modf
50806 do
50807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50808 echo "$as_me:$LINENO: checking for $ac_func" >&5
50809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50810 if eval "test \"\${$as_ac_var+set}\" = set"; then
50811   echo $ECHO_N "(cached) $ECHO_C" >&6
50812 else
50813   if test x$gcc_no_link = xyes; then
50814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50816    { (exit 1); exit 1; }; }
50817 fi
50818 cat >conftest.$ac_ext <<_ACEOF
50819 /* confdefs.h.  */
50820 _ACEOF
50821 cat confdefs.h >>conftest.$ac_ext
50822 cat >>conftest.$ac_ext <<_ACEOF
50823 /* end confdefs.h.  */
50824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50826 #define $ac_func innocuous_$ac_func
50827
50828 /* System header to define __stub macros and hopefully few prototypes,
50829     which can conflict with char $ac_func (); below.
50830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50831     <limits.h> exists even on freestanding compilers.  */
50832
50833 #ifdef __STDC__
50834 # include <limits.h>
50835 #else
50836 # include <assert.h>
50837 #endif
50838
50839 #undef $ac_func
50840
50841 /* Override any gcc2 internal prototype to avoid an error.  */
50842 #ifdef __cplusplus
50843 extern "C"
50844 {
50845 #endif
50846 /* We use char because int might match the return type of a gcc2
50847    builtin and then its argument prototype would still apply.  */
50848 char $ac_func ();
50849 /* The GNU C library defines this for functions which it implements
50850     to always fail with ENOSYS.  Some functions are actually named
50851     something starting with __ and the normal name is an alias.  */
50852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50853 choke me
50854 #else
50855 char (*f) () = $ac_func;
50856 #endif
50857 #ifdef __cplusplus
50858 }
50859 #endif
50860
50861 int
50862 main ()
50863 {
50864 return f != $ac_func;
50865   ;
50866   return 0;
50867 }
50868 _ACEOF
50869 rm -f conftest.$ac_objext conftest$ac_exeext
50870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50871   (eval $ac_link) 2>conftest.er1
50872   ac_status=$?
50873   grep -v '^ *+' conftest.er1 >conftest.err
50874   rm -f conftest.er1
50875   cat conftest.err >&5
50876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50877   (exit $ac_status); } &&
50878          { ac_try='test -z "$ac_c_werror_flag"
50879                          || test ! -s conftest.err'
50880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50881   (eval $ac_try) 2>&5
50882   ac_status=$?
50883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50884   (exit $ac_status); }; } &&
50885          { ac_try='test -s conftest$ac_exeext'
50886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50887   (eval $ac_try) 2>&5
50888   ac_status=$?
50889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50890   (exit $ac_status); }; }; then
50891   eval "$as_ac_var=yes"
50892 else
50893   echo "$as_me: failed program was:" >&5
50894 sed 's/^/| /' conftest.$ac_ext >&5
50895
50896 eval "$as_ac_var=no"
50897 fi
50898 rm -f conftest.err conftest.$ac_objext \
50899       conftest$ac_exeext conftest.$ac_ext
50900 fi
50901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50903 if test `eval echo '${'$as_ac_var'}'` = yes; then
50904   cat >>confdefs.h <<_ACEOF
50905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50906 _ACEOF
50907
50908 fi
50909 done
50910
50911     fi
50912   fi
50913
50914
50915
50916
50917
50918
50919   echo "$as_me:$LINENO: checking for powf declaration" >&5
50920 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50921   if test x${glibcxx_cv_func_powf_use+set} != xset; then
50922     if test "${glibcxx_cv_func_powf_use+set}" = set; then
50923   echo $ECHO_N "(cached) $ECHO_C" >&6
50924 else
50925
50926
50927
50928       ac_ext=cc
50929 ac_cpp='$CXXCPP $CPPFLAGS'
50930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50933
50934       cat >conftest.$ac_ext <<_ACEOF
50935 /* confdefs.h.  */
50936 _ACEOF
50937 cat confdefs.h >>conftest.$ac_ext
50938 cat >>conftest.$ac_ext <<_ACEOF
50939 /* end confdefs.h.  */
50940 #include <math.h>
50941 int
50942 main ()
50943 {
50944  powf(0, 0);
50945   ;
50946   return 0;
50947 }
50948 _ACEOF
50949 rm -f conftest.$ac_objext
50950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50951   (eval $ac_compile) 2>conftest.er1
50952   ac_status=$?
50953   grep -v '^ *+' conftest.er1 >conftest.err
50954   rm -f conftest.er1
50955   cat conftest.err >&5
50956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957   (exit $ac_status); } &&
50958          { ac_try='test -z "$ac_cxx_werror_flag"
50959                          || test ! -s conftest.err'
50960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50961   (eval $ac_try) 2>&5
50962   ac_status=$?
50963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50964   (exit $ac_status); }; } &&
50965          { ac_try='test -s conftest.$ac_objext'
50966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50967   (eval $ac_try) 2>&5
50968   ac_status=$?
50969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50970   (exit $ac_status); }; }; then
50971   glibcxx_cv_func_powf_use=yes
50972 else
50973   echo "$as_me: failed program was:" >&5
50974 sed 's/^/| /' conftest.$ac_ext >&5
50975
50976 glibcxx_cv_func_powf_use=no
50977 fi
50978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50979       ac_ext=c
50980 ac_cpp='$CPP $CPPFLAGS'
50981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50984
50985
50986 fi
50987
50988   fi
50989   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50990 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50991
50992   if test x$glibcxx_cv_func_powf_use = x"yes"; then
50993
50994 for ac_func in powf
50995 do
50996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50997 echo "$as_me:$LINENO: checking for $ac_func" >&5
50998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50999 if eval "test \"\${$as_ac_var+set}\" = set"; then
51000   echo $ECHO_N "(cached) $ECHO_C" >&6
51001 else
51002   if test x$gcc_no_link = xyes; then
51003   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51005    { (exit 1); exit 1; }; }
51006 fi
51007 cat >conftest.$ac_ext <<_ACEOF
51008 /* confdefs.h.  */
51009 _ACEOF
51010 cat confdefs.h >>conftest.$ac_ext
51011 cat >>conftest.$ac_ext <<_ACEOF
51012 /* end confdefs.h.  */
51013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51014    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51015 #define $ac_func innocuous_$ac_func
51016
51017 /* System header to define __stub macros and hopefully few prototypes,
51018     which can conflict with char $ac_func (); below.
51019     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51020     <limits.h> exists even on freestanding compilers.  */
51021
51022 #ifdef __STDC__
51023 # include <limits.h>
51024 #else
51025 # include <assert.h>
51026 #endif
51027
51028 #undef $ac_func
51029
51030 /* Override any gcc2 internal prototype to avoid an error.  */
51031 #ifdef __cplusplus
51032 extern "C"
51033 {
51034 #endif
51035 /* We use char because int might match the return type of a gcc2
51036    builtin and then its argument prototype would still apply.  */
51037 char $ac_func ();
51038 /* The GNU C library defines this for functions which it implements
51039     to always fail with ENOSYS.  Some functions are actually named
51040     something starting with __ and the normal name is an alias.  */
51041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51042 choke me
51043 #else
51044 char (*f) () = $ac_func;
51045 #endif
51046 #ifdef __cplusplus
51047 }
51048 #endif
51049
51050 int
51051 main ()
51052 {
51053 return f != $ac_func;
51054   ;
51055   return 0;
51056 }
51057 _ACEOF
51058 rm -f conftest.$ac_objext conftest$ac_exeext
51059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51060   (eval $ac_link) 2>conftest.er1
51061   ac_status=$?
51062   grep -v '^ *+' conftest.er1 >conftest.err
51063   rm -f conftest.er1
51064   cat conftest.err >&5
51065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066   (exit $ac_status); } &&
51067          { ac_try='test -z "$ac_c_werror_flag"
51068                          || test ! -s conftest.err'
51069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51070   (eval $ac_try) 2>&5
51071   ac_status=$?
51072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51073   (exit $ac_status); }; } &&
51074          { ac_try='test -s conftest$ac_exeext'
51075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51076   (eval $ac_try) 2>&5
51077   ac_status=$?
51078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51079   (exit $ac_status); }; }; then
51080   eval "$as_ac_var=yes"
51081 else
51082   echo "$as_me: failed program was:" >&5
51083 sed 's/^/| /' conftest.$ac_ext >&5
51084
51085 eval "$as_ac_var=no"
51086 fi
51087 rm -f conftest.err conftest.$ac_objext \
51088       conftest$ac_exeext conftest.$ac_ext
51089 fi
51090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51092 if test `eval echo '${'$as_ac_var'}'` = yes; then
51093   cat >>confdefs.h <<_ACEOF
51094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51095 _ACEOF
51096
51097 fi
51098 done
51099
51100   else
51101
51102   echo "$as_me:$LINENO: checking for _powf declaration" >&5
51103 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51104   if test x${glibcxx_cv_func__powf_use+set} != xset; then
51105     if test "${glibcxx_cv_func__powf_use+set}" = set; then
51106   echo $ECHO_N "(cached) $ECHO_C" >&6
51107 else
51108
51109
51110
51111       ac_ext=cc
51112 ac_cpp='$CXXCPP $CPPFLAGS'
51113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116
51117       cat >conftest.$ac_ext <<_ACEOF
51118 /* confdefs.h.  */
51119 _ACEOF
51120 cat confdefs.h >>conftest.$ac_ext
51121 cat >>conftest.$ac_ext <<_ACEOF
51122 /* end confdefs.h.  */
51123 #include <math.h>
51124 int
51125 main ()
51126 {
51127  _powf(0, 0);
51128   ;
51129   return 0;
51130 }
51131 _ACEOF
51132 rm -f conftest.$ac_objext
51133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51134   (eval $ac_compile) 2>conftest.er1
51135   ac_status=$?
51136   grep -v '^ *+' conftest.er1 >conftest.err
51137   rm -f conftest.er1
51138   cat conftest.err >&5
51139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51140   (exit $ac_status); } &&
51141          { ac_try='test -z "$ac_cxx_werror_flag"
51142                          || test ! -s conftest.err'
51143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51144   (eval $ac_try) 2>&5
51145   ac_status=$?
51146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147   (exit $ac_status); }; } &&
51148          { ac_try='test -s conftest.$ac_objext'
51149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51150   (eval $ac_try) 2>&5
51151   ac_status=$?
51152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51153   (exit $ac_status); }; }; then
51154   glibcxx_cv_func__powf_use=yes
51155 else
51156   echo "$as_me: failed program was:" >&5
51157 sed 's/^/| /' conftest.$ac_ext >&5
51158
51159 glibcxx_cv_func__powf_use=no
51160 fi
51161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51162       ac_ext=c
51163 ac_cpp='$CPP $CPPFLAGS'
51164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51167
51168
51169 fi
51170
51171   fi
51172   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51173 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51174
51175     if test x$glibcxx_cv_func__powf_use = x"yes"; then
51176
51177 for ac_func in _powf
51178 do
51179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51180 echo "$as_me:$LINENO: checking for $ac_func" >&5
51181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51182 if eval "test \"\${$as_ac_var+set}\" = set"; then
51183   echo $ECHO_N "(cached) $ECHO_C" >&6
51184 else
51185   if test x$gcc_no_link = xyes; then
51186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51188    { (exit 1); exit 1; }; }
51189 fi
51190 cat >conftest.$ac_ext <<_ACEOF
51191 /* confdefs.h.  */
51192 _ACEOF
51193 cat confdefs.h >>conftest.$ac_ext
51194 cat >>conftest.$ac_ext <<_ACEOF
51195 /* end confdefs.h.  */
51196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51198 #define $ac_func innocuous_$ac_func
51199
51200 /* System header to define __stub macros and hopefully few prototypes,
51201     which can conflict with char $ac_func (); below.
51202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51203     <limits.h> exists even on freestanding compilers.  */
51204
51205 #ifdef __STDC__
51206 # include <limits.h>
51207 #else
51208 # include <assert.h>
51209 #endif
51210
51211 #undef $ac_func
51212
51213 /* Override any gcc2 internal prototype to avoid an error.  */
51214 #ifdef __cplusplus
51215 extern "C"
51216 {
51217 #endif
51218 /* We use char because int might match the return type of a gcc2
51219    builtin and then its argument prototype would still apply.  */
51220 char $ac_func ();
51221 /* The GNU C library defines this for functions which it implements
51222     to always fail with ENOSYS.  Some functions are actually named
51223     something starting with __ and the normal name is an alias.  */
51224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51225 choke me
51226 #else
51227 char (*f) () = $ac_func;
51228 #endif
51229 #ifdef __cplusplus
51230 }
51231 #endif
51232
51233 int
51234 main ()
51235 {
51236 return f != $ac_func;
51237   ;
51238   return 0;
51239 }
51240 _ACEOF
51241 rm -f conftest.$ac_objext conftest$ac_exeext
51242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51243   (eval $ac_link) 2>conftest.er1
51244   ac_status=$?
51245   grep -v '^ *+' conftest.er1 >conftest.err
51246   rm -f conftest.er1
51247   cat conftest.err >&5
51248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249   (exit $ac_status); } &&
51250          { ac_try='test -z "$ac_c_werror_flag"
51251                          || test ! -s conftest.err'
51252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51253   (eval $ac_try) 2>&5
51254   ac_status=$?
51255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256   (exit $ac_status); }; } &&
51257          { ac_try='test -s conftest$ac_exeext'
51258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259   (eval $ac_try) 2>&5
51260   ac_status=$?
51261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262   (exit $ac_status); }; }; then
51263   eval "$as_ac_var=yes"
51264 else
51265   echo "$as_me: failed program was:" >&5
51266 sed 's/^/| /' conftest.$ac_ext >&5
51267
51268 eval "$as_ac_var=no"
51269 fi
51270 rm -f conftest.err conftest.$ac_objext \
51271       conftest$ac_exeext conftest.$ac_ext
51272 fi
51273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51275 if test `eval echo '${'$as_ac_var'}'` = yes; then
51276   cat >>confdefs.h <<_ACEOF
51277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51278 _ACEOF
51279
51280 fi
51281 done
51282
51283     fi
51284   fi
51285
51286
51287
51288
51289
51290
51291   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51292 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51293   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51294     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51295   echo $ECHO_N "(cached) $ECHO_C" >&6
51296 else
51297
51298
51299
51300       ac_ext=cc
51301 ac_cpp='$CXXCPP $CPPFLAGS'
51302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51305
51306       cat >conftest.$ac_ext <<_ACEOF
51307 /* confdefs.h.  */
51308 _ACEOF
51309 cat confdefs.h >>conftest.$ac_ext
51310 cat >>conftest.$ac_ext <<_ACEOF
51311 /* end confdefs.h.  */
51312 #include <math.h>
51313                       #ifdef HAVE_IEEEFP_H
51314                       #include <ieeefp.h>
51315                       #endif
51316
51317 int
51318 main ()
51319 {
51320  sqrtf(0);
51321   ;
51322   return 0;
51323 }
51324 _ACEOF
51325 rm -f conftest.$ac_objext
51326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51327   (eval $ac_compile) 2>conftest.er1
51328   ac_status=$?
51329   grep -v '^ *+' conftest.er1 >conftest.err
51330   rm -f conftest.er1
51331   cat conftest.err >&5
51332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51333   (exit $ac_status); } &&
51334          { ac_try='test -z "$ac_cxx_werror_flag"
51335                          || test ! -s conftest.err'
51336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51337   (eval $ac_try) 2>&5
51338   ac_status=$?
51339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51340   (exit $ac_status); }; } &&
51341          { ac_try='test -s conftest.$ac_objext'
51342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51343   (eval $ac_try) 2>&5
51344   ac_status=$?
51345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51346   (exit $ac_status); }; }; then
51347   glibcxx_cv_func_sqrtf_use=yes
51348 else
51349   echo "$as_me: failed program was:" >&5
51350 sed 's/^/| /' conftest.$ac_ext >&5
51351
51352 glibcxx_cv_func_sqrtf_use=no
51353 fi
51354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51355       ac_ext=c
51356 ac_cpp='$CPP $CPPFLAGS'
51357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51360
51361
51362 fi
51363
51364   fi
51365   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51366 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51367
51368   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51369
51370 for ac_func in sqrtf
51371 do
51372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51373 echo "$as_me:$LINENO: checking for $ac_func" >&5
51374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51375 if eval "test \"\${$as_ac_var+set}\" = set"; then
51376   echo $ECHO_N "(cached) $ECHO_C" >&6
51377 else
51378   if test x$gcc_no_link = xyes; then
51379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51381    { (exit 1); exit 1; }; }
51382 fi
51383 cat >conftest.$ac_ext <<_ACEOF
51384 /* confdefs.h.  */
51385 _ACEOF
51386 cat confdefs.h >>conftest.$ac_ext
51387 cat >>conftest.$ac_ext <<_ACEOF
51388 /* end confdefs.h.  */
51389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51391 #define $ac_func innocuous_$ac_func
51392
51393 /* System header to define __stub macros and hopefully few prototypes,
51394     which can conflict with char $ac_func (); below.
51395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51396     <limits.h> exists even on freestanding compilers.  */
51397
51398 #ifdef __STDC__
51399 # include <limits.h>
51400 #else
51401 # include <assert.h>
51402 #endif
51403
51404 #undef $ac_func
51405
51406 /* Override any gcc2 internal prototype to avoid an error.  */
51407 #ifdef __cplusplus
51408 extern "C"
51409 {
51410 #endif
51411 /* We use char because int might match the return type of a gcc2
51412    builtin and then its argument prototype would still apply.  */
51413 char $ac_func ();
51414 /* The GNU C library defines this for functions which it implements
51415     to always fail with ENOSYS.  Some functions are actually named
51416     something starting with __ and the normal name is an alias.  */
51417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51418 choke me
51419 #else
51420 char (*f) () = $ac_func;
51421 #endif
51422 #ifdef __cplusplus
51423 }
51424 #endif
51425
51426 int
51427 main ()
51428 {
51429 return f != $ac_func;
51430   ;
51431   return 0;
51432 }
51433 _ACEOF
51434 rm -f conftest.$ac_objext conftest$ac_exeext
51435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51436   (eval $ac_link) 2>conftest.er1
51437   ac_status=$?
51438   grep -v '^ *+' conftest.er1 >conftest.err
51439   rm -f conftest.er1
51440   cat conftest.err >&5
51441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51442   (exit $ac_status); } &&
51443          { ac_try='test -z "$ac_c_werror_flag"
51444                          || test ! -s conftest.err'
51445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51446   (eval $ac_try) 2>&5
51447   ac_status=$?
51448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51449   (exit $ac_status); }; } &&
51450          { ac_try='test -s conftest$ac_exeext'
51451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51452   (eval $ac_try) 2>&5
51453   ac_status=$?
51454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51455   (exit $ac_status); }; }; then
51456   eval "$as_ac_var=yes"
51457 else
51458   echo "$as_me: failed program was:" >&5
51459 sed 's/^/| /' conftest.$ac_ext >&5
51460
51461 eval "$as_ac_var=no"
51462 fi
51463 rm -f conftest.err conftest.$ac_objext \
51464       conftest$ac_exeext conftest.$ac_ext
51465 fi
51466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51468 if test `eval echo '${'$as_ac_var'}'` = yes; then
51469   cat >>confdefs.h <<_ACEOF
51470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51471 _ACEOF
51472
51473 fi
51474 done
51475
51476   else
51477
51478   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51479 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51480   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51481     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51482   echo $ECHO_N "(cached) $ECHO_C" >&6
51483 else
51484
51485
51486
51487       ac_ext=cc
51488 ac_cpp='$CXXCPP $CPPFLAGS'
51489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51492
51493       cat >conftest.$ac_ext <<_ACEOF
51494 /* confdefs.h.  */
51495 _ACEOF
51496 cat confdefs.h >>conftest.$ac_ext
51497 cat >>conftest.$ac_ext <<_ACEOF
51498 /* end confdefs.h.  */
51499 #include <math.h>
51500                       #ifdef HAVE_IEEEFP_H
51501                       #include <ieeefp.h>
51502                       #endif
51503
51504 int
51505 main ()
51506 {
51507  _sqrtf(0);
51508   ;
51509   return 0;
51510 }
51511 _ACEOF
51512 rm -f conftest.$ac_objext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51514   (eval $ac_compile) 2>conftest.er1
51515   ac_status=$?
51516   grep -v '^ *+' conftest.er1 >conftest.err
51517   rm -f conftest.er1
51518   cat conftest.err >&5
51519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520   (exit $ac_status); } &&
51521          { ac_try='test -z "$ac_cxx_werror_flag"
51522                          || test ! -s conftest.err'
51523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524   (eval $ac_try) 2>&5
51525   ac_status=$?
51526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527   (exit $ac_status); }; } &&
51528          { ac_try='test -s conftest.$ac_objext'
51529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530   (eval $ac_try) 2>&5
51531   ac_status=$?
51532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533   (exit $ac_status); }; }; then
51534   glibcxx_cv_func__sqrtf_use=yes
51535 else
51536   echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51538
51539 glibcxx_cv_func__sqrtf_use=no
51540 fi
51541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51542       ac_ext=c
51543 ac_cpp='$CPP $CPPFLAGS'
51544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51547
51548
51549 fi
51550
51551   fi
51552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51553 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51554
51555     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51556
51557 for ac_func in _sqrtf
51558 do
51559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51560 echo "$as_me:$LINENO: checking for $ac_func" >&5
51561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51562 if eval "test \"\${$as_ac_var+set}\" = set"; then
51563   echo $ECHO_N "(cached) $ECHO_C" >&6
51564 else
51565   if test x$gcc_no_link = xyes; then
51566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51568    { (exit 1); exit 1; }; }
51569 fi
51570 cat >conftest.$ac_ext <<_ACEOF
51571 /* confdefs.h.  */
51572 _ACEOF
51573 cat confdefs.h >>conftest.$ac_ext
51574 cat >>conftest.$ac_ext <<_ACEOF
51575 /* end confdefs.h.  */
51576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51578 #define $ac_func innocuous_$ac_func
51579
51580 /* System header to define __stub macros and hopefully few prototypes,
51581     which can conflict with char $ac_func (); below.
51582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51583     <limits.h> exists even on freestanding compilers.  */
51584
51585 #ifdef __STDC__
51586 # include <limits.h>
51587 #else
51588 # include <assert.h>
51589 #endif
51590
51591 #undef $ac_func
51592
51593 /* Override any gcc2 internal prototype to avoid an error.  */
51594 #ifdef __cplusplus
51595 extern "C"
51596 {
51597 #endif
51598 /* We use char because int might match the return type of a gcc2
51599    builtin and then its argument prototype would still apply.  */
51600 char $ac_func ();
51601 /* The GNU C library defines this for functions which it implements
51602     to always fail with ENOSYS.  Some functions are actually named
51603     something starting with __ and the normal name is an alias.  */
51604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51605 choke me
51606 #else
51607 char (*f) () = $ac_func;
51608 #endif
51609 #ifdef __cplusplus
51610 }
51611 #endif
51612
51613 int
51614 main ()
51615 {
51616 return f != $ac_func;
51617   ;
51618   return 0;
51619 }
51620 _ACEOF
51621 rm -f conftest.$ac_objext conftest$ac_exeext
51622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51623   (eval $ac_link) 2>conftest.er1
51624   ac_status=$?
51625   grep -v '^ *+' conftest.er1 >conftest.err
51626   rm -f conftest.er1
51627   cat conftest.err >&5
51628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51629   (exit $ac_status); } &&
51630          { ac_try='test -z "$ac_c_werror_flag"
51631                          || test ! -s conftest.err'
51632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51633   (eval $ac_try) 2>&5
51634   ac_status=$?
51635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51636   (exit $ac_status); }; } &&
51637          { ac_try='test -s conftest$ac_exeext'
51638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51639   (eval $ac_try) 2>&5
51640   ac_status=$?
51641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51642   (exit $ac_status); }; }; then
51643   eval "$as_ac_var=yes"
51644 else
51645   echo "$as_me: failed program was:" >&5
51646 sed 's/^/| /' conftest.$ac_ext >&5
51647
51648 eval "$as_ac_var=no"
51649 fi
51650 rm -f conftest.err conftest.$ac_objext \
51651       conftest$ac_exeext conftest.$ac_ext
51652 fi
51653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51655 if test `eval echo '${'$as_ac_var'}'` = yes; then
51656   cat >>confdefs.h <<_ACEOF
51657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51658 _ACEOF
51659
51660 fi
51661 done
51662
51663     fi
51664   fi
51665
51666
51667
51668
51669
51670
51671   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51672 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51673   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51674     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51675   echo $ECHO_N "(cached) $ECHO_C" >&6
51676 else
51677
51678
51679
51680       ac_ext=cc
51681 ac_cpp='$CXXCPP $CPPFLAGS'
51682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51685
51686       cat >conftest.$ac_ext <<_ACEOF
51687 /* confdefs.h.  */
51688 _ACEOF
51689 cat confdefs.h >>conftest.$ac_ext
51690 cat >>conftest.$ac_ext <<_ACEOF
51691 /* end confdefs.h.  */
51692 #include <math.h>
51693 int
51694 main ()
51695 {
51696  sincosf(0, 0, 0);
51697   ;
51698   return 0;
51699 }
51700 _ACEOF
51701 rm -f conftest.$ac_objext
51702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51703   (eval $ac_compile) 2>conftest.er1
51704   ac_status=$?
51705   grep -v '^ *+' conftest.er1 >conftest.err
51706   rm -f conftest.er1
51707   cat conftest.err >&5
51708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51709   (exit $ac_status); } &&
51710          { ac_try='test -z "$ac_cxx_werror_flag"
51711                          || test ! -s conftest.err'
51712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51713   (eval $ac_try) 2>&5
51714   ac_status=$?
51715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51716   (exit $ac_status); }; } &&
51717          { ac_try='test -s conftest.$ac_objext'
51718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719   (eval $ac_try) 2>&5
51720   ac_status=$?
51721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722   (exit $ac_status); }; }; then
51723   glibcxx_cv_func_sincosf_use=yes
51724 else
51725   echo "$as_me: failed program was:" >&5
51726 sed 's/^/| /' conftest.$ac_ext >&5
51727
51728 glibcxx_cv_func_sincosf_use=no
51729 fi
51730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51731       ac_ext=c
51732 ac_cpp='$CPP $CPPFLAGS'
51733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51736
51737
51738 fi
51739
51740   fi
51741   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51742 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51743
51744   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51745
51746 for ac_func in sincosf
51747 do
51748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51749 echo "$as_me:$LINENO: checking for $ac_func" >&5
51750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51751 if eval "test \"\${$as_ac_var+set}\" = set"; then
51752   echo $ECHO_N "(cached) $ECHO_C" >&6
51753 else
51754   if test x$gcc_no_link = xyes; then
51755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51757    { (exit 1); exit 1; }; }
51758 fi
51759 cat >conftest.$ac_ext <<_ACEOF
51760 /* confdefs.h.  */
51761 _ACEOF
51762 cat confdefs.h >>conftest.$ac_ext
51763 cat >>conftest.$ac_ext <<_ACEOF
51764 /* end confdefs.h.  */
51765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51767 #define $ac_func innocuous_$ac_func
51768
51769 /* System header to define __stub macros and hopefully few prototypes,
51770     which can conflict with char $ac_func (); below.
51771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51772     <limits.h> exists even on freestanding compilers.  */
51773
51774 #ifdef __STDC__
51775 # include <limits.h>
51776 #else
51777 # include <assert.h>
51778 #endif
51779
51780 #undef $ac_func
51781
51782 /* Override any gcc2 internal prototype to avoid an error.  */
51783 #ifdef __cplusplus
51784 extern "C"
51785 {
51786 #endif
51787 /* We use char because int might match the return type of a gcc2
51788    builtin and then its argument prototype would still apply.  */
51789 char $ac_func ();
51790 /* The GNU C library defines this for functions which it implements
51791     to always fail with ENOSYS.  Some functions are actually named
51792     something starting with __ and the normal name is an alias.  */
51793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51794 choke me
51795 #else
51796 char (*f) () = $ac_func;
51797 #endif
51798 #ifdef __cplusplus
51799 }
51800 #endif
51801
51802 int
51803 main ()
51804 {
51805 return f != $ac_func;
51806   ;
51807   return 0;
51808 }
51809 _ACEOF
51810 rm -f conftest.$ac_objext conftest$ac_exeext
51811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51812   (eval $ac_link) 2>conftest.er1
51813   ac_status=$?
51814   grep -v '^ *+' conftest.er1 >conftest.err
51815   rm -f conftest.er1
51816   cat conftest.err >&5
51817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818   (exit $ac_status); } &&
51819          { ac_try='test -z "$ac_c_werror_flag"
51820                          || test ! -s conftest.err'
51821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51822   (eval $ac_try) 2>&5
51823   ac_status=$?
51824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51825   (exit $ac_status); }; } &&
51826          { ac_try='test -s conftest$ac_exeext'
51827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51828   (eval $ac_try) 2>&5
51829   ac_status=$?
51830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51831   (exit $ac_status); }; }; then
51832   eval "$as_ac_var=yes"
51833 else
51834   echo "$as_me: failed program was:" >&5
51835 sed 's/^/| /' conftest.$ac_ext >&5
51836
51837 eval "$as_ac_var=no"
51838 fi
51839 rm -f conftest.err conftest.$ac_objext \
51840       conftest$ac_exeext conftest.$ac_ext
51841 fi
51842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51844 if test `eval echo '${'$as_ac_var'}'` = yes; then
51845   cat >>confdefs.h <<_ACEOF
51846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51847 _ACEOF
51848
51849 fi
51850 done
51851
51852   else
51853
51854   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51855 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51856   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51857     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51858   echo $ECHO_N "(cached) $ECHO_C" >&6
51859 else
51860
51861
51862
51863       ac_ext=cc
51864 ac_cpp='$CXXCPP $CPPFLAGS'
51865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51868
51869       cat >conftest.$ac_ext <<_ACEOF
51870 /* confdefs.h.  */
51871 _ACEOF
51872 cat confdefs.h >>conftest.$ac_ext
51873 cat >>conftest.$ac_ext <<_ACEOF
51874 /* end confdefs.h.  */
51875 #include <math.h>
51876 int
51877 main ()
51878 {
51879  _sincosf(0, 0, 0);
51880   ;
51881   return 0;
51882 }
51883 _ACEOF
51884 rm -f conftest.$ac_objext
51885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51886   (eval $ac_compile) 2>conftest.er1
51887   ac_status=$?
51888   grep -v '^ *+' conftest.er1 >conftest.err
51889   rm -f conftest.er1
51890   cat conftest.err >&5
51891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892   (exit $ac_status); } &&
51893          { ac_try='test -z "$ac_cxx_werror_flag"
51894                          || test ! -s conftest.err'
51895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51896   (eval $ac_try) 2>&5
51897   ac_status=$?
51898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51899   (exit $ac_status); }; } &&
51900          { ac_try='test -s conftest.$ac_objext'
51901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51902   (eval $ac_try) 2>&5
51903   ac_status=$?
51904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905   (exit $ac_status); }; }; then
51906   glibcxx_cv_func__sincosf_use=yes
51907 else
51908   echo "$as_me: failed program was:" >&5
51909 sed 's/^/| /' conftest.$ac_ext >&5
51910
51911 glibcxx_cv_func__sincosf_use=no
51912 fi
51913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51914       ac_ext=c
51915 ac_cpp='$CPP $CPPFLAGS'
51916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51919
51920
51921 fi
51922
51923   fi
51924   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51925 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51926
51927     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51928
51929 for ac_func in _sincosf
51930 do
51931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51932 echo "$as_me:$LINENO: checking for $ac_func" >&5
51933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51934 if eval "test \"\${$as_ac_var+set}\" = set"; then
51935   echo $ECHO_N "(cached) $ECHO_C" >&6
51936 else
51937   if test x$gcc_no_link = xyes; then
51938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51940    { (exit 1); exit 1; }; }
51941 fi
51942 cat >conftest.$ac_ext <<_ACEOF
51943 /* confdefs.h.  */
51944 _ACEOF
51945 cat confdefs.h >>conftest.$ac_ext
51946 cat >>conftest.$ac_ext <<_ACEOF
51947 /* end confdefs.h.  */
51948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51950 #define $ac_func innocuous_$ac_func
51951
51952 /* System header to define __stub macros and hopefully few prototypes,
51953     which can conflict with char $ac_func (); below.
51954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51955     <limits.h> exists even on freestanding compilers.  */
51956
51957 #ifdef __STDC__
51958 # include <limits.h>
51959 #else
51960 # include <assert.h>
51961 #endif
51962
51963 #undef $ac_func
51964
51965 /* Override any gcc2 internal prototype to avoid an error.  */
51966 #ifdef __cplusplus
51967 extern "C"
51968 {
51969 #endif
51970 /* We use char because int might match the return type of a gcc2
51971    builtin and then its argument prototype would still apply.  */
51972 char $ac_func ();
51973 /* The GNU C library defines this for functions which it implements
51974     to always fail with ENOSYS.  Some functions are actually named
51975     something starting with __ and the normal name is an alias.  */
51976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51977 choke me
51978 #else
51979 char (*f) () = $ac_func;
51980 #endif
51981 #ifdef __cplusplus
51982 }
51983 #endif
51984
51985 int
51986 main ()
51987 {
51988 return f != $ac_func;
51989   ;
51990   return 0;
51991 }
51992 _ACEOF
51993 rm -f conftest.$ac_objext conftest$ac_exeext
51994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51995   (eval $ac_link) 2>conftest.er1
51996   ac_status=$?
51997   grep -v '^ *+' conftest.er1 >conftest.err
51998   rm -f conftest.er1
51999   cat conftest.err >&5
52000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001   (exit $ac_status); } &&
52002          { ac_try='test -z "$ac_c_werror_flag"
52003                          || test ! -s conftest.err'
52004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52005   (eval $ac_try) 2>&5
52006   ac_status=$?
52007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52008   (exit $ac_status); }; } &&
52009          { ac_try='test -s conftest$ac_exeext'
52010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52011   (eval $ac_try) 2>&5
52012   ac_status=$?
52013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52014   (exit $ac_status); }; }; then
52015   eval "$as_ac_var=yes"
52016 else
52017   echo "$as_me: failed program was:" >&5
52018 sed 's/^/| /' conftest.$ac_ext >&5
52019
52020 eval "$as_ac_var=no"
52021 fi
52022 rm -f conftest.err conftest.$ac_objext \
52023       conftest$ac_exeext conftest.$ac_ext
52024 fi
52025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52027 if test `eval echo '${'$as_ac_var'}'` = yes; then
52028   cat >>confdefs.h <<_ACEOF
52029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52030 _ACEOF
52031
52032 fi
52033 done
52034
52035     fi
52036   fi
52037
52038
52039
52040
52041
52042
52043   echo "$as_me:$LINENO: checking for finitef declaration" >&5
52044 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52045   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52046     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52047   echo $ECHO_N "(cached) $ECHO_C" >&6
52048 else
52049
52050
52051
52052       ac_ext=cc
52053 ac_cpp='$CXXCPP $CPPFLAGS'
52054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52057
52058       cat >conftest.$ac_ext <<_ACEOF
52059 /* confdefs.h.  */
52060 _ACEOF
52061 cat confdefs.h >>conftest.$ac_ext
52062 cat >>conftest.$ac_ext <<_ACEOF
52063 /* end confdefs.h.  */
52064 #include <math.h>
52065                       #ifdef HAVE_IEEEFP_H
52066                       #include <ieeefp.h>
52067                       #endif
52068
52069 int
52070 main ()
52071 {
52072  finitef(0);
52073   ;
52074   return 0;
52075 }
52076 _ACEOF
52077 rm -f conftest.$ac_objext
52078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52079   (eval $ac_compile) 2>conftest.er1
52080   ac_status=$?
52081   grep -v '^ *+' conftest.er1 >conftest.err
52082   rm -f conftest.er1
52083   cat conftest.err >&5
52084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52085   (exit $ac_status); } &&
52086          { ac_try='test -z "$ac_cxx_werror_flag"
52087                          || test ! -s conftest.err'
52088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52089   (eval $ac_try) 2>&5
52090   ac_status=$?
52091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52092   (exit $ac_status); }; } &&
52093          { ac_try='test -s conftest.$ac_objext'
52094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52095   (eval $ac_try) 2>&5
52096   ac_status=$?
52097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52098   (exit $ac_status); }; }; then
52099   glibcxx_cv_func_finitef_use=yes
52100 else
52101   echo "$as_me: failed program was:" >&5
52102 sed 's/^/| /' conftest.$ac_ext >&5
52103
52104 glibcxx_cv_func_finitef_use=no
52105 fi
52106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52107       ac_ext=c
52108 ac_cpp='$CPP $CPPFLAGS'
52109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52112
52113
52114 fi
52115
52116   fi
52117   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52118 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52119
52120   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52121
52122 for ac_func in finitef
52123 do
52124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52125 echo "$as_me:$LINENO: checking for $ac_func" >&5
52126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52127 if eval "test \"\${$as_ac_var+set}\" = set"; then
52128   echo $ECHO_N "(cached) $ECHO_C" >&6
52129 else
52130   if test x$gcc_no_link = xyes; then
52131   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52133    { (exit 1); exit 1; }; }
52134 fi
52135 cat >conftest.$ac_ext <<_ACEOF
52136 /* confdefs.h.  */
52137 _ACEOF
52138 cat confdefs.h >>conftest.$ac_ext
52139 cat >>conftest.$ac_ext <<_ACEOF
52140 /* end confdefs.h.  */
52141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52142    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52143 #define $ac_func innocuous_$ac_func
52144
52145 /* System header to define __stub macros and hopefully few prototypes,
52146     which can conflict with char $ac_func (); below.
52147     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52148     <limits.h> exists even on freestanding compilers.  */
52149
52150 #ifdef __STDC__
52151 # include <limits.h>
52152 #else
52153 # include <assert.h>
52154 #endif
52155
52156 #undef $ac_func
52157
52158 /* Override any gcc2 internal prototype to avoid an error.  */
52159 #ifdef __cplusplus
52160 extern "C"
52161 {
52162 #endif
52163 /* We use char because int might match the return type of a gcc2
52164    builtin and then its argument prototype would still apply.  */
52165 char $ac_func ();
52166 /* The GNU C library defines this for functions which it implements
52167     to always fail with ENOSYS.  Some functions are actually named
52168     something starting with __ and the normal name is an alias.  */
52169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52170 choke me
52171 #else
52172 char (*f) () = $ac_func;
52173 #endif
52174 #ifdef __cplusplus
52175 }
52176 #endif
52177
52178 int
52179 main ()
52180 {
52181 return f != $ac_func;
52182   ;
52183   return 0;
52184 }
52185 _ACEOF
52186 rm -f conftest.$ac_objext conftest$ac_exeext
52187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52188   (eval $ac_link) 2>conftest.er1
52189   ac_status=$?
52190   grep -v '^ *+' conftest.er1 >conftest.err
52191   rm -f conftest.er1
52192   cat conftest.err >&5
52193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52194   (exit $ac_status); } &&
52195          { ac_try='test -z "$ac_c_werror_flag"
52196                          || test ! -s conftest.err'
52197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52198   (eval $ac_try) 2>&5
52199   ac_status=$?
52200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52201   (exit $ac_status); }; } &&
52202          { ac_try='test -s conftest$ac_exeext'
52203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52204   (eval $ac_try) 2>&5
52205   ac_status=$?
52206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52207   (exit $ac_status); }; }; then
52208   eval "$as_ac_var=yes"
52209 else
52210   echo "$as_me: failed program was:" >&5
52211 sed 's/^/| /' conftest.$ac_ext >&5
52212
52213 eval "$as_ac_var=no"
52214 fi
52215 rm -f conftest.err conftest.$ac_objext \
52216       conftest$ac_exeext conftest.$ac_ext
52217 fi
52218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52220 if test `eval echo '${'$as_ac_var'}'` = yes; then
52221   cat >>confdefs.h <<_ACEOF
52222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52223 _ACEOF
52224
52225 fi
52226 done
52227
52228   else
52229
52230   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52231 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52232   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52233     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52234   echo $ECHO_N "(cached) $ECHO_C" >&6
52235 else
52236
52237
52238
52239       ac_ext=cc
52240 ac_cpp='$CXXCPP $CPPFLAGS'
52241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52244
52245       cat >conftest.$ac_ext <<_ACEOF
52246 /* confdefs.h.  */
52247 _ACEOF
52248 cat confdefs.h >>conftest.$ac_ext
52249 cat >>conftest.$ac_ext <<_ACEOF
52250 /* end confdefs.h.  */
52251 #include <math.h>
52252                       #ifdef HAVE_IEEEFP_H
52253                       #include <ieeefp.h>
52254                       #endif
52255
52256 int
52257 main ()
52258 {
52259  _finitef(0);
52260   ;
52261   return 0;
52262 }
52263 _ACEOF
52264 rm -f conftest.$ac_objext
52265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52266   (eval $ac_compile) 2>conftest.er1
52267   ac_status=$?
52268   grep -v '^ *+' conftest.er1 >conftest.err
52269   rm -f conftest.er1
52270   cat conftest.err >&5
52271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272   (exit $ac_status); } &&
52273          { ac_try='test -z "$ac_cxx_werror_flag"
52274                          || test ! -s conftest.err'
52275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52276   (eval $ac_try) 2>&5
52277   ac_status=$?
52278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52279   (exit $ac_status); }; } &&
52280          { ac_try='test -s conftest.$ac_objext'
52281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52282   (eval $ac_try) 2>&5
52283   ac_status=$?
52284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285   (exit $ac_status); }; }; then
52286   glibcxx_cv_func__finitef_use=yes
52287 else
52288   echo "$as_me: failed program was:" >&5
52289 sed 's/^/| /' conftest.$ac_ext >&5
52290
52291 glibcxx_cv_func__finitef_use=no
52292 fi
52293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52294       ac_ext=c
52295 ac_cpp='$CPP $CPPFLAGS'
52296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52299
52300
52301 fi
52302
52303   fi
52304   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52305 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52306
52307     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52308
52309 for ac_func in _finitef
52310 do
52311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52312 echo "$as_me:$LINENO: checking for $ac_func" >&5
52313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52314 if eval "test \"\${$as_ac_var+set}\" = set"; then
52315   echo $ECHO_N "(cached) $ECHO_C" >&6
52316 else
52317   if test x$gcc_no_link = xyes; then
52318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52320    { (exit 1); exit 1; }; }
52321 fi
52322 cat >conftest.$ac_ext <<_ACEOF
52323 /* confdefs.h.  */
52324 _ACEOF
52325 cat confdefs.h >>conftest.$ac_ext
52326 cat >>conftest.$ac_ext <<_ACEOF
52327 /* end confdefs.h.  */
52328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52330 #define $ac_func innocuous_$ac_func
52331
52332 /* System header to define __stub macros and hopefully few prototypes,
52333     which can conflict with char $ac_func (); below.
52334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52335     <limits.h> exists even on freestanding compilers.  */
52336
52337 #ifdef __STDC__
52338 # include <limits.h>
52339 #else
52340 # include <assert.h>
52341 #endif
52342
52343 #undef $ac_func
52344
52345 /* Override any gcc2 internal prototype to avoid an error.  */
52346 #ifdef __cplusplus
52347 extern "C"
52348 {
52349 #endif
52350 /* We use char because int might match the return type of a gcc2
52351    builtin and then its argument prototype would still apply.  */
52352 char $ac_func ();
52353 /* The GNU C library defines this for functions which it implements
52354     to always fail with ENOSYS.  Some functions are actually named
52355     something starting with __ and the normal name is an alias.  */
52356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52357 choke me
52358 #else
52359 char (*f) () = $ac_func;
52360 #endif
52361 #ifdef __cplusplus
52362 }
52363 #endif
52364
52365 int
52366 main ()
52367 {
52368 return f != $ac_func;
52369   ;
52370   return 0;
52371 }
52372 _ACEOF
52373 rm -f conftest.$ac_objext conftest$ac_exeext
52374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52375   (eval $ac_link) 2>conftest.er1
52376   ac_status=$?
52377   grep -v '^ *+' conftest.er1 >conftest.err
52378   rm -f conftest.er1
52379   cat conftest.err >&5
52380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52381   (exit $ac_status); } &&
52382          { ac_try='test -z "$ac_c_werror_flag"
52383                          || test ! -s conftest.err'
52384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52385   (eval $ac_try) 2>&5
52386   ac_status=$?
52387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52388   (exit $ac_status); }; } &&
52389          { ac_try='test -s conftest$ac_exeext'
52390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52391   (eval $ac_try) 2>&5
52392   ac_status=$?
52393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52394   (exit $ac_status); }; }; then
52395   eval "$as_ac_var=yes"
52396 else
52397   echo "$as_me: failed program was:" >&5
52398 sed 's/^/| /' conftest.$ac_ext >&5
52399
52400 eval "$as_ac_var=no"
52401 fi
52402 rm -f conftest.err conftest.$ac_objext \
52403       conftest$ac_exeext conftest.$ac_ext
52404 fi
52405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52407 if test `eval echo '${'$as_ac_var'}'` = yes; then
52408   cat >>confdefs.h <<_ACEOF
52409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52410 _ACEOF
52411
52412 fi
52413 done
52414
52415     fi
52416   fi
52417
52418
52419
52420
52421
52422
52423     echo "$as_me:$LINENO: checking for long double trig functions" >&5
52424 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52425   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52426   echo $ECHO_N "(cached) $ECHO_C" >&6
52427 else
52428
52429
52430
52431     ac_ext=cc
52432 ac_cpp='$CXXCPP $CPPFLAGS'
52433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52436
52437     cat >conftest.$ac_ext <<_ACEOF
52438 /* confdefs.h.  */
52439 _ACEOF
52440 cat confdefs.h >>conftest.$ac_ext
52441 cat >>conftest.$ac_ext <<_ACEOF
52442 /* end confdefs.h.  */
52443 #include <math.h>
52444 int
52445 main ()
52446 {
52447 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52448   ;
52449   return 0;
52450 }
52451 _ACEOF
52452 rm -f conftest.$ac_objext
52453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52454   (eval $ac_compile) 2>conftest.er1
52455   ac_status=$?
52456   grep -v '^ *+' conftest.er1 >conftest.err
52457   rm -f conftest.er1
52458   cat conftest.err >&5
52459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52460   (exit $ac_status); } &&
52461          { ac_try='test -z "$ac_cxx_werror_flag"
52462                          || test ! -s conftest.err'
52463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52464   (eval $ac_try) 2>&5
52465   ac_status=$?
52466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52467   (exit $ac_status); }; } &&
52468          { ac_try='test -s conftest.$ac_objext'
52469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52470   (eval $ac_try) 2>&5
52471   ac_status=$?
52472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52473   (exit $ac_status); }; }; then
52474   glibcxx_cv_func_long_double_trig_use=yes
52475 else
52476   echo "$as_me: failed program was:" >&5
52477 sed 's/^/| /' conftest.$ac_ext >&5
52478
52479 glibcxx_cv_func_long_double_trig_use=no
52480 fi
52481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52482     ac_ext=c
52483 ac_cpp='$CPP $CPPFLAGS'
52484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52487
52488 fi
52489
52490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52491 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52492   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52493
52494
52495
52496
52497
52498
52499
52500
52501
52502 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52503 do
52504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52505 echo "$as_me:$LINENO: checking for $ac_func" >&5
52506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52507 if eval "test \"\${$as_ac_var+set}\" = set"; then
52508   echo $ECHO_N "(cached) $ECHO_C" >&6
52509 else
52510   if test x$gcc_no_link = xyes; then
52511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52513    { (exit 1); exit 1; }; }
52514 fi
52515 cat >conftest.$ac_ext <<_ACEOF
52516 /* confdefs.h.  */
52517 _ACEOF
52518 cat confdefs.h >>conftest.$ac_ext
52519 cat >>conftest.$ac_ext <<_ACEOF
52520 /* end confdefs.h.  */
52521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52523 #define $ac_func innocuous_$ac_func
52524
52525 /* System header to define __stub macros and hopefully few prototypes,
52526     which can conflict with char $ac_func (); below.
52527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52528     <limits.h> exists even on freestanding compilers.  */
52529
52530 #ifdef __STDC__
52531 # include <limits.h>
52532 #else
52533 # include <assert.h>
52534 #endif
52535
52536 #undef $ac_func
52537
52538 /* Override any gcc2 internal prototype to avoid an error.  */
52539 #ifdef __cplusplus
52540 extern "C"
52541 {
52542 #endif
52543 /* We use char because int might match the return type of a gcc2
52544    builtin and then its argument prototype would still apply.  */
52545 char $ac_func ();
52546 /* The GNU C library defines this for functions which it implements
52547     to always fail with ENOSYS.  Some functions are actually named
52548     something starting with __ and the normal name is an alias.  */
52549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52550 choke me
52551 #else
52552 char (*f) () = $ac_func;
52553 #endif
52554 #ifdef __cplusplus
52555 }
52556 #endif
52557
52558 int
52559 main ()
52560 {
52561 return f != $ac_func;
52562   ;
52563   return 0;
52564 }
52565 _ACEOF
52566 rm -f conftest.$ac_objext conftest$ac_exeext
52567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52568   (eval $ac_link) 2>conftest.er1
52569   ac_status=$?
52570   grep -v '^ *+' conftest.er1 >conftest.err
52571   rm -f conftest.er1
52572   cat conftest.err >&5
52573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52574   (exit $ac_status); } &&
52575          { ac_try='test -z "$ac_c_werror_flag"
52576                          || test ! -s conftest.err'
52577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52578   (eval $ac_try) 2>&5
52579   ac_status=$?
52580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52581   (exit $ac_status); }; } &&
52582          { ac_try='test -s conftest$ac_exeext'
52583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52584   (eval $ac_try) 2>&5
52585   ac_status=$?
52586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52587   (exit $ac_status); }; }; then
52588   eval "$as_ac_var=yes"
52589 else
52590   echo "$as_me: failed program was:" >&5
52591 sed 's/^/| /' conftest.$ac_ext >&5
52592
52593 eval "$as_ac_var=no"
52594 fi
52595 rm -f conftest.err conftest.$ac_objext \
52596       conftest$ac_exeext conftest.$ac_ext
52597 fi
52598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52600 if test `eval echo '${'$as_ac_var'}'` = yes; then
52601   cat >>confdefs.h <<_ACEOF
52602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52603 _ACEOF
52604
52605 fi
52606 done
52607
52608   else
52609     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52610 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52611     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52612   echo $ECHO_N "(cached) $ECHO_C" >&6
52613 else
52614
52615
52616
52617       ac_ext=cc
52618 ac_cpp='$CXXCPP $CPPFLAGS'
52619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52622
52623       cat >conftest.$ac_ext <<_ACEOF
52624 /* confdefs.h.  */
52625 _ACEOF
52626 cat confdefs.h >>conftest.$ac_ext
52627 cat >>conftest.$ac_ext <<_ACEOF
52628 /* end confdefs.h.  */
52629 #include <math.h>
52630 int
52631 main ()
52632 {
52633 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52634   ;
52635   return 0;
52636 }
52637 _ACEOF
52638 rm -f conftest.$ac_objext
52639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52640   (eval $ac_compile) 2>conftest.er1
52641   ac_status=$?
52642   grep -v '^ *+' conftest.er1 >conftest.err
52643   rm -f conftest.er1
52644   cat conftest.err >&5
52645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52646   (exit $ac_status); } &&
52647          { ac_try='test -z "$ac_cxx_werror_flag"
52648                          || test ! -s conftest.err'
52649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52650   (eval $ac_try) 2>&5
52651   ac_status=$?
52652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52653   (exit $ac_status); }; } &&
52654          { ac_try='test -s conftest.$ac_objext'
52655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52656   (eval $ac_try) 2>&5
52657   ac_status=$?
52658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52659   (exit $ac_status); }; }; then
52660   glibcxx_cv_func__long_double_trig_use=yes
52661 else
52662   echo "$as_me: failed program was:" >&5
52663 sed 's/^/| /' conftest.$ac_ext >&5
52664
52665 glibcxx_cv_func__long_double_trig_use=no
52666 fi
52667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52668       ac_ext=c
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52673
52674 fi
52675
52676     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52677 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52678     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52689 do
52690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52691 echo "$as_me:$LINENO: checking for $ac_func" >&5
52692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52693 if eval "test \"\${$as_ac_var+set}\" = set"; then
52694   echo $ECHO_N "(cached) $ECHO_C" >&6
52695 else
52696   if test x$gcc_no_link = xyes; then
52697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52699    { (exit 1); exit 1; }; }
52700 fi
52701 cat >conftest.$ac_ext <<_ACEOF
52702 /* confdefs.h.  */
52703 _ACEOF
52704 cat confdefs.h >>conftest.$ac_ext
52705 cat >>conftest.$ac_ext <<_ACEOF
52706 /* end confdefs.h.  */
52707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52709 #define $ac_func innocuous_$ac_func
52710
52711 /* System header to define __stub macros and hopefully few prototypes,
52712     which can conflict with char $ac_func (); below.
52713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52714     <limits.h> exists even on freestanding compilers.  */
52715
52716 #ifdef __STDC__
52717 # include <limits.h>
52718 #else
52719 # include <assert.h>
52720 #endif
52721
52722 #undef $ac_func
52723
52724 /* Override any gcc2 internal prototype to avoid an error.  */
52725 #ifdef __cplusplus
52726 extern "C"
52727 {
52728 #endif
52729 /* We use char because int might match the return type of a gcc2
52730    builtin and then its argument prototype would still apply.  */
52731 char $ac_func ();
52732 /* The GNU C library defines this for functions which it implements
52733     to always fail with ENOSYS.  Some functions are actually named
52734     something starting with __ and the normal name is an alias.  */
52735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52736 choke me
52737 #else
52738 char (*f) () = $ac_func;
52739 #endif
52740 #ifdef __cplusplus
52741 }
52742 #endif
52743
52744 int
52745 main ()
52746 {
52747 return f != $ac_func;
52748   ;
52749   return 0;
52750 }
52751 _ACEOF
52752 rm -f conftest.$ac_objext conftest$ac_exeext
52753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52754   (eval $ac_link) 2>conftest.er1
52755   ac_status=$?
52756   grep -v '^ *+' conftest.er1 >conftest.err
52757   rm -f conftest.er1
52758   cat conftest.err >&5
52759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52760   (exit $ac_status); } &&
52761          { ac_try='test -z "$ac_c_werror_flag"
52762                          || test ! -s conftest.err'
52763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52764   (eval $ac_try) 2>&5
52765   ac_status=$?
52766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52767   (exit $ac_status); }; } &&
52768          { ac_try='test -s conftest$ac_exeext'
52769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52770   (eval $ac_try) 2>&5
52771   ac_status=$?
52772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52773   (exit $ac_status); }; }; then
52774   eval "$as_ac_var=yes"
52775 else
52776   echo "$as_me: failed program was:" >&5
52777 sed 's/^/| /' conftest.$ac_ext >&5
52778
52779 eval "$as_ac_var=no"
52780 fi
52781 rm -f conftest.err conftest.$ac_objext \
52782       conftest$ac_exeext conftest.$ac_ext
52783 fi
52784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52786 if test `eval echo '${'$as_ac_var'}'` = yes; then
52787   cat >>confdefs.h <<_ACEOF
52788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52789 _ACEOF
52790
52791 fi
52792 done
52793
52794     fi
52795   fi
52796
52797
52798
52799
52800
52801
52802
52803
52804
52805
52806
52807
52808
52809
52810     echo "$as_me:$LINENO: checking for long double round functions" >&5
52811 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52812   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52813   echo $ECHO_N "(cached) $ECHO_C" >&6
52814 else
52815
52816
52817
52818     ac_ext=cc
52819 ac_cpp='$CXXCPP $CPPFLAGS'
52820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52823
52824     cat >conftest.$ac_ext <<_ACEOF
52825 /* confdefs.h.  */
52826 _ACEOF
52827 cat confdefs.h >>conftest.$ac_ext
52828 cat >>conftest.$ac_ext <<_ACEOF
52829 /* end confdefs.h.  */
52830 #include <math.h>
52831 int
52832 main ()
52833 {
52834 ceill (0); floorl (0);
52835   ;
52836   return 0;
52837 }
52838 _ACEOF
52839 rm -f conftest.$ac_objext
52840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52841   (eval $ac_compile) 2>conftest.er1
52842   ac_status=$?
52843   grep -v '^ *+' conftest.er1 >conftest.err
52844   rm -f conftest.er1
52845   cat conftest.err >&5
52846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52847   (exit $ac_status); } &&
52848          { ac_try='test -z "$ac_cxx_werror_flag"
52849                          || test ! -s conftest.err'
52850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52851   (eval $ac_try) 2>&5
52852   ac_status=$?
52853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52854   (exit $ac_status); }; } &&
52855          { ac_try='test -s conftest.$ac_objext'
52856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52857   (eval $ac_try) 2>&5
52858   ac_status=$?
52859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52860   (exit $ac_status); }; }; then
52861   glibcxx_cv_func_long_double_round_use=yes
52862 else
52863   echo "$as_me: failed program was:" >&5
52864 sed 's/^/| /' conftest.$ac_ext >&5
52865
52866 glibcxx_cv_func_long_double_round_use=no
52867 fi
52868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52869     ac_ext=c
52870 ac_cpp='$CPP $CPPFLAGS'
52871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52874
52875 fi
52876
52877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52878 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52879   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52880
52881
52882 for ac_func in ceill floorl
52883 do
52884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52885 echo "$as_me:$LINENO: checking for $ac_func" >&5
52886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52887 if eval "test \"\${$as_ac_var+set}\" = set"; then
52888   echo $ECHO_N "(cached) $ECHO_C" >&6
52889 else
52890   if test x$gcc_no_link = xyes; then
52891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52893    { (exit 1); exit 1; }; }
52894 fi
52895 cat >conftest.$ac_ext <<_ACEOF
52896 /* confdefs.h.  */
52897 _ACEOF
52898 cat confdefs.h >>conftest.$ac_ext
52899 cat >>conftest.$ac_ext <<_ACEOF
52900 /* end confdefs.h.  */
52901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52903 #define $ac_func innocuous_$ac_func
52904
52905 /* System header to define __stub macros and hopefully few prototypes,
52906     which can conflict with char $ac_func (); below.
52907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52908     <limits.h> exists even on freestanding compilers.  */
52909
52910 #ifdef __STDC__
52911 # include <limits.h>
52912 #else
52913 # include <assert.h>
52914 #endif
52915
52916 #undef $ac_func
52917
52918 /* Override any gcc2 internal prototype to avoid an error.  */
52919 #ifdef __cplusplus
52920 extern "C"
52921 {
52922 #endif
52923 /* We use char because int might match the return type of a gcc2
52924    builtin and then its argument prototype would still apply.  */
52925 char $ac_func ();
52926 /* The GNU C library defines this for functions which it implements
52927     to always fail with ENOSYS.  Some functions are actually named
52928     something starting with __ and the normal name is an alias.  */
52929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52930 choke me
52931 #else
52932 char (*f) () = $ac_func;
52933 #endif
52934 #ifdef __cplusplus
52935 }
52936 #endif
52937
52938 int
52939 main ()
52940 {
52941 return f != $ac_func;
52942   ;
52943   return 0;
52944 }
52945 _ACEOF
52946 rm -f conftest.$ac_objext conftest$ac_exeext
52947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52948   (eval $ac_link) 2>conftest.er1
52949   ac_status=$?
52950   grep -v '^ *+' conftest.er1 >conftest.err
52951   rm -f conftest.er1
52952   cat conftest.err >&5
52953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52954   (exit $ac_status); } &&
52955          { ac_try='test -z "$ac_c_werror_flag"
52956                          || test ! -s conftest.err'
52957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52958   (eval $ac_try) 2>&5
52959   ac_status=$?
52960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52961   (exit $ac_status); }; } &&
52962          { ac_try='test -s conftest$ac_exeext'
52963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52964   (eval $ac_try) 2>&5
52965   ac_status=$?
52966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967   (exit $ac_status); }; }; then
52968   eval "$as_ac_var=yes"
52969 else
52970   echo "$as_me: failed program was:" >&5
52971 sed 's/^/| /' conftest.$ac_ext >&5
52972
52973 eval "$as_ac_var=no"
52974 fi
52975 rm -f conftest.err conftest.$ac_objext \
52976       conftest$ac_exeext conftest.$ac_ext
52977 fi
52978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52980 if test `eval echo '${'$as_ac_var'}'` = yes; then
52981   cat >>confdefs.h <<_ACEOF
52982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52983 _ACEOF
52984
52985 fi
52986 done
52987
52988   else
52989     echo "$as_me:$LINENO: checking for _long double round functions" >&5
52990 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52991     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52992   echo $ECHO_N "(cached) $ECHO_C" >&6
52993 else
52994
52995
52996
52997       ac_ext=cc
52998 ac_cpp='$CXXCPP $CPPFLAGS'
52999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53002
53003       cat >conftest.$ac_ext <<_ACEOF
53004 /* confdefs.h.  */
53005 _ACEOF
53006 cat confdefs.h >>conftest.$ac_ext
53007 cat >>conftest.$ac_ext <<_ACEOF
53008 /* end confdefs.h.  */
53009 #include <math.h>
53010 int
53011 main ()
53012 {
53013 _ceill (0); _floorl (0);
53014   ;
53015   return 0;
53016 }
53017 _ACEOF
53018 rm -f conftest.$ac_objext
53019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53020   (eval $ac_compile) 2>conftest.er1
53021   ac_status=$?
53022   grep -v '^ *+' conftest.er1 >conftest.err
53023   rm -f conftest.er1
53024   cat conftest.err >&5
53025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53026   (exit $ac_status); } &&
53027          { ac_try='test -z "$ac_cxx_werror_flag"
53028                          || test ! -s conftest.err'
53029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53030   (eval $ac_try) 2>&5
53031   ac_status=$?
53032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53033   (exit $ac_status); }; } &&
53034          { ac_try='test -s conftest.$ac_objext'
53035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53036   (eval $ac_try) 2>&5
53037   ac_status=$?
53038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53039   (exit $ac_status); }; }; then
53040   glibcxx_cv_func__long_double_round_use=yes
53041 else
53042   echo "$as_me: failed program was:" >&5
53043 sed 's/^/| /' conftest.$ac_ext >&5
53044
53045 glibcxx_cv_func__long_double_round_use=no
53046 fi
53047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53048       ac_ext=c
53049 ac_cpp='$CPP $CPPFLAGS'
53050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53053
53054 fi
53055
53056     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53057 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53058     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53059
53060
53061 for ac_func in _ceill _floorl
53062 do
53063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53064 echo "$as_me:$LINENO: checking for $ac_func" >&5
53065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53066 if eval "test \"\${$as_ac_var+set}\" = set"; then
53067   echo $ECHO_N "(cached) $ECHO_C" >&6
53068 else
53069   if test x$gcc_no_link = xyes; then
53070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53072    { (exit 1); exit 1; }; }
53073 fi
53074 cat >conftest.$ac_ext <<_ACEOF
53075 /* confdefs.h.  */
53076 _ACEOF
53077 cat confdefs.h >>conftest.$ac_ext
53078 cat >>conftest.$ac_ext <<_ACEOF
53079 /* end confdefs.h.  */
53080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53082 #define $ac_func innocuous_$ac_func
53083
53084 /* System header to define __stub macros and hopefully few prototypes,
53085     which can conflict with char $ac_func (); below.
53086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53087     <limits.h> exists even on freestanding compilers.  */
53088
53089 #ifdef __STDC__
53090 # include <limits.h>
53091 #else
53092 # include <assert.h>
53093 #endif
53094
53095 #undef $ac_func
53096
53097 /* Override any gcc2 internal prototype to avoid an error.  */
53098 #ifdef __cplusplus
53099 extern "C"
53100 {
53101 #endif
53102 /* We use char because int might match the return type of a gcc2
53103    builtin and then its argument prototype would still apply.  */
53104 char $ac_func ();
53105 /* The GNU C library defines this for functions which it implements
53106     to always fail with ENOSYS.  Some functions are actually named
53107     something starting with __ and the normal name is an alias.  */
53108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53109 choke me
53110 #else
53111 char (*f) () = $ac_func;
53112 #endif
53113 #ifdef __cplusplus
53114 }
53115 #endif
53116
53117 int
53118 main ()
53119 {
53120 return f != $ac_func;
53121   ;
53122   return 0;
53123 }
53124 _ACEOF
53125 rm -f conftest.$ac_objext conftest$ac_exeext
53126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53127   (eval $ac_link) 2>conftest.er1
53128   ac_status=$?
53129   grep -v '^ *+' conftest.er1 >conftest.err
53130   rm -f conftest.er1
53131   cat conftest.err >&5
53132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53133   (exit $ac_status); } &&
53134          { ac_try='test -z "$ac_c_werror_flag"
53135                          || test ! -s conftest.err'
53136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53137   (eval $ac_try) 2>&5
53138   ac_status=$?
53139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53140   (exit $ac_status); }; } &&
53141          { ac_try='test -s conftest$ac_exeext'
53142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53143   (eval $ac_try) 2>&5
53144   ac_status=$?
53145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53146   (exit $ac_status); }; }; then
53147   eval "$as_ac_var=yes"
53148 else
53149   echo "$as_me: failed program was:" >&5
53150 sed 's/^/| /' conftest.$ac_ext >&5
53151
53152 eval "$as_ac_var=no"
53153 fi
53154 rm -f conftest.err conftest.$ac_objext \
53155       conftest$ac_exeext conftest.$ac_ext
53156 fi
53157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53159 if test `eval echo '${'$as_ac_var'}'` = yes; then
53160   cat >>confdefs.h <<_ACEOF
53161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53162 _ACEOF
53163
53164 fi
53165 done
53166
53167     fi
53168   fi
53169
53170
53171
53172
53173
53174
53175
53176
53177   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53178 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53179   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53180     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53181   echo $ECHO_N "(cached) $ECHO_C" >&6
53182 else
53183
53184
53185
53186       ac_ext=cc
53187 ac_cpp='$CXXCPP $CPPFLAGS'
53188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53191
53192       cat >conftest.$ac_ext <<_ACEOF
53193 /* confdefs.h.  */
53194 _ACEOF
53195 cat confdefs.h >>conftest.$ac_ext
53196 cat >>conftest.$ac_ext <<_ACEOF
53197 /* end confdefs.h.  */
53198 #include <math.h>
53199                       #ifdef HAVE_IEEEFP_H
53200                       #include <ieeefp.h>
53201                       #endif
53202
53203 int
53204 main ()
53205 {
53206  isnanl(0);
53207   ;
53208   return 0;
53209 }
53210 _ACEOF
53211 rm -f conftest.$ac_objext
53212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53213   (eval $ac_compile) 2>conftest.er1
53214   ac_status=$?
53215   grep -v '^ *+' conftest.er1 >conftest.err
53216   rm -f conftest.er1
53217   cat conftest.err >&5
53218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53219   (exit $ac_status); } &&
53220          { ac_try='test -z "$ac_cxx_werror_flag"
53221                          || test ! -s conftest.err'
53222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53223   (eval $ac_try) 2>&5
53224   ac_status=$?
53225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53226   (exit $ac_status); }; } &&
53227          { ac_try='test -s conftest.$ac_objext'
53228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53229   (eval $ac_try) 2>&5
53230   ac_status=$?
53231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53232   (exit $ac_status); }; }; then
53233   glibcxx_cv_func_isnanl_use=yes
53234 else
53235   echo "$as_me: failed program was:" >&5
53236 sed 's/^/| /' conftest.$ac_ext >&5
53237
53238 glibcxx_cv_func_isnanl_use=no
53239 fi
53240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53241       ac_ext=c
53242 ac_cpp='$CPP $CPPFLAGS'
53243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53246
53247
53248 fi
53249
53250   fi
53251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53252 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53253
53254   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53255
53256 for ac_func in isnanl
53257 do
53258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53259 echo "$as_me:$LINENO: checking for $ac_func" >&5
53260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53261 if eval "test \"\${$as_ac_var+set}\" = set"; then
53262   echo $ECHO_N "(cached) $ECHO_C" >&6
53263 else
53264   if test x$gcc_no_link = xyes; then
53265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53267    { (exit 1); exit 1; }; }
53268 fi
53269 cat >conftest.$ac_ext <<_ACEOF
53270 /* confdefs.h.  */
53271 _ACEOF
53272 cat confdefs.h >>conftest.$ac_ext
53273 cat >>conftest.$ac_ext <<_ACEOF
53274 /* end confdefs.h.  */
53275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53277 #define $ac_func innocuous_$ac_func
53278
53279 /* System header to define __stub macros and hopefully few prototypes,
53280     which can conflict with char $ac_func (); below.
53281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53282     <limits.h> exists even on freestanding compilers.  */
53283
53284 #ifdef __STDC__
53285 # include <limits.h>
53286 #else
53287 # include <assert.h>
53288 #endif
53289
53290 #undef $ac_func
53291
53292 /* Override any gcc2 internal prototype to avoid an error.  */
53293 #ifdef __cplusplus
53294 extern "C"
53295 {
53296 #endif
53297 /* We use char because int might match the return type of a gcc2
53298    builtin and then its argument prototype would still apply.  */
53299 char $ac_func ();
53300 /* The GNU C library defines this for functions which it implements
53301     to always fail with ENOSYS.  Some functions are actually named
53302     something starting with __ and the normal name is an alias.  */
53303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53304 choke me
53305 #else
53306 char (*f) () = $ac_func;
53307 #endif
53308 #ifdef __cplusplus
53309 }
53310 #endif
53311
53312 int
53313 main ()
53314 {
53315 return f != $ac_func;
53316   ;
53317   return 0;
53318 }
53319 _ACEOF
53320 rm -f conftest.$ac_objext conftest$ac_exeext
53321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53322   (eval $ac_link) 2>conftest.er1
53323   ac_status=$?
53324   grep -v '^ *+' conftest.er1 >conftest.err
53325   rm -f conftest.er1
53326   cat conftest.err >&5
53327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53328   (exit $ac_status); } &&
53329          { ac_try='test -z "$ac_c_werror_flag"
53330                          || test ! -s conftest.err'
53331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53332   (eval $ac_try) 2>&5
53333   ac_status=$?
53334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335   (exit $ac_status); }; } &&
53336          { ac_try='test -s conftest$ac_exeext'
53337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53338   (eval $ac_try) 2>&5
53339   ac_status=$?
53340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341   (exit $ac_status); }; }; then
53342   eval "$as_ac_var=yes"
53343 else
53344   echo "$as_me: failed program was:" >&5
53345 sed 's/^/| /' conftest.$ac_ext >&5
53346
53347 eval "$as_ac_var=no"
53348 fi
53349 rm -f conftest.err conftest.$ac_objext \
53350       conftest$ac_exeext conftest.$ac_ext
53351 fi
53352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53354 if test `eval echo '${'$as_ac_var'}'` = yes; then
53355   cat >>confdefs.h <<_ACEOF
53356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53357 _ACEOF
53358
53359 fi
53360 done
53361
53362   else
53363
53364   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53365 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53366   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53367     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53368   echo $ECHO_N "(cached) $ECHO_C" >&6
53369 else
53370
53371
53372
53373       ac_ext=cc
53374 ac_cpp='$CXXCPP $CPPFLAGS'
53375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53378
53379       cat >conftest.$ac_ext <<_ACEOF
53380 /* confdefs.h.  */
53381 _ACEOF
53382 cat confdefs.h >>conftest.$ac_ext
53383 cat >>conftest.$ac_ext <<_ACEOF
53384 /* end confdefs.h.  */
53385 #include <math.h>
53386                       #ifdef HAVE_IEEEFP_H
53387                       #include <ieeefp.h>
53388                       #endif
53389
53390 int
53391 main ()
53392 {
53393  _isnanl(0);
53394   ;
53395   return 0;
53396 }
53397 _ACEOF
53398 rm -f conftest.$ac_objext
53399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53400   (eval $ac_compile) 2>conftest.er1
53401   ac_status=$?
53402   grep -v '^ *+' conftest.er1 >conftest.err
53403   rm -f conftest.er1
53404   cat conftest.err >&5
53405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53406   (exit $ac_status); } &&
53407          { ac_try='test -z "$ac_cxx_werror_flag"
53408                          || test ! -s conftest.err'
53409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53410   (eval $ac_try) 2>&5
53411   ac_status=$?
53412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53413   (exit $ac_status); }; } &&
53414          { ac_try='test -s conftest.$ac_objext'
53415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53416   (eval $ac_try) 2>&5
53417   ac_status=$?
53418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53419   (exit $ac_status); }; }; then
53420   glibcxx_cv_func__isnanl_use=yes
53421 else
53422   echo "$as_me: failed program was:" >&5
53423 sed 's/^/| /' conftest.$ac_ext >&5
53424
53425 glibcxx_cv_func__isnanl_use=no
53426 fi
53427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53428       ac_ext=c
53429 ac_cpp='$CPP $CPPFLAGS'
53430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53433
53434
53435 fi
53436
53437   fi
53438   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53439 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53440
53441     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53442
53443 for ac_func in _isnanl
53444 do
53445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53446 echo "$as_me:$LINENO: checking for $ac_func" >&5
53447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53448 if eval "test \"\${$as_ac_var+set}\" = set"; then
53449   echo $ECHO_N "(cached) $ECHO_C" >&6
53450 else
53451   if test x$gcc_no_link = xyes; then
53452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53454    { (exit 1); exit 1; }; }
53455 fi
53456 cat >conftest.$ac_ext <<_ACEOF
53457 /* confdefs.h.  */
53458 _ACEOF
53459 cat confdefs.h >>conftest.$ac_ext
53460 cat >>conftest.$ac_ext <<_ACEOF
53461 /* end confdefs.h.  */
53462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53464 #define $ac_func innocuous_$ac_func
53465
53466 /* System header to define __stub macros and hopefully few prototypes,
53467     which can conflict with char $ac_func (); below.
53468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53469     <limits.h> exists even on freestanding compilers.  */
53470
53471 #ifdef __STDC__
53472 # include <limits.h>
53473 #else
53474 # include <assert.h>
53475 #endif
53476
53477 #undef $ac_func
53478
53479 /* Override any gcc2 internal prototype to avoid an error.  */
53480 #ifdef __cplusplus
53481 extern "C"
53482 {
53483 #endif
53484 /* We use char because int might match the return type of a gcc2
53485    builtin and then its argument prototype would still apply.  */
53486 char $ac_func ();
53487 /* The GNU C library defines this for functions which it implements
53488     to always fail with ENOSYS.  Some functions are actually named
53489     something starting with __ and the normal name is an alias.  */
53490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53491 choke me
53492 #else
53493 char (*f) () = $ac_func;
53494 #endif
53495 #ifdef __cplusplus
53496 }
53497 #endif
53498
53499 int
53500 main ()
53501 {
53502 return f != $ac_func;
53503   ;
53504   return 0;
53505 }
53506 _ACEOF
53507 rm -f conftest.$ac_objext conftest$ac_exeext
53508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53509   (eval $ac_link) 2>conftest.er1
53510   ac_status=$?
53511   grep -v '^ *+' conftest.er1 >conftest.err
53512   rm -f conftest.er1
53513   cat conftest.err >&5
53514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53515   (exit $ac_status); } &&
53516          { ac_try='test -z "$ac_c_werror_flag"
53517                          || test ! -s conftest.err'
53518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53519   (eval $ac_try) 2>&5
53520   ac_status=$?
53521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53522   (exit $ac_status); }; } &&
53523          { ac_try='test -s conftest$ac_exeext'
53524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53525   (eval $ac_try) 2>&5
53526   ac_status=$?
53527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53528   (exit $ac_status); }; }; then
53529   eval "$as_ac_var=yes"
53530 else
53531   echo "$as_me: failed program was:" >&5
53532 sed 's/^/| /' conftest.$ac_ext >&5
53533
53534 eval "$as_ac_var=no"
53535 fi
53536 rm -f conftest.err conftest.$ac_objext \
53537       conftest$ac_exeext conftest.$ac_ext
53538 fi
53539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53541 if test `eval echo '${'$as_ac_var'}'` = yes; then
53542   cat >>confdefs.h <<_ACEOF
53543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53544 _ACEOF
53545
53546 fi
53547 done
53548
53549     fi
53550   fi
53551
53552
53553
53554
53555
53556
53557   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53558 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53559   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53560     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53561   echo $ECHO_N "(cached) $ECHO_C" >&6
53562 else
53563
53564
53565
53566       ac_ext=cc
53567 ac_cpp='$CXXCPP $CPPFLAGS'
53568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53571
53572       cat >conftest.$ac_ext <<_ACEOF
53573 /* confdefs.h.  */
53574 _ACEOF
53575 cat confdefs.h >>conftest.$ac_ext
53576 cat >>conftest.$ac_ext <<_ACEOF
53577 /* end confdefs.h.  */
53578 #include <math.h>
53579                       #ifdef HAVE_IEEEFP_H
53580                       #include <ieeefp.h>
53581                       #endif
53582
53583 int
53584 main ()
53585 {
53586  isinfl(0);
53587   ;
53588   return 0;
53589 }
53590 _ACEOF
53591 rm -f conftest.$ac_objext
53592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53593   (eval $ac_compile) 2>conftest.er1
53594   ac_status=$?
53595   grep -v '^ *+' conftest.er1 >conftest.err
53596   rm -f conftest.er1
53597   cat conftest.err >&5
53598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53599   (exit $ac_status); } &&
53600          { ac_try='test -z "$ac_cxx_werror_flag"
53601                          || test ! -s conftest.err'
53602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53603   (eval $ac_try) 2>&5
53604   ac_status=$?
53605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53606   (exit $ac_status); }; } &&
53607          { ac_try='test -s conftest.$ac_objext'
53608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53609   (eval $ac_try) 2>&5
53610   ac_status=$?
53611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53612   (exit $ac_status); }; }; then
53613   glibcxx_cv_func_isinfl_use=yes
53614 else
53615   echo "$as_me: failed program was:" >&5
53616 sed 's/^/| /' conftest.$ac_ext >&5
53617
53618 glibcxx_cv_func_isinfl_use=no
53619 fi
53620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53621       ac_ext=c
53622 ac_cpp='$CPP $CPPFLAGS'
53623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53626
53627
53628 fi
53629
53630   fi
53631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53632 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53633
53634   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53635
53636 for ac_func in isinfl
53637 do
53638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53639 echo "$as_me:$LINENO: checking for $ac_func" >&5
53640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53641 if eval "test \"\${$as_ac_var+set}\" = set"; then
53642   echo $ECHO_N "(cached) $ECHO_C" >&6
53643 else
53644   if test x$gcc_no_link = xyes; then
53645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53647    { (exit 1); exit 1; }; }
53648 fi
53649 cat >conftest.$ac_ext <<_ACEOF
53650 /* confdefs.h.  */
53651 _ACEOF
53652 cat confdefs.h >>conftest.$ac_ext
53653 cat >>conftest.$ac_ext <<_ACEOF
53654 /* end confdefs.h.  */
53655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53657 #define $ac_func innocuous_$ac_func
53658
53659 /* System header to define __stub macros and hopefully few prototypes,
53660     which can conflict with char $ac_func (); below.
53661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53662     <limits.h> exists even on freestanding compilers.  */
53663
53664 #ifdef __STDC__
53665 # include <limits.h>
53666 #else
53667 # include <assert.h>
53668 #endif
53669
53670 #undef $ac_func
53671
53672 /* Override any gcc2 internal prototype to avoid an error.  */
53673 #ifdef __cplusplus
53674 extern "C"
53675 {
53676 #endif
53677 /* We use char because int might match the return type of a gcc2
53678    builtin and then its argument prototype would still apply.  */
53679 char $ac_func ();
53680 /* The GNU C library defines this for functions which it implements
53681     to always fail with ENOSYS.  Some functions are actually named
53682     something starting with __ and the normal name is an alias.  */
53683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53684 choke me
53685 #else
53686 char (*f) () = $ac_func;
53687 #endif
53688 #ifdef __cplusplus
53689 }
53690 #endif
53691
53692 int
53693 main ()
53694 {
53695 return f != $ac_func;
53696   ;
53697   return 0;
53698 }
53699 _ACEOF
53700 rm -f conftest.$ac_objext conftest$ac_exeext
53701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53702   (eval $ac_link) 2>conftest.er1
53703   ac_status=$?
53704   grep -v '^ *+' conftest.er1 >conftest.err
53705   rm -f conftest.er1
53706   cat conftest.err >&5
53707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708   (exit $ac_status); } &&
53709          { ac_try='test -z "$ac_c_werror_flag"
53710                          || test ! -s conftest.err'
53711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53712   (eval $ac_try) 2>&5
53713   ac_status=$?
53714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53715   (exit $ac_status); }; } &&
53716          { ac_try='test -s conftest$ac_exeext'
53717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53718   (eval $ac_try) 2>&5
53719   ac_status=$?
53720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53721   (exit $ac_status); }; }; then
53722   eval "$as_ac_var=yes"
53723 else
53724   echo "$as_me: failed program was:" >&5
53725 sed 's/^/| /' conftest.$ac_ext >&5
53726
53727 eval "$as_ac_var=no"
53728 fi
53729 rm -f conftest.err conftest.$ac_objext \
53730       conftest$ac_exeext conftest.$ac_ext
53731 fi
53732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53734 if test `eval echo '${'$as_ac_var'}'` = yes; then
53735   cat >>confdefs.h <<_ACEOF
53736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53737 _ACEOF
53738
53739 fi
53740 done
53741
53742   else
53743
53744   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53745 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53746   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53747     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53748   echo $ECHO_N "(cached) $ECHO_C" >&6
53749 else
53750
53751
53752
53753       ac_ext=cc
53754 ac_cpp='$CXXCPP $CPPFLAGS'
53755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53758
53759       cat >conftest.$ac_ext <<_ACEOF
53760 /* confdefs.h.  */
53761 _ACEOF
53762 cat confdefs.h >>conftest.$ac_ext
53763 cat >>conftest.$ac_ext <<_ACEOF
53764 /* end confdefs.h.  */
53765 #include <math.h>
53766                       #ifdef HAVE_IEEEFP_H
53767                       #include <ieeefp.h>
53768                       #endif
53769
53770 int
53771 main ()
53772 {
53773  _isinfl(0);
53774   ;
53775   return 0;
53776 }
53777 _ACEOF
53778 rm -f conftest.$ac_objext
53779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53780   (eval $ac_compile) 2>conftest.er1
53781   ac_status=$?
53782   grep -v '^ *+' conftest.er1 >conftest.err
53783   rm -f conftest.er1
53784   cat conftest.err >&5
53785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53786   (exit $ac_status); } &&
53787          { ac_try='test -z "$ac_cxx_werror_flag"
53788                          || test ! -s conftest.err'
53789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53790   (eval $ac_try) 2>&5
53791   ac_status=$?
53792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53793   (exit $ac_status); }; } &&
53794          { ac_try='test -s conftest.$ac_objext'
53795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53796   (eval $ac_try) 2>&5
53797   ac_status=$?
53798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53799   (exit $ac_status); }; }; then
53800   glibcxx_cv_func__isinfl_use=yes
53801 else
53802   echo "$as_me: failed program was:" >&5
53803 sed 's/^/| /' conftest.$ac_ext >&5
53804
53805 glibcxx_cv_func__isinfl_use=no
53806 fi
53807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53808       ac_ext=c
53809 ac_cpp='$CPP $CPPFLAGS'
53810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53813
53814
53815 fi
53816
53817   fi
53818   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53819 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53820
53821     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53822
53823 for ac_func in _isinfl
53824 do
53825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53826 echo "$as_me:$LINENO: checking for $ac_func" >&5
53827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53828 if eval "test \"\${$as_ac_var+set}\" = set"; then
53829   echo $ECHO_N "(cached) $ECHO_C" >&6
53830 else
53831   if test x$gcc_no_link = xyes; then
53832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53834    { (exit 1); exit 1; }; }
53835 fi
53836 cat >conftest.$ac_ext <<_ACEOF
53837 /* confdefs.h.  */
53838 _ACEOF
53839 cat confdefs.h >>conftest.$ac_ext
53840 cat >>conftest.$ac_ext <<_ACEOF
53841 /* end confdefs.h.  */
53842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53844 #define $ac_func innocuous_$ac_func
53845
53846 /* System header to define __stub macros and hopefully few prototypes,
53847     which can conflict with char $ac_func (); below.
53848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53849     <limits.h> exists even on freestanding compilers.  */
53850
53851 #ifdef __STDC__
53852 # include <limits.h>
53853 #else
53854 # include <assert.h>
53855 #endif
53856
53857 #undef $ac_func
53858
53859 /* Override any gcc2 internal prototype to avoid an error.  */
53860 #ifdef __cplusplus
53861 extern "C"
53862 {
53863 #endif
53864 /* We use char because int might match the return type of a gcc2
53865    builtin and then its argument prototype would still apply.  */
53866 char $ac_func ();
53867 /* The GNU C library defines this for functions which it implements
53868     to always fail with ENOSYS.  Some functions are actually named
53869     something starting with __ and the normal name is an alias.  */
53870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53871 choke me
53872 #else
53873 char (*f) () = $ac_func;
53874 #endif
53875 #ifdef __cplusplus
53876 }
53877 #endif
53878
53879 int
53880 main ()
53881 {
53882 return f != $ac_func;
53883   ;
53884   return 0;
53885 }
53886 _ACEOF
53887 rm -f conftest.$ac_objext conftest$ac_exeext
53888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53889   (eval $ac_link) 2>conftest.er1
53890   ac_status=$?
53891   grep -v '^ *+' conftest.er1 >conftest.err
53892   rm -f conftest.er1
53893   cat conftest.err >&5
53894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53895   (exit $ac_status); } &&
53896          { ac_try='test -z "$ac_c_werror_flag"
53897                          || test ! -s conftest.err'
53898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53899   (eval $ac_try) 2>&5
53900   ac_status=$?
53901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53902   (exit $ac_status); }; } &&
53903          { ac_try='test -s conftest$ac_exeext'
53904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53905   (eval $ac_try) 2>&5
53906   ac_status=$?
53907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53908   (exit $ac_status); }; }; then
53909   eval "$as_ac_var=yes"
53910 else
53911   echo "$as_me: failed program was:" >&5
53912 sed 's/^/| /' conftest.$ac_ext >&5
53913
53914 eval "$as_ac_var=no"
53915 fi
53916 rm -f conftest.err conftest.$ac_objext \
53917       conftest$ac_exeext conftest.$ac_ext
53918 fi
53919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53921 if test `eval echo '${'$as_ac_var'}'` = yes; then
53922   cat >>confdefs.h <<_ACEOF
53923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53924 _ACEOF
53925
53926 fi
53927 done
53928
53929     fi
53930   fi
53931
53932
53933
53934
53935
53936
53937   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
53938 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
53939   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
53940     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
53941   echo $ECHO_N "(cached) $ECHO_C" >&6
53942 else
53943
53944
53945
53946       ac_ext=cc
53947 ac_cpp='$CXXCPP $CPPFLAGS'
53948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53951
53952       cat >conftest.$ac_ext <<_ACEOF
53953 /* confdefs.h.  */
53954 _ACEOF
53955 cat confdefs.h >>conftest.$ac_ext
53956 cat >>conftest.$ac_ext <<_ACEOF
53957 /* end confdefs.h.  */
53958 #include <math.h>
53959 int
53960 main ()
53961 {
53962  copysignl(0, 0);
53963   ;
53964   return 0;
53965 }
53966 _ACEOF
53967 rm -f conftest.$ac_objext
53968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53969   (eval $ac_compile) 2>conftest.er1
53970   ac_status=$?
53971   grep -v '^ *+' conftest.er1 >conftest.err
53972   rm -f conftest.er1
53973   cat conftest.err >&5
53974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53975   (exit $ac_status); } &&
53976          { ac_try='test -z "$ac_cxx_werror_flag"
53977                          || test ! -s conftest.err'
53978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979   (eval $ac_try) 2>&5
53980   ac_status=$?
53981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982   (exit $ac_status); }; } &&
53983          { ac_try='test -s conftest.$ac_objext'
53984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53985   (eval $ac_try) 2>&5
53986   ac_status=$?
53987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53988   (exit $ac_status); }; }; then
53989   glibcxx_cv_func_copysignl_use=yes
53990 else
53991   echo "$as_me: failed program was:" >&5
53992 sed 's/^/| /' conftest.$ac_ext >&5
53993
53994 glibcxx_cv_func_copysignl_use=no
53995 fi
53996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53997       ac_ext=c
53998 ac_cpp='$CPP $CPPFLAGS'
53999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54002
54003
54004 fi
54005
54006   fi
54007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54008 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54009
54010   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54011
54012 for ac_func in copysignl
54013 do
54014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54015 echo "$as_me:$LINENO: checking for $ac_func" >&5
54016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54017 if eval "test \"\${$as_ac_var+set}\" = set"; then
54018   echo $ECHO_N "(cached) $ECHO_C" >&6
54019 else
54020   if test x$gcc_no_link = xyes; then
54021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54023    { (exit 1); exit 1; }; }
54024 fi
54025 cat >conftest.$ac_ext <<_ACEOF
54026 /* confdefs.h.  */
54027 _ACEOF
54028 cat confdefs.h >>conftest.$ac_ext
54029 cat >>conftest.$ac_ext <<_ACEOF
54030 /* end confdefs.h.  */
54031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54033 #define $ac_func innocuous_$ac_func
54034
54035 /* System header to define __stub macros and hopefully few prototypes,
54036     which can conflict with char $ac_func (); below.
54037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54038     <limits.h> exists even on freestanding compilers.  */
54039
54040 #ifdef __STDC__
54041 # include <limits.h>
54042 #else
54043 # include <assert.h>
54044 #endif
54045
54046 #undef $ac_func
54047
54048 /* Override any gcc2 internal prototype to avoid an error.  */
54049 #ifdef __cplusplus
54050 extern "C"
54051 {
54052 #endif
54053 /* We use char because int might match the return type of a gcc2
54054    builtin and then its argument prototype would still apply.  */
54055 char $ac_func ();
54056 /* The GNU C library defines this for functions which it implements
54057     to always fail with ENOSYS.  Some functions are actually named
54058     something starting with __ and the normal name is an alias.  */
54059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54060 choke me
54061 #else
54062 char (*f) () = $ac_func;
54063 #endif
54064 #ifdef __cplusplus
54065 }
54066 #endif
54067
54068 int
54069 main ()
54070 {
54071 return f != $ac_func;
54072   ;
54073   return 0;
54074 }
54075 _ACEOF
54076 rm -f conftest.$ac_objext conftest$ac_exeext
54077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54078   (eval $ac_link) 2>conftest.er1
54079   ac_status=$?
54080   grep -v '^ *+' conftest.er1 >conftest.err
54081   rm -f conftest.er1
54082   cat conftest.err >&5
54083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084   (exit $ac_status); } &&
54085          { ac_try='test -z "$ac_c_werror_flag"
54086                          || test ! -s conftest.err'
54087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54088   (eval $ac_try) 2>&5
54089   ac_status=$?
54090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091   (exit $ac_status); }; } &&
54092          { ac_try='test -s conftest$ac_exeext'
54093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54094   (eval $ac_try) 2>&5
54095   ac_status=$?
54096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097   (exit $ac_status); }; }; then
54098   eval "$as_ac_var=yes"
54099 else
54100   echo "$as_me: failed program was:" >&5
54101 sed 's/^/| /' conftest.$ac_ext >&5
54102
54103 eval "$as_ac_var=no"
54104 fi
54105 rm -f conftest.err conftest.$ac_objext \
54106       conftest$ac_exeext conftest.$ac_ext
54107 fi
54108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54110 if test `eval echo '${'$as_ac_var'}'` = yes; then
54111   cat >>confdefs.h <<_ACEOF
54112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54113 _ACEOF
54114
54115 fi
54116 done
54117
54118   else
54119
54120   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54121 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54122   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54123     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54124   echo $ECHO_N "(cached) $ECHO_C" >&6
54125 else
54126
54127
54128
54129       ac_ext=cc
54130 ac_cpp='$CXXCPP $CPPFLAGS'
54131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54134
54135       cat >conftest.$ac_ext <<_ACEOF
54136 /* confdefs.h.  */
54137 _ACEOF
54138 cat confdefs.h >>conftest.$ac_ext
54139 cat >>conftest.$ac_ext <<_ACEOF
54140 /* end confdefs.h.  */
54141 #include <math.h>
54142 int
54143 main ()
54144 {
54145  _copysignl(0, 0);
54146   ;
54147   return 0;
54148 }
54149 _ACEOF
54150 rm -f conftest.$ac_objext
54151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54152   (eval $ac_compile) 2>conftest.er1
54153   ac_status=$?
54154   grep -v '^ *+' conftest.er1 >conftest.err
54155   rm -f conftest.er1
54156   cat conftest.err >&5
54157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54158   (exit $ac_status); } &&
54159          { ac_try='test -z "$ac_cxx_werror_flag"
54160                          || test ! -s conftest.err'
54161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54162   (eval $ac_try) 2>&5
54163   ac_status=$?
54164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165   (exit $ac_status); }; } &&
54166          { ac_try='test -s conftest.$ac_objext'
54167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54168   (eval $ac_try) 2>&5
54169   ac_status=$?
54170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54171   (exit $ac_status); }; }; then
54172   glibcxx_cv_func__copysignl_use=yes
54173 else
54174   echo "$as_me: failed program was:" >&5
54175 sed 's/^/| /' conftest.$ac_ext >&5
54176
54177 glibcxx_cv_func__copysignl_use=no
54178 fi
54179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54180       ac_ext=c
54181 ac_cpp='$CPP $CPPFLAGS'
54182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54185
54186
54187 fi
54188
54189   fi
54190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
54191 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
54192
54193     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
54194
54195 for ac_func in _copysignl
54196 do
54197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54198 echo "$as_me:$LINENO: checking for $ac_func" >&5
54199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54200 if eval "test \"\${$as_ac_var+set}\" = set"; then
54201   echo $ECHO_N "(cached) $ECHO_C" >&6
54202 else
54203   if test x$gcc_no_link = xyes; then
54204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54206    { (exit 1); exit 1; }; }
54207 fi
54208 cat >conftest.$ac_ext <<_ACEOF
54209 /* confdefs.h.  */
54210 _ACEOF
54211 cat confdefs.h >>conftest.$ac_ext
54212 cat >>conftest.$ac_ext <<_ACEOF
54213 /* end confdefs.h.  */
54214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54216 #define $ac_func innocuous_$ac_func
54217
54218 /* System header to define __stub macros and hopefully few prototypes,
54219     which can conflict with char $ac_func (); below.
54220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54221     <limits.h> exists even on freestanding compilers.  */
54222
54223 #ifdef __STDC__
54224 # include <limits.h>
54225 #else
54226 # include <assert.h>
54227 #endif
54228
54229 #undef $ac_func
54230
54231 /* Override any gcc2 internal prototype to avoid an error.  */
54232 #ifdef __cplusplus
54233 extern "C"
54234 {
54235 #endif
54236 /* We use char because int might match the return type of a gcc2
54237    builtin and then its argument prototype would still apply.  */
54238 char $ac_func ();
54239 /* The GNU C library defines this for functions which it implements
54240     to always fail with ENOSYS.  Some functions are actually named
54241     something starting with __ and the normal name is an alias.  */
54242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54243 choke me
54244 #else
54245 char (*f) () = $ac_func;
54246 #endif
54247 #ifdef __cplusplus
54248 }
54249 #endif
54250
54251 int
54252 main ()
54253 {
54254 return f != $ac_func;
54255   ;
54256   return 0;
54257 }
54258 _ACEOF
54259 rm -f conftest.$ac_objext conftest$ac_exeext
54260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54261   (eval $ac_link) 2>conftest.er1
54262   ac_status=$?
54263   grep -v '^ *+' conftest.er1 >conftest.err
54264   rm -f conftest.er1
54265   cat conftest.err >&5
54266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54267   (exit $ac_status); } &&
54268          { ac_try='test -z "$ac_c_werror_flag"
54269                          || test ! -s conftest.err'
54270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54271   (eval $ac_try) 2>&5
54272   ac_status=$?
54273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54274   (exit $ac_status); }; } &&
54275          { ac_try='test -s conftest$ac_exeext'
54276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54277   (eval $ac_try) 2>&5
54278   ac_status=$?
54279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54280   (exit $ac_status); }; }; then
54281   eval "$as_ac_var=yes"
54282 else
54283   echo "$as_me: failed program was:" >&5
54284 sed 's/^/| /' conftest.$ac_ext >&5
54285
54286 eval "$as_ac_var=no"
54287 fi
54288 rm -f conftest.err conftest.$ac_objext \
54289       conftest$ac_exeext conftest.$ac_ext
54290 fi
54291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54293 if test `eval echo '${'$as_ac_var'}'` = yes; then
54294   cat >>confdefs.h <<_ACEOF
54295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54296 _ACEOF
54297
54298 fi
54299 done
54300
54301     fi
54302   fi
54303
54304
54305
54306
54307
54308
54309   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
54310 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
54311   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54312     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
54313   echo $ECHO_N "(cached) $ECHO_C" >&6
54314 else
54315
54316
54317
54318       ac_ext=cc
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54323
54324       cat >conftest.$ac_ext <<_ACEOF
54325 /* confdefs.h.  */
54326 _ACEOF
54327 cat confdefs.h >>conftest.$ac_ext
54328 cat >>conftest.$ac_ext <<_ACEOF
54329 /* end confdefs.h.  */
54330 #include <math.h>
54331 int
54332 main ()
54333 {
54334  atan2l(0, 0);
54335   ;
54336   return 0;
54337 }
54338 _ACEOF
54339 rm -f conftest.$ac_objext
54340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54341   (eval $ac_compile) 2>conftest.er1
54342   ac_status=$?
54343   grep -v '^ *+' conftest.er1 >conftest.err
54344   rm -f conftest.er1
54345   cat conftest.err >&5
54346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54347   (exit $ac_status); } &&
54348          { ac_try='test -z "$ac_cxx_werror_flag"
54349                          || test ! -s conftest.err'
54350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54351   (eval $ac_try) 2>&5
54352   ac_status=$?
54353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354   (exit $ac_status); }; } &&
54355          { ac_try='test -s conftest.$ac_objext'
54356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357   (eval $ac_try) 2>&5
54358   ac_status=$?
54359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360   (exit $ac_status); }; }; then
54361   glibcxx_cv_func_atan2l_use=yes
54362 else
54363   echo "$as_me: failed program was:" >&5
54364 sed 's/^/| /' conftest.$ac_ext >&5
54365
54366 glibcxx_cv_func_atan2l_use=no
54367 fi
54368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54369       ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54374
54375
54376 fi
54377
54378   fi
54379   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
54380 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
54381
54382   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54383
54384 for ac_func in atan2l
54385 do
54386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54387 echo "$as_me:$LINENO: checking for $ac_func" >&5
54388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54389 if eval "test \"\${$as_ac_var+set}\" = set"; then
54390   echo $ECHO_N "(cached) $ECHO_C" >&6
54391 else
54392   if test x$gcc_no_link = xyes; then
54393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54395    { (exit 1); exit 1; }; }
54396 fi
54397 cat >conftest.$ac_ext <<_ACEOF
54398 /* confdefs.h.  */
54399 _ACEOF
54400 cat confdefs.h >>conftest.$ac_ext
54401 cat >>conftest.$ac_ext <<_ACEOF
54402 /* end confdefs.h.  */
54403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54405 #define $ac_func innocuous_$ac_func
54406
54407 /* System header to define __stub macros and hopefully few prototypes,
54408     which can conflict with char $ac_func (); below.
54409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54410     <limits.h> exists even on freestanding compilers.  */
54411
54412 #ifdef __STDC__
54413 # include <limits.h>
54414 #else
54415 # include <assert.h>
54416 #endif
54417
54418 #undef $ac_func
54419
54420 /* Override any gcc2 internal prototype to avoid an error.  */
54421 #ifdef __cplusplus
54422 extern "C"
54423 {
54424 #endif
54425 /* We use char because int might match the return type of a gcc2
54426    builtin and then its argument prototype would still apply.  */
54427 char $ac_func ();
54428 /* The GNU C library defines this for functions which it implements
54429     to always fail with ENOSYS.  Some functions are actually named
54430     something starting with __ and the normal name is an alias.  */
54431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54432 choke me
54433 #else
54434 char (*f) () = $ac_func;
54435 #endif
54436 #ifdef __cplusplus
54437 }
54438 #endif
54439
54440 int
54441 main ()
54442 {
54443 return f != $ac_func;
54444   ;
54445   return 0;
54446 }
54447 _ACEOF
54448 rm -f conftest.$ac_objext conftest$ac_exeext
54449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54450   (eval $ac_link) 2>conftest.er1
54451   ac_status=$?
54452   grep -v '^ *+' conftest.er1 >conftest.err
54453   rm -f conftest.er1
54454   cat conftest.err >&5
54455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54456   (exit $ac_status); } &&
54457          { ac_try='test -z "$ac_c_werror_flag"
54458                          || test ! -s conftest.err'
54459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54460   (eval $ac_try) 2>&5
54461   ac_status=$?
54462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54463   (exit $ac_status); }; } &&
54464          { ac_try='test -s conftest$ac_exeext'
54465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54466   (eval $ac_try) 2>&5
54467   ac_status=$?
54468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54469   (exit $ac_status); }; }; then
54470   eval "$as_ac_var=yes"
54471 else
54472   echo "$as_me: failed program was:" >&5
54473 sed 's/^/| /' conftest.$ac_ext >&5
54474
54475 eval "$as_ac_var=no"
54476 fi
54477 rm -f conftest.err conftest.$ac_objext \
54478       conftest$ac_exeext conftest.$ac_ext
54479 fi
54480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54482 if test `eval echo '${'$as_ac_var'}'` = yes; then
54483   cat >>confdefs.h <<_ACEOF
54484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54485 _ACEOF
54486
54487 fi
54488 done
54489
54490   else
54491
54492   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54493 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54494   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54495     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54496   echo $ECHO_N "(cached) $ECHO_C" >&6
54497 else
54498
54499
54500
54501       ac_ext=cc
54502 ac_cpp='$CXXCPP $CPPFLAGS'
54503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54506
54507       cat >conftest.$ac_ext <<_ACEOF
54508 /* confdefs.h.  */
54509 _ACEOF
54510 cat confdefs.h >>conftest.$ac_ext
54511 cat >>conftest.$ac_ext <<_ACEOF
54512 /* end confdefs.h.  */
54513 #include <math.h>
54514 int
54515 main ()
54516 {
54517  _atan2l(0, 0);
54518   ;
54519   return 0;
54520 }
54521 _ACEOF
54522 rm -f conftest.$ac_objext
54523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54524   (eval $ac_compile) 2>conftest.er1
54525   ac_status=$?
54526   grep -v '^ *+' conftest.er1 >conftest.err
54527   rm -f conftest.er1
54528   cat conftest.err >&5
54529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530   (exit $ac_status); } &&
54531          { ac_try='test -z "$ac_cxx_werror_flag"
54532                          || test ! -s conftest.err'
54533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54534   (eval $ac_try) 2>&5
54535   ac_status=$?
54536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54537   (exit $ac_status); }; } &&
54538          { ac_try='test -s conftest.$ac_objext'
54539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54540   (eval $ac_try) 2>&5
54541   ac_status=$?
54542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54543   (exit $ac_status); }; }; then
54544   glibcxx_cv_func__atan2l_use=yes
54545 else
54546   echo "$as_me: failed program was:" >&5
54547 sed 's/^/| /' conftest.$ac_ext >&5
54548
54549 glibcxx_cv_func__atan2l_use=no
54550 fi
54551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54552       ac_ext=c
54553 ac_cpp='$CPP $CPPFLAGS'
54554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54557
54558
54559 fi
54560
54561   fi
54562   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54563 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54564
54565     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54566
54567 for ac_func in _atan2l
54568 do
54569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54570 echo "$as_me:$LINENO: checking for $ac_func" >&5
54571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54572 if eval "test \"\${$as_ac_var+set}\" = set"; then
54573   echo $ECHO_N "(cached) $ECHO_C" >&6
54574 else
54575   if test x$gcc_no_link = xyes; then
54576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54578    { (exit 1); exit 1; }; }
54579 fi
54580 cat >conftest.$ac_ext <<_ACEOF
54581 /* confdefs.h.  */
54582 _ACEOF
54583 cat confdefs.h >>conftest.$ac_ext
54584 cat >>conftest.$ac_ext <<_ACEOF
54585 /* end confdefs.h.  */
54586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54588 #define $ac_func innocuous_$ac_func
54589
54590 /* System header to define __stub macros and hopefully few prototypes,
54591     which can conflict with char $ac_func (); below.
54592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54593     <limits.h> exists even on freestanding compilers.  */
54594
54595 #ifdef __STDC__
54596 # include <limits.h>
54597 #else
54598 # include <assert.h>
54599 #endif
54600
54601 #undef $ac_func
54602
54603 /* Override any gcc2 internal prototype to avoid an error.  */
54604 #ifdef __cplusplus
54605 extern "C"
54606 {
54607 #endif
54608 /* We use char because int might match the return type of a gcc2
54609    builtin and then its argument prototype would still apply.  */
54610 char $ac_func ();
54611 /* The GNU C library defines this for functions which it implements
54612     to always fail with ENOSYS.  Some functions are actually named
54613     something starting with __ and the normal name is an alias.  */
54614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54615 choke me
54616 #else
54617 char (*f) () = $ac_func;
54618 #endif
54619 #ifdef __cplusplus
54620 }
54621 #endif
54622
54623 int
54624 main ()
54625 {
54626 return f != $ac_func;
54627   ;
54628   return 0;
54629 }
54630 _ACEOF
54631 rm -f conftest.$ac_objext conftest$ac_exeext
54632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54633   (eval $ac_link) 2>conftest.er1
54634   ac_status=$?
54635   grep -v '^ *+' conftest.er1 >conftest.err
54636   rm -f conftest.er1
54637   cat conftest.err >&5
54638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54639   (exit $ac_status); } &&
54640          { ac_try='test -z "$ac_c_werror_flag"
54641                          || test ! -s conftest.err'
54642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54643   (eval $ac_try) 2>&5
54644   ac_status=$?
54645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54646   (exit $ac_status); }; } &&
54647          { ac_try='test -s conftest$ac_exeext'
54648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54649   (eval $ac_try) 2>&5
54650   ac_status=$?
54651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54652   (exit $ac_status); }; }; then
54653   eval "$as_ac_var=yes"
54654 else
54655   echo "$as_me: failed program was:" >&5
54656 sed 's/^/| /' conftest.$ac_ext >&5
54657
54658 eval "$as_ac_var=no"
54659 fi
54660 rm -f conftest.err conftest.$ac_objext \
54661       conftest$ac_exeext conftest.$ac_ext
54662 fi
54663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54665 if test `eval echo '${'$as_ac_var'}'` = yes; then
54666   cat >>confdefs.h <<_ACEOF
54667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54668 _ACEOF
54669
54670 fi
54671 done
54672
54673     fi
54674   fi
54675
54676
54677
54678
54679
54680
54681   echo "$as_me:$LINENO: checking for expl declaration" >&5
54682 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54683   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54684     if test "${glibcxx_cv_func_expl_use+set}" = set; then
54685   echo $ECHO_N "(cached) $ECHO_C" >&6
54686 else
54687
54688
54689
54690       ac_ext=cc
54691 ac_cpp='$CXXCPP $CPPFLAGS'
54692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54695
54696       cat >conftest.$ac_ext <<_ACEOF
54697 /* confdefs.h.  */
54698 _ACEOF
54699 cat confdefs.h >>conftest.$ac_ext
54700 cat >>conftest.$ac_ext <<_ACEOF
54701 /* end confdefs.h.  */
54702 #include <math.h>
54703                       #ifdef HAVE_IEEEFP_H
54704                       #include <ieeefp.h>
54705                       #endif
54706
54707 int
54708 main ()
54709 {
54710  expl(0);
54711   ;
54712   return 0;
54713 }
54714 _ACEOF
54715 rm -f conftest.$ac_objext
54716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54717   (eval $ac_compile) 2>conftest.er1
54718   ac_status=$?
54719   grep -v '^ *+' conftest.er1 >conftest.err
54720   rm -f conftest.er1
54721   cat conftest.err >&5
54722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723   (exit $ac_status); } &&
54724          { ac_try='test -z "$ac_cxx_werror_flag"
54725                          || test ! -s conftest.err'
54726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54727   (eval $ac_try) 2>&5
54728   ac_status=$?
54729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54730   (exit $ac_status); }; } &&
54731          { ac_try='test -s conftest.$ac_objext'
54732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54733   (eval $ac_try) 2>&5
54734   ac_status=$?
54735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54736   (exit $ac_status); }; }; then
54737   glibcxx_cv_func_expl_use=yes
54738 else
54739   echo "$as_me: failed program was:" >&5
54740 sed 's/^/| /' conftest.$ac_ext >&5
54741
54742 glibcxx_cv_func_expl_use=no
54743 fi
54744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54745       ac_ext=c
54746 ac_cpp='$CPP $CPPFLAGS'
54747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54750
54751
54752 fi
54753
54754   fi
54755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54756 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54757
54758   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54759
54760 for ac_func in expl
54761 do
54762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54763 echo "$as_me:$LINENO: checking for $ac_func" >&5
54764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54765 if eval "test \"\${$as_ac_var+set}\" = set"; then
54766   echo $ECHO_N "(cached) $ECHO_C" >&6
54767 else
54768   if test x$gcc_no_link = xyes; then
54769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54771    { (exit 1); exit 1; }; }
54772 fi
54773 cat >conftest.$ac_ext <<_ACEOF
54774 /* confdefs.h.  */
54775 _ACEOF
54776 cat confdefs.h >>conftest.$ac_ext
54777 cat >>conftest.$ac_ext <<_ACEOF
54778 /* end confdefs.h.  */
54779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54781 #define $ac_func innocuous_$ac_func
54782
54783 /* System header to define __stub macros and hopefully few prototypes,
54784     which can conflict with char $ac_func (); below.
54785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54786     <limits.h> exists even on freestanding compilers.  */
54787
54788 #ifdef __STDC__
54789 # include <limits.h>
54790 #else
54791 # include <assert.h>
54792 #endif
54793
54794 #undef $ac_func
54795
54796 /* Override any gcc2 internal prototype to avoid an error.  */
54797 #ifdef __cplusplus
54798 extern "C"
54799 {
54800 #endif
54801 /* We use char because int might match the return type of a gcc2
54802    builtin and then its argument prototype would still apply.  */
54803 char $ac_func ();
54804 /* The GNU C library defines this for functions which it implements
54805     to always fail with ENOSYS.  Some functions are actually named
54806     something starting with __ and the normal name is an alias.  */
54807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54808 choke me
54809 #else
54810 char (*f) () = $ac_func;
54811 #endif
54812 #ifdef __cplusplus
54813 }
54814 #endif
54815
54816 int
54817 main ()
54818 {
54819 return f != $ac_func;
54820   ;
54821   return 0;
54822 }
54823 _ACEOF
54824 rm -f conftest.$ac_objext conftest$ac_exeext
54825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54826   (eval $ac_link) 2>conftest.er1
54827   ac_status=$?
54828   grep -v '^ *+' conftest.er1 >conftest.err
54829   rm -f conftest.er1
54830   cat conftest.err >&5
54831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832   (exit $ac_status); } &&
54833          { ac_try='test -z "$ac_c_werror_flag"
54834                          || test ! -s conftest.err'
54835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54836   (eval $ac_try) 2>&5
54837   ac_status=$?
54838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54839   (exit $ac_status); }; } &&
54840          { ac_try='test -s conftest$ac_exeext'
54841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54842   (eval $ac_try) 2>&5
54843   ac_status=$?
54844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54845   (exit $ac_status); }; }; then
54846   eval "$as_ac_var=yes"
54847 else
54848   echo "$as_me: failed program was:" >&5
54849 sed 's/^/| /' conftest.$ac_ext >&5
54850
54851 eval "$as_ac_var=no"
54852 fi
54853 rm -f conftest.err conftest.$ac_objext \
54854       conftest$ac_exeext conftest.$ac_ext
54855 fi
54856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54858 if test `eval echo '${'$as_ac_var'}'` = yes; then
54859   cat >>confdefs.h <<_ACEOF
54860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54861 _ACEOF
54862
54863 fi
54864 done
54865
54866   else
54867
54868   echo "$as_me:$LINENO: checking for _expl declaration" >&5
54869 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54870   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54871     if test "${glibcxx_cv_func__expl_use+set}" = set; then
54872   echo $ECHO_N "(cached) $ECHO_C" >&6
54873 else
54874
54875
54876
54877       ac_ext=cc
54878 ac_cpp='$CXXCPP $CPPFLAGS'
54879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54882
54883       cat >conftest.$ac_ext <<_ACEOF
54884 /* confdefs.h.  */
54885 _ACEOF
54886 cat confdefs.h >>conftest.$ac_ext
54887 cat >>conftest.$ac_ext <<_ACEOF
54888 /* end confdefs.h.  */
54889 #include <math.h>
54890                       #ifdef HAVE_IEEEFP_H
54891                       #include <ieeefp.h>
54892                       #endif
54893
54894 int
54895 main ()
54896 {
54897  _expl(0);
54898   ;
54899   return 0;
54900 }
54901 _ACEOF
54902 rm -f conftest.$ac_objext
54903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54904   (eval $ac_compile) 2>conftest.er1
54905   ac_status=$?
54906   grep -v '^ *+' conftest.er1 >conftest.err
54907   rm -f conftest.er1
54908   cat conftest.err >&5
54909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54910   (exit $ac_status); } &&
54911          { ac_try='test -z "$ac_cxx_werror_flag"
54912                          || test ! -s conftest.err'
54913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54914   (eval $ac_try) 2>&5
54915   ac_status=$?
54916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917   (exit $ac_status); }; } &&
54918          { ac_try='test -s conftest.$ac_objext'
54919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54920   (eval $ac_try) 2>&5
54921   ac_status=$?
54922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54923   (exit $ac_status); }; }; then
54924   glibcxx_cv_func__expl_use=yes
54925 else
54926   echo "$as_me: failed program was:" >&5
54927 sed 's/^/| /' conftest.$ac_ext >&5
54928
54929 glibcxx_cv_func__expl_use=no
54930 fi
54931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54932       ac_ext=c
54933 ac_cpp='$CPP $CPPFLAGS'
54934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937
54938
54939 fi
54940
54941   fi
54942   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54943 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54944
54945     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54946
54947 for ac_func in _expl
54948 do
54949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54950 echo "$as_me:$LINENO: checking for $ac_func" >&5
54951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54952 if eval "test \"\${$as_ac_var+set}\" = set"; then
54953   echo $ECHO_N "(cached) $ECHO_C" >&6
54954 else
54955   if test x$gcc_no_link = xyes; then
54956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54958    { (exit 1); exit 1; }; }
54959 fi
54960 cat >conftest.$ac_ext <<_ACEOF
54961 /* confdefs.h.  */
54962 _ACEOF
54963 cat confdefs.h >>conftest.$ac_ext
54964 cat >>conftest.$ac_ext <<_ACEOF
54965 /* end confdefs.h.  */
54966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54968 #define $ac_func innocuous_$ac_func
54969
54970 /* System header to define __stub macros and hopefully few prototypes,
54971     which can conflict with char $ac_func (); below.
54972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54973     <limits.h> exists even on freestanding compilers.  */
54974
54975 #ifdef __STDC__
54976 # include <limits.h>
54977 #else
54978 # include <assert.h>
54979 #endif
54980
54981 #undef $ac_func
54982
54983 /* Override any gcc2 internal prototype to avoid an error.  */
54984 #ifdef __cplusplus
54985 extern "C"
54986 {
54987 #endif
54988 /* We use char because int might match the return type of a gcc2
54989    builtin and then its argument prototype would still apply.  */
54990 char $ac_func ();
54991 /* The GNU C library defines this for functions which it implements
54992     to always fail with ENOSYS.  Some functions are actually named
54993     something starting with __ and the normal name is an alias.  */
54994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54995 choke me
54996 #else
54997 char (*f) () = $ac_func;
54998 #endif
54999 #ifdef __cplusplus
55000 }
55001 #endif
55002
55003 int
55004 main ()
55005 {
55006 return f != $ac_func;
55007   ;
55008   return 0;
55009 }
55010 _ACEOF
55011 rm -f conftest.$ac_objext conftest$ac_exeext
55012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55013   (eval $ac_link) 2>conftest.er1
55014   ac_status=$?
55015   grep -v '^ *+' conftest.er1 >conftest.err
55016   rm -f conftest.er1
55017   cat conftest.err >&5
55018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019   (exit $ac_status); } &&
55020          { ac_try='test -z "$ac_c_werror_flag"
55021                          || test ! -s conftest.err'
55022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55023   (eval $ac_try) 2>&5
55024   ac_status=$?
55025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55026   (exit $ac_status); }; } &&
55027          { ac_try='test -s conftest$ac_exeext'
55028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55029   (eval $ac_try) 2>&5
55030   ac_status=$?
55031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55032   (exit $ac_status); }; }; then
55033   eval "$as_ac_var=yes"
55034 else
55035   echo "$as_me: failed program was:" >&5
55036 sed 's/^/| /' conftest.$ac_ext >&5
55037
55038 eval "$as_ac_var=no"
55039 fi
55040 rm -f conftest.err conftest.$ac_objext \
55041       conftest$ac_exeext conftest.$ac_ext
55042 fi
55043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55045 if test `eval echo '${'$as_ac_var'}'` = yes; then
55046   cat >>confdefs.h <<_ACEOF
55047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55048 _ACEOF
55049
55050 fi
55051 done
55052
55053     fi
55054   fi
55055
55056
55057
55058
55059
55060
55061   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55062 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55063   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55064     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55065   echo $ECHO_N "(cached) $ECHO_C" >&6
55066 else
55067
55068
55069
55070       ac_ext=cc
55071 ac_cpp='$CXXCPP $CPPFLAGS'
55072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55075
55076       cat >conftest.$ac_ext <<_ACEOF
55077 /* confdefs.h.  */
55078 _ACEOF
55079 cat confdefs.h >>conftest.$ac_ext
55080 cat >>conftest.$ac_ext <<_ACEOF
55081 /* end confdefs.h.  */
55082 #include <math.h>
55083                       #ifdef HAVE_IEEEFP_H
55084                       #include <ieeefp.h>
55085                       #endif
55086
55087 int
55088 main ()
55089 {
55090  fabsl(0);
55091   ;
55092   return 0;
55093 }
55094 _ACEOF
55095 rm -f conftest.$ac_objext
55096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55097   (eval $ac_compile) 2>conftest.er1
55098   ac_status=$?
55099   grep -v '^ *+' conftest.er1 >conftest.err
55100   rm -f conftest.er1
55101   cat conftest.err >&5
55102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55103   (exit $ac_status); } &&
55104          { ac_try='test -z "$ac_cxx_werror_flag"
55105                          || test ! -s conftest.err'
55106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55107   (eval $ac_try) 2>&5
55108   ac_status=$?
55109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55110   (exit $ac_status); }; } &&
55111          { ac_try='test -s conftest.$ac_objext'
55112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55113   (eval $ac_try) 2>&5
55114   ac_status=$?
55115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55116   (exit $ac_status); }; }; then
55117   glibcxx_cv_func_fabsl_use=yes
55118 else
55119   echo "$as_me: failed program was:" >&5
55120 sed 's/^/| /' conftest.$ac_ext >&5
55121
55122 glibcxx_cv_func_fabsl_use=no
55123 fi
55124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55125       ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55130
55131
55132 fi
55133
55134   fi
55135   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55136 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55137
55138   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55139
55140 for ac_func in fabsl
55141 do
55142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55143 echo "$as_me:$LINENO: checking for $ac_func" >&5
55144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55145 if eval "test \"\${$as_ac_var+set}\" = set"; then
55146   echo $ECHO_N "(cached) $ECHO_C" >&6
55147 else
55148   if test x$gcc_no_link = xyes; then
55149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55151    { (exit 1); exit 1; }; }
55152 fi
55153 cat >conftest.$ac_ext <<_ACEOF
55154 /* confdefs.h.  */
55155 _ACEOF
55156 cat confdefs.h >>conftest.$ac_ext
55157 cat >>conftest.$ac_ext <<_ACEOF
55158 /* end confdefs.h.  */
55159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55161 #define $ac_func innocuous_$ac_func
55162
55163 /* System header to define __stub macros and hopefully few prototypes,
55164     which can conflict with char $ac_func (); below.
55165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55166     <limits.h> exists even on freestanding compilers.  */
55167
55168 #ifdef __STDC__
55169 # include <limits.h>
55170 #else
55171 # include <assert.h>
55172 #endif
55173
55174 #undef $ac_func
55175
55176 /* Override any gcc2 internal prototype to avoid an error.  */
55177 #ifdef __cplusplus
55178 extern "C"
55179 {
55180 #endif
55181 /* We use char because int might match the return type of a gcc2
55182    builtin and then its argument prototype would still apply.  */
55183 char $ac_func ();
55184 /* The GNU C library defines this for functions which it implements
55185     to always fail with ENOSYS.  Some functions are actually named
55186     something starting with __ and the normal name is an alias.  */
55187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55188 choke me
55189 #else
55190 char (*f) () = $ac_func;
55191 #endif
55192 #ifdef __cplusplus
55193 }
55194 #endif
55195
55196 int
55197 main ()
55198 {
55199 return f != $ac_func;
55200   ;
55201   return 0;
55202 }
55203 _ACEOF
55204 rm -f conftest.$ac_objext conftest$ac_exeext
55205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55206   (eval $ac_link) 2>conftest.er1
55207   ac_status=$?
55208   grep -v '^ *+' conftest.er1 >conftest.err
55209   rm -f conftest.er1
55210   cat conftest.err >&5
55211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55212   (exit $ac_status); } &&
55213          { ac_try='test -z "$ac_c_werror_flag"
55214                          || test ! -s conftest.err'
55215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55216   (eval $ac_try) 2>&5
55217   ac_status=$?
55218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219   (exit $ac_status); }; } &&
55220          { ac_try='test -s conftest$ac_exeext'
55221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55222   (eval $ac_try) 2>&5
55223   ac_status=$?
55224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55225   (exit $ac_status); }; }; then
55226   eval "$as_ac_var=yes"
55227 else
55228   echo "$as_me: failed program was:" >&5
55229 sed 's/^/| /' conftest.$ac_ext >&5
55230
55231 eval "$as_ac_var=no"
55232 fi
55233 rm -f conftest.err conftest.$ac_objext \
55234       conftest$ac_exeext conftest.$ac_ext
55235 fi
55236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55238 if test `eval echo '${'$as_ac_var'}'` = yes; then
55239   cat >>confdefs.h <<_ACEOF
55240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55241 _ACEOF
55242
55243 fi
55244 done
55245
55246   else
55247
55248   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
55249 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
55250   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55251     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
55252   echo $ECHO_N "(cached) $ECHO_C" >&6
55253 else
55254
55255
55256
55257       ac_ext=cc
55258 ac_cpp='$CXXCPP $CPPFLAGS'
55259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55262
55263       cat >conftest.$ac_ext <<_ACEOF
55264 /* confdefs.h.  */
55265 _ACEOF
55266 cat confdefs.h >>conftest.$ac_ext
55267 cat >>conftest.$ac_ext <<_ACEOF
55268 /* end confdefs.h.  */
55269 #include <math.h>
55270                       #ifdef HAVE_IEEEFP_H
55271                       #include <ieeefp.h>
55272                       #endif
55273
55274 int
55275 main ()
55276 {
55277  _fabsl(0);
55278   ;
55279   return 0;
55280 }
55281 _ACEOF
55282 rm -f conftest.$ac_objext
55283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55284   (eval $ac_compile) 2>conftest.er1
55285   ac_status=$?
55286   grep -v '^ *+' conftest.er1 >conftest.err
55287   rm -f conftest.er1
55288   cat conftest.err >&5
55289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290   (exit $ac_status); } &&
55291          { ac_try='test -z "$ac_cxx_werror_flag"
55292                          || test ! -s conftest.err'
55293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55294   (eval $ac_try) 2>&5
55295   ac_status=$?
55296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55297   (exit $ac_status); }; } &&
55298          { ac_try='test -s conftest.$ac_objext'
55299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55300   (eval $ac_try) 2>&5
55301   ac_status=$?
55302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55303   (exit $ac_status); }; }; then
55304   glibcxx_cv_func__fabsl_use=yes
55305 else
55306   echo "$as_me: failed program was:" >&5
55307 sed 's/^/| /' conftest.$ac_ext >&5
55308
55309 glibcxx_cv_func__fabsl_use=no
55310 fi
55311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55312       ac_ext=c
55313 ac_cpp='$CPP $CPPFLAGS'
55314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55317
55318
55319 fi
55320
55321   fi
55322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
55323 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
55324
55325     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55326
55327 for ac_func in _fabsl
55328 do
55329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55330 echo "$as_me:$LINENO: checking for $ac_func" >&5
55331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55332 if eval "test \"\${$as_ac_var+set}\" = set"; then
55333   echo $ECHO_N "(cached) $ECHO_C" >&6
55334 else
55335   if test x$gcc_no_link = xyes; then
55336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55338    { (exit 1); exit 1; }; }
55339 fi
55340 cat >conftest.$ac_ext <<_ACEOF
55341 /* confdefs.h.  */
55342 _ACEOF
55343 cat confdefs.h >>conftest.$ac_ext
55344 cat >>conftest.$ac_ext <<_ACEOF
55345 /* end confdefs.h.  */
55346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55348 #define $ac_func innocuous_$ac_func
55349
55350 /* System header to define __stub macros and hopefully few prototypes,
55351     which can conflict with char $ac_func (); below.
55352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55353     <limits.h> exists even on freestanding compilers.  */
55354
55355 #ifdef __STDC__
55356 # include <limits.h>
55357 #else
55358 # include <assert.h>
55359 #endif
55360
55361 #undef $ac_func
55362
55363 /* Override any gcc2 internal prototype to avoid an error.  */
55364 #ifdef __cplusplus
55365 extern "C"
55366 {
55367 #endif
55368 /* We use char because int might match the return type of a gcc2
55369    builtin and then its argument prototype would still apply.  */
55370 char $ac_func ();
55371 /* The GNU C library defines this for functions which it implements
55372     to always fail with ENOSYS.  Some functions are actually named
55373     something starting with __ and the normal name is an alias.  */
55374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55375 choke me
55376 #else
55377 char (*f) () = $ac_func;
55378 #endif
55379 #ifdef __cplusplus
55380 }
55381 #endif
55382
55383 int
55384 main ()
55385 {
55386 return f != $ac_func;
55387   ;
55388   return 0;
55389 }
55390 _ACEOF
55391 rm -f conftest.$ac_objext conftest$ac_exeext
55392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55393   (eval $ac_link) 2>conftest.er1
55394   ac_status=$?
55395   grep -v '^ *+' conftest.er1 >conftest.err
55396   rm -f conftest.er1
55397   cat conftest.err >&5
55398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55399   (exit $ac_status); } &&
55400          { ac_try='test -z "$ac_c_werror_flag"
55401                          || test ! -s conftest.err'
55402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55403   (eval $ac_try) 2>&5
55404   ac_status=$?
55405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55406   (exit $ac_status); }; } &&
55407          { ac_try='test -s conftest$ac_exeext'
55408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55409   (eval $ac_try) 2>&5
55410   ac_status=$?
55411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55412   (exit $ac_status); }; }; then
55413   eval "$as_ac_var=yes"
55414 else
55415   echo "$as_me: failed program was:" >&5
55416 sed 's/^/| /' conftest.$ac_ext >&5
55417
55418 eval "$as_ac_var=no"
55419 fi
55420 rm -f conftest.err conftest.$ac_objext \
55421       conftest$ac_exeext conftest.$ac_ext
55422 fi
55423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55425 if test `eval echo '${'$as_ac_var'}'` = yes; then
55426   cat >>confdefs.h <<_ACEOF
55427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55428 _ACEOF
55429
55430 fi
55431 done
55432
55433     fi
55434   fi
55435
55436
55437
55438
55439
55440
55441   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55442 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55443   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55444     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55445   echo $ECHO_N "(cached) $ECHO_C" >&6
55446 else
55447
55448
55449
55450       ac_ext=cc
55451 ac_cpp='$CXXCPP $CPPFLAGS'
55452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55455
55456       cat >conftest.$ac_ext <<_ACEOF
55457 /* confdefs.h.  */
55458 _ACEOF
55459 cat confdefs.h >>conftest.$ac_ext
55460 cat >>conftest.$ac_ext <<_ACEOF
55461 /* end confdefs.h.  */
55462 #include <math.h>
55463 int
55464 main ()
55465 {
55466  fmodl(0, 0);
55467   ;
55468   return 0;
55469 }
55470 _ACEOF
55471 rm -f conftest.$ac_objext
55472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55473   (eval $ac_compile) 2>conftest.er1
55474   ac_status=$?
55475   grep -v '^ *+' conftest.er1 >conftest.err
55476   rm -f conftest.er1
55477   cat conftest.err >&5
55478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479   (exit $ac_status); } &&
55480          { ac_try='test -z "$ac_cxx_werror_flag"
55481                          || test ! -s conftest.err'
55482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55483   (eval $ac_try) 2>&5
55484   ac_status=$?
55485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55486   (exit $ac_status); }; } &&
55487          { ac_try='test -s conftest.$ac_objext'
55488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55489   (eval $ac_try) 2>&5
55490   ac_status=$?
55491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55492   (exit $ac_status); }; }; then
55493   glibcxx_cv_func_fmodl_use=yes
55494 else
55495   echo "$as_me: failed program was:" >&5
55496 sed 's/^/| /' conftest.$ac_ext >&5
55497
55498 glibcxx_cv_func_fmodl_use=no
55499 fi
55500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55501       ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55506
55507
55508 fi
55509
55510   fi
55511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55512 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55513
55514   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55515
55516 for ac_func in fmodl
55517 do
55518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55519 echo "$as_me:$LINENO: checking for $ac_func" >&5
55520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55521 if eval "test \"\${$as_ac_var+set}\" = set"; then
55522   echo $ECHO_N "(cached) $ECHO_C" >&6
55523 else
55524   if test x$gcc_no_link = xyes; then
55525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55527    { (exit 1); exit 1; }; }
55528 fi
55529 cat >conftest.$ac_ext <<_ACEOF
55530 /* confdefs.h.  */
55531 _ACEOF
55532 cat confdefs.h >>conftest.$ac_ext
55533 cat >>conftest.$ac_ext <<_ACEOF
55534 /* end confdefs.h.  */
55535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55537 #define $ac_func innocuous_$ac_func
55538
55539 /* System header to define __stub macros and hopefully few prototypes,
55540     which can conflict with char $ac_func (); below.
55541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55542     <limits.h> exists even on freestanding compilers.  */
55543
55544 #ifdef __STDC__
55545 # include <limits.h>
55546 #else
55547 # include <assert.h>
55548 #endif
55549
55550 #undef $ac_func
55551
55552 /* Override any gcc2 internal prototype to avoid an error.  */
55553 #ifdef __cplusplus
55554 extern "C"
55555 {
55556 #endif
55557 /* We use char because int might match the return type of a gcc2
55558    builtin and then its argument prototype would still apply.  */
55559 char $ac_func ();
55560 /* The GNU C library defines this for functions which it implements
55561     to always fail with ENOSYS.  Some functions are actually named
55562     something starting with __ and the normal name is an alias.  */
55563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55564 choke me
55565 #else
55566 char (*f) () = $ac_func;
55567 #endif
55568 #ifdef __cplusplus
55569 }
55570 #endif
55571
55572 int
55573 main ()
55574 {
55575 return f != $ac_func;
55576   ;
55577   return 0;
55578 }
55579 _ACEOF
55580 rm -f conftest.$ac_objext conftest$ac_exeext
55581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55582   (eval $ac_link) 2>conftest.er1
55583   ac_status=$?
55584   grep -v '^ *+' conftest.er1 >conftest.err
55585   rm -f conftest.er1
55586   cat conftest.err >&5
55587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55588   (exit $ac_status); } &&
55589          { ac_try='test -z "$ac_c_werror_flag"
55590                          || test ! -s conftest.err'
55591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55592   (eval $ac_try) 2>&5
55593   ac_status=$?
55594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55595   (exit $ac_status); }; } &&
55596          { ac_try='test -s conftest$ac_exeext'
55597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55598   (eval $ac_try) 2>&5
55599   ac_status=$?
55600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55601   (exit $ac_status); }; }; then
55602   eval "$as_ac_var=yes"
55603 else
55604   echo "$as_me: failed program was:" >&5
55605 sed 's/^/| /' conftest.$ac_ext >&5
55606
55607 eval "$as_ac_var=no"
55608 fi
55609 rm -f conftest.err conftest.$ac_objext \
55610       conftest$ac_exeext conftest.$ac_ext
55611 fi
55612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55614 if test `eval echo '${'$as_ac_var'}'` = yes; then
55615   cat >>confdefs.h <<_ACEOF
55616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55617 _ACEOF
55618
55619 fi
55620 done
55621
55622   else
55623
55624   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55625 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55626   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55627     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55628   echo $ECHO_N "(cached) $ECHO_C" >&6
55629 else
55630
55631
55632
55633       ac_ext=cc
55634 ac_cpp='$CXXCPP $CPPFLAGS'
55635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55638
55639       cat >conftest.$ac_ext <<_ACEOF
55640 /* confdefs.h.  */
55641 _ACEOF
55642 cat confdefs.h >>conftest.$ac_ext
55643 cat >>conftest.$ac_ext <<_ACEOF
55644 /* end confdefs.h.  */
55645 #include <math.h>
55646 int
55647 main ()
55648 {
55649  _fmodl(0, 0);
55650   ;
55651   return 0;
55652 }
55653 _ACEOF
55654 rm -f conftest.$ac_objext
55655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55656   (eval $ac_compile) 2>conftest.er1
55657   ac_status=$?
55658   grep -v '^ *+' conftest.er1 >conftest.err
55659   rm -f conftest.er1
55660   cat conftest.err >&5
55661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55662   (exit $ac_status); } &&
55663          { ac_try='test -z "$ac_cxx_werror_flag"
55664                          || test ! -s conftest.err'
55665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55666   (eval $ac_try) 2>&5
55667   ac_status=$?
55668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55669   (exit $ac_status); }; } &&
55670          { ac_try='test -s conftest.$ac_objext'
55671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55672   (eval $ac_try) 2>&5
55673   ac_status=$?
55674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55675   (exit $ac_status); }; }; then
55676   glibcxx_cv_func__fmodl_use=yes
55677 else
55678   echo "$as_me: failed program was:" >&5
55679 sed 's/^/| /' conftest.$ac_ext >&5
55680
55681 glibcxx_cv_func__fmodl_use=no
55682 fi
55683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55684       ac_ext=c
55685 ac_cpp='$CPP $CPPFLAGS'
55686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55689
55690
55691 fi
55692
55693   fi
55694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55695 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55696
55697     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55698
55699 for ac_func in _fmodl
55700 do
55701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55702 echo "$as_me:$LINENO: checking for $ac_func" >&5
55703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55704 if eval "test \"\${$as_ac_var+set}\" = set"; then
55705   echo $ECHO_N "(cached) $ECHO_C" >&6
55706 else
55707   if test x$gcc_no_link = xyes; then
55708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55710    { (exit 1); exit 1; }; }
55711 fi
55712 cat >conftest.$ac_ext <<_ACEOF
55713 /* confdefs.h.  */
55714 _ACEOF
55715 cat confdefs.h >>conftest.$ac_ext
55716 cat >>conftest.$ac_ext <<_ACEOF
55717 /* end confdefs.h.  */
55718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55720 #define $ac_func innocuous_$ac_func
55721
55722 /* System header to define __stub macros and hopefully few prototypes,
55723     which can conflict with char $ac_func (); below.
55724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55725     <limits.h> exists even on freestanding compilers.  */
55726
55727 #ifdef __STDC__
55728 # include <limits.h>
55729 #else
55730 # include <assert.h>
55731 #endif
55732
55733 #undef $ac_func
55734
55735 /* Override any gcc2 internal prototype to avoid an error.  */
55736 #ifdef __cplusplus
55737 extern "C"
55738 {
55739 #endif
55740 /* We use char because int might match the return type of a gcc2
55741    builtin and then its argument prototype would still apply.  */
55742 char $ac_func ();
55743 /* The GNU C library defines this for functions which it implements
55744     to always fail with ENOSYS.  Some functions are actually named
55745     something starting with __ and the normal name is an alias.  */
55746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55747 choke me
55748 #else
55749 char (*f) () = $ac_func;
55750 #endif
55751 #ifdef __cplusplus
55752 }
55753 #endif
55754
55755 int
55756 main ()
55757 {
55758 return f != $ac_func;
55759   ;
55760   return 0;
55761 }
55762 _ACEOF
55763 rm -f conftest.$ac_objext conftest$ac_exeext
55764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55765   (eval $ac_link) 2>conftest.er1
55766   ac_status=$?
55767   grep -v '^ *+' conftest.er1 >conftest.err
55768   rm -f conftest.er1
55769   cat conftest.err >&5
55770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55771   (exit $ac_status); } &&
55772          { ac_try='test -z "$ac_c_werror_flag"
55773                          || test ! -s conftest.err'
55774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55775   (eval $ac_try) 2>&5
55776   ac_status=$?
55777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55778   (exit $ac_status); }; } &&
55779          { ac_try='test -s conftest$ac_exeext'
55780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55781   (eval $ac_try) 2>&5
55782   ac_status=$?
55783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55784   (exit $ac_status); }; }; then
55785   eval "$as_ac_var=yes"
55786 else
55787   echo "$as_me: failed program was:" >&5
55788 sed 's/^/| /' conftest.$ac_ext >&5
55789
55790 eval "$as_ac_var=no"
55791 fi
55792 rm -f conftest.err conftest.$ac_objext \
55793       conftest$ac_exeext conftest.$ac_ext
55794 fi
55795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55797 if test `eval echo '${'$as_ac_var'}'` = yes; then
55798   cat >>confdefs.h <<_ACEOF
55799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55800 _ACEOF
55801
55802 fi
55803 done
55804
55805     fi
55806   fi
55807
55808
55809
55810
55811
55812
55813   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55814 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55815   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55816     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55817   echo $ECHO_N "(cached) $ECHO_C" >&6
55818 else
55819
55820
55821
55822       ac_ext=cc
55823 ac_cpp='$CXXCPP $CPPFLAGS'
55824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55827
55828       cat >conftest.$ac_ext <<_ACEOF
55829 /* confdefs.h.  */
55830 _ACEOF
55831 cat confdefs.h >>conftest.$ac_ext
55832 cat >>conftest.$ac_ext <<_ACEOF
55833 /* end confdefs.h.  */
55834 #include <math.h>
55835 int
55836 main ()
55837 {
55838  frexpl(0, 0);
55839   ;
55840   return 0;
55841 }
55842 _ACEOF
55843 rm -f conftest.$ac_objext
55844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55845   (eval $ac_compile) 2>conftest.er1
55846   ac_status=$?
55847   grep -v '^ *+' conftest.er1 >conftest.err
55848   rm -f conftest.er1
55849   cat conftest.err >&5
55850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851   (exit $ac_status); } &&
55852          { ac_try='test -z "$ac_cxx_werror_flag"
55853                          || test ! -s conftest.err'
55854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55855   (eval $ac_try) 2>&5
55856   ac_status=$?
55857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55858   (exit $ac_status); }; } &&
55859          { ac_try='test -s conftest.$ac_objext'
55860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55861   (eval $ac_try) 2>&5
55862   ac_status=$?
55863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55864   (exit $ac_status); }; }; then
55865   glibcxx_cv_func_frexpl_use=yes
55866 else
55867   echo "$as_me: failed program was:" >&5
55868 sed 's/^/| /' conftest.$ac_ext >&5
55869
55870 glibcxx_cv_func_frexpl_use=no
55871 fi
55872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55873       ac_ext=c
55874 ac_cpp='$CPP $CPPFLAGS'
55875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55878
55879
55880 fi
55881
55882   fi
55883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55884 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55885
55886   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55887
55888 for ac_func in frexpl
55889 do
55890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55891 echo "$as_me:$LINENO: checking for $ac_func" >&5
55892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55893 if eval "test \"\${$as_ac_var+set}\" = set"; then
55894   echo $ECHO_N "(cached) $ECHO_C" >&6
55895 else
55896   if test x$gcc_no_link = xyes; then
55897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55899    { (exit 1); exit 1; }; }
55900 fi
55901 cat >conftest.$ac_ext <<_ACEOF
55902 /* confdefs.h.  */
55903 _ACEOF
55904 cat confdefs.h >>conftest.$ac_ext
55905 cat >>conftest.$ac_ext <<_ACEOF
55906 /* end confdefs.h.  */
55907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55909 #define $ac_func innocuous_$ac_func
55910
55911 /* System header to define __stub macros and hopefully few prototypes,
55912     which can conflict with char $ac_func (); below.
55913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55914     <limits.h> exists even on freestanding compilers.  */
55915
55916 #ifdef __STDC__
55917 # include <limits.h>
55918 #else
55919 # include <assert.h>
55920 #endif
55921
55922 #undef $ac_func
55923
55924 /* Override any gcc2 internal prototype to avoid an error.  */
55925 #ifdef __cplusplus
55926 extern "C"
55927 {
55928 #endif
55929 /* We use char because int might match the return type of a gcc2
55930    builtin and then its argument prototype would still apply.  */
55931 char $ac_func ();
55932 /* The GNU C library defines this for functions which it implements
55933     to always fail with ENOSYS.  Some functions are actually named
55934     something starting with __ and the normal name is an alias.  */
55935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55936 choke me
55937 #else
55938 char (*f) () = $ac_func;
55939 #endif
55940 #ifdef __cplusplus
55941 }
55942 #endif
55943
55944 int
55945 main ()
55946 {
55947 return f != $ac_func;
55948   ;
55949   return 0;
55950 }
55951 _ACEOF
55952 rm -f conftest.$ac_objext conftest$ac_exeext
55953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55954   (eval $ac_link) 2>conftest.er1
55955   ac_status=$?
55956   grep -v '^ *+' conftest.er1 >conftest.err
55957   rm -f conftest.er1
55958   cat conftest.err >&5
55959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55960   (exit $ac_status); } &&
55961          { ac_try='test -z "$ac_c_werror_flag"
55962                          || test ! -s conftest.err'
55963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55964   (eval $ac_try) 2>&5
55965   ac_status=$?
55966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55967   (exit $ac_status); }; } &&
55968          { ac_try='test -s conftest$ac_exeext'
55969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55970   (eval $ac_try) 2>&5
55971   ac_status=$?
55972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55973   (exit $ac_status); }; }; then
55974   eval "$as_ac_var=yes"
55975 else
55976   echo "$as_me: failed program was:" >&5
55977 sed 's/^/| /' conftest.$ac_ext >&5
55978
55979 eval "$as_ac_var=no"
55980 fi
55981 rm -f conftest.err conftest.$ac_objext \
55982       conftest$ac_exeext conftest.$ac_ext
55983 fi
55984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55986 if test `eval echo '${'$as_ac_var'}'` = yes; then
55987   cat >>confdefs.h <<_ACEOF
55988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55989 _ACEOF
55990
55991 fi
55992 done
55993
55994   else
55995
55996   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55997 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55998   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55999     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56000   echo $ECHO_N "(cached) $ECHO_C" >&6
56001 else
56002
56003
56004
56005       ac_ext=cc
56006 ac_cpp='$CXXCPP $CPPFLAGS'
56007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56010
56011       cat >conftest.$ac_ext <<_ACEOF
56012 /* confdefs.h.  */
56013 _ACEOF
56014 cat confdefs.h >>conftest.$ac_ext
56015 cat >>conftest.$ac_ext <<_ACEOF
56016 /* end confdefs.h.  */
56017 #include <math.h>
56018 int
56019 main ()
56020 {
56021  _frexpl(0, 0);
56022   ;
56023   return 0;
56024 }
56025 _ACEOF
56026 rm -f conftest.$ac_objext
56027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56028   (eval $ac_compile) 2>conftest.er1
56029   ac_status=$?
56030   grep -v '^ *+' conftest.er1 >conftest.err
56031   rm -f conftest.er1
56032   cat conftest.err >&5
56033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034   (exit $ac_status); } &&
56035          { ac_try='test -z "$ac_cxx_werror_flag"
56036                          || test ! -s conftest.err'
56037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56038   (eval $ac_try) 2>&5
56039   ac_status=$?
56040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56041   (exit $ac_status); }; } &&
56042          { ac_try='test -s conftest.$ac_objext'
56043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044   (eval $ac_try) 2>&5
56045   ac_status=$?
56046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047   (exit $ac_status); }; }; then
56048   glibcxx_cv_func__frexpl_use=yes
56049 else
56050   echo "$as_me: failed program was:" >&5
56051 sed 's/^/| /' conftest.$ac_ext >&5
56052
56053 glibcxx_cv_func__frexpl_use=no
56054 fi
56055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56056       ac_ext=c
56057 ac_cpp='$CPP $CPPFLAGS'
56058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56061
56062
56063 fi
56064
56065   fi
56066   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56067 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56068
56069     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56070
56071 for ac_func in _frexpl
56072 do
56073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56074 echo "$as_me:$LINENO: checking for $ac_func" >&5
56075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56076 if eval "test \"\${$as_ac_var+set}\" = set"; then
56077   echo $ECHO_N "(cached) $ECHO_C" >&6
56078 else
56079   if test x$gcc_no_link = xyes; then
56080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56082    { (exit 1); exit 1; }; }
56083 fi
56084 cat >conftest.$ac_ext <<_ACEOF
56085 /* confdefs.h.  */
56086 _ACEOF
56087 cat confdefs.h >>conftest.$ac_ext
56088 cat >>conftest.$ac_ext <<_ACEOF
56089 /* end confdefs.h.  */
56090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56092 #define $ac_func innocuous_$ac_func
56093
56094 /* System header to define __stub macros and hopefully few prototypes,
56095     which can conflict with char $ac_func (); below.
56096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56097     <limits.h> exists even on freestanding compilers.  */
56098
56099 #ifdef __STDC__
56100 # include <limits.h>
56101 #else
56102 # include <assert.h>
56103 #endif
56104
56105 #undef $ac_func
56106
56107 /* Override any gcc2 internal prototype to avoid an error.  */
56108 #ifdef __cplusplus
56109 extern "C"
56110 {
56111 #endif
56112 /* We use char because int might match the return type of a gcc2
56113    builtin and then its argument prototype would still apply.  */
56114 char $ac_func ();
56115 /* The GNU C library defines this for functions which it implements
56116     to always fail with ENOSYS.  Some functions are actually named
56117     something starting with __ and the normal name is an alias.  */
56118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56119 choke me
56120 #else
56121 char (*f) () = $ac_func;
56122 #endif
56123 #ifdef __cplusplus
56124 }
56125 #endif
56126
56127 int
56128 main ()
56129 {
56130 return f != $ac_func;
56131   ;
56132   return 0;
56133 }
56134 _ACEOF
56135 rm -f conftest.$ac_objext conftest$ac_exeext
56136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56137   (eval $ac_link) 2>conftest.er1
56138   ac_status=$?
56139   grep -v '^ *+' conftest.er1 >conftest.err
56140   rm -f conftest.er1
56141   cat conftest.err >&5
56142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56143   (exit $ac_status); } &&
56144          { ac_try='test -z "$ac_c_werror_flag"
56145                          || test ! -s conftest.err'
56146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56147   (eval $ac_try) 2>&5
56148   ac_status=$?
56149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56150   (exit $ac_status); }; } &&
56151          { ac_try='test -s conftest$ac_exeext'
56152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56153   (eval $ac_try) 2>&5
56154   ac_status=$?
56155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56156   (exit $ac_status); }; }; then
56157   eval "$as_ac_var=yes"
56158 else
56159   echo "$as_me: failed program was:" >&5
56160 sed 's/^/| /' conftest.$ac_ext >&5
56161
56162 eval "$as_ac_var=no"
56163 fi
56164 rm -f conftest.err conftest.$ac_objext \
56165       conftest$ac_exeext conftest.$ac_ext
56166 fi
56167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56169 if test `eval echo '${'$as_ac_var'}'` = yes; then
56170   cat >>confdefs.h <<_ACEOF
56171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56172 _ACEOF
56173
56174 fi
56175 done
56176
56177     fi
56178   fi
56179
56180
56181
56182
56183
56184
56185   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
56186 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
56187   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56188     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
56189   echo $ECHO_N "(cached) $ECHO_C" >&6
56190 else
56191
56192
56193
56194       ac_ext=cc
56195 ac_cpp='$CXXCPP $CPPFLAGS'
56196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56199
56200       cat >conftest.$ac_ext <<_ACEOF
56201 /* confdefs.h.  */
56202 _ACEOF
56203 cat confdefs.h >>conftest.$ac_ext
56204 cat >>conftest.$ac_ext <<_ACEOF
56205 /* end confdefs.h.  */
56206 #include <math.h>
56207 int
56208 main ()
56209 {
56210  hypotl(0, 0);
56211   ;
56212   return 0;
56213 }
56214 _ACEOF
56215 rm -f conftest.$ac_objext
56216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56217   (eval $ac_compile) 2>conftest.er1
56218   ac_status=$?
56219   grep -v '^ *+' conftest.er1 >conftest.err
56220   rm -f conftest.er1
56221   cat conftest.err >&5
56222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56223   (exit $ac_status); } &&
56224          { ac_try='test -z "$ac_cxx_werror_flag"
56225                          || test ! -s conftest.err'
56226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56227   (eval $ac_try) 2>&5
56228   ac_status=$?
56229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56230   (exit $ac_status); }; } &&
56231          { ac_try='test -s conftest.$ac_objext'
56232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56233   (eval $ac_try) 2>&5
56234   ac_status=$?
56235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56236   (exit $ac_status); }; }; then
56237   glibcxx_cv_func_hypotl_use=yes
56238 else
56239   echo "$as_me: failed program was:" >&5
56240 sed 's/^/| /' conftest.$ac_ext >&5
56241
56242 glibcxx_cv_func_hypotl_use=no
56243 fi
56244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56245       ac_ext=c
56246 ac_cpp='$CPP $CPPFLAGS'
56247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56250
56251
56252 fi
56253
56254   fi
56255   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
56256 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
56257
56258   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56259
56260 for ac_func in hypotl
56261 do
56262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56263 echo "$as_me:$LINENO: checking for $ac_func" >&5
56264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56265 if eval "test \"\${$as_ac_var+set}\" = set"; then
56266   echo $ECHO_N "(cached) $ECHO_C" >&6
56267 else
56268   if test x$gcc_no_link = xyes; then
56269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56271    { (exit 1); exit 1; }; }
56272 fi
56273 cat >conftest.$ac_ext <<_ACEOF
56274 /* confdefs.h.  */
56275 _ACEOF
56276 cat confdefs.h >>conftest.$ac_ext
56277 cat >>conftest.$ac_ext <<_ACEOF
56278 /* end confdefs.h.  */
56279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56281 #define $ac_func innocuous_$ac_func
56282
56283 /* System header to define __stub macros and hopefully few prototypes,
56284     which can conflict with char $ac_func (); below.
56285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56286     <limits.h> exists even on freestanding compilers.  */
56287
56288 #ifdef __STDC__
56289 # include <limits.h>
56290 #else
56291 # include <assert.h>
56292 #endif
56293
56294 #undef $ac_func
56295
56296 /* Override any gcc2 internal prototype to avoid an error.  */
56297 #ifdef __cplusplus
56298 extern "C"
56299 {
56300 #endif
56301 /* We use char because int might match the return type of a gcc2
56302    builtin and then its argument prototype would still apply.  */
56303 char $ac_func ();
56304 /* The GNU C library defines this for functions which it implements
56305     to always fail with ENOSYS.  Some functions are actually named
56306     something starting with __ and the normal name is an alias.  */
56307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56308 choke me
56309 #else
56310 char (*f) () = $ac_func;
56311 #endif
56312 #ifdef __cplusplus
56313 }
56314 #endif
56315
56316 int
56317 main ()
56318 {
56319 return f != $ac_func;
56320   ;
56321   return 0;
56322 }
56323 _ACEOF
56324 rm -f conftest.$ac_objext conftest$ac_exeext
56325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56326   (eval $ac_link) 2>conftest.er1
56327   ac_status=$?
56328   grep -v '^ *+' conftest.er1 >conftest.err
56329   rm -f conftest.er1
56330   cat conftest.err >&5
56331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56332   (exit $ac_status); } &&
56333          { ac_try='test -z "$ac_c_werror_flag"
56334                          || test ! -s conftest.err'
56335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56336   (eval $ac_try) 2>&5
56337   ac_status=$?
56338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56339   (exit $ac_status); }; } &&
56340          { ac_try='test -s conftest$ac_exeext'
56341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56342   (eval $ac_try) 2>&5
56343   ac_status=$?
56344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56345   (exit $ac_status); }; }; then
56346   eval "$as_ac_var=yes"
56347 else
56348   echo "$as_me: failed program was:" >&5
56349 sed 's/^/| /' conftest.$ac_ext >&5
56350
56351 eval "$as_ac_var=no"
56352 fi
56353 rm -f conftest.err conftest.$ac_objext \
56354       conftest$ac_exeext conftest.$ac_ext
56355 fi
56356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56358 if test `eval echo '${'$as_ac_var'}'` = yes; then
56359   cat >>confdefs.h <<_ACEOF
56360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56361 _ACEOF
56362
56363 fi
56364 done
56365
56366   else
56367
56368   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
56369 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
56370   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56371     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
56372   echo $ECHO_N "(cached) $ECHO_C" >&6
56373 else
56374
56375
56376
56377       ac_ext=cc
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56382
56383       cat >conftest.$ac_ext <<_ACEOF
56384 /* confdefs.h.  */
56385 _ACEOF
56386 cat confdefs.h >>conftest.$ac_ext
56387 cat >>conftest.$ac_ext <<_ACEOF
56388 /* end confdefs.h.  */
56389 #include <math.h>
56390 int
56391 main ()
56392 {
56393  _hypotl(0, 0);
56394   ;
56395   return 0;
56396 }
56397 _ACEOF
56398 rm -f conftest.$ac_objext
56399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56400   (eval $ac_compile) 2>conftest.er1
56401   ac_status=$?
56402   grep -v '^ *+' conftest.er1 >conftest.err
56403   rm -f conftest.er1
56404   cat conftest.err >&5
56405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406   (exit $ac_status); } &&
56407          { ac_try='test -z "$ac_cxx_werror_flag"
56408                          || test ! -s conftest.err'
56409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56410   (eval $ac_try) 2>&5
56411   ac_status=$?
56412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56413   (exit $ac_status); }; } &&
56414          { ac_try='test -s conftest.$ac_objext'
56415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56416   (eval $ac_try) 2>&5
56417   ac_status=$?
56418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419   (exit $ac_status); }; }; then
56420   glibcxx_cv_func__hypotl_use=yes
56421 else
56422   echo "$as_me: failed program was:" >&5
56423 sed 's/^/| /' conftest.$ac_ext >&5
56424
56425 glibcxx_cv_func__hypotl_use=no
56426 fi
56427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56428       ac_ext=c
56429 ac_cpp='$CPP $CPPFLAGS'
56430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56433
56434
56435 fi
56436
56437   fi
56438   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56439 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56440
56441     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56442
56443 for ac_func in _hypotl
56444 do
56445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56446 echo "$as_me:$LINENO: checking for $ac_func" >&5
56447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56448 if eval "test \"\${$as_ac_var+set}\" = set"; then
56449   echo $ECHO_N "(cached) $ECHO_C" >&6
56450 else
56451   if test x$gcc_no_link = xyes; then
56452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56454    { (exit 1); exit 1; }; }
56455 fi
56456 cat >conftest.$ac_ext <<_ACEOF
56457 /* confdefs.h.  */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h.  */
56462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56464 #define $ac_func innocuous_$ac_func
56465
56466 /* System header to define __stub macros and hopefully few prototypes,
56467     which can conflict with char $ac_func (); below.
56468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56469     <limits.h> exists even on freestanding compilers.  */
56470
56471 #ifdef __STDC__
56472 # include <limits.h>
56473 #else
56474 # include <assert.h>
56475 #endif
56476
56477 #undef $ac_func
56478
56479 /* Override any gcc2 internal prototype to avoid an error.  */
56480 #ifdef __cplusplus
56481 extern "C"
56482 {
56483 #endif
56484 /* We use char because int might match the return type of a gcc2
56485    builtin and then its argument prototype would still apply.  */
56486 char $ac_func ();
56487 /* The GNU C library defines this for functions which it implements
56488     to always fail with ENOSYS.  Some functions are actually named
56489     something starting with __ and the normal name is an alias.  */
56490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56491 choke me
56492 #else
56493 char (*f) () = $ac_func;
56494 #endif
56495 #ifdef __cplusplus
56496 }
56497 #endif
56498
56499 int
56500 main ()
56501 {
56502 return f != $ac_func;
56503   ;
56504   return 0;
56505 }
56506 _ACEOF
56507 rm -f conftest.$ac_objext conftest$ac_exeext
56508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56509   (eval $ac_link) 2>conftest.er1
56510   ac_status=$?
56511   grep -v '^ *+' conftest.er1 >conftest.err
56512   rm -f conftest.er1
56513   cat conftest.err >&5
56514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515   (exit $ac_status); } &&
56516          { ac_try='test -z "$ac_c_werror_flag"
56517                          || test ! -s conftest.err'
56518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519   (eval $ac_try) 2>&5
56520   ac_status=$?
56521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522   (exit $ac_status); }; } &&
56523          { ac_try='test -s conftest$ac_exeext'
56524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525   (eval $ac_try) 2>&5
56526   ac_status=$?
56527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528   (exit $ac_status); }; }; then
56529   eval "$as_ac_var=yes"
56530 else
56531   echo "$as_me: failed program was:" >&5
56532 sed 's/^/| /' conftest.$ac_ext >&5
56533
56534 eval "$as_ac_var=no"
56535 fi
56536 rm -f conftest.err conftest.$ac_objext \
56537       conftest$ac_exeext conftest.$ac_ext
56538 fi
56539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56541 if test `eval echo '${'$as_ac_var'}'` = yes; then
56542   cat >>confdefs.h <<_ACEOF
56543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56544 _ACEOF
56545
56546 fi
56547 done
56548
56549     fi
56550   fi
56551
56552
56553
56554
56555
56556
56557   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56558 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56559   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56560     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56561   echo $ECHO_N "(cached) $ECHO_C" >&6
56562 else
56563
56564
56565
56566       ac_ext=cc
56567 ac_cpp='$CXXCPP $CPPFLAGS'
56568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56571
56572       cat >conftest.$ac_ext <<_ACEOF
56573 /* confdefs.h.  */
56574 _ACEOF
56575 cat confdefs.h >>conftest.$ac_ext
56576 cat >>conftest.$ac_ext <<_ACEOF
56577 /* end confdefs.h.  */
56578 #include <math.h>
56579 int
56580 main ()
56581 {
56582  ldexpl(0, 0);
56583   ;
56584   return 0;
56585 }
56586 _ACEOF
56587 rm -f conftest.$ac_objext
56588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56589   (eval $ac_compile) 2>conftest.er1
56590   ac_status=$?
56591   grep -v '^ *+' conftest.er1 >conftest.err
56592   rm -f conftest.er1
56593   cat conftest.err >&5
56594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56595   (exit $ac_status); } &&
56596          { ac_try='test -z "$ac_cxx_werror_flag"
56597                          || test ! -s conftest.err'
56598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56599   (eval $ac_try) 2>&5
56600   ac_status=$?
56601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602   (exit $ac_status); }; } &&
56603          { ac_try='test -s conftest.$ac_objext'
56604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56605   (eval $ac_try) 2>&5
56606   ac_status=$?
56607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56608   (exit $ac_status); }; }; then
56609   glibcxx_cv_func_ldexpl_use=yes
56610 else
56611   echo "$as_me: failed program was:" >&5
56612 sed 's/^/| /' conftest.$ac_ext >&5
56613
56614 glibcxx_cv_func_ldexpl_use=no
56615 fi
56616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56617       ac_ext=c
56618 ac_cpp='$CPP $CPPFLAGS'
56619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56622
56623
56624 fi
56625
56626   fi
56627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56628 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56629
56630   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56631
56632 for ac_func in ldexpl
56633 do
56634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56635 echo "$as_me:$LINENO: checking for $ac_func" >&5
56636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56637 if eval "test \"\${$as_ac_var+set}\" = set"; then
56638   echo $ECHO_N "(cached) $ECHO_C" >&6
56639 else
56640   if test x$gcc_no_link = xyes; then
56641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56643    { (exit 1); exit 1; }; }
56644 fi
56645 cat >conftest.$ac_ext <<_ACEOF
56646 /* confdefs.h.  */
56647 _ACEOF
56648 cat confdefs.h >>conftest.$ac_ext
56649 cat >>conftest.$ac_ext <<_ACEOF
56650 /* end confdefs.h.  */
56651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56653 #define $ac_func innocuous_$ac_func
56654
56655 /* System header to define __stub macros and hopefully few prototypes,
56656     which can conflict with char $ac_func (); below.
56657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56658     <limits.h> exists even on freestanding compilers.  */
56659
56660 #ifdef __STDC__
56661 # include <limits.h>
56662 #else
56663 # include <assert.h>
56664 #endif
56665
56666 #undef $ac_func
56667
56668 /* Override any gcc2 internal prototype to avoid an error.  */
56669 #ifdef __cplusplus
56670 extern "C"
56671 {
56672 #endif
56673 /* We use char because int might match the return type of a gcc2
56674    builtin and then its argument prototype would still apply.  */
56675 char $ac_func ();
56676 /* The GNU C library defines this for functions which it implements
56677     to always fail with ENOSYS.  Some functions are actually named
56678     something starting with __ and the normal name is an alias.  */
56679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56680 choke me
56681 #else
56682 char (*f) () = $ac_func;
56683 #endif
56684 #ifdef __cplusplus
56685 }
56686 #endif
56687
56688 int
56689 main ()
56690 {
56691 return f != $ac_func;
56692   ;
56693   return 0;
56694 }
56695 _ACEOF
56696 rm -f conftest.$ac_objext conftest$ac_exeext
56697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56698   (eval $ac_link) 2>conftest.er1
56699   ac_status=$?
56700   grep -v '^ *+' conftest.er1 >conftest.err
56701   rm -f conftest.er1
56702   cat conftest.err >&5
56703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56704   (exit $ac_status); } &&
56705          { ac_try='test -z "$ac_c_werror_flag"
56706                          || test ! -s conftest.err'
56707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56708   (eval $ac_try) 2>&5
56709   ac_status=$?
56710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711   (exit $ac_status); }; } &&
56712          { ac_try='test -s conftest$ac_exeext'
56713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714   (eval $ac_try) 2>&5
56715   ac_status=$?
56716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717   (exit $ac_status); }; }; then
56718   eval "$as_ac_var=yes"
56719 else
56720   echo "$as_me: failed program was:" >&5
56721 sed 's/^/| /' conftest.$ac_ext >&5
56722
56723 eval "$as_ac_var=no"
56724 fi
56725 rm -f conftest.err conftest.$ac_objext \
56726       conftest$ac_exeext conftest.$ac_ext
56727 fi
56728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56730 if test `eval echo '${'$as_ac_var'}'` = yes; then
56731   cat >>confdefs.h <<_ACEOF
56732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56733 _ACEOF
56734
56735 fi
56736 done
56737
56738   else
56739
56740   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56741 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56742   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56743     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56744   echo $ECHO_N "(cached) $ECHO_C" >&6
56745 else
56746
56747
56748
56749       ac_ext=cc
56750 ac_cpp='$CXXCPP $CPPFLAGS'
56751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56754
56755       cat >conftest.$ac_ext <<_ACEOF
56756 /* confdefs.h.  */
56757 _ACEOF
56758 cat confdefs.h >>conftest.$ac_ext
56759 cat >>conftest.$ac_ext <<_ACEOF
56760 /* end confdefs.h.  */
56761 #include <math.h>
56762 int
56763 main ()
56764 {
56765  _ldexpl(0, 0);
56766   ;
56767   return 0;
56768 }
56769 _ACEOF
56770 rm -f conftest.$ac_objext
56771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56772   (eval $ac_compile) 2>conftest.er1
56773   ac_status=$?
56774   grep -v '^ *+' conftest.er1 >conftest.err
56775   rm -f conftest.er1
56776   cat conftest.err >&5
56777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56778   (exit $ac_status); } &&
56779          { ac_try='test -z "$ac_cxx_werror_flag"
56780                          || test ! -s conftest.err'
56781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56782   (eval $ac_try) 2>&5
56783   ac_status=$?
56784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56785   (exit $ac_status); }; } &&
56786          { ac_try='test -s conftest.$ac_objext'
56787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56788   (eval $ac_try) 2>&5
56789   ac_status=$?
56790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56791   (exit $ac_status); }; }; then
56792   glibcxx_cv_func__ldexpl_use=yes
56793 else
56794   echo "$as_me: failed program was:" >&5
56795 sed 's/^/| /' conftest.$ac_ext >&5
56796
56797 glibcxx_cv_func__ldexpl_use=no
56798 fi
56799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56800       ac_ext=c
56801 ac_cpp='$CPP $CPPFLAGS'
56802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56805
56806
56807 fi
56808
56809   fi
56810   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56811 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56812
56813     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56814
56815 for ac_func in _ldexpl
56816 do
56817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56818 echo "$as_me:$LINENO: checking for $ac_func" >&5
56819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56820 if eval "test \"\${$as_ac_var+set}\" = set"; then
56821   echo $ECHO_N "(cached) $ECHO_C" >&6
56822 else
56823   if test x$gcc_no_link = xyes; then
56824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56826    { (exit 1); exit 1; }; }
56827 fi
56828 cat >conftest.$ac_ext <<_ACEOF
56829 /* confdefs.h.  */
56830 _ACEOF
56831 cat confdefs.h >>conftest.$ac_ext
56832 cat >>conftest.$ac_ext <<_ACEOF
56833 /* end confdefs.h.  */
56834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56836 #define $ac_func innocuous_$ac_func
56837
56838 /* System header to define __stub macros and hopefully few prototypes,
56839     which can conflict with char $ac_func (); below.
56840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56841     <limits.h> exists even on freestanding compilers.  */
56842
56843 #ifdef __STDC__
56844 # include <limits.h>
56845 #else
56846 # include <assert.h>
56847 #endif
56848
56849 #undef $ac_func
56850
56851 /* Override any gcc2 internal prototype to avoid an error.  */
56852 #ifdef __cplusplus
56853 extern "C"
56854 {
56855 #endif
56856 /* We use char because int might match the return type of a gcc2
56857    builtin and then its argument prototype would still apply.  */
56858 char $ac_func ();
56859 /* The GNU C library defines this for functions which it implements
56860     to always fail with ENOSYS.  Some functions are actually named
56861     something starting with __ and the normal name is an alias.  */
56862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56863 choke me
56864 #else
56865 char (*f) () = $ac_func;
56866 #endif
56867 #ifdef __cplusplus
56868 }
56869 #endif
56870
56871 int
56872 main ()
56873 {
56874 return f != $ac_func;
56875   ;
56876   return 0;
56877 }
56878 _ACEOF
56879 rm -f conftest.$ac_objext conftest$ac_exeext
56880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56881   (eval $ac_link) 2>conftest.er1
56882   ac_status=$?
56883   grep -v '^ *+' conftest.er1 >conftest.err
56884   rm -f conftest.er1
56885   cat conftest.err >&5
56886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56887   (exit $ac_status); } &&
56888          { ac_try='test -z "$ac_c_werror_flag"
56889                          || test ! -s conftest.err'
56890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56891   (eval $ac_try) 2>&5
56892   ac_status=$?
56893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56894   (exit $ac_status); }; } &&
56895          { ac_try='test -s conftest$ac_exeext'
56896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56897   (eval $ac_try) 2>&5
56898   ac_status=$?
56899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56900   (exit $ac_status); }; }; then
56901   eval "$as_ac_var=yes"
56902 else
56903   echo "$as_me: failed program was:" >&5
56904 sed 's/^/| /' conftest.$ac_ext >&5
56905
56906 eval "$as_ac_var=no"
56907 fi
56908 rm -f conftest.err conftest.$ac_objext \
56909       conftest$ac_exeext conftest.$ac_ext
56910 fi
56911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56913 if test `eval echo '${'$as_ac_var'}'` = yes; then
56914   cat >>confdefs.h <<_ACEOF
56915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56916 _ACEOF
56917
56918 fi
56919 done
56920
56921     fi
56922   fi
56923
56924
56925
56926
56927
56928
56929   echo "$as_me:$LINENO: checking for logl declaration" >&5
56930 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56931   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56932     if test "${glibcxx_cv_func_logl_use+set}" = set; then
56933   echo $ECHO_N "(cached) $ECHO_C" >&6
56934 else
56935
56936
56937
56938       ac_ext=cc
56939 ac_cpp='$CXXCPP $CPPFLAGS'
56940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56943
56944       cat >conftest.$ac_ext <<_ACEOF
56945 /* confdefs.h.  */
56946 _ACEOF
56947 cat confdefs.h >>conftest.$ac_ext
56948 cat >>conftest.$ac_ext <<_ACEOF
56949 /* end confdefs.h.  */
56950 #include <math.h>
56951                       #ifdef HAVE_IEEEFP_H
56952                       #include <ieeefp.h>
56953                       #endif
56954
56955 int
56956 main ()
56957 {
56958  logl(0);
56959   ;
56960   return 0;
56961 }
56962 _ACEOF
56963 rm -f conftest.$ac_objext
56964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56965   (eval $ac_compile) 2>conftest.er1
56966   ac_status=$?
56967   grep -v '^ *+' conftest.er1 >conftest.err
56968   rm -f conftest.er1
56969   cat conftest.err >&5
56970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56971   (exit $ac_status); } &&
56972          { ac_try='test -z "$ac_cxx_werror_flag"
56973                          || test ! -s conftest.err'
56974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56975   (eval $ac_try) 2>&5
56976   ac_status=$?
56977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56978   (exit $ac_status); }; } &&
56979          { ac_try='test -s conftest.$ac_objext'
56980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56981   (eval $ac_try) 2>&5
56982   ac_status=$?
56983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56984   (exit $ac_status); }; }; then
56985   glibcxx_cv_func_logl_use=yes
56986 else
56987   echo "$as_me: failed program was:" >&5
56988 sed 's/^/| /' conftest.$ac_ext >&5
56989
56990 glibcxx_cv_func_logl_use=no
56991 fi
56992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56993       ac_ext=c
56994 ac_cpp='$CPP $CPPFLAGS'
56995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56998
56999
57000 fi
57001
57002   fi
57003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57004 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57005
57006   if test x$glibcxx_cv_func_logl_use = x"yes"; then
57007
57008 for ac_func in logl
57009 do
57010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57011 echo "$as_me:$LINENO: checking for $ac_func" >&5
57012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57013 if eval "test \"\${$as_ac_var+set}\" = set"; then
57014   echo $ECHO_N "(cached) $ECHO_C" >&6
57015 else
57016   if test x$gcc_no_link = xyes; then
57017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57019    { (exit 1); exit 1; }; }
57020 fi
57021 cat >conftest.$ac_ext <<_ACEOF
57022 /* confdefs.h.  */
57023 _ACEOF
57024 cat confdefs.h >>conftest.$ac_ext
57025 cat >>conftest.$ac_ext <<_ACEOF
57026 /* end confdefs.h.  */
57027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57029 #define $ac_func innocuous_$ac_func
57030
57031 /* System header to define __stub macros and hopefully few prototypes,
57032     which can conflict with char $ac_func (); below.
57033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57034     <limits.h> exists even on freestanding compilers.  */
57035
57036 #ifdef __STDC__
57037 # include <limits.h>
57038 #else
57039 # include <assert.h>
57040 #endif
57041
57042 #undef $ac_func
57043
57044 /* Override any gcc2 internal prototype to avoid an error.  */
57045 #ifdef __cplusplus
57046 extern "C"
57047 {
57048 #endif
57049 /* We use char because int might match the return type of a gcc2
57050    builtin and then its argument prototype would still apply.  */
57051 char $ac_func ();
57052 /* The GNU C library defines this for functions which it implements
57053     to always fail with ENOSYS.  Some functions are actually named
57054     something starting with __ and the normal name is an alias.  */
57055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57056 choke me
57057 #else
57058 char (*f) () = $ac_func;
57059 #endif
57060 #ifdef __cplusplus
57061 }
57062 #endif
57063
57064 int
57065 main ()
57066 {
57067 return f != $ac_func;
57068   ;
57069   return 0;
57070 }
57071 _ACEOF
57072 rm -f conftest.$ac_objext conftest$ac_exeext
57073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57074   (eval $ac_link) 2>conftest.er1
57075   ac_status=$?
57076   grep -v '^ *+' conftest.er1 >conftest.err
57077   rm -f conftest.er1
57078   cat conftest.err >&5
57079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57080   (exit $ac_status); } &&
57081          { ac_try='test -z "$ac_c_werror_flag"
57082                          || test ! -s conftest.err'
57083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57084   (eval $ac_try) 2>&5
57085   ac_status=$?
57086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57087   (exit $ac_status); }; } &&
57088          { ac_try='test -s conftest$ac_exeext'
57089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57090   (eval $ac_try) 2>&5
57091   ac_status=$?
57092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57093   (exit $ac_status); }; }; then
57094   eval "$as_ac_var=yes"
57095 else
57096   echo "$as_me: failed program was:" >&5
57097 sed 's/^/| /' conftest.$ac_ext >&5
57098
57099 eval "$as_ac_var=no"
57100 fi
57101 rm -f conftest.err conftest.$ac_objext \
57102       conftest$ac_exeext conftest.$ac_ext
57103 fi
57104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57106 if test `eval echo '${'$as_ac_var'}'` = yes; then
57107   cat >>confdefs.h <<_ACEOF
57108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57109 _ACEOF
57110
57111 fi
57112 done
57113
57114   else
57115
57116   echo "$as_me:$LINENO: checking for _logl declaration" >&5
57117 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57118   if test x${glibcxx_cv_func__logl_use+set} != xset; then
57119     if test "${glibcxx_cv_func__logl_use+set}" = set; then
57120   echo $ECHO_N "(cached) $ECHO_C" >&6
57121 else
57122
57123
57124
57125       ac_ext=cc
57126 ac_cpp='$CXXCPP $CPPFLAGS'
57127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57130
57131       cat >conftest.$ac_ext <<_ACEOF
57132 /* confdefs.h.  */
57133 _ACEOF
57134 cat confdefs.h >>conftest.$ac_ext
57135 cat >>conftest.$ac_ext <<_ACEOF
57136 /* end confdefs.h.  */
57137 #include <math.h>
57138                       #ifdef HAVE_IEEEFP_H
57139                       #include <ieeefp.h>
57140                       #endif
57141
57142 int
57143 main ()
57144 {
57145  _logl(0);
57146   ;
57147   return 0;
57148 }
57149 _ACEOF
57150 rm -f conftest.$ac_objext
57151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57152   (eval $ac_compile) 2>conftest.er1
57153   ac_status=$?
57154   grep -v '^ *+' conftest.er1 >conftest.err
57155   rm -f conftest.er1
57156   cat conftest.err >&5
57157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158   (exit $ac_status); } &&
57159          { ac_try='test -z "$ac_cxx_werror_flag"
57160                          || test ! -s conftest.err'
57161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162   (eval $ac_try) 2>&5
57163   ac_status=$?
57164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165   (exit $ac_status); }; } &&
57166          { ac_try='test -s conftest.$ac_objext'
57167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57168   (eval $ac_try) 2>&5
57169   ac_status=$?
57170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57171   (exit $ac_status); }; }; then
57172   glibcxx_cv_func__logl_use=yes
57173 else
57174   echo "$as_me: failed program was:" >&5
57175 sed 's/^/| /' conftest.$ac_ext >&5
57176
57177 glibcxx_cv_func__logl_use=no
57178 fi
57179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57180       ac_ext=c
57181 ac_cpp='$CPP $CPPFLAGS'
57182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57185
57186
57187 fi
57188
57189   fi
57190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
57191 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
57192
57193     if test x$glibcxx_cv_func__logl_use = x"yes"; then
57194
57195 for ac_func in _logl
57196 do
57197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57198 echo "$as_me:$LINENO: checking for $ac_func" >&5
57199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57200 if eval "test \"\${$as_ac_var+set}\" = set"; then
57201   echo $ECHO_N "(cached) $ECHO_C" >&6
57202 else
57203   if test x$gcc_no_link = xyes; then
57204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57206    { (exit 1); exit 1; }; }
57207 fi
57208 cat >conftest.$ac_ext <<_ACEOF
57209 /* confdefs.h.  */
57210 _ACEOF
57211 cat confdefs.h >>conftest.$ac_ext
57212 cat >>conftest.$ac_ext <<_ACEOF
57213 /* end confdefs.h.  */
57214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57216 #define $ac_func innocuous_$ac_func
57217
57218 /* System header to define __stub macros and hopefully few prototypes,
57219     which can conflict with char $ac_func (); below.
57220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57221     <limits.h> exists even on freestanding compilers.  */
57222
57223 #ifdef __STDC__
57224 # include <limits.h>
57225 #else
57226 # include <assert.h>
57227 #endif
57228
57229 #undef $ac_func
57230
57231 /* Override any gcc2 internal prototype to avoid an error.  */
57232 #ifdef __cplusplus
57233 extern "C"
57234 {
57235 #endif
57236 /* We use char because int might match the return type of a gcc2
57237    builtin and then its argument prototype would still apply.  */
57238 char $ac_func ();
57239 /* The GNU C library defines this for functions which it implements
57240     to always fail with ENOSYS.  Some functions are actually named
57241     something starting with __ and the normal name is an alias.  */
57242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57243 choke me
57244 #else
57245 char (*f) () = $ac_func;
57246 #endif
57247 #ifdef __cplusplus
57248 }
57249 #endif
57250
57251 int
57252 main ()
57253 {
57254 return f != $ac_func;
57255   ;
57256   return 0;
57257 }
57258 _ACEOF
57259 rm -f conftest.$ac_objext conftest$ac_exeext
57260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57261   (eval $ac_link) 2>conftest.er1
57262   ac_status=$?
57263   grep -v '^ *+' conftest.er1 >conftest.err
57264   rm -f conftest.er1
57265   cat conftest.err >&5
57266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57267   (exit $ac_status); } &&
57268          { ac_try='test -z "$ac_c_werror_flag"
57269                          || test ! -s conftest.err'
57270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57271   (eval $ac_try) 2>&5
57272   ac_status=$?
57273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57274   (exit $ac_status); }; } &&
57275          { ac_try='test -s conftest$ac_exeext'
57276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57277   (eval $ac_try) 2>&5
57278   ac_status=$?
57279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57280   (exit $ac_status); }; }; then
57281   eval "$as_ac_var=yes"
57282 else
57283   echo "$as_me: failed program was:" >&5
57284 sed 's/^/| /' conftest.$ac_ext >&5
57285
57286 eval "$as_ac_var=no"
57287 fi
57288 rm -f conftest.err conftest.$ac_objext \
57289       conftest$ac_exeext conftest.$ac_ext
57290 fi
57291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57293 if test `eval echo '${'$as_ac_var'}'` = yes; then
57294   cat >>confdefs.h <<_ACEOF
57295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57296 _ACEOF
57297
57298 fi
57299 done
57300
57301     fi
57302   fi
57303
57304
57305
57306
57307
57308
57309   echo "$as_me:$LINENO: checking for log10l declaration" >&5
57310 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
57311   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57312     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
57313   echo $ECHO_N "(cached) $ECHO_C" >&6
57314 else
57315
57316
57317
57318       ac_ext=cc
57319 ac_cpp='$CXXCPP $CPPFLAGS'
57320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57323
57324       cat >conftest.$ac_ext <<_ACEOF
57325 /* confdefs.h.  */
57326 _ACEOF
57327 cat confdefs.h >>conftest.$ac_ext
57328 cat >>conftest.$ac_ext <<_ACEOF
57329 /* end confdefs.h.  */
57330 #include <math.h>
57331                       #ifdef HAVE_IEEEFP_H
57332                       #include <ieeefp.h>
57333                       #endif
57334
57335 int
57336 main ()
57337 {
57338  log10l(0);
57339   ;
57340   return 0;
57341 }
57342 _ACEOF
57343 rm -f conftest.$ac_objext
57344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57345   (eval $ac_compile) 2>conftest.er1
57346   ac_status=$?
57347   grep -v '^ *+' conftest.er1 >conftest.err
57348   rm -f conftest.er1
57349   cat conftest.err >&5
57350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57351   (exit $ac_status); } &&
57352          { ac_try='test -z "$ac_cxx_werror_flag"
57353                          || test ! -s conftest.err'
57354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355   (eval $ac_try) 2>&5
57356   ac_status=$?
57357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358   (exit $ac_status); }; } &&
57359          { ac_try='test -s conftest.$ac_objext'
57360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57361   (eval $ac_try) 2>&5
57362   ac_status=$?
57363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57364   (exit $ac_status); }; }; then
57365   glibcxx_cv_func_log10l_use=yes
57366 else
57367   echo "$as_me: failed program was:" >&5
57368 sed 's/^/| /' conftest.$ac_ext >&5
57369
57370 glibcxx_cv_func_log10l_use=no
57371 fi
57372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57373       ac_ext=c
57374 ac_cpp='$CPP $CPPFLAGS'
57375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57378
57379
57380 fi
57381
57382   fi
57383   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
57384 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
57385
57386   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57387
57388 for ac_func in log10l
57389 do
57390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57391 echo "$as_me:$LINENO: checking for $ac_func" >&5
57392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57393 if eval "test \"\${$as_ac_var+set}\" = set"; then
57394   echo $ECHO_N "(cached) $ECHO_C" >&6
57395 else
57396   if test x$gcc_no_link = xyes; then
57397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57399    { (exit 1); exit 1; }; }
57400 fi
57401 cat >conftest.$ac_ext <<_ACEOF
57402 /* confdefs.h.  */
57403 _ACEOF
57404 cat confdefs.h >>conftest.$ac_ext
57405 cat >>conftest.$ac_ext <<_ACEOF
57406 /* end confdefs.h.  */
57407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57409 #define $ac_func innocuous_$ac_func
57410
57411 /* System header to define __stub macros and hopefully few prototypes,
57412     which can conflict with char $ac_func (); below.
57413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57414     <limits.h> exists even on freestanding compilers.  */
57415
57416 #ifdef __STDC__
57417 # include <limits.h>
57418 #else
57419 # include <assert.h>
57420 #endif
57421
57422 #undef $ac_func
57423
57424 /* Override any gcc2 internal prototype to avoid an error.  */
57425 #ifdef __cplusplus
57426 extern "C"
57427 {
57428 #endif
57429 /* We use char because int might match the return type of a gcc2
57430    builtin and then its argument prototype would still apply.  */
57431 char $ac_func ();
57432 /* The GNU C library defines this for functions which it implements
57433     to always fail with ENOSYS.  Some functions are actually named
57434     something starting with __ and the normal name is an alias.  */
57435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57436 choke me
57437 #else
57438 char (*f) () = $ac_func;
57439 #endif
57440 #ifdef __cplusplus
57441 }
57442 #endif
57443
57444 int
57445 main ()
57446 {
57447 return f != $ac_func;
57448   ;
57449   return 0;
57450 }
57451 _ACEOF
57452 rm -f conftest.$ac_objext conftest$ac_exeext
57453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57454   (eval $ac_link) 2>conftest.er1
57455   ac_status=$?
57456   grep -v '^ *+' conftest.er1 >conftest.err
57457   rm -f conftest.er1
57458   cat conftest.err >&5
57459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57460   (exit $ac_status); } &&
57461          { ac_try='test -z "$ac_c_werror_flag"
57462                          || test ! -s conftest.err'
57463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57464   (eval $ac_try) 2>&5
57465   ac_status=$?
57466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467   (exit $ac_status); }; } &&
57468          { ac_try='test -s conftest$ac_exeext'
57469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57470   (eval $ac_try) 2>&5
57471   ac_status=$?
57472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57473   (exit $ac_status); }; }; then
57474   eval "$as_ac_var=yes"
57475 else
57476   echo "$as_me: failed program was:" >&5
57477 sed 's/^/| /' conftest.$ac_ext >&5
57478
57479 eval "$as_ac_var=no"
57480 fi
57481 rm -f conftest.err conftest.$ac_objext \
57482       conftest$ac_exeext conftest.$ac_ext
57483 fi
57484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57486 if test `eval echo '${'$as_ac_var'}'` = yes; then
57487   cat >>confdefs.h <<_ACEOF
57488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57489 _ACEOF
57490
57491 fi
57492 done
57493
57494   else
57495
57496   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57497 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57498   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57499     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57500   echo $ECHO_N "(cached) $ECHO_C" >&6
57501 else
57502
57503
57504
57505       ac_ext=cc
57506 ac_cpp='$CXXCPP $CPPFLAGS'
57507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57510
57511       cat >conftest.$ac_ext <<_ACEOF
57512 /* confdefs.h.  */
57513 _ACEOF
57514 cat confdefs.h >>conftest.$ac_ext
57515 cat >>conftest.$ac_ext <<_ACEOF
57516 /* end confdefs.h.  */
57517 #include <math.h>
57518                       #ifdef HAVE_IEEEFP_H
57519                       #include <ieeefp.h>
57520                       #endif
57521
57522 int
57523 main ()
57524 {
57525  _log10l(0);
57526   ;
57527   return 0;
57528 }
57529 _ACEOF
57530 rm -f conftest.$ac_objext
57531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57532   (eval $ac_compile) 2>conftest.er1
57533   ac_status=$?
57534   grep -v '^ *+' conftest.er1 >conftest.err
57535   rm -f conftest.er1
57536   cat conftest.err >&5
57537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538   (exit $ac_status); } &&
57539          { ac_try='test -z "$ac_cxx_werror_flag"
57540                          || test ! -s conftest.err'
57541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57542   (eval $ac_try) 2>&5
57543   ac_status=$?
57544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57545   (exit $ac_status); }; } &&
57546          { ac_try='test -s conftest.$ac_objext'
57547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57548   (eval $ac_try) 2>&5
57549   ac_status=$?
57550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57551   (exit $ac_status); }; }; then
57552   glibcxx_cv_func__log10l_use=yes
57553 else
57554   echo "$as_me: failed program was:" >&5
57555 sed 's/^/| /' conftest.$ac_ext >&5
57556
57557 glibcxx_cv_func__log10l_use=no
57558 fi
57559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57560       ac_ext=c
57561 ac_cpp='$CPP $CPPFLAGS'
57562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57565
57566
57567 fi
57568
57569   fi
57570   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57571 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57572
57573     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57574
57575 for ac_func in _log10l
57576 do
57577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57578 echo "$as_me:$LINENO: checking for $ac_func" >&5
57579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57580 if eval "test \"\${$as_ac_var+set}\" = set"; then
57581   echo $ECHO_N "(cached) $ECHO_C" >&6
57582 else
57583   if test x$gcc_no_link = xyes; then
57584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57586    { (exit 1); exit 1; }; }
57587 fi
57588 cat >conftest.$ac_ext <<_ACEOF
57589 /* confdefs.h.  */
57590 _ACEOF
57591 cat confdefs.h >>conftest.$ac_ext
57592 cat >>conftest.$ac_ext <<_ACEOF
57593 /* end confdefs.h.  */
57594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57596 #define $ac_func innocuous_$ac_func
57597
57598 /* System header to define __stub macros and hopefully few prototypes,
57599     which can conflict with char $ac_func (); below.
57600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57601     <limits.h> exists even on freestanding compilers.  */
57602
57603 #ifdef __STDC__
57604 # include <limits.h>
57605 #else
57606 # include <assert.h>
57607 #endif
57608
57609 #undef $ac_func
57610
57611 /* Override any gcc2 internal prototype to avoid an error.  */
57612 #ifdef __cplusplus
57613 extern "C"
57614 {
57615 #endif
57616 /* We use char because int might match the return type of a gcc2
57617    builtin and then its argument prototype would still apply.  */
57618 char $ac_func ();
57619 /* The GNU C library defines this for functions which it implements
57620     to always fail with ENOSYS.  Some functions are actually named
57621     something starting with __ and the normal name is an alias.  */
57622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57623 choke me
57624 #else
57625 char (*f) () = $ac_func;
57626 #endif
57627 #ifdef __cplusplus
57628 }
57629 #endif
57630
57631 int
57632 main ()
57633 {
57634 return f != $ac_func;
57635   ;
57636   return 0;
57637 }
57638 _ACEOF
57639 rm -f conftest.$ac_objext conftest$ac_exeext
57640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57641   (eval $ac_link) 2>conftest.er1
57642   ac_status=$?
57643   grep -v '^ *+' conftest.er1 >conftest.err
57644   rm -f conftest.er1
57645   cat conftest.err >&5
57646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57647   (exit $ac_status); } &&
57648          { ac_try='test -z "$ac_c_werror_flag"
57649                          || test ! -s conftest.err'
57650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57651   (eval $ac_try) 2>&5
57652   ac_status=$?
57653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57654   (exit $ac_status); }; } &&
57655          { ac_try='test -s conftest$ac_exeext'
57656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57657   (eval $ac_try) 2>&5
57658   ac_status=$?
57659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57660   (exit $ac_status); }; }; then
57661   eval "$as_ac_var=yes"
57662 else
57663   echo "$as_me: failed program was:" >&5
57664 sed 's/^/| /' conftest.$ac_ext >&5
57665
57666 eval "$as_ac_var=no"
57667 fi
57668 rm -f conftest.err conftest.$ac_objext \
57669       conftest$ac_exeext conftest.$ac_ext
57670 fi
57671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57673 if test `eval echo '${'$as_ac_var'}'` = yes; then
57674   cat >>confdefs.h <<_ACEOF
57675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57676 _ACEOF
57677
57678 fi
57679 done
57680
57681     fi
57682   fi
57683
57684
57685
57686
57687
57688
57689   echo "$as_me:$LINENO: checking for modfl declaration" >&5
57690 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57691   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57692     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57693   echo $ECHO_N "(cached) $ECHO_C" >&6
57694 else
57695
57696
57697
57698       ac_ext=cc
57699 ac_cpp='$CXXCPP $CPPFLAGS'
57700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57703
57704       cat >conftest.$ac_ext <<_ACEOF
57705 /* confdefs.h.  */
57706 _ACEOF
57707 cat confdefs.h >>conftest.$ac_ext
57708 cat >>conftest.$ac_ext <<_ACEOF
57709 /* end confdefs.h.  */
57710 #include <math.h>
57711 int
57712 main ()
57713 {
57714  modfl(0, 0);
57715   ;
57716   return 0;
57717 }
57718 _ACEOF
57719 rm -f conftest.$ac_objext
57720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57721   (eval $ac_compile) 2>conftest.er1
57722   ac_status=$?
57723   grep -v '^ *+' conftest.er1 >conftest.err
57724   rm -f conftest.er1
57725   cat conftest.err >&5
57726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57727   (exit $ac_status); } &&
57728          { ac_try='test -z "$ac_cxx_werror_flag"
57729                          || test ! -s conftest.err'
57730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57731   (eval $ac_try) 2>&5
57732   ac_status=$?
57733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57734   (exit $ac_status); }; } &&
57735          { ac_try='test -s conftest.$ac_objext'
57736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57737   (eval $ac_try) 2>&5
57738   ac_status=$?
57739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57740   (exit $ac_status); }; }; then
57741   glibcxx_cv_func_modfl_use=yes
57742 else
57743   echo "$as_me: failed program was:" >&5
57744 sed 's/^/| /' conftest.$ac_ext >&5
57745
57746 glibcxx_cv_func_modfl_use=no
57747 fi
57748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57749       ac_ext=c
57750 ac_cpp='$CPP $CPPFLAGS'
57751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57754
57755
57756 fi
57757
57758   fi
57759   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57760 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57761
57762   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57763
57764 for ac_func in modfl
57765 do
57766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57767 echo "$as_me:$LINENO: checking for $ac_func" >&5
57768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57769 if eval "test \"\${$as_ac_var+set}\" = set"; then
57770   echo $ECHO_N "(cached) $ECHO_C" >&6
57771 else
57772   if test x$gcc_no_link = xyes; then
57773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57775    { (exit 1); exit 1; }; }
57776 fi
57777 cat >conftest.$ac_ext <<_ACEOF
57778 /* confdefs.h.  */
57779 _ACEOF
57780 cat confdefs.h >>conftest.$ac_ext
57781 cat >>conftest.$ac_ext <<_ACEOF
57782 /* end confdefs.h.  */
57783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57784    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57785 #define $ac_func innocuous_$ac_func
57786
57787 /* System header to define __stub macros and hopefully few prototypes,
57788     which can conflict with char $ac_func (); below.
57789     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57790     <limits.h> exists even on freestanding compilers.  */
57791
57792 #ifdef __STDC__
57793 # include <limits.h>
57794 #else
57795 # include <assert.h>
57796 #endif
57797
57798 #undef $ac_func
57799
57800 /* Override any gcc2 internal prototype to avoid an error.  */
57801 #ifdef __cplusplus
57802 extern "C"
57803 {
57804 #endif
57805 /* We use char because int might match the return type of a gcc2
57806    builtin and then its argument prototype would still apply.  */
57807 char $ac_func ();
57808 /* The GNU C library defines this for functions which it implements
57809     to always fail with ENOSYS.  Some functions are actually named
57810     something starting with __ and the normal name is an alias.  */
57811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57812 choke me
57813 #else
57814 char (*f) () = $ac_func;
57815 #endif
57816 #ifdef __cplusplus
57817 }
57818 #endif
57819
57820 int
57821 main ()
57822 {
57823 return f != $ac_func;
57824   ;
57825   return 0;
57826 }
57827 _ACEOF
57828 rm -f conftest.$ac_objext conftest$ac_exeext
57829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57830   (eval $ac_link) 2>conftest.er1
57831   ac_status=$?
57832   grep -v '^ *+' conftest.er1 >conftest.err
57833   rm -f conftest.er1
57834   cat conftest.err >&5
57835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57836   (exit $ac_status); } &&
57837          { ac_try='test -z "$ac_c_werror_flag"
57838                          || test ! -s conftest.err'
57839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840   (eval $ac_try) 2>&5
57841   ac_status=$?
57842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843   (exit $ac_status); }; } &&
57844          { ac_try='test -s conftest$ac_exeext'
57845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57846   (eval $ac_try) 2>&5
57847   ac_status=$?
57848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57849   (exit $ac_status); }; }; then
57850   eval "$as_ac_var=yes"
57851 else
57852   echo "$as_me: failed program was:" >&5
57853 sed 's/^/| /' conftest.$ac_ext >&5
57854
57855 eval "$as_ac_var=no"
57856 fi
57857 rm -f conftest.err conftest.$ac_objext \
57858       conftest$ac_exeext conftest.$ac_ext
57859 fi
57860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57862 if test `eval echo '${'$as_ac_var'}'` = yes; then
57863   cat >>confdefs.h <<_ACEOF
57864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57865 _ACEOF
57866
57867 fi
57868 done
57869
57870   else
57871
57872   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57873 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57874   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57875     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57876   echo $ECHO_N "(cached) $ECHO_C" >&6
57877 else
57878
57879
57880
57881       ac_ext=cc
57882 ac_cpp='$CXXCPP $CPPFLAGS'
57883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57886
57887       cat >conftest.$ac_ext <<_ACEOF
57888 /* confdefs.h.  */
57889 _ACEOF
57890 cat confdefs.h >>conftest.$ac_ext
57891 cat >>conftest.$ac_ext <<_ACEOF
57892 /* end confdefs.h.  */
57893 #include <math.h>
57894 int
57895 main ()
57896 {
57897  _modfl(0, 0);
57898   ;
57899   return 0;
57900 }
57901 _ACEOF
57902 rm -f conftest.$ac_objext
57903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57904   (eval $ac_compile) 2>conftest.er1
57905   ac_status=$?
57906   grep -v '^ *+' conftest.er1 >conftest.err
57907   rm -f conftest.er1
57908   cat conftest.err >&5
57909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57910   (exit $ac_status); } &&
57911          { ac_try='test -z "$ac_cxx_werror_flag"
57912                          || test ! -s conftest.err'
57913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57914   (eval $ac_try) 2>&5
57915   ac_status=$?
57916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57917   (exit $ac_status); }; } &&
57918          { ac_try='test -s conftest.$ac_objext'
57919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57920   (eval $ac_try) 2>&5
57921   ac_status=$?
57922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57923   (exit $ac_status); }; }; then
57924   glibcxx_cv_func__modfl_use=yes
57925 else
57926   echo "$as_me: failed program was:" >&5
57927 sed 's/^/| /' conftest.$ac_ext >&5
57928
57929 glibcxx_cv_func__modfl_use=no
57930 fi
57931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57932       ac_ext=c
57933 ac_cpp='$CPP $CPPFLAGS'
57934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57937
57938
57939 fi
57940
57941   fi
57942   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57943 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57944
57945     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57946
57947 for ac_func in _modfl
57948 do
57949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57950 echo "$as_me:$LINENO: checking for $ac_func" >&5
57951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57952 if eval "test \"\${$as_ac_var+set}\" = set"; then
57953   echo $ECHO_N "(cached) $ECHO_C" >&6
57954 else
57955   if test x$gcc_no_link = xyes; then
57956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57958    { (exit 1); exit 1; }; }
57959 fi
57960 cat >conftest.$ac_ext <<_ACEOF
57961 /* confdefs.h.  */
57962 _ACEOF
57963 cat confdefs.h >>conftest.$ac_ext
57964 cat >>conftest.$ac_ext <<_ACEOF
57965 /* end confdefs.h.  */
57966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57968 #define $ac_func innocuous_$ac_func
57969
57970 /* System header to define __stub macros and hopefully few prototypes,
57971     which can conflict with char $ac_func (); below.
57972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57973     <limits.h> exists even on freestanding compilers.  */
57974
57975 #ifdef __STDC__
57976 # include <limits.h>
57977 #else
57978 # include <assert.h>
57979 #endif
57980
57981 #undef $ac_func
57982
57983 /* Override any gcc2 internal prototype to avoid an error.  */
57984 #ifdef __cplusplus
57985 extern "C"
57986 {
57987 #endif
57988 /* We use char because int might match the return type of a gcc2
57989    builtin and then its argument prototype would still apply.  */
57990 char $ac_func ();
57991 /* The GNU C library defines this for functions which it implements
57992     to always fail with ENOSYS.  Some functions are actually named
57993     something starting with __ and the normal name is an alias.  */
57994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57995 choke me
57996 #else
57997 char (*f) () = $ac_func;
57998 #endif
57999 #ifdef __cplusplus
58000 }
58001 #endif
58002
58003 int
58004 main ()
58005 {
58006 return f != $ac_func;
58007   ;
58008   return 0;
58009 }
58010 _ACEOF
58011 rm -f conftest.$ac_objext conftest$ac_exeext
58012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58013   (eval $ac_link) 2>conftest.er1
58014   ac_status=$?
58015   grep -v '^ *+' conftest.er1 >conftest.err
58016   rm -f conftest.er1
58017   cat conftest.err >&5
58018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58019   (exit $ac_status); } &&
58020          { ac_try='test -z "$ac_c_werror_flag"
58021                          || test ! -s conftest.err'
58022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58023   (eval $ac_try) 2>&5
58024   ac_status=$?
58025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026   (exit $ac_status); }; } &&
58027          { ac_try='test -s conftest$ac_exeext'
58028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58029   (eval $ac_try) 2>&5
58030   ac_status=$?
58031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58032   (exit $ac_status); }; }; then
58033   eval "$as_ac_var=yes"
58034 else
58035   echo "$as_me: failed program was:" >&5
58036 sed 's/^/| /' conftest.$ac_ext >&5
58037
58038 eval "$as_ac_var=no"
58039 fi
58040 rm -f conftest.err conftest.$ac_objext \
58041       conftest$ac_exeext conftest.$ac_ext
58042 fi
58043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58045 if test `eval echo '${'$as_ac_var'}'` = yes; then
58046   cat >>confdefs.h <<_ACEOF
58047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58048 _ACEOF
58049
58050 fi
58051 done
58052
58053     fi
58054   fi
58055
58056
58057
58058
58059
58060
58061   echo "$as_me:$LINENO: checking for powl declaration" >&5
58062 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58063   if test x${glibcxx_cv_func_powl_use+set} != xset; then
58064     if test "${glibcxx_cv_func_powl_use+set}" = set; then
58065   echo $ECHO_N "(cached) $ECHO_C" >&6
58066 else
58067
58068
58069
58070       ac_ext=cc
58071 ac_cpp='$CXXCPP $CPPFLAGS'
58072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58075
58076       cat >conftest.$ac_ext <<_ACEOF
58077 /* confdefs.h.  */
58078 _ACEOF
58079 cat confdefs.h >>conftest.$ac_ext
58080 cat >>conftest.$ac_ext <<_ACEOF
58081 /* end confdefs.h.  */
58082 #include <math.h>
58083 int
58084 main ()
58085 {
58086  powl(0, 0);
58087   ;
58088   return 0;
58089 }
58090 _ACEOF
58091 rm -f conftest.$ac_objext
58092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58093   (eval $ac_compile) 2>conftest.er1
58094   ac_status=$?
58095   grep -v '^ *+' conftest.er1 >conftest.err
58096   rm -f conftest.er1
58097   cat conftest.err >&5
58098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58099   (exit $ac_status); } &&
58100          { ac_try='test -z "$ac_cxx_werror_flag"
58101                          || test ! -s conftest.err'
58102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58103   (eval $ac_try) 2>&5
58104   ac_status=$?
58105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58106   (exit $ac_status); }; } &&
58107          { ac_try='test -s conftest.$ac_objext'
58108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58109   (eval $ac_try) 2>&5
58110   ac_status=$?
58111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58112   (exit $ac_status); }; }; then
58113   glibcxx_cv_func_powl_use=yes
58114 else
58115   echo "$as_me: failed program was:" >&5
58116 sed 's/^/| /' conftest.$ac_ext >&5
58117
58118 glibcxx_cv_func_powl_use=no
58119 fi
58120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58121       ac_ext=c
58122 ac_cpp='$CPP $CPPFLAGS'
58123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58126
58127
58128 fi
58129
58130   fi
58131   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58132 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58133
58134   if test x$glibcxx_cv_func_powl_use = x"yes"; then
58135
58136 for ac_func in powl
58137 do
58138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58139 echo "$as_me:$LINENO: checking for $ac_func" >&5
58140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58141 if eval "test \"\${$as_ac_var+set}\" = set"; then
58142   echo $ECHO_N "(cached) $ECHO_C" >&6
58143 else
58144   if test x$gcc_no_link = xyes; then
58145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58147    { (exit 1); exit 1; }; }
58148 fi
58149 cat >conftest.$ac_ext <<_ACEOF
58150 /* confdefs.h.  */
58151 _ACEOF
58152 cat confdefs.h >>conftest.$ac_ext
58153 cat >>conftest.$ac_ext <<_ACEOF
58154 /* end confdefs.h.  */
58155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58157 #define $ac_func innocuous_$ac_func
58158
58159 /* System header to define __stub macros and hopefully few prototypes,
58160     which can conflict with char $ac_func (); below.
58161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58162     <limits.h> exists even on freestanding compilers.  */
58163
58164 #ifdef __STDC__
58165 # include <limits.h>
58166 #else
58167 # include <assert.h>
58168 #endif
58169
58170 #undef $ac_func
58171
58172 /* Override any gcc2 internal prototype to avoid an error.  */
58173 #ifdef __cplusplus
58174 extern "C"
58175 {
58176 #endif
58177 /* We use char because int might match the return type of a gcc2
58178    builtin and then its argument prototype would still apply.  */
58179 char $ac_func ();
58180 /* The GNU C library defines this for functions which it implements
58181     to always fail with ENOSYS.  Some functions are actually named
58182     something starting with __ and the normal name is an alias.  */
58183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58184 choke me
58185 #else
58186 char (*f) () = $ac_func;
58187 #endif
58188 #ifdef __cplusplus
58189 }
58190 #endif
58191
58192 int
58193 main ()
58194 {
58195 return f != $ac_func;
58196   ;
58197   return 0;
58198 }
58199 _ACEOF
58200 rm -f conftest.$ac_objext conftest$ac_exeext
58201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58202   (eval $ac_link) 2>conftest.er1
58203   ac_status=$?
58204   grep -v '^ *+' conftest.er1 >conftest.err
58205   rm -f conftest.er1
58206   cat conftest.err >&5
58207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58208   (exit $ac_status); } &&
58209          { ac_try='test -z "$ac_c_werror_flag"
58210                          || test ! -s conftest.err'
58211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58212   (eval $ac_try) 2>&5
58213   ac_status=$?
58214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58215   (exit $ac_status); }; } &&
58216          { ac_try='test -s conftest$ac_exeext'
58217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58218   (eval $ac_try) 2>&5
58219   ac_status=$?
58220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58221   (exit $ac_status); }; }; then
58222   eval "$as_ac_var=yes"
58223 else
58224   echo "$as_me: failed program was:" >&5
58225 sed 's/^/| /' conftest.$ac_ext >&5
58226
58227 eval "$as_ac_var=no"
58228 fi
58229 rm -f conftest.err conftest.$ac_objext \
58230       conftest$ac_exeext conftest.$ac_ext
58231 fi
58232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58234 if test `eval echo '${'$as_ac_var'}'` = yes; then
58235   cat >>confdefs.h <<_ACEOF
58236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58237 _ACEOF
58238
58239 fi
58240 done
58241
58242   else
58243
58244   echo "$as_me:$LINENO: checking for _powl declaration" >&5
58245 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
58246   if test x${glibcxx_cv_func__powl_use+set} != xset; then
58247     if test "${glibcxx_cv_func__powl_use+set}" = set; then
58248   echo $ECHO_N "(cached) $ECHO_C" >&6
58249 else
58250
58251
58252
58253       ac_ext=cc
58254 ac_cpp='$CXXCPP $CPPFLAGS'
58255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58258
58259       cat >conftest.$ac_ext <<_ACEOF
58260 /* confdefs.h.  */
58261 _ACEOF
58262 cat confdefs.h >>conftest.$ac_ext
58263 cat >>conftest.$ac_ext <<_ACEOF
58264 /* end confdefs.h.  */
58265 #include <math.h>
58266 int
58267 main ()
58268 {
58269  _powl(0, 0);
58270   ;
58271   return 0;
58272 }
58273 _ACEOF
58274 rm -f conftest.$ac_objext
58275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58276   (eval $ac_compile) 2>conftest.er1
58277   ac_status=$?
58278   grep -v '^ *+' conftest.er1 >conftest.err
58279   rm -f conftest.er1
58280   cat conftest.err >&5
58281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282   (exit $ac_status); } &&
58283          { ac_try='test -z "$ac_cxx_werror_flag"
58284                          || test ! -s conftest.err'
58285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58286   (eval $ac_try) 2>&5
58287   ac_status=$?
58288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58289   (exit $ac_status); }; } &&
58290          { ac_try='test -s conftest.$ac_objext'
58291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58292   (eval $ac_try) 2>&5
58293   ac_status=$?
58294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58295   (exit $ac_status); }; }; then
58296   glibcxx_cv_func__powl_use=yes
58297 else
58298   echo "$as_me: failed program was:" >&5
58299 sed 's/^/| /' conftest.$ac_ext >&5
58300
58301 glibcxx_cv_func__powl_use=no
58302 fi
58303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58304       ac_ext=c
58305 ac_cpp='$CPP $CPPFLAGS'
58306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58309
58310
58311 fi
58312
58313   fi
58314   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
58315 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
58316
58317     if test x$glibcxx_cv_func__powl_use = x"yes"; then
58318
58319 for ac_func in _powl
58320 do
58321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58322 echo "$as_me:$LINENO: checking for $ac_func" >&5
58323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58324 if eval "test \"\${$as_ac_var+set}\" = set"; then
58325   echo $ECHO_N "(cached) $ECHO_C" >&6
58326 else
58327   if test x$gcc_no_link = xyes; then
58328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58330    { (exit 1); exit 1; }; }
58331 fi
58332 cat >conftest.$ac_ext <<_ACEOF
58333 /* confdefs.h.  */
58334 _ACEOF
58335 cat confdefs.h >>conftest.$ac_ext
58336 cat >>conftest.$ac_ext <<_ACEOF
58337 /* end confdefs.h.  */
58338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58340 #define $ac_func innocuous_$ac_func
58341
58342 /* System header to define __stub macros and hopefully few prototypes,
58343     which can conflict with char $ac_func (); below.
58344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58345     <limits.h> exists even on freestanding compilers.  */
58346
58347 #ifdef __STDC__
58348 # include <limits.h>
58349 #else
58350 # include <assert.h>
58351 #endif
58352
58353 #undef $ac_func
58354
58355 /* Override any gcc2 internal prototype to avoid an error.  */
58356 #ifdef __cplusplus
58357 extern "C"
58358 {
58359 #endif
58360 /* We use char because int might match the return type of a gcc2
58361    builtin and then its argument prototype would still apply.  */
58362 char $ac_func ();
58363 /* The GNU C library defines this for functions which it implements
58364     to always fail with ENOSYS.  Some functions are actually named
58365     something starting with __ and the normal name is an alias.  */
58366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58367 choke me
58368 #else
58369 char (*f) () = $ac_func;
58370 #endif
58371 #ifdef __cplusplus
58372 }
58373 #endif
58374
58375 int
58376 main ()
58377 {
58378 return f != $ac_func;
58379   ;
58380   return 0;
58381 }
58382 _ACEOF
58383 rm -f conftest.$ac_objext conftest$ac_exeext
58384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58385   (eval $ac_link) 2>conftest.er1
58386   ac_status=$?
58387   grep -v '^ *+' conftest.er1 >conftest.err
58388   rm -f conftest.er1
58389   cat conftest.err >&5
58390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58391   (exit $ac_status); } &&
58392          { ac_try='test -z "$ac_c_werror_flag"
58393                          || test ! -s conftest.err'
58394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58395   (eval $ac_try) 2>&5
58396   ac_status=$?
58397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58398   (exit $ac_status); }; } &&
58399          { ac_try='test -s conftest$ac_exeext'
58400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58401   (eval $ac_try) 2>&5
58402   ac_status=$?
58403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58404   (exit $ac_status); }; }; then
58405   eval "$as_ac_var=yes"
58406 else
58407   echo "$as_me: failed program was:" >&5
58408 sed 's/^/| /' conftest.$ac_ext >&5
58409
58410 eval "$as_ac_var=no"
58411 fi
58412 rm -f conftest.err conftest.$ac_objext \
58413       conftest$ac_exeext conftest.$ac_ext
58414 fi
58415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58417 if test `eval echo '${'$as_ac_var'}'` = yes; then
58418   cat >>confdefs.h <<_ACEOF
58419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58420 _ACEOF
58421
58422 fi
58423 done
58424
58425     fi
58426   fi
58427
58428
58429
58430
58431
58432
58433   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58434 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58435   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58436     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58437   echo $ECHO_N "(cached) $ECHO_C" >&6
58438 else
58439
58440
58441
58442       ac_ext=cc
58443 ac_cpp='$CXXCPP $CPPFLAGS'
58444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447
58448       cat >conftest.$ac_ext <<_ACEOF
58449 /* confdefs.h.  */
58450 _ACEOF
58451 cat confdefs.h >>conftest.$ac_ext
58452 cat >>conftest.$ac_ext <<_ACEOF
58453 /* end confdefs.h.  */
58454 #include <math.h>
58455                       #ifdef HAVE_IEEEFP_H
58456                       #include <ieeefp.h>
58457                       #endif
58458
58459 int
58460 main ()
58461 {
58462  sqrtl(0);
58463   ;
58464   return 0;
58465 }
58466 _ACEOF
58467 rm -f conftest.$ac_objext
58468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58469   (eval $ac_compile) 2>conftest.er1
58470   ac_status=$?
58471   grep -v '^ *+' conftest.er1 >conftest.err
58472   rm -f conftest.er1
58473   cat conftest.err >&5
58474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475   (exit $ac_status); } &&
58476          { ac_try='test -z "$ac_cxx_werror_flag"
58477                          || test ! -s conftest.err'
58478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58479   (eval $ac_try) 2>&5
58480   ac_status=$?
58481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58482   (exit $ac_status); }; } &&
58483          { ac_try='test -s conftest.$ac_objext'
58484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58485   (eval $ac_try) 2>&5
58486   ac_status=$?
58487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58488   (exit $ac_status); }; }; then
58489   glibcxx_cv_func_sqrtl_use=yes
58490 else
58491   echo "$as_me: failed program was:" >&5
58492 sed 's/^/| /' conftest.$ac_ext >&5
58493
58494 glibcxx_cv_func_sqrtl_use=no
58495 fi
58496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58497       ac_ext=c
58498 ac_cpp='$CPP $CPPFLAGS'
58499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58502
58503
58504 fi
58505
58506   fi
58507   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58508 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58509
58510   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58511
58512 for ac_func in sqrtl
58513 do
58514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58515 echo "$as_me:$LINENO: checking for $ac_func" >&5
58516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58517 if eval "test \"\${$as_ac_var+set}\" = set"; then
58518   echo $ECHO_N "(cached) $ECHO_C" >&6
58519 else
58520   if test x$gcc_no_link = xyes; then
58521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58523    { (exit 1); exit 1; }; }
58524 fi
58525 cat >conftest.$ac_ext <<_ACEOF
58526 /* confdefs.h.  */
58527 _ACEOF
58528 cat confdefs.h >>conftest.$ac_ext
58529 cat >>conftest.$ac_ext <<_ACEOF
58530 /* end confdefs.h.  */
58531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58533 #define $ac_func innocuous_$ac_func
58534
58535 /* System header to define __stub macros and hopefully few prototypes,
58536     which can conflict with char $ac_func (); below.
58537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58538     <limits.h> exists even on freestanding compilers.  */
58539
58540 #ifdef __STDC__
58541 # include <limits.h>
58542 #else
58543 # include <assert.h>
58544 #endif
58545
58546 #undef $ac_func
58547
58548 /* Override any gcc2 internal prototype to avoid an error.  */
58549 #ifdef __cplusplus
58550 extern "C"
58551 {
58552 #endif
58553 /* We use char because int might match the return type of a gcc2
58554    builtin and then its argument prototype would still apply.  */
58555 char $ac_func ();
58556 /* The GNU C library defines this for functions which it implements
58557     to always fail with ENOSYS.  Some functions are actually named
58558     something starting with __ and the normal name is an alias.  */
58559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58560 choke me
58561 #else
58562 char (*f) () = $ac_func;
58563 #endif
58564 #ifdef __cplusplus
58565 }
58566 #endif
58567
58568 int
58569 main ()
58570 {
58571 return f != $ac_func;
58572   ;
58573   return 0;
58574 }
58575 _ACEOF
58576 rm -f conftest.$ac_objext conftest$ac_exeext
58577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58578   (eval $ac_link) 2>conftest.er1
58579   ac_status=$?
58580   grep -v '^ *+' conftest.er1 >conftest.err
58581   rm -f conftest.er1
58582   cat conftest.err >&5
58583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584   (exit $ac_status); } &&
58585          { ac_try='test -z "$ac_c_werror_flag"
58586                          || test ! -s conftest.err'
58587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58588   (eval $ac_try) 2>&5
58589   ac_status=$?
58590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58591   (exit $ac_status); }; } &&
58592          { ac_try='test -s conftest$ac_exeext'
58593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58594   (eval $ac_try) 2>&5
58595   ac_status=$?
58596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58597   (exit $ac_status); }; }; then
58598   eval "$as_ac_var=yes"
58599 else
58600   echo "$as_me: failed program was:" >&5
58601 sed 's/^/| /' conftest.$ac_ext >&5
58602
58603 eval "$as_ac_var=no"
58604 fi
58605 rm -f conftest.err conftest.$ac_objext \
58606       conftest$ac_exeext conftest.$ac_ext
58607 fi
58608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58610 if test `eval echo '${'$as_ac_var'}'` = yes; then
58611   cat >>confdefs.h <<_ACEOF
58612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58613 _ACEOF
58614
58615 fi
58616 done
58617
58618   else
58619
58620   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58621 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58622   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58623     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58624   echo $ECHO_N "(cached) $ECHO_C" >&6
58625 else
58626
58627
58628
58629       ac_ext=cc
58630 ac_cpp='$CXXCPP $CPPFLAGS'
58631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634
58635       cat >conftest.$ac_ext <<_ACEOF
58636 /* confdefs.h.  */
58637 _ACEOF
58638 cat confdefs.h >>conftest.$ac_ext
58639 cat >>conftest.$ac_ext <<_ACEOF
58640 /* end confdefs.h.  */
58641 #include <math.h>
58642                       #ifdef HAVE_IEEEFP_H
58643                       #include <ieeefp.h>
58644                       #endif
58645
58646 int
58647 main ()
58648 {
58649  _sqrtl(0);
58650   ;
58651   return 0;
58652 }
58653 _ACEOF
58654 rm -f conftest.$ac_objext
58655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58656   (eval $ac_compile) 2>conftest.er1
58657   ac_status=$?
58658   grep -v '^ *+' conftest.er1 >conftest.err
58659   rm -f conftest.er1
58660   cat conftest.err >&5
58661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662   (exit $ac_status); } &&
58663          { ac_try='test -z "$ac_cxx_werror_flag"
58664                          || test ! -s conftest.err'
58665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58666   (eval $ac_try) 2>&5
58667   ac_status=$?
58668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58669   (exit $ac_status); }; } &&
58670          { ac_try='test -s conftest.$ac_objext'
58671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58672   (eval $ac_try) 2>&5
58673   ac_status=$?
58674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58675   (exit $ac_status); }; }; then
58676   glibcxx_cv_func__sqrtl_use=yes
58677 else
58678   echo "$as_me: failed program was:" >&5
58679 sed 's/^/| /' conftest.$ac_ext >&5
58680
58681 glibcxx_cv_func__sqrtl_use=no
58682 fi
58683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58684       ac_ext=c
58685 ac_cpp='$CPP $CPPFLAGS'
58686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58689
58690
58691 fi
58692
58693   fi
58694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58695 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58696
58697     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58698
58699 for ac_func in _sqrtl
58700 do
58701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58702 echo "$as_me:$LINENO: checking for $ac_func" >&5
58703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58704 if eval "test \"\${$as_ac_var+set}\" = set"; then
58705   echo $ECHO_N "(cached) $ECHO_C" >&6
58706 else
58707   if test x$gcc_no_link = xyes; then
58708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58710    { (exit 1); exit 1; }; }
58711 fi
58712 cat >conftest.$ac_ext <<_ACEOF
58713 /* confdefs.h.  */
58714 _ACEOF
58715 cat confdefs.h >>conftest.$ac_ext
58716 cat >>conftest.$ac_ext <<_ACEOF
58717 /* end confdefs.h.  */
58718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58720 #define $ac_func innocuous_$ac_func
58721
58722 /* System header to define __stub macros and hopefully few prototypes,
58723     which can conflict with char $ac_func (); below.
58724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58725     <limits.h> exists even on freestanding compilers.  */
58726
58727 #ifdef __STDC__
58728 # include <limits.h>
58729 #else
58730 # include <assert.h>
58731 #endif
58732
58733 #undef $ac_func
58734
58735 /* Override any gcc2 internal prototype to avoid an error.  */
58736 #ifdef __cplusplus
58737 extern "C"
58738 {
58739 #endif
58740 /* We use char because int might match the return type of a gcc2
58741    builtin and then its argument prototype would still apply.  */
58742 char $ac_func ();
58743 /* The GNU C library defines this for functions which it implements
58744     to always fail with ENOSYS.  Some functions are actually named
58745     something starting with __ and the normal name is an alias.  */
58746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58747 choke me
58748 #else
58749 char (*f) () = $ac_func;
58750 #endif
58751 #ifdef __cplusplus
58752 }
58753 #endif
58754
58755 int
58756 main ()
58757 {
58758 return f != $ac_func;
58759   ;
58760   return 0;
58761 }
58762 _ACEOF
58763 rm -f conftest.$ac_objext conftest$ac_exeext
58764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58765   (eval $ac_link) 2>conftest.er1
58766   ac_status=$?
58767   grep -v '^ *+' conftest.er1 >conftest.err
58768   rm -f conftest.er1
58769   cat conftest.err >&5
58770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58771   (exit $ac_status); } &&
58772          { ac_try='test -z "$ac_c_werror_flag"
58773                          || test ! -s conftest.err'
58774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58775   (eval $ac_try) 2>&5
58776   ac_status=$?
58777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778   (exit $ac_status); }; } &&
58779          { ac_try='test -s conftest$ac_exeext'
58780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58781   (eval $ac_try) 2>&5
58782   ac_status=$?
58783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58784   (exit $ac_status); }; }; then
58785   eval "$as_ac_var=yes"
58786 else
58787   echo "$as_me: failed program was:" >&5
58788 sed 's/^/| /' conftest.$ac_ext >&5
58789
58790 eval "$as_ac_var=no"
58791 fi
58792 rm -f conftest.err conftest.$ac_objext \
58793       conftest$ac_exeext conftest.$ac_ext
58794 fi
58795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58797 if test `eval echo '${'$as_ac_var'}'` = yes; then
58798   cat >>confdefs.h <<_ACEOF
58799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58800 _ACEOF
58801
58802 fi
58803 done
58804
58805     fi
58806   fi
58807
58808
58809
58810
58811
58812
58813   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58814 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58815   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58816     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58817   echo $ECHO_N "(cached) $ECHO_C" >&6
58818 else
58819
58820
58821
58822       ac_ext=cc
58823 ac_cpp='$CXXCPP $CPPFLAGS'
58824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58827
58828       cat >conftest.$ac_ext <<_ACEOF
58829 /* confdefs.h.  */
58830 _ACEOF
58831 cat confdefs.h >>conftest.$ac_ext
58832 cat >>conftest.$ac_ext <<_ACEOF
58833 /* end confdefs.h.  */
58834 #include <math.h>
58835 int
58836 main ()
58837 {
58838  sincosl(0, 0, 0);
58839   ;
58840   return 0;
58841 }
58842 _ACEOF
58843 rm -f conftest.$ac_objext
58844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58845   (eval $ac_compile) 2>conftest.er1
58846   ac_status=$?
58847   grep -v '^ *+' conftest.er1 >conftest.err
58848   rm -f conftest.er1
58849   cat conftest.err >&5
58850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851   (exit $ac_status); } &&
58852          { ac_try='test -z "$ac_cxx_werror_flag"
58853                          || test ! -s conftest.err'
58854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58855   (eval $ac_try) 2>&5
58856   ac_status=$?
58857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58858   (exit $ac_status); }; } &&
58859          { ac_try='test -s conftest.$ac_objext'
58860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58861   (eval $ac_try) 2>&5
58862   ac_status=$?
58863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864   (exit $ac_status); }; }; then
58865   glibcxx_cv_func_sincosl_use=yes
58866 else
58867   echo "$as_me: failed program was:" >&5
58868 sed 's/^/| /' conftest.$ac_ext >&5
58869
58870 glibcxx_cv_func_sincosl_use=no
58871 fi
58872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58873       ac_ext=c
58874 ac_cpp='$CPP $CPPFLAGS'
58875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58878
58879
58880 fi
58881
58882   fi
58883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58884 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58885
58886   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58887
58888 for ac_func in sincosl
58889 do
58890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58891 echo "$as_me:$LINENO: checking for $ac_func" >&5
58892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58893 if eval "test \"\${$as_ac_var+set}\" = set"; then
58894   echo $ECHO_N "(cached) $ECHO_C" >&6
58895 else
58896   if test x$gcc_no_link = xyes; then
58897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58899    { (exit 1); exit 1; }; }
58900 fi
58901 cat >conftest.$ac_ext <<_ACEOF
58902 /* confdefs.h.  */
58903 _ACEOF
58904 cat confdefs.h >>conftest.$ac_ext
58905 cat >>conftest.$ac_ext <<_ACEOF
58906 /* end confdefs.h.  */
58907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58909 #define $ac_func innocuous_$ac_func
58910
58911 /* System header to define __stub macros and hopefully few prototypes,
58912     which can conflict with char $ac_func (); below.
58913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58914     <limits.h> exists even on freestanding compilers.  */
58915
58916 #ifdef __STDC__
58917 # include <limits.h>
58918 #else
58919 # include <assert.h>
58920 #endif
58921
58922 #undef $ac_func
58923
58924 /* Override any gcc2 internal prototype to avoid an error.  */
58925 #ifdef __cplusplus
58926 extern "C"
58927 {
58928 #endif
58929 /* We use char because int might match the return type of a gcc2
58930    builtin and then its argument prototype would still apply.  */
58931 char $ac_func ();
58932 /* The GNU C library defines this for functions which it implements
58933     to always fail with ENOSYS.  Some functions are actually named
58934     something starting with __ and the normal name is an alias.  */
58935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58936 choke me
58937 #else
58938 char (*f) () = $ac_func;
58939 #endif
58940 #ifdef __cplusplus
58941 }
58942 #endif
58943
58944 int
58945 main ()
58946 {
58947 return f != $ac_func;
58948   ;
58949   return 0;
58950 }
58951 _ACEOF
58952 rm -f conftest.$ac_objext conftest$ac_exeext
58953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58954   (eval $ac_link) 2>conftest.er1
58955   ac_status=$?
58956   grep -v '^ *+' conftest.er1 >conftest.err
58957   rm -f conftest.er1
58958   cat conftest.err >&5
58959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58960   (exit $ac_status); } &&
58961          { ac_try='test -z "$ac_c_werror_flag"
58962                          || test ! -s conftest.err'
58963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58964   (eval $ac_try) 2>&5
58965   ac_status=$?
58966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58967   (exit $ac_status); }; } &&
58968          { ac_try='test -s conftest$ac_exeext'
58969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58970   (eval $ac_try) 2>&5
58971   ac_status=$?
58972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58973   (exit $ac_status); }; }; then
58974   eval "$as_ac_var=yes"
58975 else
58976   echo "$as_me: failed program was:" >&5
58977 sed 's/^/| /' conftest.$ac_ext >&5
58978
58979 eval "$as_ac_var=no"
58980 fi
58981 rm -f conftest.err conftest.$ac_objext \
58982       conftest$ac_exeext conftest.$ac_ext
58983 fi
58984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58986 if test `eval echo '${'$as_ac_var'}'` = yes; then
58987   cat >>confdefs.h <<_ACEOF
58988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58989 _ACEOF
58990
58991 fi
58992 done
58993
58994   else
58995
58996   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58997 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58998   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58999     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59000   echo $ECHO_N "(cached) $ECHO_C" >&6
59001 else
59002
59003
59004
59005       ac_ext=cc
59006 ac_cpp='$CXXCPP $CPPFLAGS'
59007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59010
59011       cat >conftest.$ac_ext <<_ACEOF
59012 /* confdefs.h.  */
59013 _ACEOF
59014 cat confdefs.h >>conftest.$ac_ext
59015 cat >>conftest.$ac_ext <<_ACEOF
59016 /* end confdefs.h.  */
59017 #include <math.h>
59018 int
59019 main ()
59020 {
59021  _sincosl(0, 0, 0);
59022   ;
59023   return 0;
59024 }
59025 _ACEOF
59026 rm -f conftest.$ac_objext
59027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59028   (eval $ac_compile) 2>conftest.er1
59029   ac_status=$?
59030   grep -v '^ *+' conftest.er1 >conftest.err
59031   rm -f conftest.er1
59032   cat conftest.err >&5
59033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034   (exit $ac_status); } &&
59035          { ac_try='test -z "$ac_cxx_werror_flag"
59036                          || test ! -s conftest.err'
59037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59038   (eval $ac_try) 2>&5
59039   ac_status=$?
59040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59041   (exit $ac_status); }; } &&
59042          { ac_try='test -s conftest.$ac_objext'
59043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59044   (eval $ac_try) 2>&5
59045   ac_status=$?
59046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59047   (exit $ac_status); }; }; then
59048   glibcxx_cv_func__sincosl_use=yes
59049 else
59050   echo "$as_me: failed program was:" >&5
59051 sed 's/^/| /' conftest.$ac_ext >&5
59052
59053 glibcxx_cv_func__sincosl_use=no
59054 fi
59055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59056       ac_ext=c
59057 ac_cpp='$CPP $CPPFLAGS'
59058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59061
59062
59063 fi
59064
59065   fi
59066   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59067 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59068
59069     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59070
59071 for ac_func in _sincosl
59072 do
59073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59074 echo "$as_me:$LINENO: checking for $ac_func" >&5
59075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59076 if eval "test \"\${$as_ac_var+set}\" = set"; then
59077   echo $ECHO_N "(cached) $ECHO_C" >&6
59078 else
59079   if test x$gcc_no_link = xyes; then
59080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59082    { (exit 1); exit 1; }; }
59083 fi
59084 cat >conftest.$ac_ext <<_ACEOF
59085 /* confdefs.h.  */
59086 _ACEOF
59087 cat confdefs.h >>conftest.$ac_ext
59088 cat >>conftest.$ac_ext <<_ACEOF
59089 /* end confdefs.h.  */
59090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59092 #define $ac_func innocuous_$ac_func
59093
59094 /* System header to define __stub macros and hopefully few prototypes,
59095     which can conflict with char $ac_func (); below.
59096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59097     <limits.h> exists even on freestanding compilers.  */
59098
59099 #ifdef __STDC__
59100 # include <limits.h>
59101 #else
59102 # include <assert.h>
59103 #endif
59104
59105 #undef $ac_func
59106
59107 /* Override any gcc2 internal prototype to avoid an error.  */
59108 #ifdef __cplusplus
59109 extern "C"
59110 {
59111 #endif
59112 /* We use char because int might match the return type of a gcc2
59113    builtin and then its argument prototype would still apply.  */
59114 char $ac_func ();
59115 /* The GNU C library defines this for functions which it implements
59116     to always fail with ENOSYS.  Some functions are actually named
59117     something starting with __ and the normal name is an alias.  */
59118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59119 choke me
59120 #else
59121 char (*f) () = $ac_func;
59122 #endif
59123 #ifdef __cplusplus
59124 }
59125 #endif
59126
59127 int
59128 main ()
59129 {
59130 return f != $ac_func;
59131   ;
59132   return 0;
59133 }
59134 _ACEOF
59135 rm -f conftest.$ac_objext conftest$ac_exeext
59136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59137   (eval $ac_link) 2>conftest.er1
59138   ac_status=$?
59139   grep -v '^ *+' conftest.er1 >conftest.err
59140   rm -f conftest.er1
59141   cat conftest.err >&5
59142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59143   (exit $ac_status); } &&
59144          { ac_try='test -z "$ac_c_werror_flag"
59145                          || test ! -s conftest.err'
59146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59147   (eval $ac_try) 2>&5
59148   ac_status=$?
59149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59150   (exit $ac_status); }; } &&
59151          { ac_try='test -s conftest$ac_exeext'
59152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59153   (eval $ac_try) 2>&5
59154   ac_status=$?
59155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59156   (exit $ac_status); }; }; then
59157   eval "$as_ac_var=yes"
59158 else
59159   echo "$as_me: failed program was:" >&5
59160 sed 's/^/| /' conftest.$ac_ext >&5
59161
59162 eval "$as_ac_var=no"
59163 fi
59164 rm -f conftest.err conftest.$ac_objext \
59165       conftest$ac_exeext conftest.$ac_ext
59166 fi
59167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59169 if test `eval echo '${'$as_ac_var'}'` = yes; then
59170   cat >>confdefs.h <<_ACEOF
59171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59172 _ACEOF
59173
59174 fi
59175 done
59176
59177     fi
59178   fi
59179
59180
59181
59182
59183
59184
59185   echo "$as_me:$LINENO: checking for finitel declaration" >&5
59186 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
59187   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59188     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
59189   echo $ECHO_N "(cached) $ECHO_C" >&6
59190 else
59191
59192
59193
59194       ac_ext=cc
59195 ac_cpp='$CXXCPP $CPPFLAGS'
59196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59199
59200       cat >conftest.$ac_ext <<_ACEOF
59201 /* confdefs.h.  */
59202 _ACEOF
59203 cat confdefs.h >>conftest.$ac_ext
59204 cat >>conftest.$ac_ext <<_ACEOF
59205 /* end confdefs.h.  */
59206 #include <math.h>
59207                       #ifdef HAVE_IEEEFP_H
59208                       #include <ieeefp.h>
59209                       #endif
59210
59211 int
59212 main ()
59213 {
59214  finitel(0);
59215   ;
59216   return 0;
59217 }
59218 _ACEOF
59219 rm -f conftest.$ac_objext
59220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59221   (eval $ac_compile) 2>conftest.er1
59222   ac_status=$?
59223   grep -v '^ *+' conftest.er1 >conftest.err
59224   rm -f conftest.er1
59225   cat conftest.err >&5
59226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59227   (exit $ac_status); } &&
59228          { ac_try='test -z "$ac_cxx_werror_flag"
59229                          || test ! -s conftest.err'
59230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59231   (eval $ac_try) 2>&5
59232   ac_status=$?
59233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59234   (exit $ac_status); }; } &&
59235          { ac_try='test -s conftest.$ac_objext'
59236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59237   (eval $ac_try) 2>&5
59238   ac_status=$?
59239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59240   (exit $ac_status); }; }; then
59241   glibcxx_cv_func_finitel_use=yes
59242 else
59243   echo "$as_me: failed program was:" >&5
59244 sed 's/^/| /' conftest.$ac_ext >&5
59245
59246 glibcxx_cv_func_finitel_use=no
59247 fi
59248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59249       ac_ext=c
59250 ac_cpp='$CPP $CPPFLAGS'
59251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59254
59255
59256 fi
59257
59258   fi
59259   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
59260 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
59261
59262   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59263
59264 for ac_func in finitel
59265 do
59266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59267 echo "$as_me:$LINENO: checking for $ac_func" >&5
59268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59269 if eval "test \"\${$as_ac_var+set}\" = set"; then
59270   echo $ECHO_N "(cached) $ECHO_C" >&6
59271 else
59272   if test x$gcc_no_link = xyes; then
59273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59275    { (exit 1); exit 1; }; }
59276 fi
59277 cat >conftest.$ac_ext <<_ACEOF
59278 /* confdefs.h.  */
59279 _ACEOF
59280 cat confdefs.h >>conftest.$ac_ext
59281 cat >>conftest.$ac_ext <<_ACEOF
59282 /* end confdefs.h.  */
59283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59285 #define $ac_func innocuous_$ac_func
59286
59287 /* System header to define __stub macros and hopefully few prototypes,
59288     which can conflict with char $ac_func (); below.
59289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59290     <limits.h> exists even on freestanding compilers.  */
59291
59292 #ifdef __STDC__
59293 # include <limits.h>
59294 #else
59295 # include <assert.h>
59296 #endif
59297
59298 #undef $ac_func
59299
59300 /* Override any gcc2 internal prototype to avoid an error.  */
59301 #ifdef __cplusplus
59302 extern "C"
59303 {
59304 #endif
59305 /* We use char because int might match the return type of a gcc2
59306    builtin and then its argument prototype would still apply.  */
59307 char $ac_func ();
59308 /* The GNU C library defines this for functions which it implements
59309     to always fail with ENOSYS.  Some functions are actually named
59310     something starting with __ and the normal name is an alias.  */
59311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59312 choke me
59313 #else
59314 char (*f) () = $ac_func;
59315 #endif
59316 #ifdef __cplusplus
59317 }
59318 #endif
59319
59320 int
59321 main ()
59322 {
59323 return f != $ac_func;
59324   ;
59325   return 0;
59326 }
59327 _ACEOF
59328 rm -f conftest.$ac_objext conftest$ac_exeext
59329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59330   (eval $ac_link) 2>conftest.er1
59331   ac_status=$?
59332   grep -v '^ *+' conftest.er1 >conftest.err
59333   rm -f conftest.er1
59334   cat conftest.err >&5
59335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59336   (exit $ac_status); } &&
59337          { ac_try='test -z "$ac_c_werror_flag"
59338                          || test ! -s conftest.err'
59339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59340   (eval $ac_try) 2>&5
59341   ac_status=$?
59342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59343   (exit $ac_status); }; } &&
59344          { ac_try='test -s conftest$ac_exeext'
59345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59346   (eval $ac_try) 2>&5
59347   ac_status=$?
59348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59349   (exit $ac_status); }; }; then
59350   eval "$as_ac_var=yes"
59351 else
59352   echo "$as_me: failed program was:" >&5
59353 sed 's/^/| /' conftest.$ac_ext >&5
59354
59355 eval "$as_ac_var=no"
59356 fi
59357 rm -f conftest.err conftest.$ac_objext \
59358       conftest$ac_exeext conftest.$ac_ext
59359 fi
59360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59362 if test `eval echo '${'$as_ac_var'}'` = yes; then
59363   cat >>confdefs.h <<_ACEOF
59364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59365 _ACEOF
59366
59367 fi
59368 done
59369
59370   else
59371
59372   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
59373 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
59374   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59375     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
59376   echo $ECHO_N "(cached) $ECHO_C" >&6
59377 else
59378
59379
59380
59381       ac_ext=cc
59382 ac_cpp='$CXXCPP $CPPFLAGS'
59383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59386
59387       cat >conftest.$ac_ext <<_ACEOF
59388 /* confdefs.h.  */
59389 _ACEOF
59390 cat confdefs.h >>conftest.$ac_ext
59391 cat >>conftest.$ac_ext <<_ACEOF
59392 /* end confdefs.h.  */
59393 #include <math.h>
59394                       #ifdef HAVE_IEEEFP_H
59395                       #include <ieeefp.h>
59396                       #endif
59397
59398 int
59399 main ()
59400 {
59401  _finitel(0);
59402   ;
59403   return 0;
59404 }
59405 _ACEOF
59406 rm -f conftest.$ac_objext
59407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59408   (eval $ac_compile) 2>conftest.er1
59409   ac_status=$?
59410   grep -v '^ *+' conftest.er1 >conftest.err
59411   rm -f conftest.er1
59412   cat conftest.err >&5
59413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59414   (exit $ac_status); } &&
59415          { ac_try='test -z "$ac_cxx_werror_flag"
59416                          || test ! -s conftest.err'
59417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59418   (eval $ac_try) 2>&5
59419   ac_status=$?
59420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59421   (exit $ac_status); }; } &&
59422          { ac_try='test -s conftest.$ac_objext'
59423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59424   (eval $ac_try) 2>&5
59425   ac_status=$?
59426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59427   (exit $ac_status); }; }; then
59428   glibcxx_cv_func__finitel_use=yes
59429 else
59430   echo "$as_me: failed program was:" >&5
59431 sed 's/^/| /' conftest.$ac_ext >&5
59432
59433 glibcxx_cv_func__finitel_use=no
59434 fi
59435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59436       ac_ext=c
59437 ac_cpp='$CPP $CPPFLAGS'
59438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59441
59442
59443 fi
59444
59445   fi
59446   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59447 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59448
59449     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59450
59451 for ac_func in _finitel
59452 do
59453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59454 echo "$as_me:$LINENO: checking for $ac_func" >&5
59455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59456 if eval "test \"\${$as_ac_var+set}\" = set"; then
59457   echo $ECHO_N "(cached) $ECHO_C" >&6
59458 else
59459   if test x$gcc_no_link = xyes; then
59460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59462    { (exit 1); exit 1; }; }
59463 fi
59464 cat >conftest.$ac_ext <<_ACEOF
59465 /* confdefs.h.  */
59466 _ACEOF
59467 cat confdefs.h >>conftest.$ac_ext
59468 cat >>conftest.$ac_ext <<_ACEOF
59469 /* end confdefs.h.  */
59470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59472 #define $ac_func innocuous_$ac_func
59473
59474 /* System header to define __stub macros and hopefully few prototypes,
59475     which can conflict with char $ac_func (); below.
59476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59477     <limits.h> exists even on freestanding compilers.  */
59478
59479 #ifdef __STDC__
59480 # include <limits.h>
59481 #else
59482 # include <assert.h>
59483 #endif
59484
59485 #undef $ac_func
59486
59487 /* Override any gcc2 internal prototype to avoid an error.  */
59488 #ifdef __cplusplus
59489 extern "C"
59490 {
59491 #endif
59492 /* We use char because int might match the return type of a gcc2
59493    builtin and then its argument prototype would still apply.  */
59494 char $ac_func ();
59495 /* The GNU C library defines this for functions which it implements
59496     to always fail with ENOSYS.  Some functions are actually named
59497     something starting with __ and the normal name is an alias.  */
59498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59499 choke me
59500 #else
59501 char (*f) () = $ac_func;
59502 #endif
59503 #ifdef __cplusplus
59504 }
59505 #endif
59506
59507 int
59508 main ()
59509 {
59510 return f != $ac_func;
59511   ;
59512   return 0;
59513 }
59514 _ACEOF
59515 rm -f conftest.$ac_objext conftest$ac_exeext
59516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59517   (eval $ac_link) 2>conftest.er1
59518   ac_status=$?
59519   grep -v '^ *+' conftest.er1 >conftest.err
59520   rm -f conftest.er1
59521   cat conftest.err >&5
59522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59523   (exit $ac_status); } &&
59524          { ac_try='test -z "$ac_c_werror_flag"
59525                          || test ! -s conftest.err'
59526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59527   (eval $ac_try) 2>&5
59528   ac_status=$?
59529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59530   (exit $ac_status); }; } &&
59531          { ac_try='test -s conftest$ac_exeext'
59532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59533   (eval $ac_try) 2>&5
59534   ac_status=$?
59535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59536   (exit $ac_status); }; }; then
59537   eval "$as_ac_var=yes"
59538 else
59539   echo "$as_me: failed program was:" >&5
59540 sed 's/^/| /' conftest.$ac_ext >&5
59541
59542 eval "$as_ac_var=no"
59543 fi
59544 rm -f conftest.err conftest.$ac_objext \
59545       conftest$ac_exeext conftest.$ac_ext
59546 fi
59547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59549 if test `eval echo '${'$as_ac_var'}'` = yes; then
59550   cat >>confdefs.h <<_ACEOF
59551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59552 _ACEOF
59553
59554 fi
59555 done
59556
59557     fi
59558   fi
59559
59560
59561
59562
59563
59564   LIBS="$ac_save_LIBS"
59565   CXXFLAGS="$ac_save_CXXFLAGS"
59566
59567
59568
59569 echo "$as_me:$LINENO: checking for main in -lm" >&5
59570 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
59571 if test "${ac_cv_lib_m_main+set}" = set; then
59572   echo $ECHO_N "(cached) $ECHO_C" >&6
59573 else
59574   ac_check_lib_save_LIBS=$LIBS
59575 LIBS="-lm  $LIBS"
59576 if test x$gcc_no_link = xyes; then
59577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59579    { (exit 1); exit 1; }; }
59580 fi
59581 cat >conftest.$ac_ext <<_ACEOF
59582 /* confdefs.h.  */
59583 _ACEOF
59584 cat confdefs.h >>conftest.$ac_ext
59585 cat >>conftest.$ac_ext <<_ACEOF
59586 /* end confdefs.h.  */
59587
59588
59589 int
59590 main ()
59591 {
59592 main ();
59593   ;
59594   return 0;
59595 }
59596 _ACEOF
59597 rm -f conftest.$ac_objext conftest$ac_exeext
59598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59599   (eval $ac_link) 2>conftest.er1
59600   ac_status=$?
59601   grep -v '^ *+' conftest.er1 >conftest.err
59602   rm -f conftest.er1
59603   cat conftest.err >&5
59604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605   (exit $ac_status); } &&
59606          { ac_try='test -z "$ac_c_werror_flag"
59607                          || test ! -s conftest.err'
59608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59609   (eval $ac_try) 2>&5
59610   ac_status=$?
59611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59612   (exit $ac_status); }; } &&
59613          { ac_try='test -s conftest$ac_exeext'
59614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59615   (eval $ac_try) 2>&5
59616   ac_status=$?
59617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59618   (exit $ac_status); }; }; then
59619   ac_cv_lib_m_main=yes
59620 else
59621   echo "$as_me: failed program was:" >&5
59622 sed 's/^/| /' conftest.$ac_ext >&5
59623
59624 ac_cv_lib_m_main=no
59625 fi
59626 rm -f conftest.err conftest.$ac_objext \
59627       conftest$ac_exeext conftest.$ac_ext
59628 LIBS=$ac_check_lib_save_LIBS
59629 fi
59630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
59631 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
59632 if test $ac_cv_lib_m_main = yes; then
59633   cat >>confdefs.h <<_ACEOF
59634 #define HAVE_LIBM 1
59635 _ACEOF
59636
59637   LIBS="-lm $LIBS"
59638
59639 fi
59640
59641
59642 for ac_func in copysignf
59643 do
59644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59645 echo "$as_me:$LINENO: checking for $ac_func" >&5
59646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59647 if eval "test \"\${$as_ac_var+set}\" = set"; then
59648   echo $ECHO_N "(cached) $ECHO_C" >&6
59649 else
59650   if test x$gcc_no_link = xyes; then
59651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59653    { (exit 1); exit 1; }; }
59654 fi
59655 cat >conftest.$ac_ext <<_ACEOF
59656 /* confdefs.h.  */
59657 _ACEOF
59658 cat confdefs.h >>conftest.$ac_ext
59659 cat >>conftest.$ac_ext <<_ACEOF
59660 /* end confdefs.h.  */
59661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59662    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59663 #define $ac_func innocuous_$ac_func
59664
59665 /* System header to define __stub macros and hopefully few prototypes,
59666     which can conflict with char $ac_func (); below.
59667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59668     <limits.h> exists even on freestanding compilers.  */
59669
59670 #ifdef __STDC__
59671 # include <limits.h>
59672 #else
59673 # include <assert.h>
59674 #endif
59675
59676 #undef $ac_func
59677
59678 /* Override any gcc2 internal prototype to avoid an error.  */
59679 #ifdef __cplusplus
59680 extern "C"
59681 {
59682 #endif
59683 /* We use char because int might match the return type of a gcc2
59684    builtin and then its argument prototype would still apply.  */
59685 char $ac_func ();
59686 /* The GNU C library defines this for functions which it implements
59687     to always fail with ENOSYS.  Some functions are actually named
59688     something starting with __ and the normal name is an alias.  */
59689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59690 choke me
59691 #else
59692 char (*f) () = $ac_func;
59693 #endif
59694 #ifdef __cplusplus
59695 }
59696 #endif
59697
59698 int
59699 main ()
59700 {
59701 return f != $ac_func;
59702   ;
59703   return 0;
59704 }
59705 _ACEOF
59706 rm -f conftest.$ac_objext conftest$ac_exeext
59707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59708   (eval $ac_link) 2>conftest.er1
59709   ac_status=$?
59710   grep -v '^ *+' conftest.er1 >conftest.err
59711   rm -f conftest.er1
59712   cat conftest.err >&5
59713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59714   (exit $ac_status); } &&
59715          { ac_try='test -z "$ac_c_werror_flag"
59716                          || test ! -s conftest.err'
59717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59718   (eval $ac_try) 2>&5
59719   ac_status=$?
59720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59721   (exit $ac_status); }; } &&
59722          { ac_try='test -s conftest$ac_exeext'
59723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59724   (eval $ac_try) 2>&5
59725   ac_status=$?
59726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59727   (exit $ac_status); }; }; then
59728   eval "$as_ac_var=yes"
59729 else
59730   echo "$as_me: failed program was:" >&5
59731 sed 's/^/| /' conftest.$ac_ext >&5
59732
59733 eval "$as_ac_var=no"
59734 fi
59735 rm -f conftest.err conftest.$ac_objext \
59736       conftest$ac_exeext conftest.$ac_ext
59737 fi
59738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59740 if test `eval echo '${'$as_ac_var'}'` = yes; then
59741   cat >>confdefs.h <<_ACEOF
59742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59743 _ACEOF
59744
59745 else
59746   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
59747 fi
59748 done
59749
59750
59751
59752 for ac_func in __signbit
59753 do
59754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59755 echo "$as_me:$LINENO: checking for $ac_func" >&5
59756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59757 if eval "test \"\${$as_ac_var+set}\" = set"; then
59758   echo $ECHO_N "(cached) $ECHO_C" >&6
59759 else
59760   if test x$gcc_no_link = xyes; then
59761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59763    { (exit 1); exit 1; }; }
59764 fi
59765 cat >conftest.$ac_ext <<_ACEOF
59766 /* confdefs.h.  */
59767 _ACEOF
59768 cat confdefs.h >>conftest.$ac_ext
59769 cat >>conftest.$ac_ext <<_ACEOF
59770 /* end confdefs.h.  */
59771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59773 #define $ac_func innocuous_$ac_func
59774
59775 /* System header to define __stub macros and hopefully few prototypes,
59776     which can conflict with char $ac_func (); below.
59777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59778     <limits.h> exists even on freestanding compilers.  */
59779
59780 #ifdef __STDC__
59781 # include <limits.h>
59782 #else
59783 # include <assert.h>
59784 #endif
59785
59786 #undef $ac_func
59787
59788 /* Override any gcc2 internal prototype to avoid an error.  */
59789 #ifdef __cplusplus
59790 extern "C"
59791 {
59792 #endif
59793 /* We use char because int might match the return type of a gcc2
59794    builtin and then its argument prototype would still apply.  */
59795 char $ac_func ();
59796 /* The GNU C library defines this for functions which it implements
59797     to always fail with ENOSYS.  Some functions are actually named
59798     something starting with __ and the normal name is an alias.  */
59799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59800 choke me
59801 #else
59802 char (*f) () = $ac_func;
59803 #endif
59804 #ifdef __cplusplus
59805 }
59806 #endif
59807
59808 int
59809 main ()
59810 {
59811 return f != $ac_func;
59812   ;
59813   return 0;
59814 }
59815 _ACEOF
59816 rm -f conftest.$ac_objext conftest$ac_exeext
59817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59818   (eval $ac_link) 2>conftest.er1
59819   ac_status=$?
59820   grep -v '^ *+' conftest.er1 >conftest.err
59821   rm -f conftest.er1
59822   cat conftest.err >&5
59823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59824   (exit $ac_status); } &&
59825          { ac_try='test -z "$ac_c_werror_flag"
59826                          || test ! -s conftest.err'
59827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59828   (eval $ac_try) 2>&5
59829   ac_status=$?
59830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59831   (exit $ac_status); }; } &&
59832          { ac_try='test -s conftest$ac_exeext'
59833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59834   (eval $ac_try) 2>&5
59835   ac_status=$?
59836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837   (exit $ac_status); }; }; then
59838   eval "$as_ac_var=yes"
59839 else
59840   echo "$as_me: failed program was:" >&5
59841 sed 's/^/| /' conftest.$ac_ext >&5
59842
59843 eval "$as_ac_var=no"
59844 fi
59845 rm -f conftest.err conftest.$ac_objext \
59846       conftest$ac_exeext conftest.$ac_ext
59847 fi
59848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59850 if test `eval echo '${'$as_ac_var'}'` = yes; then
59851   cat >>confdefs.h <<_ACEOF
59852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59853 _ACEOF
59854
59855 else
59856   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
59857 fi
59858 done
59859
59860
59861
59862 for ac_func in __signbitf
59863 do
59864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59865 echo "$as_me:$LINENO: checking for $ac_func" >&5
59866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59867 if eval "test \"\${$as_ac_var+set}\" = set"; then
59868   echo $ECHO_N "(cached) $ECHO_C" >&6
59869 else
59870   if test x$gcc_no_link = xyes; then
59871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59873    { (exit 1); exit 1; }; }
59874 fi
59875 cat >conftest.$ac_ext <<_ACEOF
59876 /* confdefs.h.  */
59877 _ACEOF
59878 cat confdefs.h >>conftest.$ac_ext
59879 cat >>conftest.$ac_ext <<_ACEOF
59880 /* end confdefs.h.  */
59881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59883 #define $ac_func innocuous_$ac_func
59884
59885 /* System header to define __stub macros and hopefully few prototypes,
59886     which can conflict with char $ac_func (); below.
59887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59888     <limits.h> exists even on freestanding compilers.  */
59889
59890 #ifdef __STDC__
59891 # include <limits.h>
59892 #else
59893 # include <assert.h>
59894 #endif
59895
59896 #undef $ac_func
59897
59898 /* Override any gcc2 internal prototype to avoid an error.  */
59899 #ifdef __cplusplus
59900 extern "C"
59901 {
59902 #endif
59903 /* We use char because int might match the return type of a gcc2
59904    builtin and then its argument prototype would still apply.  */
59905 char $ac_func ();
59906 /* The GNU C library defines this for functions which it implements
59907     to always fail with ENOSYS.  Some functions are actually named
59908     something starting with __ and the normal name is an alias.  */
59909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59910 choke me
59911 #else
59912 char (*f) () = $ac_func;
59913 #endif
59914 #ifdef __cplusplus
59915 }
59916 #endif
59917
59918 int
59919 main ()
59920 {
59921 return f != $ac_func;
59922   ;
59923   return 0;
59924 }
59925 _ACEOF
59926 rm -f conftest.$ac_objext conftest$ac_exeext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59928   (eval $ac_link) 2>conftest.er1
59929   ac_status=$?
59930   grep -v '^ *+' conftest.er1 >conftest.err
59931   rm -f conftest.er1
59932   cat conftest.err >&5
59933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934   (exit $ac_status); } &&
59935          { ac_try='test -z "$ac_c_werror_flag"
59936                          || test ! -s conftest.err'
59937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59938   (eval $ac_try) 2>&5
59939   ac_status=$?
59940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941   (exit $ac_status); }; } &&
59942          { ac_try='test -s conftest$ac_exeext'
59943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944   (eval $ac_try) 2>&5
59945   ac_status=$?
59946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947   (exit $ac_status); }; }; then
59948   eval "$as_ac_var=yes"
59949 else
59950   echo "$as_me: failed program was:" >&5
59951 sed 's/^/| /' conftest.$ac_ext >&5
59952
59953 eval "$as_ac_var=no"
59954 fi
59955 rm -f conftest.err conftest.$ac_objext \
59956       conftest$ac_exeext conftest.$ac_ext
59957 fi
59958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59960 if test `eval echo '${'$as_ac_var'}'` = yes; then
59961   cat >>confdefs.h <<_ACEOF
59962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59963 _ACEOF
59964
59965 else
59966   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
59967 fi
59968 done
59969
59970
59971           if test x$ac_cv_func_copysignl = x"yes"; then
59972
59973 for ac_func in __signbitl
59974 do
59975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59976 echo "$as_me:$LINENO: checking for $ac_func" >&5
59977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59978 if eval "test \"\${$as_ac_var+set}\" = set"; then
59979   echo $ECHO_N "(cached) $ECHO_C" >&6
59980 else
59981   if test x$gcc_no_link = xyes; then
59982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59984    { (exit 1); exit 1; }; }
59985 fi
59986 cat >conftest.$ac_ext <<_ACEOF
59987 /* confdefs.h.  */
59988 _ACEOF
59989 cat confdefs.h >>conftest.$ac_ext
59990 cat >>conftest.$ac_ext <<_ACEOF
59991 /* end confdefs.h.  */
59992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59994 #define $ac_func innocuous_$ac_func
59995
59996 /* System header to define __stub macros and hopefully few prototypes,
59997     which can conflict with char $ac_func (); below.
59998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59999     <limits.h> exists even on freestanding compilers.  */
60000
60001 #ifdef __STDC__
60002 # include <limits.h>
60003 #else
60004 # include <assert.h>
60005 #endif
60006
60007 #undef $ac_func
60008
60009 /* Override any gcc2 internal prototype to avoid an error.  */
60010 #ifdef __cplusplus
60011 extern "C"
60012 {
60013 #endif
60014 /* We use char because int might match the return type of a gcc2
60015    builtin and then its argument prototype would still apply.  */
60016 char $ac_func ();
60017 /* The GNU C library defines this for functions which it implements
60018     to always fail with ENOSYS.  Some functions are actually named
60019     something starting with __ and the normal name is an alias.  */
60020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60021 choke me
60022 #else
60023 char (*f) () = $ac_func;
60024 #endif
60025 #ifdef __cplusplus
60026 }
60027 #endif
60028
60029 int
60030 main ()
60031 {
60032 return f != $ac_func;
60033   ;
60034   return 0;
60035 }
60036 _ACEOF
60037 rm -f conftest.$ac_objext conftest$ac_exeext
60038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60039   (eval $ac_link) 2>conftest.er1
60040   ac_status=$?
60041   grep -v '^ *+' conftest.er1 >conftest.err
60042   rm -f conftest.er1
60043   cat conftest.err >&5
60044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60045   (exit $ac_status); } &&
60046          { ac_try='test -z "$ac_c_werror_flag"
60047                          || test ! -s conftest.err'
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); }; } &&
60053          { ac_try='test -s conftest$ac_exeext'
60054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60055   (eval $ac_try) 2>&5
60056   ac_status=$?
60057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60058   (exit $ac_status); }; }; then
60059   eval "$as_ac_var=yes"
60060 else
60061   echo "$as_me: failed program was:" >&5
60062 sed 's/^/| /' conftest.$ac_ext >&5
60063
60064 eval "$as_ac_var=no"
60065 fi
60066 rm -f conftest.err conftest.$ac_objext \
60067       conftest$ac_exeext conftest.$ac_ext
60068 fi
60069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60071 if test `eval echo '${'$as_ac_var'}'` = yes; then
60072   cat >>confdefs.h <<_ACEOF
60073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60074 _ACEOF
60075
60076 else
60077   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
60078 fi
60079 done
60080
60081   fi
60082
60083   # Used in libmath/Makefile.am.
60084   if test -n "$LIBMATHOBJS"; then
60085     need_libmath=yes
60086   fi
60087
60088
60089
60090   ac_test_CXXFLAGS="${CXXFLAGS+set}"
60091   ac_save_CXXFLAGS="$CXXFLAGS"
60092   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60093
60094
60095   echo "$as_me:$LINENO: checking for strtold declaration" >&5
60096 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
60097   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60098     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
60099   echo $ECHO_N "(cached) $ECHO_C" >&6
60100 else
60101
60102
60103
60104       ac_ext=cc
60105 ac_cpp='$CXXCPP $CPPFLAGS'
60106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60109
60110       cat >conftest.$ac_ext <<_ACEOF
60111 /* confdefs.h.  */
60112 _ACEOF
60113 cat confdefs.h >>conftest.$ac_ext
60114 cat >>conftest.$ac_ext <<_ACEOF
60115 /* end confdefs.h.  */
60116 #include <stdlib.h>
60117 int
60118 main ()
60119 {
60120  strtold(0, 0);
60121   ;
60122   return 0;
60123 }
60124 _ACEOF
60125 rm -f conftest.$ac_objext
60126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60127   (eval $ac_compile) 2>conftest.er1
60128   ac_status=$?
60129   grep -v '^ *+' conftest.er1 >conftest.err
60130   rm -f conftest.er1
60131   cat conftest.err >&5
60132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60133   (exit $ac_status); } &&
60134          { ac_try='test -z "$ac_cxx_werror_flag"
60135                          || test ! -s conftest.err'
60136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60137   (eval $ac_try) 2>&5
60138   ac_status=$?
60139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60140   (exit $ac_status); }; } &&
60141          { ac_try='test -s conftest.$ac_objext'
60142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60143   (eval $ac_try) 2>&5
60144   ac_status=$?
60145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60146   (exit $ac_status); }; }; then
60147   glibcxx_cv_func_strtold_use=yes
60148 else
60149   echo "$as_me: failed program was:" >&5
60150 sed 's/^/| /' conftest.$ac_ext >&5
60151
60152 glibcxx_cv_func_strtold_use=no
60153 fi
60154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60155       ac_ext=c
60156 ac_cpp='$CPP $CPPFLAGS'
60157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60160
60161
60162 fi
60163
60164   fi
60165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
60166 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
60167   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60168
60169 for ac_func in strtold
60170 do
60171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60172 echo "$as_me:$LINENO: checking for $ac_func" >&5
60173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60174 if eval "test \"\${$as_ac_var+set}\" = set"; then
60175   echo $ECHO_N "(cached) $ECHO_C" >&6
60176 else
60177   if test x$gcc_no_link = xyes; then
60178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60180    { (exit 1); exit 1; }; }
60181 fi
60182 cat >conftest.$ac_ext <<_ACEOF
60183 /* confdefs.h.  */
60184 _ACEOF
60185 cat confdefs.h >>conftest.$ac_ext
60186 cat >>conftest.$ac_ext <<_ACEOF
60187 /* end confdefs.h.  */
60188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60190 #define $ac_func innocuous_$ac_func
60191
60192 /* System header to define __stub macros and hopefully few prototypes,
60193     which can conflict with char $ac_func (); below.
60194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60195     <limits.h> exists even on freestanding compilers.  */
60196
60197 #ifdef __STDC__
60198 # include <limits.h>
60199 #else
60200 # include <assert.h>
60201 #endif
60202
60203 #undef $ac_func
60204
60205 /* Override any gcc2 internal prototype to avoid an error.  */
60206 #ifdef __cplusplus
60207 extern "C"
60208 {
60209 #endif
60210 /* We use char because int might match the return type of a gcc2
60211    builtin and then its argument prototype would still apply.  */
60212 char $ac_func ();
60213 /* The GNU C library defines this for functions which it implements
60214     to always fail with ENOSYS.  Some functions are actually named
60215     something starting with __ and the normal name is an alias.  */
60216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60217 choke me
60218 #else
60219 char (*f) () = $ac_func;
60220 #endif
60221 #ifdef __cplusplus
60222 }
60223 #endif
60224
60225 int
60226 main ()
60227 {
60228 return f != $ac_func;
60229   ;
60230   return 0;
60231 }
60232 _ACEOF
60233 rm -f conftest.$ac_objext conftest$ac_exeext
60234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60235   (eval $ac_link) 2>conftest.er1
60236   ac_status=$?
60237   grep -v '^ *+' conftest.er1 >conftest.err
60238   rm -f conftest.er1
60239   cat conftest.err >&5
60240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60241   (exit $ac_status); } &&
60242          { ac_try='test -z "$ac_c_werror_flag"
60243                          || test ! -s conftest.err'
60244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60245   (eval $ac_try) 2>&5
60246   ac_status=$?
60247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60248   (exit $ac_status); }; } &&
60249          { ac_try='test -s conftest$ac_exeext'
60250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60251   (eval $ac_try) 2>&5
60252   ac_status=$?
60253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60254   (exit $ac_status); }; }; then
60255   eval "$as_ac_var=yes"
60256 else
60257   echo "$as_me: failed program was:" >&5
60258 sed 's/^/| /' conftest.$ac_ext >&5
60259
60260 eval "$as_ac_var=no"
60261 fi
60262 rm -f conftest.err conftest.$ac_objext \
60263       conftest$ac_exeext conftest.$ac_ext
60264 fi
60265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60267 if test `eval echo '${'$as_ac_var'}'` = yes; then
60268   cat >>confdefs.h <<_ACEOF
60269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60270 _ACEOF
60271
60272 fi
60273 done
60274
60275   fi
60276
60277
60278
60279
60280
60281   echo "$as_me:$LINENO: checking for strtof declaration" >&5
60282 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
60283   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60284     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
60285   echo $ECHO_N "(cached) $ECHO_C" >&6
60286 else
60287
60288
60289
60290       ac_ext=cc
60291 ac_cpp='$CXXCPP $CPPFLAGS'
60292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60295
60296       cat >conftest.$ac_ext <<_ACEOF
60297 /* confdefs.h.  */
60298 _ACEOF
60299 cat confdefs.h >>conftest.$ac_ext
60300 cat >>conftest.$ac_ext <<_ACEOF
60301 /* end confdefs.h.  */
60302 #include <stdlib.h>
60303 int
60304 main ()
60305 {
60306  strtof(0, 0);
60307   ;
60308   return 0;
60309 }
60310 _ACEOF
60311 rm -f conftest.$ac_objext
60312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60313   (eval $ac_compile) 2>conftest.er1
60314   ac_status=$?
60315   grep -v '^ *+' conftest.er1 >conftest.err
60316   rm -f conftest.er1
60317   cat conftest.err >&5
60318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60319   (exit $ac_status); } &&
60320          { ac_try='test -z "$ac_cxx_werror_flag"
60321                          || test ! -s conftest.err'
60322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60323   (eval $ac_try) 2>&5
60324   ac_status=$?
60325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60326   (exit $ac_status); }; } &&
60327          { ac_try='test -s conftest.$ac_objext'
60328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60329   (eval $ac_try) 2>&5
60330   ac_status=$?
60331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60332   (exit $ac_status); }; }; then
60333   glibcxx_cv_func_strtof_use=yes
60334 else
60335   echo "$as_me: failed program was:" >&5
60336 sed 's/^/| /' conftest.$ac_ext >&5
60337
60338 glibcxx_cv_func_strtof_use=no
60339 fi
60340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60341       ac_ext=c
60342 ac_cpp='$CPP $CPPFLAGS'
60343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60346
60347
60348 fi
60349
60350   fi
60351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
60352 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
60353   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60354
60355 for ac_func in strtof
60356 do
60357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60358 echo "$as_me:$LINENO: checking for $ac_func" >&5
60359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60360 if eval "test \"\${$as_ac_var+set}\" = set"; then
60361   echo $ECHO_N "(cached) $ECHO_C" >&6
60362 else
60363   if test x$gcc_no_link = xyes; then
60364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60366    { (exit 1); exit 1; }; }
60367 fi
60368 cat >conftest.$ac_ext <<_ACEOF
60369 /* confdefs.h.  */
60370 _ACEOF
60371 cat confdefs.h >>conftest.$ac_ext
60372 cat >>conftest.$ac_ext <<_ACEOF
60373 /* end confdefs.h.  */
60374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60376 #define $ac_func innocuous_$ac_func
60377
60378 /* System header to define __stub macros and hopefully few prototypes,
60379     which can conflict with char $ac_func (); below.
60380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60381     <limits.h> exists even on freestanding compilers.  */
60382
60383 #ifdef __STDC__
60384 # include <limits.h>
60385 #else
60386 # include <assert.h>
60387 #endif
60388
60389 #undef $ac_func
60390
60391 /* Override any gcc2 internal prototype to avoid an error.  */
60392 #ifdef __cplusplus
60393 extern "C"
60394 {
60395 #endif
60396 /* We use char because int might match the return type of a gcc2
60397    builtin and then its argument prototype would still apply.  */
60398 char $ac_func ();
60399 /* The GNU C library defines this for functions which it implements
60400     to always fail with ENOSYS.  Some functions are actually named
60401     something starting with __ and the normal name is an alias.  */
60402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60403 choke me
60404 #else
60405 char (*f) () = $ac_func;
60406 #endif
60407 #ifdef __cplusplus
60408 }
60409 #endif
60410
60411 int
60412 main ()
60413 {
60414 return f != $ac_func;
60415   ;
60416   return 0;
60417 }
60418 _ACEOF
60419 rm -f conftest.$ac_objext conftest$ac_exeext
60420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60421   (eval $ac_link) 2>conftest.er1
60422   ac_status=$?
60423   grep -v '^ *+' conftest.er1 >conftest.err
60424   rm -f conftest.er1
60425   cat conftest.err >&5
60426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427   (exit $ac_status); } &&
60428          { ac_try='test -z "$ac_c_werror_flag"
60429                          || test ! -s conftest.err'
60430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60431   (eval $ac_try) 2>&5
60432   ac_status=$?
60433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60434   (exit $ac_status); }; } &&
60435          { ac_try='test -s conftest$ac_exeext'
60436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60437   (eval $ac_try) 2>&5
60438   ac_status=$?
60439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60440   (exit $ac_status); }; }; then
60441   eval "$as_ac_var=yes"
60442 else
60443   echo "$as_me: failed program was:" >&5
60444 sed 's/^/| /' conftest.$ac_ext >&5
60445
60446 eval "$as_ac_var=no"
60447 fi
60448 rm -f conftest.err conftest.$ac_objext \
60449       conftest$ac_exeext conftest.$ac_ext
60450 fi
60451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60453 if test `eval echo '${'$as_ac_var'}'` = yes; then
60454   cat >>confdefs.h <<_ACEOF
60455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60456 _ACEOF
60457
60458 fi
60459 done
60460
60461   fi
60462
60463
60464
60465
60466
60467   CXXFLAGS="$ac_save_CXXFLAGS"
60468
60469
60470     cat >>confdefs.h <<\_ACEOF
60471 #define HAVE_LIBM 1
60472 _ACEOF
60473
60474     cat >>confdefs.h <<\_ACEOF
60475 #define HAVE_COPYSIGN 1
60476 _ACEOF
60477
60478     cat >>confdefs.h <<\_ACEOF
60479 #define HAVE_FINITE 1
60480 _ACEOF
60481
60482     cat >>confdefs.h <<\_ACEOF
60483 #define HAVE_HYPOT 1
60484 _ACEOF
60485
60486     cat >>confdefs.h <<\_ACEOF
60487 #define HAVE_ISNAN 1
60488 _ACEOF
60489
60490     cat >>confdefs.h <<\_ACEOF
60491 #define HAVE_ISINF 1
60492 _ACEOF
60493
60494
60495     cat >>confdefs.h <<\_ACEOF
60496 #define HAVE_LDEXPF 1
60497 _ACEOF
60498
60499     cat >>confdefs.h <<\_ACEOF
60500 #define HAVE_MODF 1
60501 _ACEOF
60502
60503     cat >>confdefs.h <<\_ACEOF
60504 #define HAVE_SQRTF 1
60505 _ACEOF
60506
60507     ;;
60508
60509   *-darwin*)
60510     # Darwin versions vary, but the linker should work in a cross environment,
60511     # so we just check for all the features here.
60512     # Check for available headers.
60513
60514     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
60515
60516   ac_test_CXXFLAGS="${CXXFLAGS+set}"
60517   ac_save_CXXFLAGS="$CXXFLAGS"
60518   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60519
60520     echo "$as_me:$LINENO: checking for sin in -lm" >&5
60521 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
60522 if test "${ac_cv_lib_m_sin+set}" = set; then
60523   echo $ECHO_N "(cached) $ECHO_C" >&6
60524 else
60525   ac_check_lib_save_LIBS=$LIBS
60526 LIBS="-lm  $LIBS"
60527 if test x$gcc_no_link = xyes; then
60528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60530    { (exit 1); exit 1; }; }
60531 fi
60532 cat >conftest.$ac_ext <<_ACEOF
60533 /* confdefs.h.  */
60534 _ACEOF
60535 cat confdefs.h >>conftest.$ac_ext
60536 cat >>conftest.$ac_ext <<_ACEOF
60537 /* end confdefs.h.  */
60538
60539 /* Override any gcc2 internal prototype to avoid an error.  */
60540 #ifdef __cplusplus
60541 extern "C"
60542 #endif
60543 /* We use char because int might match the return type of a gcc2
60544    builtin and then its argument prototype would still apply.  */
60545 char sin ();
60546 int
60547 main ()
60548 {
60549 sin ();
60550   ;
60551   return 0;
60552 }
60553 _ACEOF
60554 rm -f conftest.$ac_objext conftest$ac_exeext
60555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60556   (eval $ac_link) 2>conftest.er1
60557   ac_status=$?
60558   grep -v '^ *+' conftest.er1 >conftest.err
60559   rm -f conftest.er1
60560   cat conftest.err >&5
60561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60562   (exit $ac_status); } &&
60563          { ac_try='test -z "$ac_c_werror_flag"
60564                          || test ! -s conftest.err'
60565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60566   (eval $ac_try) 2>&5
60567   ac_status=$?
60568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60569   (exit $ac_status); }; } &&
60570          { ac_try='test -s conftest$ac_exeext'
60571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60572   (eval $ac_try) 2>&5
60573   ac_status=$?
60574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60575   (exit $ac_status); }; }; then
60576   ac_cv_lib_m_sin=yes
60577 else
60578   echo "$as_me: failed program was:" >&5
60579 sed 's/^/| /' conftest.$ac_ext >&5
60580
60581 ac_cv_lib_m_sin=no
60582 fi
60583 rm -f conftest.err conftest.$ac_objext \
60584       conftest$ac_exeext conftest.$ac_ext
60585 LIBS=$ac_check_lib_save_LIBS
60586 fi
60587 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
60588 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
60589 if test $ac_cv_lib_m_sin = yes; then
60590   libm="-lm"
60591 fi
60592
60593   ac_save_LIBS="$LIBS"
60594   LIBS="$LIBS $libm"
60595
60596
60597
60598   echo "$as_me:$LINENO: checking for isinf declaration" >&5
60599 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
60600   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60601     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
60602   echo $ECHO_N "(cached) $ECHO_C" >&6
60603 else
60604
60605
60606
60607       ac_ext=cc
60608 ac_cpp='$CXXCPP $CPPFLAGS'
60609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60612
60613       cat >conftest.$ac_ext <<_ACEOF
60614 /* confdefs.h.  */
60615 _ACEOF
60616 cat confdefs.h >>conftest.$ac_ext
60617 cat >>conftest.$ac_ext <<_ACEOF
60618 /* end confdefs.h.  */
60619 #include <math.h>
60620                       #ifdef HAVE_IEEEFP_H
60621                       #include <ieeefp.h>
60622                       #endif
60623
60624 int
60625 main ()
60626 {
60627  isinf(0);
60628   ;
60629   return 0;
60630 }
60631 _ACEOF
60632 rm -f conftest.$ac_objext
60633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60634   (eval $ac_compile) 2>conftest.er1
60635   ac_status=$?
60636   grep -v '^ *+' conftest.er1 >conftest.err
60637   rm -f conftest.er1
60638   cat conftest.err >&5
60639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60640   (exit $ac_status); } &&
60641          { ac_try='test -z "$ac_cxx_werror_flag"
60642                          || test ! -s conftest.err'
60643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60644   (eval $ac_try) 2>&5
60645   ac_status=$?
60646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60647   (exit $ac_status); }; } &&
60648          { ac_try='test -s conftest.$ac_objext'
60649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60650   (eval $ac_try) 2>&5
60651   ac_status=$?
60652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60653   (exit $ac_status); }; }; then
60654   glibcxx_cv_func_isinf_use=yes
60655 else
60656   echo "$as_me: failed program was:" >&5
60657 sed 's/^/| /' conftest.$ac_ext >&5
60658
60659 glibcxx_cv_func_isinf_use=no
60660 fi
60661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60662       ac_ext=c
60663 ac_cpp='$CPP $CPPFLAGS'
60664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60667
60668
60669 fi
60670
60671   fi
60672   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
60673 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
60674
60675   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60676
60677 for ac_func in isinf
60678 do
60679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60680 echo "$as_me:$LINENO: checking for $ac_func" >&5
60681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60682 if eval "test \"\${$as_ac_var+set}\" = set"; then
60683   echo $ECHO_N "(cached) $ECHO_C" >&6
60684 else
60685   if test x$gcc_no_link = xyes; then
60686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60688    { (exit 1); exit 1; }; }
60689 fi
60690 cat >conftest.$ac_ext <<_ACEOF
60691 /* confdefs.h.  */
60692 _ACEOF
60693 cat confdefs.h >>conftest.$ac_ext
60694 cat >>conftest.$ac_ext <<_ACEOF
60695 /* end confdefs.h.  */
60696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60698 #define $ac_func innocuous_$ac_func
60699
60700 /* System header to define __stub macros and hopefully few prototypes,
60701     which can conflict with char $ac_func (); below.
60702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60703     <limits.h> exists even on freestanding compilers.  */
60704
60705 #ifdef __STDC__
60706 # include <limits.h>
60707 #else
60708 # include <assert.h>
60709 #endif
60710
60711 #undef $ac_func
60712
60713 /* Override any gcc2 internal prototype to avoid an error.  */
60714 #ifdef __cplusplus
60715 extern "C"
60716 {
60717 #endif
60718 /* We use char because int might match the return type of a gcc2
60719    builtin and then its argument prototype would still apply.  */
60720 char $ac_func ();
60721 /* The GNU C library defines this for functions which it implements
60722     to always fail with ENOSYS.  Some functions are actually named
60723     something starting with __ and the normal name is an alias.  */
60724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60725 choke me
60726 #else
60727 char (*f) () = $ac_func;
60728 #endif
60729 #ifdef __cplusplus
60730 }
60731 #endif
60732
60733 int
60734 main ()
60735 {
60736 return f != $ac_func;
60737   ;
60738   return 0;
60739 }
60740 _ACEOF
60741 rm -f conftest.$ac_objext conftest$ac_exeext
60742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60743   (eval $ac_link) 2>conftest.er1
60744   ac_status=$?
60745   grep -v '^ *+' conftest.er1 >conftest.err
60746   rm -f conftest.er1
60747   cat conftest.err >&5
60748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60749   (exit $ac_status); } &&
60750          { ac_try='test -z "$ac_c_werror_flag"
60751                          || test ! -s conftest.err'
60752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60753   (eval $ac_try) 2>&5
60754   ac_status=$?
60755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60756   (exit $ac_status); }; } &&
60757          { ac_try='test -s conftest$ac_exeext'
60758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60759   (eval $ac_try) 2>&5
60760   ac_status=$?
60761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60762   (exit $ac_status); }; }; then
60763   eval "$as_ac_var=yes"
60764 else
60765   echo "$as_me: failed program was:" >&5
60766 sed 's/^/| /' conftest.$ac_ext >&5
60767
60768 eval "$as_ac_var=no"
60769 fi
60770 rm -f conftest.err conftest.$ac_objext \
60771       conftest$ac_exeext conftest.$ac_ext
60772 fi
60773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60775 if test `eval echo '${'$as_ac_var'}'` = yes; then
60776   cat >>confdefs.h <<_ACEOF
60777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60778 _ACEOF
60779
60780 fi
60781 done
60782
60783   else
60784
60785   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
60786 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
60787   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60788     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
60789   echo $ECHO_N "(cached) $ECHO_C" >&6
60790 else
60791
60792
60793
60794       ac_ext=cc
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60799
60800       cat >conftest.$ac_ext <<_ACEOF
60801 /* confdefs.h.  */
60802 _ACEOF
60803 cat confdefs.h >>conftest.$ac_ext
60804 cat >>conftest.$ac_ext <<_ACEOF
60805 /* end confdefs.h.  */
60806 #include <math.h>
60807                       #ifdef HAVE_IEEEFP_H
60808                       #include <ieeefp.h>
60809                       #endif
60810
60811 int
60812 main ()
60813 {
60814  _isinf(0);
60815   ;
60816   return 0;
60817 }
60818 _ACEOF
60819 rm -f conftest.$ac_objext
60820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60821   (eval $ac_compile) 2>conftest.er1
60822   ac_status=$?
60823   grep -v '^ *+' conftest.er1 >conftest.err
60824   rm -f conftest.er1
60825   cat conftest.err >&5
60826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60827   (exit $ac_status); } &&
60828          { ac_try='test -z "$ac_cxx_werror_flag"
60829                          || test ! -s conftest.err'
60830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60831   (eval $ac_try) 2>&5
60832   ac_status=$?
60833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60834   (exit $ac_status); }; } &&
60835          { ac_try='test -s conftest.$ac_objext'
60836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60837   (eval $ac_try) 2>&5
60838   ac_status=$?
60839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60840   (exit $ac_status); }; }; then
60841   glibcxx_cv_func__isinf_use=yes
60842 else
60843   echo "$as_me: failed program was:" >&5
60844 sed 's/^/| /' conftest.$ac_ext >&5
60845
60846 glibcxx_cv_func__isinf_use=no
60847 fi
60848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60849       ac_ext=c
60850 ac_cpp='$CPP $CPPFLAGS'
60851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60854
60855
60856 fi
60857
60858   fi
60859   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
60860 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
60861
60862     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60863
60864 for ac_func in _isinf
60865 do
60866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60867 echo "$as_me:$LINENO: checking for $ac_func" >&5
60868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60869 if eval "test \"\${$as_ac_var+set}\" = set"; then
60870   echo $ECHO_N "(cached) $ECHO_C" >&6
60871 else
60872   if test x$gcc_no_link = xyes; then
60873   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60875    { (exit 1); exit 1; }; }
60876 fi
60877 cat >conftest.$ac_ext <<_ACEOF
60878 /* confdefs.h.  */
60879 _ACEOF
60880 cat confdefs.h >>conftest.$ac_ext
60881 cat >>conftest.$ac_ext <<_ACEOF
60882 /* end confdefs.h.  */
60883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60884    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60885 #define $ac_func innocuous_$ac_func
60886
60887 /* System header to define __stub macros and hopefully few prototypes,
60888     which can conflict with char $ac_func (); below.
60889     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60890     <limits.h> exists even on freestanding compilers.  */
60891
60892 #ifdef __STDC__
60893 # include <limits.h>
60894 #else
60895 # include <assert.h>
60896 #endif
60897
60898 #undef $ac_func
60899
60900 /* Override any gcc2 internal prototype to avoid an error.  */
60901 #ifdef __cplusplus
60902 extern "C"
60903 {
60904 #endif
60905 /* We use char because int might match the return type of a gcc2
60906    builtin and then its argument prototype would still apply.  */
60907 char $ac_func ();
60908 /* The GNU C library defines this for functions which it implements
60909     to always fail with ENOSYS.  Some functions are actually named
60910     something starting with __ and the normal name is an alias.  */
60911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60912 choke me
60913 #else
60914 char (*f) () = $ac_func;
60915 #endif
60916 #ifdef __cplusplus
60917 }
60918 #endif
60919
60920 int
60921 main ()
60922 {
60923 return f != $ac_func;
60924   ;
60925   return 0;
60926 }
60927 _ACEOF
60928 rm -f conftest.$ac_objext conftest$ac_exeext
60929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60930   (eval $ac_link) 2>conftest.er1
60931   ac_status=$?
60932   grep -v '^ *+' conftest.er1 >conftest.err
60933   rm -f conftest.er1
60934   cat conftest.err >&5
60935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60936   (exit $ac_status); } &&
60937          { ac_try='test -z "$ac_c_werror_flag"
60938                          || test ! -s conftest.err'
60939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60940   (eval $ac_try) 2>&5
60941   ac_status=$?
60942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60943   (exit $ac_status); }; } &&
60944          { ac_try='test -s conftest$ac_exeext'
60945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60946   (eval $ac_try) 2>&5
60947   ac_status=$?
60948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60949   (exit $ac_status); }; }; then
60950   eval "$as_ac_var=yes"
60951 else
60952   echo "$as_me: failed program was:" >&5
60953 sed 's/^/| /' conftest.$ac_ext >&5
60954
60955 eval "$as_ac_var=no"
60956 fi
60957 rm -f conftest.err conftest.$ac_objext \
60958       conftest$ac_exeext conftest.$ac_ext
60959 fi
60960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60962 if test `eval echo '${'$as_ac_var'}'` = yes; then
60963   cat >>confdefs.h <<_ACEOF
60964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60965 _ACEOF
60966
60967 fi
60968 done
60969
60970     fi
60971   fi
60972
60973
60974
60975
60976
60977
60978   echo "$as_me:$LINENO: checking for isnan declaration" >&5
60979 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
60980   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60981     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
60982   echo $ECHO_N "(cached) $ECHO_C" >&6
60983 else
60984
60985
60986
60987       ac_ext=cc
60988 ac_cpp='$CXXCPP $CPPFLAGS'
60989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60992
60993       cat >conftest.$ac_ext <<_ACEOF
60994 /* confdefs.h.  */
60995 _ACEOF
60996 cat confdefs.h >>conftest.$ac_ext
60997 cat >>conftest.$ac_ext <<_ACEOF
60998 /* end confdefs.h.  */
60999 #include <math.h>
61000                       #ifdef HAVE_IEEEFP_H
61001                       #include <ieeefp.h>
61002                       #endif
61003
61004 int
61005 main ()
61006 {
61007  isnan(0);
61008   ;
61009   return 0;
61010 }
61011 _ACEOF
61012 rm -f conftest.$ac_objext
61013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61014   (eval $ac_compile) 2>conftest.er1
61015   ac_status=$?
61016   grep -v '^ *+' conftest.er1 >conftest.err
61017   rm -f conftest.er1
61018   cat conftest.err >&5
61019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61020   (exit $ac_status); } &&
61021          { ac_try='test -z "$ac_cxx_werror_flag"
61022                          || test ! -s conftest.err'
61023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61024   (eval $ac_try) 2>&5
61025   ac_status=$?
61026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027   (exit $ac_status); }; } &&
61028          { ac_try='test -s conftest.$ac_objext'
61029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61030   (eval $ac_try) 2>&5
61031   ac_status=$?
61032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61033   (exit $ac_status); }; }; then
61034   glibcxx_cv_func_isnan_use=yes
61035 else
61036   echo "$as_me: failed program was:" >&5
61037 sed 's/^/| /' conftest.$ac_ext >&5
61038
61039 glibcxx_cv_func_isnan_use=no
61040 fi
61041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61042       ac_ext=c
61043 ac_cpp='$CPP $CPPFLAGS'
61044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61047
61048
61049 fi
61050
61051   fi
61052   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
61053 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
61054
61055   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61056
61057 for ac_func in isnan
61058 do
61059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61060 echo "$as_me:$LINENO: checking for $ac_func" >&5
61061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61062 if eval "test \"\${$as_ac_var+set}\" = set"; then
61063   echo $ECHO_N "(cached) $ECHO_C" >&6
61064 else
61065   if test x$gcc_no_link = xyes; then
61066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61068    { (exit 1); exit 1; }; }
61069 fi
61070 cat >conftest.$ac_ext <<_ACEOF
61071 /* confdefs.h.  */
61072 _ACEOF
61073 cat confdefs.h >>conftest.$ac_ext
61074 cat >>conftest.$ac_ext <<_ACEOF
61075 /* end confdefs.h.  */
61076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61078 #define $ac_func innocuous_$ac_func
61079
61080 /* System header to define __stub macros and hopefully few prototypes,
61081     which can conflict with char $ac_func (); below.
61082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61083     <limits.h> exists even on freestanding compilers.  */
61084
61085 #ifdef __STDC__
61086 # include <limits.h>
61087 #else
61088 # include <assert.h>
61089 #endif
61090
61091 #undef $ac_func
61092
61093 /* Override any gcc2 internal prototype to avoid an error.  */
61094 #ifdef __cplusplus
61095 extern "C"
61096 {
61097 #endif
61098 /* We use char because int might match the return type of a gcc2
61099    builtin and then its argument prototype would still apply.  */
61100 char $ac_func ();
61101 /* The GNU C library defines this for functions which it implements
61102     to always fail with ENOSYS.  Some functions are actually named
61103     something starting with __ and the normal name is an alias.  */
61104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61105 choke me
61106 #else
61107 char (*f) () = $ac_func;
61108 #endif
61109 #ifdef __cplusplus
61110 }
61111 #endif
61112
61113 int
61114 main ()
61115 {
61116 return f != $ac_func;
61117   ;
61118   return 0;
61119 }
61120 _ACEOF
61121 rm -f conftest.$ac_objext conftest$ac_exeext
61122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61123   (eval $ac_link) 2>conftest.er1
61124   ac_status=$?
61125   grep -v '^ *+' conftest.er1 >conftest.err
61126   rm -f conftest.er1
61127   cat conftest.err >&5
61128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61129   (exit $ac_status); } &&
61130          { ac_try='test -z "$ac_c_werror_flag"
61131                          || test ! -s conftest.err'
61132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61133   (eval $ac_try) 2>&5
61134   ac_status=$?
61135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61136   (exit $ac_status); }; } &&
61137          { ac_try='test -s conftest$ac_exeext'
61138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61139   (eval $ac_try) 2>&5
61140   ac_status=$?
61141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61142   (exit $ac_status); }; }; then
61143   eval "$as_ac_var=yes"
61144 else
61145   echo "$as_me: failed program was:" >&5
61146 sed 's/^/| /' conftest.$ac_ext >&5
61147
61148 eval "$as_ac_var=no"
61149 fi
61150 rm -f conftest.err conftest.$ac_objext \
61151       conftest$ac_exeext conftest.$ac_ext
61152 fi
61153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61155 if test `eval echo '${'$as_ac_var'}'` = yes; then
61156   cat >>confdefs.h <<_ACEOF
61157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61158 _ACEOF
61159
61160 fi
61161 done
61162
61163   else
61164
61165   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
61166 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
61167   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61168     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
61169   echo $ECHO_N "(cached) $ECHO_C" >&6
61170 else
61171
61172
61173
61174       ac_ext=cc
61175 ac_cpp='$CXXCPP $CPPFLAGS'
61176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61179
61180       cat >conftest.$ac_ext <<_ACEOF
61181 /* confdefs.h.  */
61182 _ACEOF
61183 cat confdefs.h >>conftest.$ac_ext
61184 cat >>conftest.$ac_ext <<_ACEOF
61185 /* end confdefs.h.  */
61186 #include <math.h>
61187                       #ifdef HAVE_IEEEFP_H
61188                       #include <ieeefp.h>
61189                       #endif
61190
61191 int
61192 main ()
61193 {
61194  _isnan(0);
61195   ;
61196   return 0;
61197 }
61198 _ACEOF
61199 rm -f conftest.$ac_objext
61200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61201   (eval $ac_compile) 2>conftest.er1
61202   ac_status=$?
61203   grep -v '^ *+' conftest.er1 >conftest.err
61204   rm -f conftest.er1
61205   cat conftest.err >&5
61206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61207   (exit $ac_status); } &&
61208          { ac_try='test -z "$ac_cxx_werror_flag"
61209                          || test ! -s conftest.err'
61210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61211   (eval $ac_try) 2>&5
61212   ac_status=$?
61213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214   (exit $ac_status); }; } &&
61215          { ac_try='test -s conftest.$ac_objext'
61216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61217   (eval $ac_try) 2>&5
61218   ac_status=$?
61219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61220   (exit $ac_status); }; }; then
61221   glibcxx_cv_func__isnan_use=yes
61222 else
61223   echo "$as_me: failed program was:" >&5
61224 sed 's/^/| /' conftest.$ac_ext >&5
61225
61226 glibcxx_cv_func__isnan_use=no
61227 fi
61228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61229       ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61234
61235
61236 fi
61237
61238   fi
61239   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
61240 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
61241
61242     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61243
61244 for ac_func in _isnan
61245 do
61246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61247 echo "$as_me:$LINENO: checking for $ac_func" >&5
61248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61249 if eval "test \"\${$as_ac_var+set}\" = set"; then
61250   echo $ECHO_N "(cached) $ECHO_C" >&6
61251 else
61252   if test x$gcc_no_link = xyes; then
61253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61255    { (exit 1); exit 1; }; }
61256 fi
61257 cat >conftest.$ac_ext <<_ACEOF
61258 /* confdefs.h.  */
61259 _ACEOF
61260 cat confdefs.h >>conftest.$ac_ext
61261 cat >>conftest.$ac_ext <<_ACEOF
61262 /* end confdefs.h.  */
61263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61265 #define $ac_func innocuous_$ac_func
61266
61267 /* System header to define __stub macros and hopefully few prototypes,
61268     which can conflict with char $ac_func (); below.
61269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61270     <limits.h> exists even on freestanding compilers.  */
61271
61272 #ifdef __STDC__
61273 # include <limits.h>
61274 #else
61275 # include <assert.h>
61276 #endif
61277
61278 #undef $ac_func
61279
61280 /* Override any gcc2 internal prototype to avoid an error.  */
61281 #ifdef __cplusplus
61282 extern "C"
61283 {
61284 #endif
61285 /* We use char because int might match the return type of a gcc2
61286    builtin and then its argument prototype would still apply.  */
61287 char $ac_func ();
61288 /* The GNU C library defines this for functions which it implements
61289     to always fail with ENOSYS.  Some functions are actually named
61290     something starting with __ and the normal name is an alias.  */
61291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61292 choke me
61293 #else
61294 char (*f) () = $ac_func;
61295 #endif
61296 #ifdef __cplusplus
61297 }
61298 #endif
61299
61300 int
61301 main ()
61302 {
61303 return f != $ac_func;
61304   ;
61305   return 0;
61306 }
61307 _ACEOF
61308 rm -f conftest.$ac_objext conftest$ac_exeext
61309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61310   (eval $ac_link) 2>conftest.er1
61311   ac_status=$?
61312   grep -v '^ *+' conftest.er1 >conftest.err
61313   rm -f conftest.er1
61314   cat conftest.err >&5
61315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61316   (exit $ac_status); } &&
61317          { ac_try='test -z "$ac_c_werror_flag"
61318                          || test ! -s conftest.err'
61319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61320   (eval $ac_try) 2>&5
61321   ac_status=$?
61322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61323   (exit $ac_status); }; } &&
61324          { ac_try='test -s conftest$ac_exeext'
61325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61326   (eval $ac_try) 2>&5
61327   ac_status=$?
61328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61329   (exit $ac_status); }; }; then
61330   eval "$as_ac_var=yes"
61331 else
61332   echo "$as_me: failed program was:" >&5
61333 sed 's/^/| /' conftest.$ac_ext >&5
61334
61335 eval "$as_ac_var=no"
61336 fi
61337 rm -f conftest.err conftest.$ac_objext \
61338       conftest$ac_exeext conftest.$ac_ext
61339 fi
61340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61342 if test `eval echo '${'$as_ac_var'}'` = yes; then
61343   cat >>confdefs.h <<_ACEOF
61344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61345 _ACEOF
61346
61347 fi
61348 done
61349
61350     fi
61351   fi
61352
61353
61354
61355
61356
61357
61358   echo "$as_me:$LINENO: checking for finite declaration" >&5
61359 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
61360   if test x${glibcxx_cv_func_finite_use+set} != xset; then
61361     if test "${glibcxx_cv_func_finite_use+set}" = set; then
61362   echo $ECHO_N "(cached) $ECHO_C" >&6
61363 else
61364
61365
61366
61367       ac_ext=cc
61368 ac_cpp='$CXXCPP $CPPFLAGS'
61369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372
61373       cat >conftest.$ac_ext <<_ACEOF
61374 /* confdefs.h.  */
61375 _ACEOF
61376 cat confdefs.h >>conftest.$ac_ext
61377 cat >>conftest.$ac_ext <<_ACEOF
61378 /* end confdefs.h.  */
61379 #include <math.h>
61380                       #ifdef HAVE_IEEEFP_H
61381                       #include <ieeefp.h>
61382                       #endif
61383
61384 int
61385 main ()
61386 {
61387  finite(0);
61388   ;
61389   return 0;
61390 }
61391 _ACEOF
61392 rm -f conftest.$ac_objext
61393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61394   (eval $ac_compile) 2>conftest.er1
61395   ac_status=$?
61396   grep -v '^ *+' conftest.er1 >conftest.err
61397   rm -f conftest.er1
61398   cat conftest.err >&5
61399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61400   (exit $ac_status); } &&
61401          { ac_try='test -z "$ac_cxx_werror_flag"
61402                          || test ! -s conftest.err'
61403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61404   (eval $ac_try) 2>&5
61405   ac_status=$?
61406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61407   (exit $ac_status); }; } &&
61408          { ac_try='test -s conftest.$ac_objext'
61409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61410   (eval $ac_try) 2>&5
61411   ac_status=$?
61412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61413   (exit $ac_status); }; }; then
61414   glibcxx_cv_func_finite_use=yes
61415 else
61416   echo "$as_me: failed program was:" >&5
61417 sed 's/^/| /' conftest.$ac_ext >&5
61418
61419 glibcxx_cv_func_finite_use=no
61420 fi
61421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61422       ac_ext=c
61423 ac_cpp='$CPP $CPPFLAGS'
61424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61427
61428
61429 fi
61430
61431   fi
61432   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
61433 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
61434
61435   if test x$glibcxx_cv_func_finite_use = x"yes"; then
61436
61437 for ac_func in finite
61438 do
61439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61440 echo "$as_me:$LINENO: checking for $ac_func" >&5
61441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61442 if eval "test \"\${$as_ac_var+set}\" = set"; then
61443   echo $ECHO_N "(cached) $ECHO_C" >&6
61444 else
61445   if test x$gcc_no_link = xyes; then
61446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61448    { (exit 1); exit 1; }; }
61449 fi
61450 cat >conftest.$ac_ext <<_ACEOF
61451 /* confdefs.h.  */
61452 _ACEOF
61453 cat confdefs.h >>conftest.$ac_ext
61454 cat >>conftest.$ac_ext <<_ACEOF
61455 /* end confdefs.h.  */
61456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61458 #define $ac_func innocuous_$ac_func
61459
61460 /* System header to define __stub macros and hopefully few prototypes,
61461     which can conflict with char $ac_func (); below.
61462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61463     <limits.h> exists even on freestanding compilers.  */
61464
61465 #ifdef __STDC__
61466 # include <limits.h>
61467 #else
61468 # include <assert.h>
61469 #endif
61470
61471 #undef $ac_func
61472
61473 /* Override any gcc2 internal prototype to avoid an error.  */
61474 #ifdef __cplusplus
61475 extern "C"
61476 {
61477 #endif
61478 /* We use char because int might match the return type of a gcc2
61479    builtin and then its argument prototype would still apply.  */
61480 char $ac_func ();
61481 /* The GNU C library defines this for functions which it implements
61482     to always fail with ENOSYS.  Some functions are actually named
61483     something starting with __ and the normal name is an alias.  */
61484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61485 choke me
61486 #else
61487 char (*f) () = $ac_func;
61488 #endif
61489 #ifdef __cplusplus
61490 }
61491 #endif
61492
61493 int
61494 main ()
61495 {
61496 return f != $ac_func;
61497   ;
61498   return 0;
61499 }
61500 _ACEOF
61501 rm -f conftest.$ac_objext conftest$ac_exeext
61502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61503   (eval $ac_link) 2>conftest.er1
61504   ac_status=$?
61505   grep -v '^ *+' conftest.er1 >conftest.err
61506   rm -f conftest.er1
61507   cat conftest.err >&5
61508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61509   (exit $ac_status); } &&
61510          { ac_try='test -z "$ac_c_werror_flag"
61511                          || test ! -s conftest.err'
61512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61513   (eval $ac_try) 2>&5
61514   ac_status=$?
61515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61516   (exit $ac_status); }; } &&
61517          { ac_try='test -s conftest$ac_exeext'
61518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61519   (eval $ac_try) 2>&5
61520   ac_status=$?
61521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61522   (exit $ac_status); }; }; then
61523   eval "$as_ac_var=yes"
61524 else
61525   echo "$as_me: failed program was:" >&5
61526 sed 's/^/| /' conftest.$ac_ext >&5
61527
61528 eval "$as_ac_var=no"
61529 fi
61530 rm -f conftest.err conftest.$ac_objext \
61531       conftest$ac_exeext conftest.$ac_ext
61532 fi
61533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61535 if test `eval echo '${'$as_ac_var'}'` = yes; then
61536   cat >>confdefs.h <<_ACEOF
61537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61538 _ACEOF
61539
61540 fi
61541 done
61542
61543   else
61544
61545   echo "$as_me:$LINENO: checking for _finite declaration" >&5
61546 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
61547   if test x${glibcxx_cv_func__finite_use+set} != xset; then
61548     if test "${glibcxx_cv_func__finite_use+set}" = set; then
61549   echo $ECHO_N "(cached) $ECHO_C" >&6
61550 else
61551
61552
61553
61554       ac_ext=cc
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61559
61560       cat >conftest.$ac_ext <<_ACEOF
61561 /* confdefs.h.  */
61562 _ACEOF
61563 cat confdefs.h >>conftest.$ac_ext
61564 cat >>conftest.$ac_ext <<_ACEOF
61565 /* end confdefs.h.  */
61566 #include <math.h>
61567                       #ifdef HAVE_IEEEFP_H
61568                       #include <ieeefp.h>
61569                       #endif
61570
61571 int
61572 main ()
61573 {
61574  _finite(0);
61575   ;
61576   return 0;
61577 }
61578 _ACEOF
61579 rm -f conftest.$ac_objext
61580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61581   (eval $ac_compile) 2>conftest.er1
61582   ac_status=$?
61583   grep -v '^ *+' conftest.er1 >conftest.err
61584   rm -f conftest.er1
61585   cat conftest.err >&5
61586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61587   (exit $ac_status); } &&
61588          { ac_try='test -z "$ac_cxx_werror_flag"
61589                          || test ! -s conftest.err'
61590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61591   (eval $ac_try) 2>&5
61592   ac_status=$?
61593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61594   (exit $ac_status); }; } &&
61595          { ac_try='test -s conftest.$ac_objext'
61596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61597   (eval $ac_try) 2>&5
61598   ac_status=$?
61599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61600   (exit $ac_status); }; }; then
61601   glibcxx_cv_func__finite_use=yes
61602 else
61603   echo "$as_me: failed program was:" >&5
61604 sed 's/^/| /' conftest.$ac_ext >&5
61605
61606 glibcxx_cv_func__finite_use=no
61607 fi
61608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61609       ac_ext=c
61610 ac_cpp='$CPP $CPPFLAGS'
61611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61614
61615
61616 fi
61617
61618   fi
61619   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
61620 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
61621
61622     if test x$glibcxx_cv_func__finite_use = x"yes"; then
61623
61624 for ac_func in _finite
61625 do
61626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61627 echo "$as_me:$LINENO: checking for $ac_func" >&5
61628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61629 if eval "test \"\${$as_ac_var+set}\" = set"; then
61630   echo $ECHO_N "(cached) $ECHO_C" >&6
61631 else
61632   if test x$gcc_no_link = xyes; then
61633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61635    { (exit 1); exit 1; }; }
61636 fi
61637 cat >conftest.$ac_ext <<_ACEOF
61638 /* confdefs.h.  */
61639 _ACEOF
61640 cat confdefs.h >>conftest.$ac_ext
61641 cat >>conftest.$ac_ext <<_ACEOF
61642 /* end confdefs.h.  */
61643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61645 #define $ac_func innocuous_$ac_func
61646
61647 /* System header to define __stub macros and hopefully few prototypes,
61648     which can conflict with char $ac_func (); below.
61649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61650     <limits.h> exists even on freestanding compilers.  */
61651
61652 #ifdef __STDC__
61653 # include <limits.h>
61654 #else
61655 # include <assert.h>
61656 #endif
61657
61658 #undef $ac_func
61659
61660 /* Override any gcc2 internal prototype to avoid an error.  */
61661 #ifdef __cplusplus
61662 extern "C"
61663 {
61664 #endif
61665 /* We use char because int might match the return type of a gcc2
61666    builtin and then its argument prototype would still apply.  */
61667 char $ac_func ();
61668 /* The GNU C library defines this for functions which it implements
61669     to always fail with ENOSYS.  Some functions are actually named
61670     something starting with __ and the normal name is an alias.  */
61671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61672 choke me
61673 #else
61674 char (*f) () = $ac_func;
61675 #endif
61676 #ifdef __cplusplus
61677 }
61678 #endif
61679
61680 int
61681 main ()
61682 {
61683 return f != $ac_func;
61684   ;
61685   return 0;
61686 }
61687 _ACEOF
61688 rm -f conftest.$ac_objext conftest$ac_exeext
61689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61690   (eval $ac_link) 2>conftest.er1
61691   ac_status=$?
61692   grep -v '^ *+' conftest.er1 >conftest.err
61693   rm -f conftest.er1
61694   cat conftest.err >&5
61695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61696   (exit $ac_status); } &&
61697          { ac_try='test -z "$ac_c_werror_flag"
61698                          || test ! -s conftest.err'
61699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61700   (eval $ac_try) 2>&5
61701   ac_status=$?
61702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61703   (exit $ac_status); }; } &&
61704          { ac_try='test -s conftest$ac_exeext'
61705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61706   (eval $ac_try) 2>&5
61707   ac_status=$?
61708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61709   (exit $ac_status); }; }; then
61710   eval "$as_ac_var=yes"
61711 else
61712   echo "$as_me: failed program was:" >&5
61713 sed 's/^/| /' conftest.$ac_ext >&5
61714
61715 eval "$as_ac_var=no"
61716 fi
61717 rm -f conftest.err conftest.$ac_objext \
61718       conftest$ac_exeext conftest.$ac_ext
61719 fi
61720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61722 if test `eval echo '${'$as_ac_var'}'` = yes; then
61723   cat >>confdefs.h <<_ACEOF
61724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61725 _ACEOF
61726
61727 fi
61728 done
61729
61730     fi
61731   fi
61732
61733
61734
61735
61736
61737
61738   echo "$as_me:$LINENO: checking for copysign declaration" >&5
61739 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
61740   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
61741     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
61742   echo $ECHO_N "(cached) $ECHO_C" >&6
61743 else
61744
61745
61746
61747       ac_ext=cc
61748 ac_cpp='$CXXCPP $CPPFLAGS'
61749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61752
61753       cat >conftest.$ac_ext <<_ACEOF
61754 /* confdefs.h.  */
61755 _ACEOF
61756 cat confdefs.h >>conftest.$ac_ext
61757 cat >>conftest.$ac_ext <<_ACEOF
61758 /* end confdefs.h.  */
61759 #include <math.h>
61760 int
61761 main ()
61762 {
61763  copysign(0, 0);
61764   ;
61765   return 0;
61766 }
61767 _ACEOF
61768 rm -f conftest.$ac_objext
61769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61770   (eval $ac_compile) 2>conftest.er1
61771   ac_status=$?
61772   grep -v '^ *+' conftest.er1 >conftest.err
61773   rm -f conftest.er1
61774   cat conftest.err >&5
61775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61776   (exit $ac_status); } &&
61777          { ac_try='test -z "$ac_cxx_werror_flag"
61778                          || test ! -s conftest.err'
61779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61780   (eval $ac_try) 2>&5
61781   ac_status=$?
61782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61783   (exit $ac_status); }; } &&
61784          { ac_try='test -s conftest.$ac_objext'
61785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61786   (eval $ac_try) 2>&5
61787   ac_status=$?
61788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61789   (exit $ac_status); }; }; then
61790   glibcxx_cv_func_copysign_use=yes
61791 else
61792   echo "$as_me: failed program was:" >&5
61793 sed 's/^/| /' conftest.$ac_ext >&5
61794
61795 glibcxx_cv_func_copysign_use=no
61796 fi
61797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61798       ac_ext=c
61799 ac_cpp='$CPP $CPPFLAGS'
61800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803
61804
61805 fi
61806
61807   fi
61808   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
61809 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
61810
61811   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
61812
61813 for ac_func in copysign
61814 do
61815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61816 echo "$as_me:$LINENO: checking for $ac_func" >&5
61817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61818 if eval "test \"\${$as_ac_var+set}\" = set"; then
61819   echo $ECHO_N "(cached) $ECHO_C" >&6
61820 else
61821   if test x$gcc_no_link = xyes; then
61822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61824    { (exit 1); exit 1; }; }
61825 fi
61826 cat >conftest.$ac_ext <<_ACEOF
61827 /* confdefs.h.  */
61828 _ACEOF
61829 cat confdefs.h >>conftest.$ac_ext
61830 cat >>conftest.$ac_ext <<_ACEOF
61831 /* end confdefs.h.  */
61832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61834 #define $ac_func innocuous_$ac_func
61835
61836 /* System header to define __stub macros and hopefully few prototypes,
61837     which can conflict with char $ac_func (); below.
61838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61839     <limits.h> exists even on freestanding compilers.  */
61840
61841 #ifdef __STDC__
61842 # include <limits.h>
61843 #else
61844 # include <assert.h>
61845 #endif
61846
61847 #undef $ac_func
61848
61849 /* Override any gcc2 internal prototype to avoid an error.  */
61850 #ifdef __cplusplus
61851 extern "C"
61852 {
61853 #endif
61854 /* We use char because int might match the return type of a gcc2
61855    builtin and then its argument prototype would still apply.  */
61856 char $ac_func ();
61857 /* The GNU C library defines this for functions which it implements
61858     to always fail with ENOSYS.  Some functions are actually named
61859     something starting with __ and the normal name is an alias.  */
61860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61861 choke me
61862 #else
61863 char (*f) () = $ac_func;
61864 #endif
61865 #ifdef __cplusplus
61866 }
61867 #endif
61868
61869 int
61870 main ()
61871 {
61872 return f != $ac_func;
61873   ;
61874   return 0;
61875 }
61876 _ACEOF
61877 rm -f conftest.$ac_objext conftest$ac_exeext
61878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61879   (eval $ac_link) 2>conftest.er1
61880   ac_status=$?
61881   grep -v '^ *+' conftest.er1 >conftest.err
61882   rm -f conftest.er1
61883   cat conftest.err >&5
61884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61885   (exit $ac_status); } &&
61886          { ac_try='test -z "$ac_c_werror_flag"
61887                          || test ! -s conftest.err'
61888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61889   (eval $ac_try) 2>&5
61890   ac_status=$?
61891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61892   (exit $ac_status); }; } &&
61893          { ac_try='test -s conftest$ac_exeext'
61894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61895   (eval $ac_try) 2>&5
61896   ac_status=$?
61897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61898   (exit $ac_status); }; }; then
61899   eval "$as_ac_var=yes"
61900 else
61901   echo "$as_me: failed program was:" >&5
61902 sed 's/^/| /' conftest.$ac_ext >&5
61903
61904 eval "$as_ac_var=no"
61905 fi
61906 rm -f conftest.err conftest.$ac_objext \
61907       conftest$ac_exeext conftest.$ac_ext
61908 fi
61909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61911 if test `eval echo '${'$as_ac_var'}'` = yes; then
61912   cat >>confdefs.h <<_ACEOF
61913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61914 _ACEOF
61915
61916 fi
61917 done
61918
61919   else
61920
61921   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
61922 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
61923   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
61924     if test "${glibcxx_cv_func__copysign_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  _copysign(0, 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__copysign_use=yes
61974 else
61975   echo "$as_me: failed program was:" >&5
61976 sed 's/^/| /' conftest.$ac_ext >&5
61977
61978 glibcxx_cv_func__copysign_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__copysign_use" >&5
61992 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
61993
61994     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
61995
61996 for ac_func in _copysign
61997 do
61998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61999 echo "$as_me:$LINENO: checking for $ac_func" >&5
62000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62001 if eval "test \"\${$as_ac_var+set}\" = set"; then
62002   echo $ECHO_N "(cached) $ECHO_C" >&6
62003 else
62004   if test x$gcc_no_link = xyes; then
62005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62007    { (exit 1); exit 1; }; }
62008 fi
62009 cat >conftest.$ac_ext <<_ACEOF
62010 /* confdefs.h.  */
62011 _ACEOF
62012 cat confdefs.h >>conftest.$ac_ext
62013 cat >>conftest.$ac_ext <<_ACEOF
62014 /* end confdefs.h.  */
62015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62017 #define $ac_func innocuous_$ac_func
62018
62019 /* System header to define __stub macros and hopefully few prototypes,
62020     which can conflict with char $ac_func (); below.
62021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62022     <limits.h> exists even on freestanding compilers.  */
62023
62024 #ifdef __STDC__
62025 # include <limits.h>
62026 #else
62027 # include <assert.h>
62028 #endif
62029
62030 #undef $ac_func
62031
62032 /* Override any gcc2 internal prototype to avoid an error.  */
62033 #ifdef __cplusplus
62034 extern "C"
62035 {
62036 #endif
62037 /* We use char because int might match the return type of a gcc2
62038    builtin and then its argument prototype would still apply.  */
62039 char $ac_func ();
62040 /* The GNU C library defines this for functions which it implements
62041     to always fail with ENOSYS.  Some functions are actually named
62042     something starting with __ and the normal name is an alias.  */
62043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62044 choke me
62045 #else
62046 char (*f) () = $ac_func;
62047 #endif
62048 #ifdef __cplusplus
62049 }
62050 #endif
62051
62052 int
62053 main ()
62054 {
62055 return f != $ac_func;
62056   ;
62057   return 0;
62058 }
62059 _ACEOF
62060 rm -f conftest.$ac_objext conftest$ac_exeext
62061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62062   (eval $ac_link) 2>conftest.er1
62063   ac_status=$?
62064   grep -v '^ *+' conftest.er1 >conftest.err
62065   rm -f conftest.er1
62066   cat conftest.err >&5
62067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62068   (exit $ac_status); } &&
62069          { ac_try='test -z "$ac_c_werror_flag"
62070                          || test ! -s conftest.err'
62071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62072   (eval $ac_try) 2>&5
62073   ac_status=$?
62074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62075   (exit $ac_status); }; } &&
62076          { ac_try='test -s conftest$ac_exeext'
62077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62078   (eval $ac_try) 2>&5
62079   ac_status=$?
62080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62081   (exit $ac_status); }; }; then
62082   eval "$as_ac_var=yes"
62083 else
62084   echo "$as_me: failed program was:" >&5
62085 sed 's/^/| /' conftest.$ac_ext >&5
62086
62087 eval "$as_ac_var=no"
62088 fi
62089 rm -f conftest.err conftest.$ac_objext \
62090       conftest$ac_exeext conftest.$ac_ext
62091 fi
62092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62094 if test `eval echo '${'$as_ac_var'}'` = yes; then
62095   cat >>confdefs.h <<_ACEOF
62096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62097 _ACEOF
62098
62099 fi
62100 done
62101
62102     fi
62103   fi
62104
62105
62106
62107
62108
62109
62110   echo "$as_me:$LINENO: checking for sincos declaration" >&5
62111 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
62112   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
62113     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
62114   echo $ECHO_N "(cached) $ECHO_C" >&6
62115 else
62116
62117
62118
62119       ac_ext=cc
62120 ac_cpp='$CXXCPP $CPPFLAGS'
62121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62124
62125       cat >conftest.$ac_ext <<_ACEOF
62126 /* confdefs.h.  */
62127 _ACEOF
62128 cat confdefs.h >>conftest.$ac_ext
62129 cat >>conftest.$ac_ext <<_ACEOF
62130 /* end confdefs.h.  */
62131 #include <math.h>
62132 int
62133 main ()
62134 {
62135  sincos(0, 0, 0);
62136   ;
62137   return 0;
62138 }
62139 _ACEOF
62140 rm -f conftest.$ac_objext
62141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62142   (eval $ac_compile) 2>conftest.er1
62143   ac_status=$?
62144   grep -v '^ *+' conftest.er1 >conftest.err
62145   rm -f conftest.er1
62146   cat conftest.err >&5
62147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62148   (exit $ac_status); } &&
62149          { ac_try='test -z "$ac_cxx_werror_flag"
62150                          || test ! -s conftest.err'
62151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62152   (eval $ac_try) 2>&5
62153   ac_status=$?
62154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62155   (exit $ac_status); }; } &&
62156          { ac_try='test -s conftest.$ac_objext'
62157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62158   (eval $ac_try) 2>&5
62159   ac_status=$?
62160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62161   (exit $ac_status); }; }; then
62162   glibcxx_cv_func_sincos_use=yes
62163 else
62164   echo "$as_me: failed program was:" >&5
62165 sed 's/^/| /' conftest.$ac_ext >&5
62166
62167 glibcxx_cv_func_sincos_use=no
62168 fi
62169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62170       ac_ext=c
62171 ac_cpp='$CPP $CPPFLAGS'
62172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62175
62176
62177 fi
62178
62179   fi
62180   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
62181 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
62182
62183   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
62184
62185 for ac_func in sincos
62186 do
62187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62188 echo "$as_me:$LINENO: checking for $ac_func" >&5
62189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62190 if eval "test \"\${$as_ac_var+set}\" = set"; then
62191   echo $ECHO_N "(cached) $ECHO_C" >&6
62192 else
62193   if test x$gcc_no_link = xyes; then
62194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62196    { (exit 1); exit 1; }; }
62197 fi
62198 cat >conftest.$ac_ext <<_ACEOF
62199 /* confdefs.h.  */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h.  */
62204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62206 #define $ac_func innocuous_$ac_func
62207
62208 /* System header to define __stub macros and hopefully few prototypes,
62209     which can conflict with char $ac_func (); below.
62210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62211     <limits.h> exists even on freestanding compilers.  */
62212
62213 #ifdef __STDC__
62214 # include <limits.h>
62215 #else
62216 # include <assert.h>
62217 #endif
62218
62219 #undef $ac_func
62220
62221 /* Override any gcc2 internal prototype to avoid an error.  */
62222 #ifdef __cplusplus
62223 extern "C"
62224 {
62225 #endif
62226 /* We use char because int might match the return type of a gcc2
62227    builtin and then its argument prototype would still apply.  */
62228 char $ac_func ();
62229 /* The GNU C library defines this for functions which it implements
62230     to always fail with ENOSYS.  Some functions are actually named
62231     something starting with __ and the normal name is an alias.  */
62232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62233 choke me
62234 #else
62235 char (*f) () = $ac_func;
62236 #endif
62237 #ifdef __cplusplus
62238 }
62239 #endif
62240
62241 int
62242 main ()
62243 {
62244 return f != $ac_func;
62245   ;
62246   return 0;
62247 }
62248 _ACEOF
62249 rm -f conftest.$ac_objext conftest$ac_exeext
62250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62251   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
62272 else
62273   echo "$as_me: failed program was:" >&5
62274 sed 's/^/| /' conftest.$ac_ext >&5
62275
62276 eval "$as_ac_var=no"
62277 fi
62278 rm -f conftest.err conftest.$ac_objext \
62279       conftest$ac_exeext conftest.$ac_ext
62280 fi
62281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62283 if test `eval echo '${'$as_ac_var'}'` = yes; then
62284   cat >>confdefs.h <<_ACEOF
62285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62286 _ACEOF
62287
62288 fi
62289 done
62290
62291   else
62292
62293   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
62294 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
62295   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
62296     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
62297   echo $ECHO_N "(cached) $ECHO_C" >&6
62298 else
62299
62300
62301
62302       ac_ext=cc
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62307
62308       cat >conftest.$ac_ext <<_ACEOF
62309 /* confdefs.h.  */
62310 _ACEOF
62311 cat confdefs.h >>conftest.$ac_ext
62312 cat >>conftest.$ac_ext <<_ACEOF
62313 /* end confdefs.h.  */
62314 #include <math.h>
62315 int
62316 main ()
62317 {
62318  _sincos(0, 0, 0);
62319   ;
62320   return 0;
62321 }
62322 _ACEOF
62323 rm -f conftest.$ac_objext
62324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62325   (eval $ac_compile) 2>conftest.er1
62326   ac_status=$?
62327   grep -v '^ *+' conftest.er1 >conftest.err
62328   rm -f conftest.er1
62329   cat conftest.err >&5
62330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62331   (exit $ac_status); } &&
62332          { ac_try='test -z "$ac_cxx_werror_flag"
62333                          || test ! -s conftest.err'
62334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62335   (eval $ac_try) 2>&5
62336   ac_status=$?
62337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62338   (exit $ac_status); }; } &&
62339          { ac_try='test -s conftest.$ac_objext'
62340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62341   (eval $ac_try) 2>&5
62342   ac_status=$?
62343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344   (exit $ac_status); }; }; then
62345   glibcxx_cv_func__sincos_use=yes
62346 else
62347   echo "$as_me: failed program was:" >&5
62348 sed 's/^/| /' conftest.$ac_ext >&5
62349
62350 glibcxx_cv_func__sincos_use=no
62351 fi
62352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62353       ac_ext=c
62354 ac_cpp='$CPP $CPPFLAGS'
62355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62358
62359
62360 fi
62361
62362   fi
62363   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
62364 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
62365
62366     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
62367
62368 for ac_func in _sincos
62369 do
62370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62371 echo "$as_me:$LINENO: checking for $ac_func" >&5
62372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62373 if eval "test \"\${$as_ac_var+set}\" = set"; then
62374   echo $ECHO_N "(cached) $ECHO_C" >&6
62375 else
62376   if test x$gcc_no_link = xyes; then
62377   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62379    { (exit 1); exit 1; }; }
62380 fi
62381 cat >conftest.$ac_ext <<_ACEOF
62382 /* confdefs.h.  */
62383 _ACEOF
62384 cat confdefs.h >>conftest.$ac_ext
62385 cat >>conftest.$ac_ext <<_ACEOF
62386 /* end confdefs.h.  */
62387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62388    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62389 #define $ac_func innocuous_$ac_func
62390
62391 /* System header to define __stub macros and hopefully few prototypes,
62392     which can conflict with char $ac_func (); below.
62393     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62394     <limits.h> exists even on freestanding compilers.  */
62395
62396 #ifdef __STDC__
62397 # include <limits.h>
62398 #else
62399 # include <assert.h>
62400 #endif
62401
62402 #undef $ac_func
62403
62404 /* Override any gcc2 internal prototype to avoid an error.  */
62405 #ifdef __cplusplus
62406 extern "C"
62407 {
62408 #endif
62409 /* We use char because int might match the return type of a gcc2
62410    builtin and then its argument prototype would still apply.  */
62411 char $ac_func ();
62412 /* The GNU C library defines this for functions which it implements
62413     to always fail with ENOSYS.  Some functions are actually named
62414     something starting with __ and the normal name is an alias.  */
62415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62416 choke me
62417 #else
62418 char (*f) () = $ac_func;
62419 #endif
62420 #ifdef __cplusplus
62421 }
62422 #endif
62423
62424 int
62425 main ()
62426 {
62427 return f != $ac_func;
62428   ;
62429   return 0;
62430 }
62431 _ACEOF
62432 rm -f conftest.$ac_objext conftest$ac_exeext
62433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62434   (eval $ac_link) 2>conftest.er1
62435   ac_status=$?
62436   grep -v '^ *+' conftest.er1 >conftest.err
62437   rm -f conftest.er1
62438   cat conftest.err >&5
62439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62440   (exit $ac_status); } &&
62441          { ac_try='test -z "$ac_c_werror_flag"
62442                          || test ! -s conftest.err'
62443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62444   (eval $ac_try) 2>&5
62445   ac_status=$?
62446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62447   (exit $ac_status); }; } &&
62448          { ac_try='test -s conftest$ac_exeext'
62449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62450   (eval $ac_try) 2>&5
62451   ac_status=$?
62452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62453   (exit $ac_status); }; }; then
62454   eval "$as_ac_var=yes"
62455 else
62456   echo "$as_me: failed program was:" >&5
62457 sed 's/^/| /' conftest.$ac_ext >&5
62458
62459 eval "$as_ac_var=no"
62460 fi
62461 rm -f conftest.err conftest.$ac_objext \
62462       conftest$ac_exeext conftest.$ac_ext
62463 fi
62464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62466 if test `eval echo '${'$as_ac_var'}'` = yes; then
62467   cat >>confdefs.h <<_ACEOF
62468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62469 _ACEOF
62470
62471 fi
62472 done
62473
62474     fi
62475   fi
62476
62477
62478
62479
62480
62481
62482   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
62483 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
62484   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
62485     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
62486   echo $ECHO_N "(cached) $ECHO_C" >&6
62487 else
62488
62489
62490
62491       ac_ext=cc
62492 ac_cpp='$CXXCPP $CPPFLAGS'
62493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496
62497       cat >conftest.$ac_ext <<_ACEOF
62498 /* confdefs.h.  */
62499 _ACEOF
62500 cat confdefs.h >>conftest.$ac_ext
62501 cat >>conftest.$ac_ext <<_ACEOF
62502 /* end confdefs.h.  */
62503 #include <math.h>
62504                       #ifdef HAVE_IEEEFP_H
62505                       #include <ieeefp.h>
62506                       #endif
62507
62508 int
62509 main ()
62510 {
62511  fpclass(0);
62512   ;
62513   return 0;
62514 }
62515 _ACEOF
62516 rm -f conftest.$ac_objext
62517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62518   (eval $ac_compile) 2>conftest.er1
62519   ac_status=$?
62520   grep -v '^ *+' conftest.er1 >conftest.err
62521   rm -f conftest.er1
62522   cat conftest.err >&5
62523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62524   (exit $ac_status); } &&
62525          { ac_try='test -z "$ac_cxx_werror_flag"
62526                          || test ! -s conftest.err'
62527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62528   (eval $ac_try) 2>&5
62529   ac_status=$?
62530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62531   (exit $ac_status); }; } &&
62532          { ac_try='test -s conftest.$ac_objext'
62533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62534   (eval $ac_try) 2>&5
62535   ac_status=$?
62536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62537   (exit $ac_status); }; }; then
62538   glibcxx_cv_func_fpclass_use=yes
62539 else
62540   echo "$as_me: failed program was:" >&5
62541 sed 's/^/| /' conftest.$ac_ext >&5
62542
62543 glibcxx_cv_func_fpclass_use=no
62544 fi
62545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62546       ac_ext=c
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62551
62552
62553 fi
62554
62555   fi
62556   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
62557 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
62558
62559   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
62560
62561 for ac_func in fpclass
62562 do
62563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62564 echo "$as_me:$LINENO: checking for $ac_func" >&5
62565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62566 if eval "test \"\${$as_ac_var+set}\" = set"; then
62567   echo $ECHO_N "(cached) $ECHO_C" >&6
62568 else
62569   if test x$gcc_no_link = xyes; then
62570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62572    { (exit 1); exit 1; }; }
62573 fi
62574 cat >conftest.$ac_ext <<_ACEOF
62575 /* confdefs.h.  */
62576 _ACEOF
62577 cat confdefs.h >>conftest.$ac_ext
62578 cat >>conftest.$ac_ext <<_ACEOF
62579 /* end confdefs.h.  */
62580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62582 #define $ac_func innocuous_$ac_func
62583
62584 /* System header to define __stub macros and hopefully few prototypes,
62585     which can conflict with char $ac_func (); below.
62586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62587     <limits.h> exists even on freestanding compilers.  */
62588
62589 #ifdef __STDC__
62590 # include <limits.h>
62591 #else
62592 # include <assert.h>
62593 #endif
62594
62595 #undef $ac_func
62596
62597 /* Override any gcc2 internal prototype to avoid an error.  */
62598 #ifdef __cplusplus
62599 extern "C"
62600 {
62601 #endif
62602 /* We use char because int might match the return type of a gcc2
62603    builtin and then its argument prototype would still apply.  */
62604 char $ac_func ();
62605 /* The GNU C library defines this for functions which it implements
62606     to always fail with ENOSYS.  Some functions are actually named
62607     something starting with __ and the normal name is an alias.  */
62608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62609 choke me
62610 #else
62611 char (*f) () = $ac_func;
62612 #endif
62613 #ifdef __cplusplus
62614 }
62615 #endif
62616
62617 int
62618 main ()
62619 {
62620 return f != $ac_func;
62621   ;
62622   return 0;
62623 }
62624 _ACEOF
62625 rm -f conftest.$ac_objext conftest$ac_exeext
62626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62627   (eval $ac_link) 2>conftest.er1
62628   ac_status=$?
62629   grep -v '^ *+' conftest.er1 >conftest.err
62630   rm -f conftest.er1
62631   cat conftest.err >&5
62632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633   (exit $ac_status); } &&
62634          { ac_try='test -z "$ac_c_werror_flag"
62635                          || test ! -s conftest.err'
62636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62637   (eval $ac_try) 2>&5
62638   ac_status=$?
62639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62640   (exit $ac_status); }; } &&
62641          { ac_try='test -s conftest$ac_exeext'
62642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62643   (eval $ac_try) 2>&5
62644   ac_status=$?
62645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62646   (exit $ac_status); }; }; then
62647   eval "$as_ac_var=yes"
62648 else
62649   echo "$as_me: failed program was:" >&5
62650 sed 's/^/| /' conftest.$ac_ext >&5
62651
62652 eval "$as_ac_var=no"
62653 fi
62654 rm -f conftest.err conftest.$ac_objext \
62655       conftest$ac_exeext conftest.$ac_ext
62656 fi
62657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62659 if test `eval echo '${'$as_ac_var'}'` = yes; then
62660   cat >>confdefs.h <<_ACEOF
62661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62662 _ACEOF
62663
62664 fi
62665 done
62666
62667   else
62668
62669   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
62670 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
62671   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62672     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
62673   echo $ECHO_N "(cached) $ECHO_C" >&6
62674 else
62675
62676
62677
62678       ac_ext=cc
62679 ac_cpp='$CXXCPP $CPPFLAGS'
62680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62683
62684       cat >conftest.$ac_ext <<_ACEOF
62685 /* confdefs.h.  */
62686 _ACEOF
62687 cat confdefs.h >>conftest.$ac_ext
62688 cat >>conftest.$ac_ext <<_ACEOF
62689 /* end confdefs.h.  */
62690 #include <math.h>
62691                       #ifdef HAVE_IEEEFP_H
62692                       #include <ieeefp.h>
62693                       #endif
62694
62695 int
62696 main ()
62697 {
62698  _fpclass(0);
62699   ;
62700   return 0;
62701 }
62702 _ACEOF
62703 rm -f conftest.$ac_objext
62704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62705   (eval $ac_compile) 2>conftest.er1
62706   ac_status=$?
62707   grep -v '^ *+' conftest.er1 >conftest.err
62708   rm -f conftest.er1
62709   cat conftest.err >&5
62710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711   (exit $ac_status); } &&
62712          { ac_try='test -z "$ac_cxx_werror_flag"
62713                          || test ! -s conftest.err'
62714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62715   (eval $ac_try) 2>&5
62716   ac_status=$?
62717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62718   (exit $ac_status); }; } &&
62719          { ac_try='test -s conftest.$ac_objext'
62720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62721   (eval $ac_try) 2>&5
62722   ac_status=$?
62723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62724   (exit $ac_status); }; }; then
62725   glibcxx_cv_func__fpclass_use=yes
62726 else
62727   echo "$as_me: failed program was:" >&5
62728 sed 's/^/| /' conftest.$ac_ext >&5
62729
62730 glibcxx_cv_func__fpclass_use=no
62731 fi
62732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62733       ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62738
62739
62740 fi
62741
62742   fi
62743   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
62744 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
62745
62746     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62747
62748 for ac_func in _fpclass
62749 do
62750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62751 echo "$as_me:$LINENO: checking for $ac_func" >&5
62752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62753 if eval "test \"\${$as_ac_var+set}\" = set"; then
62754   echo $ECHO_N "(cached) $ECHO_C" >&6
62755 else
62756   if test x$gcc_no_link = xyes; then
62757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62759    { (exit 1); exit 1; }; }
62760 fi
62761 cat >conftest.$ac_ext <<_ACEOF
62762 /* confdefs.h.  */
62763 _ACEOF
62764 cat confdefs.h >>conftest.$ac_ext
62765 cat >>conftest.$ac_ext <<_ACEOF
62766 /* end confdefs.h.  */
62767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62769 #define $ac_func innocuous_$ac_func
62770
62771 /* System header to define __stub macros and hopefully few prototypes,
62772     which can conflict with char $ac_func (); below.
62773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62774     <limits.h> exists even on freestanding compilers.  */
62775
62776 #ifdef __STDC__
62777 # include <limits.h>
62778 #else
62779 # include <assert.h>
62780 #endif
62781
62782 #undef $ac_func
62783
62784 /* Override any gcc2 internal prototype to avoid an error.  */
62785 #ifdef __cplusplus
62786 extern "C"
62787 {
62788 #endif
62789 /* We use char because int might match the return type of a gcc2
62790    builtin and then its argument prototype would still apply.  */
62791 char $ac_func ();
62792 /* The GNU C library defines this for functions which it implements
62793     to always fail with ENOSYS.  Some functions are actually named
62794     something starting with __ and the normal name is an alias.  */
62795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62796 choke me
62797 #else
62798 char (*f) () = $ac_func;
62799 #endif
62800 #ifdef __cplusplus
62801 }
62802 #endif
62803
62804 int
62805 main ()
62806 {
62807 return f != $ac_func;
62808   ;
62809   return 0;
62810 }
62811 _ACEOF
62812 rm -f conftest.$ac_objext conftest$ac_exeext
62813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62814   (eval $ac_link) 2>conftest.er1
62815   ac_status=$?
62816   grep -v '^ *+' conftest.er1 >conftest.err
62817   rm -f conftest.er1
62818   cat conftest.err >&5
62819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62820   (exit $ac_status); } &&
62821          { ac_try='test -z "$ac_c_werror_flag"
62822                          || test ! -s conftest.err'
62823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62824   (eval $ac_try) 2>&5
62825   ac_status=$?
62826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62827   (exit $ac_status); }; } &&
62828          { ac_try='test -s conftest$ac_exeext'
62829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62830   (eval $ac_try) 2>&5
62831   ac_status=$?
62832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833   (exit $ac_status); }; }; then
62834   eval "$as_ac_var=yes"
62835 else
62836   echo "$as_me: failed program was:" >&5
62837 sed 's/^/| /' conftest.$ac_ext >&5
62838
62839 eval "$as_ac_var=no"
62840 fi
62841 rm -f conftest.err conftest.$ac_objext \
62842       conftest$ac_exeext conftest.$ac_ext
62843 fi
62844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62846 if test `eval echo '${'$as_ac_var'}'` = yes; then
62847   cat >>confdefs.h <<_ACEOF
62848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62849 _ACEOF
62850
62851 fi
62852 done
62853
62854     fi
62855   fi
62856
62857
62858
62859
62860
62861
62862   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
62863 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
62864   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62865     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
62866   echo $ECHO_N "(cached) $ECHO_C" >&6
62867 else
62868
62869
62870
62871       ac_ext=cc
62872 ac_cpp='$CXXCPP $CPPFLAGS'
62873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62876
62877       cat >conftest.$ac_ext <<_ACEOF
62878 /* confdefs.h.  */
62879 _ACEOF
62880 cat confdefs.h >>conftest.$ac_ext
62881 cat >>conftest.$ac_ext <<_ACEOF
62882 /* end confdefs.h.  */
62883 #include <math.h>
62884                       #ifdef HAVE_IEEEFP_H
62885                       #include <ieeefp.h>
62886                       #endif
62887
62888 int
62889 main ()
62890 {
62891  qfpclass(0);
62892   ;
62893   return 0;
62894 }
62895 _ACEOF
62896 rm -f conftest.$ac_objext
62897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62898   (eval $ac_compile) 2>conftest.er1
62899   ac_status=$?
62900   grep -v '^ *+' conftest.er1 >conftest.err
62901   rm -f conftest.er1
62902   cat conftest.err >&5
62903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62904   (exit $ac_status); } &&
62905          { ac_try='test -z "$ac_cxx_werror_flag"
62906                          || test ! -s conftest.err'
62907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62908   (eval $ac_try) 2>&5
62909   ac_status=$?
62910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62911   (exit $ac_status); }; } &&
62912          { ac_try='test -s conftest.$ac_objext'
62913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62914   (eval $ac_try) 2>&5
62915   ac_status=$?
62916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62917   (exit $ac_status); }; }; then
62918   glibcxx_cv_func_qfpclass_use=yes
62919 else
62920   echo "$as_me: failed program was:" >&5
62921 sed 's/^/| /' conftest.$ac_ext >&5
62922
62923 glibcxx_cv_func_qfpclass_use=no
62924 fi
62925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62926       ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931
62932
62933 fi
62934
62935   fi
62936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
62937 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
62938
62939   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62940
62941 for ac_func in qfpclass
62942 do
62943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62944 echo "$as_me:$LINENO: checking for $ac_func" >&5
62945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62946 if eval "test \"\${$as_ac_var+set}\" = set"; then
62947   echo $ECHO_N "(cached) $ECHO_C" >&6
62948 else
62949   if test x$gcc_no_link = xyes; then
62950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62952    { (exit 1); exit 1; }; }
62953 fi
62954 cat >conftest.$ac_ext <<_ACEOF
62955 /* confdefs.h.  */
62956 _ACEOF
62957 cat confdefs.h >>conftest.$ac_ext
62958 cat >>conftest.$ac_ext <<_ACEOF
62959 /* end confdefs.h.  */
62960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62962 #define $ac_func innocuous_$ac_func
62963
62964 /* System header to define __stub macros and hopefully few prototypes,
62965     which can conflict with char $ac_func (); below.
62966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62967     <limits.h> exists even on freestanding compilers.  */
62968
62969 #ifdef __STDC__
62970 # include <limits.h>
62971 #else
62972 # include <assert.h>
62973 #endif
62974
62975 #undef $ac_func
62976
62977 /* Override any gcc2 internal prototype to avoid an error.  */
62978 #ifdef __cplusplus
62979 extern "C"
62980 {
62981 #endif
62982 /* We use char because int might match the return type of a gcc2
62983    builtin and then its argument prototype would still apply.  */
62984 char $ac_func ();
62985 /* The GNU C library defines this for functions which it implements
62986     to always fail with ENOSYS.  Some functions are actually named
62987     something starting with __ and the normal name is an alias.  */
62988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62989 choke me
62990 #else
62991 char (*f) () = $ac_func;
62992 #endif
62993 #ifdef __cplusplus
62994 }
62995 #endif
62996
62997 int
62998 main ()
62999 {
63000 return f != $ac_func;
63001   ;
63002   return 0;
63003 }
63004 _ACEOF
63005 rm -f conftest.$ac_objext conftest$ac_exeext
63006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63007   (eval $ac_link) 2>conftest.er1
63008   ac_status=$?
63009   grep -v '^ *+' conftest.er1 >conftest.err
63010   rm -f conftest.er1
63011   cat conftest.err >&5
63012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63013   (exit $ac_status); } &&
63014          { ac_try='test -z "$ac_c_werror_flag"
63015                          || test ! -s conftest.err'
63016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63017   (eval $ac_try) 2>&5
63018   ac_status=$?
63019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63020   (exit $ac_status); }; } &&
63021          { ac_try='test -s conftest$ac_exeext'
63022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63023   (eval $ac_try) 2>&5
63024   ac_status=$?
63025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63026   (exit $ac_status); }; }; then
63027   eval "$as_ac_var=yes"
63028 else
63029   echo "$as_me: failed program was:" >&5
63030 sed 's/^/| /' conftest.$ac_ext >&5
63031
63032 eval "$as_ac_var=no"
63033 fi
63034 rm -f conftest.err conftest.$ac_objext \
63035       conftest$ac_exeext conftest.$ac_ext
63036 fi
63037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63039 if test `eval echo '${'$as_ac_var'}'` = yes; then
63040   cat >>confdefs.h <<_ACEOF
63041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63042 _ACEOF
63043
63044 fi
63045 done
63046
63047   else
63048
63049   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
63050 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
63051   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
63052     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
63053   echo $ECHO_N "(cached) $ECHO_C" >&6
63054 else
63055
63056
63057
63058       ac_ext=cc
63059 ac_cpp='$CXXCPP $CPPFLAGS'
63060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63063
63064       cat >conftest.$ac_ext <<_ACEOF
63065 /* confdefs.h.  */
63066 _ACEOF
63067 cat confdefs.h >>conftest.$ac_ext
63068 cat >>conftest.$ac_ext <<_ACEOF
63069 /* end confdefs.h.  */
63070 #include <math.h>
63071                       #ifdef HAVE_IEEEFP_H
63072                       #include <ieeefp.h>
63073                       #endif
63074
63075 int
63076 main ()
63077 {
63078  _qfpclass(0);
63079   ;
63080   return 0;
63081 }
63082 _ACEOF
63083 rm -f conftest.$ac_objext
63084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63085   (eval $ac_compile) 2>conftest.er1
63086   ac_status=$?
63087   grep -v '^ *+' conftest.er1 >conftest.err
63088   rm -f conftest.er1
63089   cat conftest.err >&5
63090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63091   (exit $ac_status); } &&
63092          { ac_try='test -z "$ac_cxx_werror_flag"
63093                          || test ! -s conftest.err'
63094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63095   (eval $ac_try) 2>&5
63096   ac_status=$?
63097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63098   (exit $ac_status); }; } &&
63099          { ac_try='test -s conftest.$ac_objext'
63100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63101   (eval $ac_try) 2>&5
63102   ac_status=$?
63103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63104   (exit $ac_status); }; }; then
63105   glibcxx_cv_func__qfpclass_use=yes
63106 else
63107   echo "$as_me: failed program was:" >&5
63108 sed 's/^/| /' conftest.$ac_ext >&5
63109
63110 glibcxx_cv_func__qfpclass_use=no
63111 fi
63112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63113       ac_ext=c
63114 ac_cpp='$CPP $CPPFLAGS'
63115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63118
63119
63120 fi
63121
63122   fi
63123   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
63124 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
63125
63126     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
63127
63128 for ac_func in _qfpclass
63129 do
63130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63131 echo "$as_me:$LINENO: checking for $ac_func" >&5
63132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63133 if eval "test \"\${$as_ac_var+set}\" = set"; then
63134   echo $ECHO_N "(cached) $ECHO_C" >&6
63135 else
63136   if test x$gcc_no_link = xyes; then
63137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63139    { (exit 1); exit 1; }; }
63140 fi
63141 cat >conftest.$ac_ext <<_ACEOF
63142 /* confdefs.h.  */
63143 _ACEOF
63144 cat confdefs.h >>conftest.$ac_ext
63145 cat >>conftest.$ac_ext <<_ACEOF
63146 /* end confdefs.h.  */
63147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63149 #define $ac_func innocuous_$ac_func
63150
63151 /* System header to define __stub macros and hopefully few prototypes,
63152     which can conflict with char $ac_func (); below.
63153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63154     <limits.h> exists even on freestanding compilers.  */
63155
63156 #ifdef __STDC__
63157 # include <limits.h>
63158 #else
63159 # include <assert.h>
63160 #endif
63161
63162 #undef $ac_func
63163
63164 /* Override any gcc2 internal prototype to avoid an error.  */
63165 #ifdef __cplusplus
63166 extern "C"
63167 {
63168 #endif
63169 /* We use char because int might match the return type of a gcc2
63170    builtin and then its argument prototype would still apply.  */
63171 char $ac_func ();
63172 /* The GNU C library defines this for functions which it implements
63173     to always fail with ENOSYS.  Some functions are actually named
63174     something starting with __ and the normal name is an alias.  */
63175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63176 choke me
63177 #else
63178 char (*f) () = $ac_func;
63179 #endif
63180 #ifdef __cplusplus
63181 }
63182 #endif
63183
63184 int
63185 main ()
63186 {
63187 return f != $ac_func;
63188   ;
63189   return 0;
63190 }
63191 _ACEOF
63192 rm -f conftest.$ac_objext conftest$ac_exeext
63193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63194   (eval $ac_link) 2>conftest.er1
63195   ac_status=$?
63196   grep -v '^ *+' conftest.er1 >conftest.err
63197   rm -f conftest.er1
63198   cat conftest.err >&5
63199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63200   (exit $ac_status); } &&
63201          { ac_try='test -z "$ac_c_werror_flag"
63202                          || test ! -s conftest.err'
63203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63204   (eval $ac_try) 2>&5
63205   ac_status=$?
63206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63207   (exit $ac_status); }; } &&
63208          { ac_try='test -s conftest$ac_exeext'
63209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63210   (eval $ac_try) 2>&5
63211   ac_status=$?
63212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63213   (exit $ac_status); }; }; then
63214   eval "$as_ac_var=yes"
63215 else
63216   echo "$as_me: failed program was:" >&5
63217 sed 's/^/| /' conftest.$ac_ext >&5
63218
63219 eval "$as_ac_var=no"
63220 fi
63221 rm -f conftest.err conftest.$ac_objext \
63222       conftest$ac_exeext conftest.$ac_ext
63223 fi
63224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63226 if test `eval echo '${'$as_ac_var'}'` = yes; then
63227   cat >>confdefs.h <<_ACEOF
63228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63229 _ACEOF
63230
63231 fi
63232 done
63233
63234     fi
63235   fi
63236
63237
63238
63239
63240
63241
63242   echo "$as_me:$LINENO: checking for hypot declaration" >&5
63243 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
63244   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
63245     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
63246   echo $ECHO_N "(cached) $ECHO_C" >&6
63247 else
63248
63249
63250
63251       ac_ext=cc
63252 ac_cpp='$CXXCPP $CPPFLAGS'
63253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63256
63257       cat >conftest.$ac_ext <<_ACEOF
63258 /* confdefs.h.  */
63259 _ACEOF
63260 cat confdefs.h >>conftest.$ac_ext
63261 cat >>conftest.$ac_ext <<_ACEOF
63262 /* end confdefs.h.  */
63263 #include <math.h>
63264 int
63265 main ()
63266 {
63267  hypot(0, 0);
63268   ;
63269   return 0;
63270 }
63271 _ACEOF
63272 rm -f conftest.$ac_objext
63273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63274   (eval $ac_compile) 2>conftest.er1
63275   ac_status=$?
63276   grep -v '^ *+' conftest.er1 >conftest.err
63277   rm -f conftest.er1
63278   cat conftest.err >&5
63279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63280   (exit $ac_status); } &&
63281          { ac_try='test -z "$ac_cxx_werror_flag"
63282                          || test ! -s conftest.err'
63283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63284   (eval $ac_try) 2>&5
63285   ac_status=$?
63286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63287   (exit $ac_status); }; } &&
63288          { ac_try='test -s conftest.$ac_objext'
63289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63290   (eval $ac_try) 2>&5
63291   ac_status=$?
63292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63293   (exit $ac_status); }; }; then
63294   glibcxx_cv_func_hypot_use=yes
63295 else
63296   echo "$as_me: failed program was:" >&5
63297 sed 's/^/| /' conftest.$ac_ext >&5
63298
63299 glibcxx_cv_func_hypot_use=no
63300 fi
63301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63302       ac_ext=c
63303 ac_cpp='$CPP $CPPFLAGS'
63304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63307
63308
63309 fi
63310
63311   fi
63312   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
63313 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
63314
63315   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
63316
63317 for ac_func in hypot
63318 do
63319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63320 echo "$as_me:$LINENO: checking for $ac_func" >&5
63321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63322 if eval "test \"\${$as_ac_var+set}\" = set"; then
63323   echo $ECHO_N "(cached) $ECHO_C" >&6
63324 else
63325   if test x$gcc_no_link = xyes; then
63326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63328    { (exit 1); exit 1; }; }
63329 fi
63330 cat >conftest.$ac_ext <<_ACEOF
63331 /* confdefs.h.  */
63332 _ACEOF
63333 cat confdefs.h >>conftest.$ac_ext
63334 cat >>conftest.$ac_ext <<_ACEOF
63335 /* end confdefs.h.  */
63336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63338 #define $ac_func innocuous_$ac_func
63339
63340 /* System header to define __stub macros and hopefully few prototypes,
63341     which can conflict with char $ac_func (); below.
63342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63343     <limits.h> exists even on freestanding compilers.  */
63344
63345 #ifdef __STDC__
63346 # include <limits.h>
63347 #else
63348 # include <assert.h>
63349 #endif
63350
63351 #undef $ac_func
63352
63353 /* Override any gcc2 internal prototype to avoid an error.  */
63354 #ifdef __cplusplus
63355 extern "C"
63356 {
63357 #endif
63358 /* We use char because int might match the return type of a gcc2
63359    builtin and then its argument prototype would still apply.  */
63360 char $ac_func ();
63361 /* The GNU C library defines this for functions which it implements
63362     to always fail with ENOSYS.  Some functions are actually named
63363     something starting with __ and the normal name is an alias.  */
63364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63365 choke me
63366 #else
63367 char (*f) () = $ac_func;
63368 #endif
63369 #ifdef __cplusplus
63370 }
63371 #endif
63372
63373 int
63374 main ()
63375 {
63376 return f != $ac_func;
63377   ;
63378   return 0;
63379 }
63380 _ACEOF
63381 rm -f conftest.$ac_objext conftest$ac_exeext
63382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63383   (eval $ac_link) 2>conftest.er1
63384   ac_status=$?
63385   grep -v '^ *+' conftest.er1 >conftest.err
63386   rm -f conftest.er1
63387   cat conftest.err >&5
63388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63389   (exit $ac_status); } &&
63390          { ac_try='test -z "$ac_c_werror_flag"
63391                          || test ! -s conftest.err'
63392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63393   (eval $ac_try) 2>&5
63394   ac_status=$?
63395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63396   (exit $ac_status); }; } &&
63397          { ac_try='test -s conftest$ac_exeext'
63398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63399   (eval $ac_try) 2>&5
63400   ac_status=$?
63401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63402   (exit $ac_status); }; }; then
63403   eval "$as_ac_var=yes"
63404 else
63405   echo "$as_me: failed program was:" >&5
63406 sed 's/^/| /' conftest.$ac_ext >&5
63407
63408 eval "$as_ac_var=no"
63409 fi
63410 rm -f conftest.err conftest.$ac_objext \
63411       conftest$ac_exeext conftest.$ac_ext
63412 fi
63413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63415 if test `eval echo '${'$as_ac_var'}'` = yes; then
63416   cat >>confdefs.h <<_ACEOF
63417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63418 _ACEOF
63419
63420 fi
63421 done
63422
63423   else
63424
63425   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
63426 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
63427   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
63428     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
63429   echo $ECHO_N "(cached) $ECHO_C" >&6
63430 else
63431
63432
63433
63434       ac_ext=cc
63435 ac_cpp='$CXXCPP $CPPFLAGS'
63436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63439
63440       cat >conftest.$ac_ext <<_ACEOF
63441 /* confdefs.h.  */
63442 _ACEOF
63443 cat confdefs.h >>conftest.$ac_ext
63444 cat >>conftest.$ac_ext <<_ACEOF
63445 /* end confdefs.h.  */
63446 #include <math.h>
63447 int
63448 main ()
63449 {
63450  _hypot(0, 0);
63451   ;
63452   return 0;
63453 }
63454 _ACEOF
63455 rm -f conftest.$ac_objext
63456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63457   (eval $ac_compile) 2>conftest.er1
63458   ac_status=$?
63459   grep -v '^ *+' conftest.er1 >conftest.err
63460   rm -f conftest.er1
63461   cat conftest.err >&5
63462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63463   (exit $ac_status); } &&
63464          { ac_try='test -z "$ac_cxx_werror_flag"
63465                          || test ! -s conftest.err'
63466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63467   (eval $ac_try) 2>&5
63468   ac_status=$?
63469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63470   (exit $ac_status); }; } &&
63471          { ac_try='test -s conftest.$ac_objext'
63472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63473   (eval $ac_try) 2>&5
63474   ac_status=$?
63475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63476   (exit $ac_status); }; }; then
63477   glibcxx_cv_func__hypot_use=yes
63478 else
63479   echo "$as_me: failed program was:" >&5
63480 sed 's/^/| /' conftest.$ac_ext >&5
63481
63482 glibcxx_cv_func__hypot_use=no
63483 fi
63484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63485       ac_ext=c
63486 ac_cpp='$CPP $CPPFLAGS'
63487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63490
63491
63492 fi
63493
63494   fi
63495   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
63496 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
63497
63498     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
63499
63500 for ac_func in _hypot
63501 do
63502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63503 echo "$as_me:$LINENO: checking for $ac_func" >&5
63504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63505 if eval "test \"\${$as_ac_var+set}\" = set"; then
63506   echo $ECHO_N "(cached) $ECHO_C" >&6
63507 else
63508   if test x$gcc_no_link = xyes; then
63509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63511    { (exit 1); exit 1; }; }
63512 fi
63513 cat >conftest.$ac_ext <<_ACEOF
63514 /* confdefs.h.  */
63515 _ACEOF
63516 cat confdefs.h >>conftest.$ac_ext
63517 cat >>conftest.$ac_ext <<_ACEOF
63518 /* end confdefs.h.  */
63519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63521 #define $ac_func innocuous_$ac_func
63522
63523 /* System header to define __stub macros and hopefully few prototypes,
63524     which can conflict with char $ac_func (); below.
63525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63526     <limits.h> exists even on freestanding compilers.  */
63527
63528 #ifdef __STDC__
63529 # include <limits.h>
63530 #else
63531 # include <assert.h>
63532 #endif
63533
63534 #undef $ac_func
63535
63536 /* Override any gcc2 internal prototype to avoid an error.  */
63537 #ifdef __cplusplus
63538 extern "C"
63539 {
63540 #endif
63541 /* We use char because int might match the return type of a gcc2
63542    builtin and then its argument prototype would still apply.  */
63543 char $ac_func ();
63544 /* The GNU C library defines this for functions which it implements
63545     to always fail with ENOSYS.  Some functions are actually named
63546     something starting with __ and the normal name is an alias.  */
63547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63548 choke me
63549 #else
63550 char (*f) () = $ac_func;
63551 #endif
63552 #ifdef __cplusplus
63553 }
63554 #endif
63555
63556 int
63557 main ()
63558 {
63559 return f != $ac_func;
63560   ;
63561   return 0;
63562 }
63563 _ACEOF
63564 rm -f conftest.$ac_objext conftest$ac_exeext
63565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63566   (eval $ac_link) 2>conftest.er1
63567   ac_status=$?
63568   grep -v '^ *+' conftest.er1 >conftest.err
63569   rm -f conftest.er1
63570   cat conftest.err >&5
63571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63572   (exit $ac_status); } &&
63573          { ac_try='test -z "$ac_c_werror_flag"
63574                          || test ! -s conftest.err'
63575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63576   (eval $ac_try) 2>&5
63577   ac_status=$?
63578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63579   (exit $ac_status); }; } &&
63580          { ac_try='test -s conftest$ac_exeext'
63581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63582   (eval $ac_try) 2>&5
63583   ac_status=$?
63584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63585   (exit $ac_status); }; }; then
63586   eval "$as_ac_var=yes"
63587 else
63588   echo "$as_me: failed program was:" >&5
63589 sed 's/^/| /' conftest.$ac_ext >&5
63590
63591 eval "$as_ac_var=no"
63592 fi
63593 rm -f conftest.err conftest.$ac_objext \
63594       conftest$ac_exeext conftest.$ac_ext
63595 fi
63596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63598 if test `eval echo '${'$as_ac_var'}'` = yes; then
63599   cat >>confdefs.h <<_ACEOF
63600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63601 _ACEOF
63602
63603 fi
63604 done
63605
63606     fi
63607   fi
63608
63609
63610
63611
63612
63613
63614     echo "$as_me:$LINENO: checking for float trig functions" >&5
63615 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
63616   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
63617   echo $ECHO_N "(cached) $ECHO_C" >&6
63618 else
63619
63620
63621
63622     ac_ext=cc
63623 ac_cpp='$CXXCPP $CPPFLAGS'
63624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63627
63628     cat >conftest.$ac_ext <<_ACEOF
63629 /* confdefs.h.  */
63630 _ACEOF
63631 cat confdefs.h >>conftest.$ac_ext
63632 cat >>conftest.$ac_ext <<_ACEOF
63633 /* end confdefs.h.  */
63634 #include <math.h>
63635 int
63636 main ()
63637 {
63638 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
63639   ;
63640   return 0;
63641 }
63642 _ACEOF
63643 rm -f conftest.$ac_objext
63644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63645   (eval $ac_compile) 2>conftest.er1
63646   ac_status=$?
63647   grep -v '^ *+' conftest.er1 >conftest.err
63648   rm -f conftest.er1
63649   cat conftest.err >&5
63650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63651   (exit $ac_status); } &&
63652          { ac_try='test -z "$ac_cxx_werror_flag"
63653                          || test ! -s conftest.err'
63654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63655   (eval $ac_try) 2>&5
63656   ac_status=$?
63657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63658   (exit $ac_status); }; } &&
63659          { ac_try='test -s conftest.$ac_objext'
63660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63661   (eval $ac_try) 2>&5
63662   ac_status=$?
63663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63664   (exit $ac_status); }; }; then
63665   glibcxx_cv_func_float_trig_use=yes
63666 else
63667   echo "$as_me: failed program was:" >&5
63668 sed 's/^/| /' conftest.$ac_ext >&5
63669
63670 glibcxx_cv_func_float_trig_use=no
63671 fi
63672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63673     ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678
63679 fi
63680
63681   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
63682 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
63683   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
63694 do
63695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63696 echo "$as_me:$LINENO: checking for $ac_func" >&5
63697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63698 if eval "test \"\${$as_ac_var+set}\" = set"; then
63699   echo $ECHO_N "(cached) $ECHO_C" >&6
63700 else
63701   if test x$gcc_no_link = xyes; then
63702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63704    { (exit 1); exit 1; }; }
63705 fi
63706 cat >conftest.$ac_ext <<_ACEOF
63707 /* confdefs.h.  */
63708 _ACEOF
63709 cat confdefs.h >>conftest.$ac_ext
63710 cat >>conftest.$ac_ext <<_ACEOF
63711 /* end confdefs.h.  */
63712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63714 #define $ac_func innocuous_$ac_func
63715
63716 /* System header to define __stub macros and hopefully few prototypes,
63717     which can conflict with char $ac_func (); below.
63718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63719     <limits.h> exists even on freestanding compilers.  */
63720
63721 #ifdef __STDC__
63722 # include <limits.h>
63723 #else
63724 # include <assert.h>
63725 #endif
63726
63727 #undef $ac_func
63728
63729 /* Override any gcc2 internal prototype to avoid an error.  */
63730 #ifdef __cplusplus
63731 extern "C"
63732 {
63733 #endif
63734 /* We use char because int might match the return type of a gcc2
63735    builtin and then its argument prototype would still apply.  */
63736 char $ac_func ();
63737 /* The GNU C library defines this for functions which it implements
63738     to always fail with ENOSYS.  Some functions are actually named
63739     something starting with __ and the normal name is an alias.  */
63740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63741 choke me
63742 #else
63743 char (*f) () = $ac_func;
63744 #endif
63745 #ifdef __cplusplus
63746 }
63747 #endif
63748
63749 int
63750 main ()
63751 {
63752 return f != $ac_func;
63753   ;
63754   return 0;
63755 }
63756 _ACEOF
63757 rm -f conftest.$ac_objext conftest$ac_exeext
63758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63759   (eval $ac_link) 2>conftest.er1
63760   ac_status=$?
63761   grep -v '^ *+' conftest.er1 >conftest.err
63762   rm -f conftest.er1
63763   cat conftest.err >&5
63764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63765   (exit $ac_status); } &&
63766          { ac_try='test -z "$ac_c_werror_flag"
63767                          || test ! -s conftest.err'
63768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63769   (eval $ac_try) 2>&5
63770   ac_status=$?
63771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63772   (exit $ac_status); }; } &&
63773          { ac_try='test -s conftest$ac_exeext'
63774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63775   (eval $ac_try) 2>&5
63776   ac_status=$?
63777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63778   (exit $ac_status); }; }; then
63779   eval "$as_ac_var=yes"
63780 else
63781   echo "$as_me: failed program was:" >&5
63782 sed 's/^/| /' conftest.$ac_ext >&5
63783
63784 eval "$as_ac_var=no"
63785 fi
63786 rm -f conftest.err conftest.$ac_objext \
63787       conftest$ac_exeext conftest.$ac_ext
63788 fi
63789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63791 if test `eval echo '${'$as_ac_var'}'` = yes; then
63792   cat >>confdefs.h <<_ACEOF
63793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63794 _ACEOF
63795
63796 fi
63797 done
63798
63799   else
63800     echo "$as_me:$LINENO: checking for _float trig functions" >&5
63801 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
63802     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
63803   echo $ECHO_N "(cached) $ECHO_C" >&6
63804 else
63805
63806
63807
63808       ac_ext=cc
63809 ac_cpp='$CXXCPP $CPPFLAGS'
63810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63813
63814       cat >conftest.$ac_ext <<_ACEOF
63815 /* confdefs.h.  */
63816 _ACEOF
63817 cat confdefs.h >>conftest.$ac_ext
63818 cat >>conftest.$ac_ext <<_ACEOF
63819 /* end confdefs.h.  */
63820 #include <math.h>
63821 int
63822 main ()
63823 {
63824 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
63825   ;
63826   return 0;
63827 }
63828 _ACEOF
63829 rm -f conftest.$ac_objext
63830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63831   (eval $ac_compile) 2>conftest.er1
63832   ac_status=$?
63833   grep -v '^ *+' conftest.er1 >conftest.err
63834   rm -f conftest.er1
63835   cat conftest.err >&5
63836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63837   (exit $ac_status); } &&
63838          { ac_try='test -z "$ac_cxx_werror_flag"
63839                          || test ! -s conftest.err'
63840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63841   (eval $ac_try) 2>&5
63842   ac_status=$?
63843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63844   (exit $ac_status); }; } &&
63845          { ac_try='test -s conftest.$ac_objext'
63846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63847   (eval $ac_try) 2>&5
63848   ac_status=$?
63849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63850   (exit $ac_status); }; }; then
63851   glibcxx_cv_func__float_trig_use=yes
63852 else
63853   echo "$as_me: failed program was:" >&5
63854 sed 's/^/| /' conftest.$ac_ext >&5
63855
63856 glibcxx_cv_func__float_trig_use=no
63857 fi
63858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63859       ac_ext=c
63860 ac_cpp='$CPP $CPPFLAGS'
63861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63864
63865 fi
63866
63867     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
63868 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
63869     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
63870
63871
63872
63873
63874
63875
63876
63877
63878
63879 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
63880 do
63881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63882 echo "$as_me:$LINENO: checking for $ac_func" >&5
63883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63884 if eval "test \"\${$as_ac_var+set}\" = set"; then
63885   echo $ECHO_N "(cached) $ECHO_C" >&6
63886 else
63887   if test x$gcc_no_link = xyes; then
63888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63890    { (exit 1); exit 1; }; }
63891 fi
63892 cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h.  */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h.  */
63898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63900 #define $ac_func innocuous_$ac_func
63901
63902 /* System header to define __stub macros and hopefully few prototypes,
63903     which can conflict with char $ac_func (); below.
63904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63905     <limits.h> exists even on freestanding compilers.  */
63906
63907 #ifdef __STDC__
63908 # include <limits.h>
63909 #else
63910 # include <assert.h>
63911 #endif
63912
63913 #undef $ac_func
63914
63915 /* Override any gcc2 internal prototype to avoid an error.  */
63916 #ifdef __cplusplus
63917 extern "C"
63918 {
63919 #endif
63920 /* We use char because int might match the return type of a gcc2
63921    builtin and then its argument prototype would still apply.  */
63922 char $ac_func ();
63923 /* The GNU C library defines this for functions which it implements
63924     to always fail with ENOSYS.  Some functions are actually named
63925     something starting with __ and the normal name is an alias.  */
63926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63927 choke me
63928 #else
63929 char (*f) () = $ac_func;
63930 #endif
63931 #ifdef __cplusplus
63932 }
63933 #endif
63934
63935 int
63936 main ()
63937 {
63938 return f != $ac_func;
63939   ;
63940   return 0;
63941 }
63942 _ACEOF
63943 rm -f conftest.$ac_objext conftest$ac_exeext
63944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63945   (eval $ac_link) 2>conftest.er1
63946   ac_status=$?
63947   grep -v '^ *+' conftest.er1 >conftest.err
63948   rm -f conftest.er1
63949   cat conftest.err >&5
63950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63951   (exit $ac_status); } &&
63952          { ac_try='test -z "$ac_c_werror_flag"
63953                          || test ! -s conftest.err'
63954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63955   (eval $ac_try) 2>&5
63956   ac_status=$?
63957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63958   (exit $ac_status); }; } &&
63959          { ac_try='test -s conftest$ac_exeext'
63960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63961   (eval $ac_try) 2>&5
63962   ac_status=$?
63963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63964   (exit $ac_status); }; }; then
63965   eval "$as_ac_var=yes"
63966 else
63967   echo "$as_me: failed program was:" >&5
63968 sed 's/^/| /' conftest.$ac_ext >&5
63969
63970 eval "$as_ac_var=no"
63971 fi
63972 rm -f conftest.err conftest.$ac_objext \
63973       conftest$ac_exeext conftest.$ac_ext
63974 fi
63975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63977 if test `eval echo '${'$as_ac_var'}'` = yes; then
63978   cat >>confdefs.h <<_ACEOF
63979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63980 _ACEOF
63981
63982 fi
63983 done
63984
63985     fi
63986   fi
63987
63988
63989
63990
63991
63992
63993
63994
63995
63996
63997
63998
63999
64000
64001     echo "$as_me:$LINENO: checking for float round functions" >&5
64002 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
64003   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
64004   echo $ECHO_N "(cached) $ECHO_C" >&6
64005 else
64006
64007
64008
64009     ac_ext=cc
64010 ac_cpp='$CXXCPP $CPPFLAGS'
64011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64014
64015     cat >conftest.$ac_ext <<_ACEOF
64016 /* confdefs.h.  */
64017 _ACEOF
64018 cat confdefs.h >>conftest.$ac_ext
64019 cat >>conftest.$ac_ext <<_ACEOF
64020 /* end confdefs.h.  */
64021 #include <math.h>
64022 int
64023 main ()
64024 {
64025 ceilf (0); floorf (0);
64026   ;
64027   return 0;
64028 }
64029 _ACEOF
64030 rm -f conftest.$ac_objext
64031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64032   (eval $ac_compile) 2>conftest.er1
64033   ac_status=$?
64034   grep -v '^ *+' conftest.er1 >conftest.err
64035   rm -f conftest.er1
64036   cat conftest.err >&5
64037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64038   (exit $ac_status); } &&
64039          { ac_try='test -z "$ac_cxx_werror_flag"
64040                          || test ! -s conftest.err'
64041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64042   (eval $ac_try) 2>&5
64043   ac_status=$?
64044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64045   (exit $ac_status); }; } &&
64046          { ac_try='test -s conftest.$ac_objext'
64047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64048   (eval $ac_try) 2>&5
64049   ac_status=$?
64050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64051   (exit $ac_status); }; }; then
64052   glibcxx_cv_func_float_round_use=yes
64053 else
64054   echo "$as_me: failed program was:" >&5
64055 sed 's/^/| /' conftest.$ac_ext >&5
64056
64057 glibcxx_cv_func_float_round_use=no
64058 fi
64059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64060     ac_ext=c
64061 ac_cpp='$CPP $CPPFLAGS'
64062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64065
64066 fi
64067
64068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
64069 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
64070   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64071
64072
64073 for ac_func in ceilf floorf
64074 do
64075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64076 echo "$as_me:$LINENO: checking for $ac_func" >&5
64077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64078 if eval "test \"\${$as_ac_var+set}\" = set"; then
64079   echo $ECHO_N "(cached) $ECHO_C" >&6
64080 else
64081   if test x$gcc_no_link = xyes; then
64082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64084    { (exit 1); exit 1; }; }
64085 fi
64086 cat >conftest.$ac_ext <<_ACEOF
64087 /* confdefs.h.  */
64088 _ACEOF
64089 cat confdefs.h >>conftest.$ac_ext
64090 cat >>conftest.$ac_ext <<_ACEOF
64091 /* end confdefs.h.  */
64092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64094 #define $ac_func innocuous_$ac_func
64095
64096 /* System header to define __stub macros and hopefully few prototypes,
64097     which can conflict with char $ac_func (); below.
64098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64099     <limits.h> exists even on freestanding compilers.  */
64100
64101 #ifdef __STDC__
64102 # include <limits.h>
64103 #else
64104 # include <assert.h>
64105 #endif
64106
64107 #undef $ac_func
64108
64109 /* Override any gcc2 internal prototype to avoid an error.  */
64110 #ifdef __cplusplus
64111 extern "C"
64112 {
64113 #endif
64114 /* We use char because int might match the return type of a gcc2
64115    builtin and then its argument prototype would still apply.  */
64116 char $ac_func ();
64117 /* The GNU C library defines this for functions which it implements
64118     to always fail with ENOSYS.  Some functions are actually named
64119     something starting with __ and the normal name is an alias.  */
64120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64121 choke me
64122 #else
64123 char (*f) () = $ac_func;
64124 #endif
64125 #ifdef __cplusplus
64126 }
64127 #endif
64128
64129 int
64130 main ()
64131 {
64132 return f != $ac_func;
64133   ;
64134   return 0;
64135 }
64136 _ACEOF
64137 rm -f conftest.$ac_objext conftest$ac_exeext
64138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64139   (eval $ac_link) 2>conftest.er1
64140   ac_status=$?
64141   grep -v '^ *+' conftest.er1 >conftest.err
64142   rm -f conftest.er1
64143   cat conftest.err >&5
64144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64145   (exit $ac_status); } &&
64146          { ac_try='test -z "$ac_c_werror_flag"
64147                          || test ! -s conftest.err'
64148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64149   (eval $ac_try) 2>&5
64150   ac_status=$?
64151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64152   (exit $ac_status); }; } &&
64153          { ac_try='test -s conftest$ac_exeext'
64154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64155   (eval $ac_try) 2>&5
64156   ac_status=$?
64157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64158   (exit $ac_status); }; }; then
64159   eval "$as_ac_var=yes"
64160 else
64161   echo "$as_me: failed program was:" >&5
64162 sed 's/^/| /' conftest.$ac_ext >&5
64163
64164 eval "$as_ac_var=no"
64165 fi
64166 rm -f conftest.err conftest.$ac_objext \
64167       conftest$ac_exeext conftest.$ac_ext
64168 fi
64169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64171 if test `eval echo '${'$as_ac_var'}'` = yes; then
64172   cat >>confdefs.h <<_ACEOF
64173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64174 _ACEOF
64175
64176 fi
64177 done
64178
64179   else
64180     echo "$as_me:$LINENO: checking for _float round functions" >&5
64181 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
64182     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
64183   echo $ECHO_N "(cached) $ECHO_C" >&6
64184 else
64185
64186
64187
64188       ac_ext=cc
64189 ac_cpp='$CXXCPP $CPPFLAGS'
64190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64193
64194       cat >conftest.$ac_ext <<_ACEOF
64195 /* confdefs.h.  */
64196 _ACEOF
64197 cat confdefs.h >>conftest.$ac_ext
64198 cat >>conftest.$ac_ext <<_ACEOF
64199 /* end confdefs.h.  */
64200 #include <math.h>
64201 int
64202 main ()
64203 {
64204 _ceilf (0); _floorf (0);
64205   ;
64206   return 0;
64207 }
64208 _ACEOF
64209 rm -f conftest.$ac_objext
64210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64211   (eval $ac_compile) 2>conftest.er1
64212   ac_status=$?
64213   grep -v '^ *+' conftest.er1 >conftest.err
64214   rm -f conftest.er1
64215   cat conftest.err >&5
64216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64217   (exit $ac_status); } &&
64218          { ac_try='test -z "$ac_cxx_werror_flag"
64219                          || test ! -s conftest.err'
64220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64221   (eval $ac_try) 2>&5
64222   ac_status=$?
64223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64224   (exit $ac_status); }; } &&
64225          { ac_try='test -s conftest.$ac_objext'
64226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64227   (eval $ac_try) 2>&5
64228   ac_status=$?
64229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64230   (exit $ac_status); }; }; then
64231   glibcxx_cv_func__float_round_use=yes
64232 else
64233   echo "$as_me: failed program was:" >&5
64234 sed 's/^/| /' conftest.$ac_ext >&5
64235
64236 glibcxx_cv_func__float_round_use=no
64237 fi
64238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64239       ac_ext=c
64240 ac_cpp='$CPP $CPPFLAGS'
64241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64244
64245 fi
64246
64247     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
64248 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
64249     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64250
64251
64252 for ac_func in _ceilf _floorf
64253 do
64254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64255 echo "$as_me:$LINENO: checking for $ac_func" >&5
64256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64257 if eval "test \"\${$as_ac_var+set}\" = set"; then
64258   echo $ECHO_N "(cached) $ECHO_C" >&6
64259 else
64260   if test x$gcc_no_link = xyes; then
64261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64263    { (exit 1); exit 1; }; }
64264 fi
64265 cat >conftest.$ac_ext <<_ACEOF
64266 /* confdefs.h.  */
64267 _ACEOF
64268 cat confdefs.h >>conftest.$ac_ext
64269 cat >>conftest.$ac_ext <<_ACEOF
64270 /* end confdefs.h.  */
64271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64273 #define $ac_func innocuous_$ac_func
64274
64275 /* System header to define __stub macros and hopefully few prototypes,
64276     which can conflict with char $ac_func (); below.
64277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64278     <limits.h> exists even on freestanding compilers.  */
64279
64280 #ifdef __STDC__
64281 # include <limits.h>
64282 #else
64283 # include <assert.h>
64284 #endif
64285
64286 #undef $ac_func
64287
64288 /* Override any gcc2 internal prototype to avoid an error.  */
64289 #ifdef __cplusplus
64290 extern "C"
64291 {
64292 #endif
64293 /* We use char because int might match the return type of a gcc2
64294    builtin and then its argument prototype would still apply.  */
64295 char $ac_func ();
64296 /* The GNU C library defines this for functions which it implements
64297     to always fail with ENOSYS.  Some functions are actually named
64298     something starting with __ and the normal name is an alias.  */
64299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64300 choke me
64301 #else
64302 char (*f) () = $ac_func;
64303 #endif
64304 #ifdef __cplusplus
64305 }
64306 #endif
64307
64308 int
64309 main ()
64310 {
64311 return f != $ac_func;
64312   ;
64313   return 0;
64314 }
64315 _ACEOF
64316 rm -f conftest.$ac_objext conftest$ac_exeext
64317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64318   (eval $ac_link) 2>conftest.er1
64319   ac_status=$?
64320   grep -v '^ *+' conftest.er1 >conftest.err
64321   rm -f conftest.er1
64322   cat conftest.err >&5
64323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64324   (exit $ac_status); } &&
64325          { ac_try='test -z "$ac_c_werror_flag"
64326                          || test ! -s conftest.err'
64327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64328   (eval $ac_try) 2>&5
64329   ac_status=$?
64330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64331   (exit $ac_status); }; } &&
64332          { ac_try='test -s conftest$ac_exeext'
64333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64334   (eval $ac_try) 2>&5
64335   ac_status=$?
64336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64337   (exit $ac_status); }; }; then
64338   eval "$as_ac_var=yes"
64339 else
64340   echo "$as_me: failed program was:" >&5
64341 sed 's/^/| /' conftest.$ac_ext >&5
64342
64343 eval "$as_ac_var=no"
64344 fi
64345 rm -f conftest.err conftest.$ac_objext \
64346       conftest$ac_exeext conftest.$ac_ext
64347 fi
64348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64350 if test `eval echo '${'$as_ac_var'}'` = yes; then
64351   cat >>confdefs.h <<_ACEOF
64352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64353 _ACEOF
64354
64355 fi
64356 done
64357
64358     fi
64359   fi
64360
64361
64362
64363
64364
64365
64366
64367
64368   echo "$as_me:$LINENO: checking for expf declaration" >&5
64369 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
64370   if test x${glibcxx_cv_func_expf_use+set} != xset; then
64371     if test "${glibcxx_cv_func_expf_use+set}" = set; then
64372   echo $ECHO_N "(cached) $ECHO_C" >&6
64373 else
64374
64375
64376
64377       ac_ext=cc
64378 ac_cpp='$CXXCPP $CPPFLAGS'
64379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64382
64383       cat >conftest.$ac_ext <<_ACEOF
64384 /* confdefs.h.  */
64385 _ACEOF
64386 cat confdefs.h >>conftest.$ac_ext
64387 cat >>conftest.$ac_ext <<_ACEOF
64388 /* end confdefs.h.  */
64389 #include <math.h>
64390                       #ifdef HAVE_IEEEFP_H
64391                       #include <ieeefp.h>
64392                       #endif
64393
64394 int
64395 main ()
64396 {
64397  expf(0);
64398   ;
64399   return 0;
64400 }
64401 _ACEOF
64402 rm -f conftest.$ac_objext
64403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64404   (eval $ac_compile) 2>conftest.er1
64405   ac_status=$?
64406   grep -v '^ *+' conftest.er1 >conftest.err
64407   rm -f conftest.er1
64408   cat conftest.err >&5
64409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64410   (exit $ac_status); } &&
64411          { ac_try='test -z "$ac_cxx_werror_flag"
64412                          || test ! -s conftest.err'
64413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414   (eval $ac_try) 2>&5
64415   ac_status=$?
64416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417   (exit $ac_status); }; } &&
64418          { ac_try='test -s conftest.$ac_objext'
64419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64420   (eval $ac_try) 2>&5
64421   ac_status=$?
64422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64423   (exit $ac_status); }; }; then
64424   glibcxx_cv_func_expf_use=yes
64425 else
64426   echo "$as_me: failed program was:" >&5
64427 sed 's/^/| /' conftest.$ac_ext >&5
64428
64429 glibcxx_cv_func_expf_use=no
64430 fi
64431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64432       ac_ext=c
64433 ac_cpp='$CPP $CPPFLAGS'
64434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64437
64438
64439 fi
64440
64441   fi
64442   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
64443 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
64444
64445   if test x$glibcxx_cv_func_expf_use = x"yes"; then
64446
64447 for ac_func in expf
64448 do
64449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64450 echo "$as_me:$LINENO: checking for $ac_func" >&5
64451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64452 if eval "test \"\${$as_ac_var+set}\" = set"; then
64453   echo $ECHO_N "(cached) $ECHO_C" >&6
64454 else
64455   if test x$gcc_no_link = xyes; then
64456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64458    { (exit 1); exit 1; }; }
64459 fi
64460 cat >conftest.$ac_ext <<_ACEOF
64461 /* confdefs.h.  */
64462 _ACEOF
64463 cat confdefs.h >>conftest.$ac_ext
64464 cat >>conftest.$ac_ext <<_ACEOF
64465 /* end confdefs.h.  */
64466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64468 #define $ac_func innocuous_$ac_func
64469
64470 /* System header to define __stub macros and hopefully few prototypes,
64471     which can conflict with char $ac_func (); below.
64472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64473     <limits.h> exists even on freestanding compilers.  */
64474
64475 #ifdef __STDC__
64476 # include <limits.h>
64477 #else
64478 # include <assert.h>
64479 #endif
64480
64481 #undef $ac_func
64482
64483 /* Override any gcc2 internal prototype to avoid an error.  */
64484 #ifdef __cplusplus
64485 extern "C"
64486 {
64487 #endif
64488 /* We use char because int might match the return type of a gcc2
64489    builtin and then its argument prototype would still apply.  */
64490 char $ac_func ();
64491 /* The GNU C library defines this for functions which it implements
64492     to always fail with ENOSYS.  Some functions are actually named
64493     something starting with __ and the normal name is an alias.  */
64494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64495 choke me
64496 #else
64497 char (*f) () = $ac_func;
64498 #endif
64499 #ifdef __cplusplus
64500 }
64501 #endif
64502
64503 int
64504 main ()
64505 {
64506 return f != $ac_func;
64507   ;
64508   return 0;
64509 }
64510 _ACEOF
64511 rm -f conftest.$ac_objext conftest$ac_exeext
64512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64513   (eval $ac_link) 2>conftest.er1
64514   ac_status=$?
64515   grep -v '^ *+' conftest.er1 >conftest.err
64516   rm -f conftest.er1
64517   cat conftest.err >&5
64518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64519   (exit $ac_status); } &&
64520          { ac_try='test -z "$ac_c_werror_flag"
64521                          || test ! -s conftest.err'
64522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64523   (eval $ac_try) 2>&5
64524   ac_status=$?
64525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64526   (exit $ac_status); }; } &&
64527          { ac_try='test -s conftest$ac_exeext'
64528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64529   (eval $ac_try) 2>&5
64530   ac_status=$?
64531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64532   (exit $ac_status); }; }; then
64533   eval "$as_ac_var=yes"
64534 else
64535   echo "$as_me: failed program was:" >&5
64536 sed 's/^/| /' conftest.$ac_ext >&5
64537
64538 eval "$as_ac_var=no"
64539 fi
64540 rm -f conftest.err conftest.$ac_objext \
64541       conftest$ac_exeext conftest.$ac_ext
64542 fi
64543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64545 if test `eval echo '${'$as_ac_var'}'` = yes; then
64546   cat >>confdefs.h <<_ACEOF
64547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64548 _ACEOF
64549
64550 fi
64551 done
64552
64553   else
64554
64555   echo "$as_me:$LINENO: checking for _expf declaration" >&5
64556 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
64557   if test x${glibcxx_cv_func__expf_use+set} != xset; then
64558     if test "${glibcxx_cv_func__expf_use+set}" = set; then
64559   echo $ECHO_N "(cached) $ECHO_C" >&6
64560 else
64561
64562
64563
64564       ac_ext=cc
64565 ac_cpp='$CXXCPP $CPPFLAGS'
64566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64569
64570       cat >conftest.$ac_ext <<_ACEOF
64571 /* confdefs.h.  */
64572 _ACEOF
64573 cat confdefs.h >>conftest.$ac_ext
64574 cat >>conftest.$ac_ext <<_ACEOF
64575 /* end confdefs.h.  */
64576 #include <math.h>
64577                       #ifdef HAVE_IEEEFP_H
64578                       #include <ieeefp.h>
64579                       #endif
64580
64581 int
64582 main ()
64583 {
64584  _expf(0);
64585   ;
64586   return 0;
64587 }
64588 _ACEOF
64589 rm -f conftest.$ac_objext
64590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64591   (eval $ac_compile) 2>conftest.er1
64592   ac_status=$?
64593   grep -v '^ *+' conftest.er1 >conftest.err
64594   rm -f conftest.er1
64595   cat conftest.err >&5
64596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64597   (exit $ac_status); } &&
64598          { ac_try='test -z "$ac_cxx_werror_flag"
64599                          || test ! -s conftest.err'
64600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64601   (eval $ac_try) 2>&5
64602   ac_status=$?
64603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64604   (exit $ac_status); }; } &&
64605          { ac_try='test -s conftest.$ac_objext'
64606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64607   (eval $ac_try) 2>&5
64608   ac_status=$?
64609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64610   (exit $ac_status); }; }; then
64611   glibcxx_cv_func__expf_use=yes
64612 else
64613   echo "$as_me: failed program was:" >&5
64614 sed 's/^/| /' conftest.$ac_ext >&5
64615
64616 glibcxx_cv_func__expf_use=no
64617 fi
64618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64619       ac_ext=c
64620 ac_cpp='$CPP $CPPFLAGS'
64621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64624
64625
64626 fi
64627
64628   fi
64629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
64630 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
64631
64632     if test x$glibcxx_cv_func__expf_use = x"yes"; then
64633
64634 for ac_func in _expf
64635 do
64636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64637 echo "$as_me:$LINENO: checking for $ac_func" >&5
64638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64639 if eval "test \"\${$as_ac_var+set}\" = set"; then
64640   echo $ECHO_N "(cached) $ECHO_C" >&6
64641 else
64642   if test x$gcc_no_link = xyes; then
64643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64645    { (exit 1); exit 1; }; }
64646 fi
64647 cat >conftest.$ac_ext <<_ACEOF
64648 /* confdefs.h.  */
64649 _ACEOF
64650 cat confdefs.h >>conftest.$ac_ext
64651 cat >>conftest.$ac_ext <<_ACEOF
64652 /* end confdefs.h.  */
64653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64655 #define $ac_func innocuous_$ac_func
64656
64657 /* System header to define __stub macros and hopefully few prototypes,
64658     which can conflict with char $ac_func (); below.
64659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64660     <limits.h> exists even on freestanding compilers.  */
64661
64662 #ifdef __STDC__
64663 # include <limits.h>
64664 #else
64665 # include <assert.h>
64666 #endif
64667
64668 #undef $ac_func
64669
64670 /* Override any gcc2 internal prototype to avoid an error.  */
64671 #ifdef __cplusplus
64672 extern "C"
64673 {
64674 #endif
64675 /* We use char because int might match the return type of a gcc2
64676    builtin and then its argument prototype would still apply.  */
64677 char $ac_func ();
64678 /* The GNU C library defines this for functions which it implements
64679     to always fail with ENOSYS.  Some functions are actually named
64680     something starting with __ and the normal name is an alias.  */
64681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64682 choke me
64683 #else
64684 char (*f) () = $ac_func;
64685 #endif
64686 #ifdef __cplusplus
64687 }
64688 #endif
64689
64690 int
64691 main ()
64692 {
64693 return f != $ac_func;
64694   ;
64695   return 0;
64696 }
64697 _ACEOF
64698 rm -f conftest.$ac_objext conftest$ac_exeext
64699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64700   (eval $ac_link) 2>conftest.er1
64701   ac_status=$?
64702   grep -v '^ *+' conftest.er1 >conftest.err
64703   rm -f conftest.er1
64704   cat conftest.err >&5
64705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64706   (exit $ac_status); } &&
64707          { ac_try='test -z "$ac_c_werror_flag"
64708                          || test ! -s conftest.err'
64709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64710   (eval $ac_try) 2>&5
64711   ac_status=$?
64712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64713   (exit $ac_status); }; } &&
64714          { ac_try='test -s conftest$ac_exeext'
64715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64716   (eval $ac_try) 2>&5
64717   ac_status=$?
64718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719   (exit $ac_status); }; }; then
64720   eval "$as_ac_var=yes"
64721 else
64722   echo "$as_me: failed program was:" >&5
64723 sed 's/^/| /' conftest.$ac_ext >&5
64724
64725 eval "$as_ac_var=no"
64726 fi
64727 rm -f conftest.err conftest.$ac_objext \
64728       conftest$ac_exeext conftest.$ac_ext
64729 fi
64730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64732 if test `eval echo '${'$as_ac_var'}'` = yes; then
64733   cat >>confdefs.h <<_ACEOF
64734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64735 _ACEOF
64736
64737 fi
64738 done
64739
64740     fi
64741   fi
64742
64743
64744
64745
64746
64747
64748   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
64749 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
64750   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
64751     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
64752   echo $ECHO_N "(cached) $ECHO_C" >&6
64753 else
64754
64755
64756
64757       ac_ext=cc
64758 ac_cpp='$CXXCPP $CPPFLAGS'
64759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64762
64763       cat >conftest.$ac_ext <<_ACEOF
64764 /* confdefs.h.  */
64765 _ACEOF
64766 cat confdefs.h >>conftest.$ac_ext
64767 cat >>conftest.$ac_ext <<_ACEOF
64768 /* end confdefs.h.  */
64769 #include <math.h>
64770                       #ifdef HAVE_IEEEFP_H
64771                       #include <ieeefp.h>
64772                       #endif
64773
64774 int
64775 main ()
64776 {
64777  isnanf(0);
64778   ;
64779   return 0;
64780 }
64781 _ACEOF
64782 rm -f conftest.$ac_objext
64783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64784   (eval $ac_compile) 2>conftest.er1
64785   ac_status=$?
64786   grep -v '^ *+' conftest.er1 >conftest.err
64787   rm -f conftest.er1
64788   cat conftest.err >&5
64789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64790   (exit $ac_status); } &&
64791          { ac_try='test -z "$ac_cxx_werror_flag"
64792                          || test ! -s conftest.err'
64793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794   (eval $ac_try) 2>&5
64795   ac_status=$?
64796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797   (exit $ac_status); }; } &&
64798          { ac_try='test -s conftest.$ac_objext'
64799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64800   (eval $ac_try) 2>&5
64801   ac_status=$?
64802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64803   (exit $ac_status); }; }; then
64804   glibcxx_cv_func_isnanf_use=yes
64805 else
64806   echo "$as_me: failed program was:" >&5
64807 sed 's/^/| /' conftest.$ac_ext >&5
64808
64809 glibcxx_cv_func_isnanf_use=no
64810 fi
64811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64812       ac_ext=c
64813 ac_cpp='$CPP $CPPFLAGS'
64814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64817
64818
64819 fi
64820
64821   fi
64822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
64823 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
64824
64825   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
64826
64827 for ac_func in isnanf
64828 do
64829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64830 echo "$as_me:$LINENO: checking for $ac_func" >&5
64831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64832 if eval "test \"\${$as_ac_var+set}\" = set"; then
64833   echo $ECHO_N "(cached) $ECHO_C" >&6
64834 else
64835   if test x$gcc_no_link = xyes; then
64836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64838    { (exit 1); exit 1; }; }
64839 fi
64840 cat >conftest.$ac_ext <<_ACEOF
64841 /* confdefs.h.  */
64842 _ACEOF
64843 cat confdefs.h >>conftest.$ac_ext
64844 cat >>conftest.$ac_ext <<_ACEOF
64845 /* end confdefs.h.  */
64846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64848 #define $ac_func innocuous_$ac_func
64849
64850 /* System header to define __stub macros and hopefully few prototypes,
64851     which can conflict with char $ac_func (); below.
64852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64853     <limits.h> exists even on freestanding compilers.  */
64854
64855 #ifdef __STDC__
64856 # include <limits.h>
64857 #else
64858 # include <assert.h>
64859 #endif
64860
64861 #undef $ac_func
64862
64863 /* Override any gcc2 internal prototype to avoid an error.  */
64864 #ifdef __cplusplus
64865 extern "C"
64866 {
64867 #endif
64868 /* We use char because int might match the return type of a gcc2
64869    builtin and then its argument prototype would still apply.  */
64870 char $ac_func ();
64871 /* The GNU C library defines this for functions which it implements
64872     to always fail with ENOSYS.  Some functions are actually named
64873     something starting with __ and the normal name is an alias.  */
64874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64875 choke me
64876 #else
64877 char (*f) () = $ac_func;
64878 #endif
64879 #ifdef __cplusplus
64880 }
64881 #endif
64882
64883 int
64884 main ()
64885 {
64886 return f != $ac_func;
64887   ;
64888   return 0;
64889 }
64890 _ACEOF
64891 rm -f conftest.$ac_objext conftest$ac_exeext
64892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64893   (eval $ac_link) 2>conftest.er1
64894   ac_status=$?
64895   grep -v '^ *+' conftest.er1 >conftest.err
64896   rm -f conftest.er1
64897   cat conftest.err >&5
64898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64899   (exit $ac_status); } &&
64900          { ac_try='test -z "$ac_c_werror_flag"
64901                          || test ! -s conftest.err'
64902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64903   (eval $ac_try) 2>&5
64904   ac_status=$?
64905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906   (exit $ac_status); }; } &&
64907          { ac_try='test -s conftest$ac_exeext'
64908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64909   (eval $ac_try) 2>&5
64910   ac_status=$?
64911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64912   (exit $ac_status); }; }; then
64913   eval "$as_ac_var=yes"
64914 else
64915   echo "$as_me: failed program was:" >&5
64916 sed 's/^/| /' conftest.$ac_ext >&5
64917
64918 eval "$as_ac_var=no"
64919 fi
64920 rm -f conftest.err conftest.$ac_objext \
64921       conftest$ac_exeext conftest.$ac_ext
64922 fi
64923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64925 if test `eval echo '${'$as_ac_var'}'` = yes; then
64926   cat >>confdefs.h <<_ACEOF
64927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64928 _ACEOF
64929
64930 fi
64931 done
64932
64933   else
64934
64935   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
64936 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
64937   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
64938     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
64939   echo $ECHO_N "(cached) $ECHO_C" >&6
64940 else
64941
64942
64943
64944       ac_ext=cc
64945 ac_cpp='$CXXCPP $CPPFLAGS'
64946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64949
64950       cat >conftest.$ac_ext <<_ACEOF
64951 /* confdefs.h.  */
64952 _ACEOF
64953 cat confdefs.h >>conftest.$ac_ext
64954 cat >>conftest.$ac_ext <<_ACEOF
64955 /* end confdefs.h.  */
64956 #include <math.h>
64957                       #ifdef HAVE_IEEEFP_H
64958                       #include <ieeefp.h>
64959                       #endif
64960
64961 int
64962 main ()
64963 {
64964  _isnanf(0);
64965   ;
64966   return 0;
64967 }
64968 _ACEOF
64969 rm -f conftest.$ac_objext
64970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64971   (eval $ac_compile) 2>conftest.er1
64972   ac_status=$?
64973   grep -v '^ *+' conftest.er1 >conftest.err
64974   rm -f conftest.er1
64975   cat conftest.err >&5
64976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64977   (exit $ac_status); } &&
64978          { ac_try='test -z "$ac_cxx_werror_flag"
64979                          || test ! -s conftest.err'
64980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64981   (eval $ac_try) 2>&5
64982   ac_status=$?
64983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64984   (exit $ac_status); }; } &&
64985          { ac_try='test -s conftest.$ac_objext'
64986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64987   (eval $ac_try) 2>&5
64988   ac_status=$?
64989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64990   (exit $ac_status); }; }; then
64991   glibcxx_cv_func__isnanf_use=yes
64992 else
64993   echo "$as_me: failed program was:" >&5
64994 sed 's/^/| /' conftest.$ac_ext >&5
64995
64996 glibcxx_cv_func__isnanf_use=no
64997 fi
64998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64999       ac_ext=c
65000 ac_cpp='$CPP $CPPFLAGS'
65001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65004
65005
65006 fi
65007
65008   fi
65009   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
65010 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
65011
65012     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65013
65014 for ac_func in _isnanf
65015 do
65016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65017 echo "$as_me:$LINENO: checking for $ac_func" >&5
65018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65019 if eval "test \"\${$as_ac_var+set}\" = set"; then
65020   echo $ECHO_N "(cached) $ECHO_C" >&6
65021 else
65022   if test x$gcc_no_link = xyes; then
65023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65025    { (exit 1); exit 1; }; }
65026 fi
65027 cat >conftest.$ac_ext <<_ACEOF
65028 /* confdefs.h.  */
65029 _ACEOF
65030 cat confdefs.h >>conftest.$ac_ext
65031 cat >>conftest.$ac_ext <<_ACEOF
65032 /* end confdefs.h.  */
65033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65035 #define $ac_func innocuous_$ac_func
65036
65037 /* System header to define __stub macros and hopefully few prototypes,
65038     which can conflict with char $ac_func (); below.
65039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65040     <limits.h> exists even on freestanding compilers.  */
65041
65042 #ifdef __STDC__
65043 # include <limits.h>
65044 #else
65045 # include <assert.h>
65046 #endif
65047
65048 #undef $ac_func
65049
65050 /* Override any gcc2 internal prototype to avoid an error.  */
65051 #ifdef __cplusplus
65052 extern "C"
65053 {
65054 #endif
65055 /* We use char because int might match the return type of a gcc2
65056    builtin and then its argument prototype would still apply.  */
65057 char $ac_func ();
65058 /* The GNU C library defines this for functions which it implements
65059     to always fail with ENOSYS.  Some functions are actually named
65060     something starting with __ and the normal name is an alias.  */
65061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65062 choke me
65063 #else
65064 char (*f) () = $ac_func;
65065 #endif
65066 #ifdef __cplusplus
65067 }
65068 #endif
65069
65070 int
65071 main ()
65072 {
65073 return f != $ac_func;
65074   ;
65075   return 0;
65076 }
65077 _ACEOF
65078 rm -f conftest.$ac_objext conftest$ac_exeext
65079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65080   (eval $ac_link) 2>conftest.er1
65081   ac_status=$?
65082   grep -v '^ *+' conftest.er1 >conftest.err
65083   rm -f conftest.er1
65084   cat conftest.err >&5
65085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086   (exit $ac_status); } &&
65087          { ac_try='test -z "$ac_c_werror_flag"
65088                          || test ! -s conftest.err'
65089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65090   (eval $ac_try) 2>&5
65091   ac_status=$?
65092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65093   (exit $ac_status); }; } &&
65094          { ac_try='test -s conftest$ac_exeext'
65095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65096   (eval $ac_try) 2>&5
65097   ac_status=$?
65098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65099   (exit $ac_status); }; }; then
65100   eval "$as_ac_var=yes"
65101 else
65102   echo "$as_me: failed program was:" >&5
65103 sed 's/^/| /' conftest.$ac_ext >&5
65104
65105 eval "$as_ac_var=no"
65106 fi
65107 rm -f conftest.err conftest.$ac_objext \
65108       conftest$ac_exeext conftest.$ac_ext
65109 fi
65110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65112 if test `eval echo '${'$as_ac_var'}'` = yes; then
65113   cat >>confdefs.h <<_ACEOF
65114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65115 _ACEOF
65116
65117 fi
65118 done
65119
65120     fi
65121   fi
65122
65123
65124
65125
65126
65127
65128   echo "$as_me:$LINENO: checking for isinff declaration" >&5
65129 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
65130   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65131     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
65132   echo $ECHO_N "(cached) $ECHO_C" >&6
65133 else
65134
65135
65136
65137       ac_ext=cc
65138 ac_cpp='$CXXCPP $CPPFLAGS'
65139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65142
65143       cat >conftest.$ac_ext <<_ACEOF
65144 /* confdefs.h.  */
65145 _ACEOF
65146 cat confdefs.h >>conftest.$ac_ext
65147 cat >>conftest.$ac_ext <<_ACEOF
65148 /* end confdefs.h.  */
65149 #include <math.h>
65150                       #ifdef HAVE_IEEEFP_H
65151                       #include <ieeefp.h>
65152                       #endif
65153
65154 int
65155 main ()
65156 {
65157  isinff(0);
65158   ;
65159   return 0;
65160 }
65161 _ACEOF
65162 rm -f conftest.$ac_objext
65163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65164   (eval $ac_compile) 2>conftest.er1
65165   ac_status=$?
65166   grep -v '^ *+' conftest.er1 >conftest.err
65167   rm -f conftest.er1
65168   cat conftest.err >&5
65169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65170   (exit $ac_status); } &&
65171          { ac_try='test -z "$ac_cxx_werror_flag"
65172                          || test ! -s conftest.err'
65173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65174   (eval $ac_try) 2>&5
65175   ac_status=$?
65176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177   (exit $ac_status); }; } &&
65178          { ac_try='test -s conftest.$ac_objext'
65179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65180   (eval $ac_try) 2>&5
65181   ac_status=$?
65182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65183   (exit $ac_status); }; }; then
65184   glibcxx_cv_func_isinff_use=yes
65185 else
65186   echo "$as_me: failed program was:" >&5
65187 sed 's/^/| /' conftest.$ac_ext >&5
65188
65189 glibcxx_cv_func_isinff_use=no
65190 fi
65191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65192       ac_ext=c
65193 ac_cpp='$CPP $CPPFLAGS'
65194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65197
65198
65199 fi
65200
65201   fi
65202   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
65203 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
65204
65205   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65206
65207 for ac_func in isinff
65208 do
65209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65210 echo "$as_me:$LINENO: checking for $ac_func" >&5
65211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65212 if eval "test \"\${$as_ac_var+set}\" = set"; then
65213   echo $ECHO_N "(cached) $ECHO_C" >&6
65214 else
65215   if test x$gcc_no_link = xyes; then
65216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65218    { (exit 1); exit 1; }; }
65219 fi
65220 cat >conftest.$ac_ext <<_ACEOF
65221 /* confdefs.h.  */
65222 _ACEOF
65223 cat confdefs.h >>conftest.$ac_ext
65224 cat >>conftest.$ac_ext <<_ACEOF
65225 /* end confdefs.h.  */
65226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65228 #define $ac_func innocuous_$ac_func
65229
65230 /* System header to define __stub macros and hopefully few prototypes,
65231     which can conflict with char $ac_func (); below.
65232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65233     <limits.h> exists even on freestanding compilers.  */
65234
65235 #ifdef __STDC__
65236 # include <limits.h>
65237 #else
65238 # include <assert.h>
65239 #endif
65240
65241 #undef $ac_func
65242
65243 /* Override any gcc2 internal prototype to avoid an error.  */
65244 #ifdef __cplusplus
65245 extern "C"
65246 {
65247 #endif
65248 /* We use char because int might match the return type of a gcc2
65249    builtin and then its argument prototype would still apply.  */
65250 char $ac_func ();
65251 /* The GNU C library defines this for functions which it implements
65252     to always fail with ENOSYS.  Some functions are actually named
65253     something starting with __ and the normal name is an alias.  */
65254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65255 choke me
65256 #else
65257 char (*f) () = $ac_func;
65258 #endif
65259 #ifdef __cplusplus
65260 }
65261 #endif
65262
65263 int
65264 main ()
65265 {
65266 return f != $ac_func;
65267   ;
65268   return 0;
65269 }
65270 _ACEOF
65271 rm -f conftest.$ac_objext conftest$ac_exeext
65272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65273   (eval $ac_link) 2>conftest.er1
65274   ac_status=$?
65275   grep -v '^ *+' conftest.er1 >conftest.err
65276   rm -f conftest.er1
65277   cat conftest.err >&5
65278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279   (exit $ac_status); } &&
65280          { ac_try='test -z "$ac_c_werror_flag"
65281                          || test ! -s conftest.err'
65282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65283   (eval $ac_try) 2>&5
65284   ac_status=$?
65285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286   (exit $ac_status); }; } &&
65287          { ac_try='test -s conftest$ac_exeext'
65288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65289   (eval $ac_try) 2>&5
65290   ac_status=$?
65291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65292   (exit $ac_status); }; }; then
65293   eval "$as_ac_var=yes"
65294 else
65295   echo "$as_me: failed program was:" >&5
65296 sed 's/^/| /' conftest.$ac_ext >&5
65297
65298 eval "$as_ac_var=no"
65299 fi
65300 rm -f conftest.err conftest.$ac_objext \
65301       conftest$ac_exeext conftest.$ac_ext
65302 fi
65303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65305 if test `eval echo '${'$as_ac_var'}'` = yes; then
65306   cat >>confdefs.h <<_ACEOF
65307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65308 _ACEOF
65309
65310 fi
65311 done
65312
65313   else
65314
65315   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
65316 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
65317   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65318     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
65319   echo $ECHO_N "(cached) $ECHO_C" >&6
65320 else
65321
65322
65323
65324       ac_ext=cc
65325 ac_cpp='$CXXCPP $CPPFLAGS'
65326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65329
65330       cat >conftest.$ac_ext <<_ACEOF
65331 /* confdefs.h.  */
65332 _ACEOF
65333 cat confdefs.h >>conftest.$ac_ext
65334 cat >>conftest.$ac_ext <<_ACEOF
65335 /* end confdefs.h.  */
65336 #include <math.h>
65337                       #ifdef HAVE_IEEEFP_H
65338                       #include <ieeefp.h>
65339                       #endif
65340
65341 int
65342 main ()
65343 {
65344  _isinff(0);
65345   ;
65346   return 0;
65347 }
65348 _ACEOF
65349 rm -f conftest.$ac_objext
65350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65351   (eval $ac_compile) 2>conftest.er1
65352   ac_status=$?
65353   grep -v '^ *+' conftest.er1 >conftest.err
65354   rm -f conftest.er1
65355   cat conftest.err >&5
65356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65357   (exit $ac_status); } &&
65358          { ac_try='test -z "$ac_cxx_werror_flag"
65359                          || test ! -s conftest.err'
65360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65361   (eval $ac_try) 2>&5
65362   ac_status=$?
65363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65364   (exit $ac_status); }; } &&
65365          { ac_try='test -s conftest.$ac_objext'
65366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65367   (eval $ac_try) 2>&5
65368   ac_status=$?
65369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65370   (exit $ac_status); }; }; then
65371   glibcxx_cv_func__isinff_use=yes
65372 else
65373   echo "$as_me: failed program was:" >&5
65374 sed 's/^/| /' conftest.$ac_ext >&5
65375
65376 glibcxx_cv_func__isinff_use=no
65377 fi
65378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65379       ac_ext=c
65380 ac_cpp='$CPP $CPPFLAGS'
65381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65384
65385
65386 fi
65387
65388   fi
65389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
65390 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
65391
65392     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65393
65394 for ac_func in _isinff
65395 do
65396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65397 echo "$as_me:$LINENO: checking for $ac_func" >&5
65398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65399 if eval "test \"\${$as_ac_var+set}\" = set"; then
65400   echo $ECHO_N "(cached) $ECHO_C" >&6
65401 else
65402   if test x$gcc_no_link = xyes; then
65403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65405    { (exit 1); exit 1; }; }
65406 fi
65407 cat >conftest.$ac_ext <<_ACEOF
65408 /* confdefs.h.  */
65409 _ACEOF
65410 cat confdefs.h >>conftest.$ac_ext
65411 cat >>conftest.$ac_ext <<_ACEOF
65412 /* end confdefs.h.  */
65413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65415 #define $ac_func innocuous_$ac_func
65416
65417 /* System header to define __stub macros and hopefully few prototypes,
65418     which can conflict with char $ac_func (); below.
65419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65420     <limits.h> exists even on freestanding compilers.  */
65421
65422 #ifdef __STDC__
65423 # include <limits.h>
65424 #else
65425 # include <assert.h>
65426 #endif
65427
65428 #undef $ac_func
65429
65430 /* Override any gcc2 internal prototype to avoid an error.  */
65431 #ifdef __cplusplus
65432 extern "C"
65433 {
65434 #endif
65435 /* We use char because int might match the return type of a gcc2
65436    builtin and then its argument prototype would still apply.  */
65437 char $ac_func ();
65438 /* The GNU C library defines this for functions which it implements
65439     to always fail with ENOSYS.  Some functions are actually named
65440     something starting with __ and the normal name is an alias.  */
65441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65442 choke me
65443 #else
65444 char (*f) () = $ac_func;
65445 #endif
65446 #ifdef __cplusplus
65447 }
65448 #endif
65449
65450 int
65451 main ()
65452 {
65453 return f != $ac_func;
65454   ;
65455   return 0;
65456 }
65457 _ACEOF
65458 rm -f conftest.$ac_objext conftest$ac_exeext
65459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65460   (eval $ac_link) 2>conftest.er1
65461   ac_status=$?
65462   grep -v '^ *+' conftest.er1 >conftest.err
65463   rm -f conftest.er1
65464   cat conftest.err >&5
65465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65466   (exit $ac_status); } &&
65467          { ac_try='test -z "$ac_c_werror_flag"
65468                          || test ! -s conftest.err'
65469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65470   (eval $ac_try) 2>&5
65471   ac_status=$?
65472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65473   (exit $ac_status); }; } &&
65474          { ac_try='test -s conftest$ac_exeext'
65475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65476   (eval $ac_try) 2>&5
65477   ac_status=$?
65478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65479   (exit $ac_status); }; }; then
65480   eval "$as_ac_var=yes"
65481 else
65482   echo "$as_me: failed program was:" >&5
65483 sed 's/^/| /' conftest.$ac_ext >&5
65484
65485 eval "$as_ac_var=no"
65486 fi
65487 rm -f conftest.err conftest.$ac_objext \
65488       conftest$ac_exeext conftest.$ac_ext
65489 fi
65490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65492 if test `eval echo '${'$as_ac_var'}'` = yes; then
65493   cat >>confdefs.h <<_ACEOF
65494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65495 _ACEOF
65496
65497 fi
65498 done
65499
65500     fi
65501   fi
65502
65503
65504
65505
65506
65507
65508   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
65509 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
65510   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65511     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
65512   echo $ECHO_N "(cached) $ECHO_C" >&6
65513 else
65514
65515
65516
65517       ac_ext=cc
65518 ac_cpp='$CXXCPP $CPPFLAGS'
65519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65522
65523       cat >conftest.$ac_ext <<_ACEOF
65524 /* confdefs.h.  */
65525 _ACEOF
65526 cat confdefs.h >>conftest.$ac_ext
65527 cat >>conftest.$ac_ext <<_ACEOF
65528 /* end confdefs.h.  */
65529 #include <math.h>
65530 int
65531 main ()
65532 {
65533  atan2f(0, 0);
65534   ;
65535   return 0;
65536 }
65537 _ACEOF
65538 rm -f conftest.$ac_objext
65539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65540   (eval $ac_compile) 2>conftest.er1
65541   ac_status=$?
65542   grep -v '^ *+' conftest.er1 >conftest.err
65543   rm -f conftest.er1
65544   cat conftest.err >&5
65545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65546   (exit $ac_status); } &&
65547          { ac_try='test -z "$ac_cxx_werror_flag"
65548                          || test ! -s conftest.err'
65549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65550   (eval $ac_try) 2>&5
65551   ac_status=$?
65552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65553   (exit $ac_status); }; } &&
65554          { ac_try='test -s conftest.$ac_objext'
65555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65556   (eval $ac_try) 2>&5
65557   ac_status=$?
65558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65559   (exit $ac_status); }; }; then
65560   glibcxx_cv_func_atan2f_use=yes
65561 else
65562   echo "$as_me: failed program was:" >&5
65563 sed 's/^/| /' conftest.$ac_ext >&5
65564
65565 glibcxx_cv_func_atan2f_use=no
65566 fi
65567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65568       ac_ext=c
65569 ac_cpp='$CPP $CPPFLAGS'
65570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65573
65574
65575 fi
65576
65577   fi
65578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
65579 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
65580
65581   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65582
65583 for ac_func in atan2f
65584 do
65585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65586 echo "$as_me:$LINENO: checking for $ac_func" >&5
65587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65588 if eval "test \"\${$as_ac_var+set}\" = set"; then
65589   echo $ECHO_N "(cached) $ECHO_C" >&6
65590 else
65591   if test x$gcc_no_link = xyes; then
65592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65594    { (exit 1); exit 1; }; }
65595 fi
65596 cat >conftest.$ac_ext <<_ACEOF
65597 /* confdefs.h.  */
65598 _ACEOF
65599 cat confdefs.h >>conftest.$ac_ext
65600 cat >>conftest.$ac_ext <<_ACEOF
65601 /* end confdefs.h.  */
65602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65604 #define $ac_func innocuous_$ac_func
65605
65606 /* System header to define __stub macros and hopefully few prototypes,
65607     which can conflict with char $ac_func (); below.
65608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65609     <limits.h> exists even on freestanding compilers.  */
65610
65611 #ifdef __STDC__
65612 # include <limits.h>
65613 #else
65614 # include <assert.h>
65615 #endif
65616
65617 #undef $ac_func
65618
65619 /* Override any gcc2 internal prototype to avoid an error.  */
65620 #ifdef __cplusplus
65621 extern "C"
65622 {
65623 #endif
65624 /* We use char because int might match the return type of a gcc2
65625    builtin and then its argument prototype would still apply.  */
65626 char $ac_func ();
65627 /* The GNU C library defines this for functions which it implements
65628     to always fail with ENOSYS.  Some functions are actually named
65629     something starting with __ and the normal name is an alias.  */
65630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65631 choke me
65632 #else
65633 char (*f) () = $ac_func;
65634 #endif
65635 #ifdef __cplusplus
65636 }
65637 #endif
65638
65639 int
65640 main ()
65641 {
65642 return f != $ac_func;
65643   ;
65644   return 0;
65645 }
65646 _ACEOF
65647 rm -f conftest.$ac_objext conftest$ac_exeext
65648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65649   (eval $ac_link) 2>conftest.er1
65650   ac_status=$?
65651   grep -v '^ *+' conftest.er1 >conftest.err
65652   rm -f conftest.er1
65653   cat conftest.err >&5
65654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655   (exit $ac_status); } &&
65656          { ac_try='test -z "$ac_c_werror_flag"
65657                          || test ! -s conftest.err'
65658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65659   (eval $ac_try) 2>&5
65660   ac_status=$?
65661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65662   (exit $ac_status); }; } &&
65663          { ac_try='test -s conftest$ac_exeext'
65664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665   (eval $ac_try) 2>&5
65666   ac_status=$?
65667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668   (exit $ac_status); }; }; then
65669   eval "$as_ac_var=yes"
65670 else
65671   echo "$as_me: failed program was:" >&5
65672 sed 's/^/| /' conftest.$ac_ext >&5
65673
65674 eval "$as_ac_var=no"
65675 fi
65676 rm -f conftest.err conftest.$ac_objext \
65677       conftest$ac_exeext conftest.$ac_ext
65678 fi
65679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65681 if test `eval echo '${'$as_ac_var'}'` = yes; then
65682   cat >>confdefs.h <<_ACEOF
65683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65684 _ACEOF
65685
65686 fi
65687 done
65688
65689   else
65690
65691   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
65692 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
65693   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65694     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
65695   echo $ECHO_N "(cached) $ECHO_C" >&6
65696 else
65697
65698
65699
65700       ac_ext=cc
65701 ac_cpp='$CXXCPP $CPPFLAGS'
65702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65705
65706       cat >conftest.$ac_ext <<_ACEOF
65707 /* confdefs.h.  */
65708 _ACEOF
65709 cat confdefs.h >>conftest.$ac_ext
65710 cat >>conftest.$ac_ext <<_ACEOF
65711 /* end confdefs.h.  */
65712 #include <math.h>
65713 int
65714 main ()
65715 {
65716  _atan2f(0, 0);
65717   ;
65718   return 0;
65719 }
65720 _ACEOF
65721 rm -f conftest.$ac_objext
65722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65723   (eval $ac_compile) 2>conftest.er1
65724   ac_status=$?
65725   grep -v '^ *+' conftest.er1 >conftest.err
65726   rm -f conftest.er1
65727   cat conftest.err >&5
65728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65729   (exit $ac_status); } &&
65730          { ac_try='test -z "$ac_cxx_werror_flag"
65731                          || test ! -s conftest.err'
65732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65733   (eval $ac_try) 2>&5
65734   ac_status=$?
65735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65736   (exit $ac_status); }; } &&
65737          { ac_try='test -s conftest.$ac_objext'
65738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65739   (eval $ac_try) 2>&5
65740   ac_status=$?
65741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65742   (exit $ac_status); }; }; then
65743   glibcxx_cv_func__atan2f_use=yes
65744 else
65745   echo "$as_me: failed program was:" >&5
65746 sed 's/^/| /' conftest.$ac_ext >&5
65747
65748 glibcxx_cv_func__atan2f_use=no
65749 fi
65750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65751       ac_ext=c
65752 ac_cpp='$CPP $CPPFLAGS'
65753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65756
65757
65758 fi
65759
65760   fi
65761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
65762 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
65763
65764     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65765
65766 for ac_func in _atan2f
65767 do
65768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65769 echo "$as_me:$LINENO: checking for $ac_func" >&5
65770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65771 if eval "test \"\${$as_ac_var+set}\" = set"; then
65772   echo $ECHO_N "(cached) $ECHO_C" >&6
65773 else
65774   if test x$gcc_no_link = xyes; then
65775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65777    { (exit 1); exit 1; }; }
65778 fi
65779 cat >conftest.$ac_ext <<_ACEOF
65780 /* confdefs.h.  */
65781 _ACEOF
65782 cat confdefs.h >>conftest.$ac_ext
65783 cat >>conftest.$ac_ext <<_ACEOF
65784 /* end confdefs.h.  */
65785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65787 #define $ac_func innocuous_$ac_func
65788
65789 /* System header to define __stub macros and hopefully few prototypes,
65790     which can conflict with char $ac_func (); below.
65791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65792     <limits.h> exists even on freestanding compilers.  */
65793
65794 #ifdef __STDC__
65795 # include <limits.h>
65796 #else
65797 # include <assert.h>
65798 #endif
65799
65800 #undef $ac_func
65801
65802 /* Override any gcc2 internal prototype to avoid an error.  */
65803 #ifdef __cplusplus
65804 extern "C"
65805 {
65806 #endif
65807 /* We use char because int might match the return type of a gcc2
65808    builtin and then its argument prototype would still apply.  */
65809 char $ac_func ();
65810 /* The GNU C library defines this for functions which it implements
65811     to always fail with ENOSYS.  Some functions are actually named
65812     something starting with __ and the normal name is an alias.  */
65813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65814 choke me
65815 #else
65816 char (*f) () = $ac_func;
65817 #endif
65818 #ifdef __cplusplus
65819 }
65820 #endif
65821
65822 int
65823 main ()
65824 {
65825 return f != $ac_func;
65826   ;
65827   return 0;
65828 }
65829 _ACEOF
65830 rm -f conftest.$ac_objext conftest$ac_exeext
65831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65832   (eval $ac_link) 2>conftest.er1
65833   ac_status=$?
65834   grep -v '^ *+' conftest.er1 >conftest.err
65835   rm -f conftest.er1
65836   cat conftest.err >&5
65837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65838   (exit $ac_status); } &&
65839          { ac_try='test -z "$ac_c_werror_flag"
65840                          || test ! -s conftest.err'
65841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65842   (eval $ac_try) 2>&5
65843   ac_status=$?
65844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65845   (exit $ac_status); }; } &&
65846          { ac_try='test -s conftest$ac_exeext'
65847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65848   (eval $ac_try) 2>&5
65849   ac_status=$?
65850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65851   (exit $ac_status); }; }; then
65852   eval "$as_ac_var=yes"
65853 else
65854   echo "$as_me: failed program was:" >&5
65855 sed 's/^/| /' conftest.$ac_ext >&5
65856
65857 eval "$as_ac_var=no"
65858 fi
65859 rm -f conftest.err conftest.$ac_objext \
65860       conftest$ac_exeext conftest.$ac_ext
65861 fi
65862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65864 if test `eval echo '${'$as_ac_var'}'` = yes; then
65865   cat >>confdefs.h <<_ACEOF
65866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65867 _ACEOF
65868
65869 fi
65870 done
65871
65872     fi
65873   fi
65874
65875
65876
65877
65878
65879
65880   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
65881 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
65882   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65883     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
65884   echo $ECHO_N "(cached) $ECHO_C" >&6
65885 else
65886
65887
65888
65889       ac_ext=cc
65890 ac_cpp='$CXXCPP $CPPFLAGS'
65891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65894
65895       cat >conftest.$ac_ext <<_ACEOF
65896 /* confdefs.h.  */
65897 _ACEOF
65898 cat confdefs.h >>conftest.$ac_ext
65899 cat >>conftest.$ac_ext <<_ACEOF
65900 /* end confdefs.h.  */
65901 #include <math.h>
65902                       #ifdef HAVE_IEEEFP_H
65903                       #include <ieeefp.h>
65904                       #endif
65905
65906 int
65907 main ()
65908 {
65909  fabsf(0);
65910   ;
65911   return 0;
65912 }
65913 _ACEOF
65914 rm -f conftest.$ac_objext
65915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65916   (eval $ac_compile) 2>conftest.er1
65917   ac_status=$?
65918   grep -v '^ *+' conftest.er1 >conftest.err
65919   rm -f conftest.er1
65920   cat conftest.err >&5
65921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65922   (exit $ac_status); } &&
65923          { ac_try='test -z "$ac_cxx_werror_flag"
65924                          || test ! -s conftest.err'
65925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65926   (eval $ac_try) 2>&5
65927   ac_status=$?
65928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65929   (exit $ac_status); }; } &&
65930          { ac_try='test -s conftest.$ac_objext'
65931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65932   (eval $ac_try) 2>&5
65933   ac_status=$?
65934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65935   (exit $ac_status); }; }; then
65936   glibcxx_cv_func_fabsf_use=yes
65937 else
65938   echo "$as_me: failed program was:" >&5
65939 sed 's/^/| /' conftest.$ac_ext >&5
65940
65941 glibcxx_cv_func_fabsf_use=no
65942 fi
65943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65944       ac_ext=c
65945 ac_cpp='$CPP $CPPFLAGS'
65946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949
65950
65951 fi
65952
65953   fi
65954   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
65955 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
65956
65957   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65958
65959 for ac_func in fabsf
65960 do
65961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65962 echo "$as_me:$LINENO: checking for $ac_func" >&5
65963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65964 if eval "test \"\${$as_ac_var+set}\" = set"; then
65965   echo $ECHO_N "(cached) $ECHO_C" >&6
65966 else
65967   if test x$gcc_no_link = xyes; then
65968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65970    { (exit 1); exit 1; }; }
65971 fi
65972 cat >conftest.$ac_ext <<_ACEOF
65973 /* confdefs.h.  */
65974 _ACEOF
65975 cat confdefs.h >>conftest.$ac_ext
65976 cat >>conftest.$ac_ext <<_ACEOF
65977 /* end confdefs.h.  */
65978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65980 #define $ac_func innocuous_$ac_func
65981
65982 /* System header to define __stub macros and hopefully few prototypes,
65983     which can conflict with char $ac_func (); below.
65984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65985     <limits.h> exists even on freestanding compilers.  */
65986
65987 #ifdef __STDC__
65988 # include <limits.h>
65989 #else
65990 # include <assert.h>
65991 #endif
65992
65993 #undef $ac_func
65994
65995 /* Override any gcc2 internal prototype to avoid an error.  */
65996 #ifdef __cplusplus
65997 extern "C"
65998 {
65999 #endif
66000 /* We use char because int might match the return type of a gcc2
66001    builtin and then its argument prototype would still apply.  */
66002 char $ac_func ();
66003 /* The GNU C library defines this for functions which it implements
66004     to always fail with ENOSYS.  Some functions are actually named
66005     something starting with __ and the normal name is an alias.  */
66006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66007 choke me
66008 #else
66009 char (*f) () = $ac_func;
66010 #endif
66011 #ifdef __cplusplus
66012 }
66013 #endif
66014
66015 int
66016 main ()
66017 {
66018 return f != $ac_func;
66019   ;
66020   return 0;
66021 }
66022 _ACEOF
66023 rm -f conftest.$ac_objext conftest$ac_exeext
66024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66025   (eval $ac_link) 2>conftest.er1
66026   ac_status=$?
66027   grep -v '^ *+' conftest.er1 >conftest.err
66028   rm -f conftest.er1
66029   cat conftest.err >&5
66030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66031   (exit $ac_status); } &&
66032          { ac_try='test -z "$ac_c_werror_flag"
66033                          || test ! -s conftest.err'
66034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66035   (eval $ac_try) 2>&5
66036   ac_status=$?
66037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66038   (exit $ac_status); }; } &&
66039          { ac_try='test -s conftest$ac_exeext'
66040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66041   (eval $ac_try) 2>&5
66042   ac_status=$?
66043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66044   (exit $ac_status); }; }; then
66045   eval "$as_ac_var=yes"
66046 else
66047   echo "$as_me: failed program was:" >&5
66048 sed 's/^/| /' conftest.$ac_ext >&5
66049
66050 eval "$as_ac_var=no"
66051 fi
66052 rm -f conftest.err conftest.$ac_objext \
66053       conftest$ac_exeext conftest.$ac_ext
66054 fi
66055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66057 if test `eval echo '${'$as_ac_var'}'` = yes; then
66058   cat >>confdefs.h <<_ACEOF
66059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66060 _ACEOF
66061
66062 fi
66063 done
66064
66065   else
66066
66067   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
66068 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
66069   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66070     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
66071   echo $ECHO_N "(cached) $ECHO_C" >&6
66072 else
66073
66074
66075
66076       ac_ext=cc
66077 ac_cpp='$CXXCPP $CPPFLAGS'
66078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66081
66082       cat >conftest.$ac_ext <<_ACEOF
66083 /* confdefs.h.  */
66084 _ACEOF
66085 cat confdefs.h >>conftest.$ac_ext
66086 cat >>conftest.$ac_ext <<_ACEOF
66087 /* end confdefs.h.  */
66088 #include <math.h>
66089                       #ifdef HAVE_IEEEFP_H
66090                       #include <ieeefp.h>
66091                       #endif
66092
66093 int
66094 main ()
66095 {
66096  _fabsf(0);
66097   ;
66098   return 0;
66099 }
66100 _ACEOF
66101 rm -f conftest.$ac_objext
66102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66103   (eval $ac_compile) 2>conftest.er1
66104   ac_status=$?
66105   grep -v '^ *+' conftest.er1 >conftest.err
66106   rm -f conftest.er1
66107   cat conftest.err >&5
66108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66109   (exit $ac_status); } &&
66110          { ac_try='test -z "$ac_cxx_werror_flag"
66111                          || test ! -s conftest.err'
66112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66113   (eval $ac_try) 2>&5
66114   ac_status=$?
66115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66116   (exit $ac_status); }; } &&
66117          { ac_try='test -s conftest.$ac_objext'
66118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66119   (eval $ac_try) 2>&5
66120   ac_status=$?
66121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66122   (exit $ac_status); }; }; then
66123   glibcxx_cv_func__fabsf_use=yes
66124 else
66125   echo "$as_me: failed program was:" >&5
66126 sed 's/^/| /' conftest.$ac_ext >&5
66127
66128 glibcxx_cv_func__fabsf_use=no
66129 fi
66130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66131       ac_ext=c
66132 ac_cpp='$CPP $CPPFLAGS'
66133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66136
66137
66138 fi
66139
66140   fi
66141   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
66142 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
66143
66144     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66145
66146 for ac_func in _fabsf
66147 do
66148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66149 echo "$as_me:$LINENO: checking for $ac_func" >&5
66150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66151 if eval "test \"\${$as_ac_var+set}\" = set"; then
66152   echo $ECHO_N "(cached) $ECHO_C" >&6
66153 else
66154   if test x$gcc_no_link = xyes; then
66155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66157    { (exit 1); exit 1; }; }
66158 fi
66159 cat >conftest.$ac_ext <<_ACEOF
66160 /* confdefs.h.  */
66161 _ACEOF
66162 cat confdefs.h >>conftest.$ac_ext
66163 cat >>conftest.$ac_ext <<_ACEOF
66164 /* end confdefs.h.  */
66165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66167 #define $ac_func innocuous_$ac_func
66168
66169 /* System header to define __stub macros and hopefully few prototypes,
66170     which can conflict with char $ac_func (); below.
66171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66172     <limits.h> exists even on freestanding compilers.  */
66173
66174 #ifdef __STDC__
66175 # include <limits.h>
66176 #else
66177 # include <assert.h>
66178 #endif
66179
66180 #undef $ac_func
66181
66182 /* Override any gcc2 internal prototype to avoid an error.  */
66183 #ifdef __cplusplus
66184 extern "C"
66185 {
66186 #endif
66187 /* We use char because int might match the return type of a gcc2
66188    builtin and then its argument prototype would still apply.  */
66189 char $ac_func ();
66190 /* The GNU C library defines this for functions which it implements
66191     to always fail with ENOSYS.  Some functions are actually named
66192     something starting with __ and the normal name is an alias.  */
66193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66194 choke me
66195 #else
66196 char (*f) () = $ac_func;
66197 #endif
66198 #ifdef __cplusplus
66199 }
66200 #endif
66201
66202 int
66203 main ()
66204 {
66205 return f != $ac_func;
66206   ;
66207   return 0;
66208 }
66209 _ACEOF
66210 rm -f conftest.$ac_objext conftest$ac_exeext
66211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66212   (eval $ac_link) 2>conftest.er1
66213   ac_status=$?
66214   grep -v '^ *+' conftest.er1 >conftest.err
66215   rm -f conftest.er1
66216   cat conftest.err >&5
66217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66218   (exit $ac_status); } &&
66219          { ac_try='test -z "$ac_c_werror_flag"
66220                          || test ! -s conftest.err'
66221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66222   (eval $ac_try) 2>&5
66223   ac_status=$?
66224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66225   (exit $ac_status); }; } &&
66226          { ac_try='test -s conftest$ac_exeext'
66227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66228   (eval $ac_try) 2>&5
66229   ac_status=$?
66230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66231   (exit $ac_status); }; }; then
66232   eval "$as_ac_var=yes"
66233 else
66234   echo "$as_me: failed program was:" >&5
66235 sed 's/^/| /' conftest.$ac_ext >&5
66236
66237 eval "$as_ac_var=no"
66238 fi
66239 rm -f conftest.err conftest.$ac_objext \
66240       conftest$ac_exeext conftest.$ac_ext
66241 fi
66242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66244 if test `eval echo '${'$as_ac_var'}'` = yes; then
66245   cat >>confdefs.h <<_ACEOF
66246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66247 _ACEOF
66248
66249 fi
66250 done
66251
66252     fi
66253   fi
66254
66255
66256
66257
66258
66259
66260   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
66261 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
66262   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66263     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
66264   echo $ECHO_N "(cached) $ECHO_C" >&6
66265 else
66266
66267
66268
66269       ac_ext=cc
66270 ac_cpp='$CXXCPP $CPPFLAGS'
66271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66274
66275       cat >conftest.$ac_ext <<_ACEOF
66276 /* confdefs.h.  */
66277 _ACEOF
66278 cat confdefs.h >>conftest.$ac_ext
66279 cat >>conftest.$ac_ext <<_ACEOF
66280 /* end confdefs.h.  */
66281 #include <math.h>
66282 int
66283 main ()
66284 {
66285  fmodf(0, 0);
66286   ;
66287   return 0;
66288 }
66289 _ACEOF
66290 rm -f conftest.$ac_objext
66291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66292   (eval $ac_compile) 2>conftest.er1
66293   ac_status=$?
66294   grep -v '^ *+' conftest.er1 >conftest.err
66295   rm -f conftest.er1
66296   cat conftest.err >&5
66297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66298   (exit $ac_status); } &&
66299          { ac_try='test -z "$ac_cxx_werror_flag"
66300                          || test ! -s conftest.err'
66301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66302   (eval $ac_try) 2>&5
66303   ac_status=$?
66304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66305   (exit $ac_status); }; } &&
66306          { ac_try='test -s conftest.$ac_objext'
66307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66308   (eval $ac_try) 2>&5
66309   ac_status=$?
66310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66311   (exit $ac_status); }; }; then
66312   glibcxx_cv_func_fmodf_use=yes
66313 else
66314   echo "$as_me: failed program was:" >&5
66315 sed 's/^/| /' conftest.$ac_ext >&5
66316
66317 glibcxx_cv_func_fmodf_use=no
66318 fi
66319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66320       ac_ext=c
66321 ac_cpp='$CPP $CPPFLAGS'
66322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66325
66326
66327 fi
66328
66329   fi
66330   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
66331 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
66332
66333   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66334
66335 for ac_func in fmodf
66336 do
66337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66338 echo "$as_me:$LINENO: checking for $ac_func" >&5
66339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66340 if eval "test \"\${$as_ac_var+set}\" = set"; then
66341   echo $ECHO_N "(cached) $ECHO_C" >&6
66342 else
66343   if test x$gcc_no_link = xyes; then
66344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66346    { (exit 1); exit 1; }; }
66347 fi
66348 cat >conftest.$ac_ext <<_ACEOF
66349 /* confdefs.h.  */
66350 _ACEOF
66351 cat confdefs.h >>conftest.$ac_ext
66352 cat >>conftest.$ac_ext <<_ACEOF
66353 /* end confdefs.h.  */
66354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66356 #define $ac_func innocuous_$ac_func
66357
66358 /* System header to define __stub macros and hopefully few prototypes,
66359     which can conflict with char $ac_func (); below.
66360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66361     <limits.h> exists even on freestanding compilers.  */
66362
66363 #ifdef __STDC__
66364 # include <limits.h>
66365 #else
66366 # include <assert.h>
66367 #endif
66368
66369 #undef $ac_func
66370
66371 /* Override any gcc2 internal prototype to avoid an error.  */
66372 #ifdef __cplusplus
66373 extern "C"
66374 {
66375 #endif
66376 /* We use char because int might match the return type of a gcc2
66377    builtin and then its argument prototype would still apply.  */
66378 char $ac_func ();
66379 /* The GNU C library defines this for functions which it implements
66380     to always fail with ENOSYS.  Some functions are actually named
66381     something starting with __ and the normal name is an alias.  */
66382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66383 choke me
66384 #else
66385 char (*f) () = $ac_func;
66386 #endif
66387 #ifdef __cplusplus
66388 }
66389 #endif
66390
66391 int
66392 main ()
66393 {
66394 return f != $ac_func;
66395   ;
66396   return 0;
66397 }
66398 _ACEOF
66399 rm -f conftest.$ac_objext conftest$ac_exeext
66400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66401   (eval $ac_link) 2>conftest.er1
66402   ac_status=$?
66403   grep -v '^ *+' conftest.er1 >conftest.err
66404   rm -f conftest.er1
66405   cat conftest.err >&5
66406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66407   (exit $ac_status); } &&
66408          { ac_try='test -z "$ac_c_werror_flag"
66409                          || test ! -s conftest.err'
66410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66411   (eval $ac_try) 2>&5
66412   ac_status=$?
66413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66414   (exit $ac_status); }; } &&
66415          { ac_try='test -s conftest$ac_exeext'
66416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66417   (eval $ac_try) 2>&5
66418   ac_status=$?
66419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66420   (exit $ac_status); }; }; then
66421   eval "$as_ac_var=yes"
66422 else
66423   echo "$as_me: failed program was:" >&5
66424 sed 's/^/| /' conftest.$ac_ext >&5
66425
66426 eval "$as_ac_var=no"
66427 fi
66428 rm -f conftest.err conftest.$ac_objext \
66429       conftest$ac_exeext conftest.$ac_ext
66430 fi
66431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66433 if test `eval echo '${'$as_ac_var'}'` = yes; then
66434   cat >>confdefs.h <<_ACEOF
66435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66436 _ACEOF
66437
66438 fi
66439 done
66440
66441   else
66442
66443   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
66444 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
66445   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66446     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
66447   echo $ECHO_N "(cached) $ECHO_C" >&6
66448 else
66449
66450
66451
66452       ac_ext=cc
66453 ac_cpp='$CXXCPP $CPPFLAGS'
66454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66457
66458       cat >conftest.$ac_ext <<_ACEOF
66459 /* confdefs.h.  */
66460 _ACEOF
66461 cat confdefs.h >>conftest.$ac_ext
66462 cat >>conftest.$ac_ext <<_ACEOF
66463 /* end confdefs.h.  */
66464 #include <math.h>
66465 int
66466 main ()
66467 {
66468  _fmodf(0, 0);
66469   ;
66470   return 0;
66471 }
66472 _ACEOF
66473 rm -f conftest.$ac_objext
66474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66475   (eval $ac_compile) 2>conftest.er1
66476   ac_status=$?
66477   grep -v '^ *+' conftest.er1 >conftest.err
66478   rm -f conftest.er1
66479   cat conftest.err >&5
66480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66481   (exit $ac_status); } &&
66482          { ac_try='test -z "$ac_cxx_werror_flag"
66483                          || test ! -s conftest.err'
66484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66485   (eval $ac_try) 2>&5
66486   ac_status=$?
66487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66488   (exit $ac_status); }; } &&
66489          { ac_try='test -s conftest.$ac_objext'
66490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66491   (eval $ac_try) 2>&5
66492   ac_status=$?
66493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66494   (exit $ac_status); }; }; then
66495   glibcxx_cv_func__fmodf_use=yes
66496 else
66497   echo "$as_me: failed program was:" >&5
66498 sed 's/^/| /' conftest.$ac_ext >&5
66499
66500 glibcxx_cv_func__fmodf_use=no
66501 fi
66502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66503       ac_ext=c
66504 ac_cpp='$CPP $CPPFLAGS'
66505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66508
66509
66510 fi
66511
66512   fi
66513   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
66514 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
66515
66516     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66517
66518 for ac_func in _fmodf
66519 do
66520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66521 echo "$as_me:$LINENO: checking for $ac_func" >&5
66522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66523 if eval "test \"\${$as_ac_var+set}\" = set"; then
66524   echo $ECHO_N "(cached) $ECHO_C" >&6
66525 else
66526   if test x$gcc_no_link = xyes; then
66527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66529    { (exit 1); exit 1; }; }
66530 fi
66531 cat >conftest.$ac_ext <<_ACEOF
66532 /* confdefs.h.  */
66533 _ACEOF
66534 cat confdefs.h >>conftest.$ac_ext
66535 cat >>conftest.$ac_ext <<_ACEOF
66536 /* end confdefs.h.  */
66537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66539 #define $ac_func innocuous_$ac_func
66540
66541 /* System header to define __stub macros and hopefully few prototypes,
66542     which can conflict with char $ac_func (); below.
66543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66544     <limits.h> exists even on freestanding compilers.  */
66545
66546 #ifdef __STDC__
66547 # include <limits.h>
66548 #else
66549 # include <assert.h>
66550 #endif
66551
66552 #undef $ac_func
66553
66554 /* Override any gcc2 internal prototype to avoid an error.  */
66555 #ifdef __cplusplus
66556 extern "C"
66557 {
66558 #endif
66559 /* We use char because int might match the return type of a gcc2
66560    builtin and then its argument prototype would still apply.  */
66561 char $ac_func ();
66562 /* The GNU C library defines this for functions which it implements
66563     to always fail with ENOSYS.  Some functions are actually named
66564     something starting with __ and the normal name is an alias.  */
66565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66566 choke me
66567 #else
66568 char (*f) () = $ac_func;
66569 #endif
66570 #ifdef __cplusplus
66571 }
66572 #endif
66573
66574 int
66575 main ()
66576 {
66577 return f != $ac_func;
66578   ;
66579   return 0;
66580 }
66581 _ACEOF
66582 rm -f conftest.$ac_objext conftest$ac_exeext
66583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66584   (eval $ac_link) 2>conftest.er1
66585   ac_status=$?
66586   grep -v '^ *+' conftest.er1 >conftest.err
66587   rm -f conftest.er1
66588   cat conftest.err >&5
66589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66590   (exit $ac_status); } &&
66591          { ac_try='test -z "$ac_c_werror_flag"
66592                          || test ! -s conftest.err'
66593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66594   (eval $ac_try) 2>&5
66595   ac_status=$?
66596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66597   (exit $ac_status); }; } &&
66598          { ac_try='test -s conftest$ac_exeext'
66599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66600   (eval $ac_try) 2>&5
66601   ac_status=$?
66602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66603   (exit $ac_status); }; }; then
66604   eval "$as_ac_var=yes"
66605 else
66606   echo "$as_me: failed program was:" >&5
66607 sed 's/^/| /' conftest.$ac_ext >&5
66608
66609 eval "$as_ac_var=no"
66610 fi
66611 rm -f conftest.err conftest.$ac_objext \
66612       conftest$ac_exeext conftest.$ac_ext
66613 fi
66614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66616 if test `eval echo '${'$as_ac_var'}'` = yes; then
66617   cat >>confdefs.h <<_ACEOF
66618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66619 _ACEOF
66620
66621 fi
66622 done
66623
66624     fi
66625   fi
66626
66627
66628
66629
66630
66631
66632   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
66633 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
66634   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66635     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
66636   echo $ECHO_N "(cached) $ECHO_C" >&6
66637 else
66638
66639
66640
66641       ac_ext=cc
66642 ac_cpp='$CXXCPP $CPPFLAGS'
66643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66646
66647       cat >conftest.$ac_ext <<_ACEOF
66648 /* confdefs.h.  */
66649 _ACEOF
66650 cat confdefs.h >>conftest.$ac_ext
66651 cat >>conftest.$ac_ext <<_ACEOF
66652 /* end confdefs.h.  */
66653 #include <math.h>
66654 int
66655 main ()
66656 {
66657  frexpf(0, 0);
66658   ;
66659   return 0;
66660 }
66661 _ACEOF
66662 rm -f conftest.$ac_objext
66663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66664   (eval $ac_compile) 2>conftest.er1
66665   ac_status=$?
66666   grep -v '^ *+' conftest.er1 >conftest.err
66667   rm -f conftest.er1
66668   cat conftest.err >&5
66669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670   (exit $ac_status); } &&
66671          { ac_try='test -z "$ac_cxx_werror_flag"
66672                          || test ! -s conftest.err'
66673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66674   (eval $ac_try) 2>&5
66675   ac_status=$?
66676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66677   (exit $ac_status); }; } &&
66678          { ac_try='test -s conftest.$ac_objext'
66679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66680   (eval $ac_try) 2>&5
66681   ac_status=$?
66682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683   (exit $ac_status); }; }; then
66684   glibcxx_cv_func_frexpf_use=yes
66685 else
66686   echo "$as_me: failed program was:" >&5
66687 sed 's/^/| /' conftest.$ac_ext >&5
66688
66689 glibcxx_cv_func_frexpf_use=no
66690 fi
66691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66692       ac_ext=c
66693 ac_cpp='$CPP $CPPFLAGS'
66694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697
66698
66699 fi
66700
66701   fi
66702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
66703 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
66704
66705   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66706
66707 for ac_func in frexpf
66708 do
66709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66710 echo "$as_me:$LINENO: checking for $ac_func" >&5
66711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66712 if eval "test \"\${$as_ac_var+set}\" = set"; then
66713   echo $ECHO_N "(cached) $ECHO_C" >&6
66714 else
66715   if test x$gcc_no_link = xyes; then
66716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66718    { (exit 1); exit 1; }; }
66719 fi
66720 cat >conftest.$ac_ext <<_ACEOF
66721 /* confdefs.h.  */
66722 _ACEOF
66723 cat confdefs.h >>conftest.$ac_ext
66724 cat >>conftest.$ac_ext <<_ACEOF
66725 /* end confdefs.h.  */
66726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66728 #define $ac_func innocuous_$ac_func
66729
66730 /* System header to define __stub macros and hopefully few prototypes,
66731     which can conflict with char $ac_func (); below.
66732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66733     <limits.h> exists even on freestanding compilers.  */
66734
66735 #ifdef __STDC__
66736 # include <limits.h>
66737 #else
66738 # include <assert.h>
66739 #endif
66740
66741 #undef $ac_func
66742
66743 /* Override any gcc2 internal prototype to avoid an error.  */
66744 #ifdef __cplusplus
66745 extern "C"
66746 {
66747 #endif
66748 /* We use char because int might match the return type of a gcc2
66749    builtin and then its argument prototype would still apply.  */
66750 char $ac_func ();
66751 /* The GNU C library defines this for functions which it implements
66752     to always fail with ENOSYS.  Some functions are actually named
66753     something starting with __ and the normal name is an alias.  */
66754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66755 choke me
66756 #else
66757 char (*f) () = $ac_func;
66758 #endif
66759 #ifdef __cplusplus
66760 }
66761 #endif
66762
66763 int
66764 main ()
66765 {
66766 return f != $ac_func;
66767   ;
66768   return 0;
66769 }
66770 _ACEOF
66771 rm -f conftest.$ac_objext conftest$ac_exeext
66772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66773   (eval $ac_link) 2>conftest.er1
66774   ac_status=$?
66775   grep -v '^ *+' conftest.er1 >conftest.err
66776   rm -f conftest.er1
66777   cat conftest.err >&5
66778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66779   (exit $ac_status); } &&
66780          { ac_try='test -z "$ac_c_werror_flag"
66781                          || test ! -s conftest.err'
66782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66783   (eval $ac_try) 2>&5
66784   ac_status=$?
66785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66786   (exit $ac_status); }; } &&
66787          { ac_try='test -s conftest$ac_exeext'
66788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66789   (eval $ac_try) 2>&5
66790   ac_status=$?
66791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66792   (exit $ac_status); }; }; then
66793   eval "$as_ac_var=yes"
66794 else
66795   echo "$as_me: failed program was:" >&5
66796 sed 's/^/| /' conftest.$ac_ext >&5
66797
66798 eval "$as_ac_var=no"
66799 fi
66800 rm -f conftest.err conftest.$ac_objext \
66801       conftest$ac_exeext conftest.$ac_ext
66802 fi
66803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66805 if test `eval echo '${'$as_ac_var'}'` = yes; then
66806   cat >>confdefs.h <<_ACEOF
66807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66808 _ACEOF
66809
66810 fi
66811 done
66812
66813   else
66814
66815   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
66816 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
66817   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66818     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
66819   echo $ECHO_N "(cached) $ECHO_C" >&6
66820 else
66821
66822
66823
66824       ac_ext=cc
66825 ac_cpp='$CXXCPP $CPPFLAGS'
66826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66829
66830       cat >conftest.$ac_ext <<_ACEOF
66831 /* confdefs.h.  */
66832 _ACEOF
66833 cat confdefs.h >>conftest.$ac_ext
66834 cat >>conftest.$ac_ext <<_ACEOF
66835 /* end confdefs.h.  */
66836 #include <math.h>
66837 int
66838 main ()
66839 {
66840  _frexpf(0, 0);
66841   ;
66842   return 0;
66843 }
66844 _ACEOF
66845 rm -f conftest.$ac_objext
66846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66847   (eval $ac_compile) 2>conftest.er1
66848   ac_status=$?
66849   grep -v '^ *+' conftest.er1 >conftest.err
66850   rm -f conftest.er1
66851   cat conftest.err >&5
66852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853   (exit $ac_status); } &&
66854          { ac_try='test -z "$ac_cxx_werror_flag"
66855                          || test ! -s conftest.err'
66856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66857   (eval $ac_try) 2>&5
66858   ac_status=$?
66859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66860   (exit $ac_status); }; } &&
66861          { ac_try='test -s conftest.$ac_objext'
66862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863   (eval $ac_try) 2>&5
66864   ac_status=$?
66865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866   (exit $ac_status); }; }; then
66867   glibcxx_cv_func__frexpf_use=yes
66868 else
66869   echo "$as_me: failed program was:" >&5
66870 sed 's/^/| /' conftest.$ac_ext >&5
66871
66872 glibcxx_cv_func__frexpf_use=no
66873 fi
66874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66875       ac_ext=c
66876 ac_cpp='$CPP $CPPFLAGS'
66877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66880
66881
66882 fi
66883
66884   fi
66885   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
66886 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
66887
66888     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66889
66890 for ac_func in _frexpf
66891 do
66892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66893 echo "$as_me:$LINENO: checking for $ac_func" >&5
66894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66895 if eval "test \"\${$as_ac_var+set}\" = set"; then
66896   echo $ECHO_N "(cached) $ECHO_C" >&6
66897 else
66898   if test x$gcc_no_link = xyes; then
66899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66901    { (exit 1); exit 1; }; }
66902 fi
66903 cat >conftest.$ac_ext <<_ACEOF
66904 /* confdefs.h.  */
66905 _ACEOF
66906 cat confdefs.h >>conftest.$ac_ext
66907 cat >>conftest.$ac_ext <<_ACEOF
66908 /* end confdefs.h.  */
66909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66911 #define $ac_func innocuous_$ac_func
66912
66913 /* System header to define __stub macros and hopefully few prototypes,
66914     which can conflict with char $ac_func (); below.
66915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66916     <limits.h> exists even on freestanding compilers.  */
66917
66918 #ifdef __STDC__
66919 # include <limits.h>
66920 #else
66921 # include <assert.h>
66922 #endif
66923
66924 #undef $ac_func
66925
66926 /* Override any gcc2 internal prototype to avoid an error.  */
66927 #ifdef __cplusplus
66928 extern "C"
66929 {
66930 #endif
66931 /* We use char because int might match the return type of a gcc2
66932    builtin and then its argument prototype would still apply.  */
66933 char $ac_func ();
66934 /* The GNU C library defines this for functions which it implements
66935     to always fail with ENOSYS.  Some functions are actually named
66936     something starting with __ and the normal name is an alias.  */
66937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66938 choke me
66939 #else
66940 char (*f) () = $ac_func;
66941 #endif
66942 #ifdef __cplusplus
66943 }
66944 #endif
66945
66946 int
66947 main ()
66948 {
66949 return f != $ac_func;
66950   ;
66951   return 0;
66952 }
66953 _ACEOF
66954 rm -f conftest.$ac_objext conftest$ac_exeext
66955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66956   (eval $ac_link) 2>conftest.er1
66957   ac_status=$?
66958   grep -v '^ *+' conftest.er1 >conftest.err
66959   rm -f conftest.er1
66960   cat conftest.err >&5
66961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962   (exit $ac_status); } &&
66963          { ac_try='test -z "$ac_c_werror_flag"
66964                          || test ! -s conftest.err'
66965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66966   (eval $ac_try) 2>&5
66967   ac_status=$?
66968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66969   (exit $ac_status); }; } &&
66970          { ac_try='test -s conftest$ac_exeext'
66971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66972   (eval $ac_try) 2>&5
66973   ac_status=$?
66974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66975   (exit $ac_status); }; }; then
66976   eval "$as_ac_var=yes"
66977 else
66978   echo "$as_me: failed program was:" >&5
66979 sed 's/^/| /' conftest.$ac_ext >&5
66980
66981 eval "$as_ac_var=no"
66982 fi
66983 rm -f conftest.err conftest.$ac_objext \
66984       conftest$ac_exeext conftest.$ac_ext
66985 fi
66986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66988 if test `eval echo '${'$as_ac_var'}'` = yes; then
66989   cat >>confdefs.h <<_ACEOF
66990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66991 _ACEOF
66992
66993 fi
66994 done
66995
66996     fi
66997   fi
66998
66999
67000
67001
67002
67003
67004   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
67005 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
67006   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67007     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
67008   echo $ECHO_N "(cached) $ECHO_C" >&6
67009 else
67010
67011
67012
67013       ac_ext=cc
67014 ac_cpp='$CXXCPP $CPPFLAGS'
67015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67018
67019       cat >conftest.$ac_ext <<_ACEOF
67020 /* confdefs.h.  */
67021 _ACEOF
67022 cat confdefs.h >>conftest.$ac_ext
67023 cat >>conftest.$ac_ext <<_ACEOF
67024 /* end confdefs.h.  */
67025 #include <math.h>
67026 int
67027 main ()
67028 {
67029  hypotf(0, 0);
67030   ;
67031   return 0;
67032 }
67033 _ACEOF
67034 rm -f conftest.$ac_objext
67035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67036   (eval $ac_compile) 2>conftest.er1
67037   ac_status=$?
67038   grep -v '^ *+' conftest.er1 >conftest.err
67039   rm -f conftest.er1
67040   cat conftest.err >&5
67041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67042   (exit $ac_status); } &&
67043          { ac_try='test -z "$ac_cxx_werror_flag"
67044                          || test ! -s conftest.err'
67045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67046   (eval $ac_try) 2>&5
67047   ac_status=$?
67048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67049   (exit $ac_status); }; } &&
67050          { ac_try='test -s conftest.$ac_objext'
67051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67052   (eval $ac_try) 2>&5
67053   ac_status=$?
67054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67055   (exit $ac_status); }; }; then
67056   glibcxx_cv_func_hypotf_use=yes
67057 else
67058   echo "$as_me: failed program was:" >&5
67059 sed 's/^/| /' conftest.$ac_ext >&5
67060
67061 glibcxx_cv_func_hypotf_use=no
67062 fi
67063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67064       ac_ext=c
67065 ac_cpp='$CPP $CPPFLAGS'
67066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67069
67070
67071 fi
67072
67073   fi
67074   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
67075 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
67076
67077   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67078
67079 for ac_func in hypotf
67080 do
67081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67082 echo "$as_me:$LINENO: checking for $ac_func" >&5
67083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67084 if eval "test \"\${$as_ac_var+set}\" = set"; then
67085   echo $ECHO_N "(cached) $ECHO_C" >&6
67086 else
67087   if test x$gcc_no_link = xyes; then
67088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67090    { (exit 1); exit 1; }; }
67091 fi
67092 cat >conftest.$ac_ext <<_ACEOF
67093 /* confdefs.h.  */
67094 _ACEOF
67095 cat confdefs.h >>conftest.$ac_ext
67096 cat >>conftest.$ac_ext <<_ACEOF
67097 /* end confdefs.h.  */
67098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67100 #define $ac_func innocuous_$ac_func
67101
67102 /* System header to define __stub macros and hopefully few prototypes,
67103     which can conflict with char $ac_func (); below.
67104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67105     <limits.h> exists even on freestanding compilers.  */
67106
67107 #ifdef __STDC__
67108 # include <limits.h>
67109 #else
67110 # include <assert.h>
67111 #endif
67112
67113 #undef $ac_func
67114
67115 /* Override any gcc2 internal prototype to avoid an error.  */
67116 #ifdef __cplusplus
67117 extern "C"
67118 {
67119 #endif
67120 /* We use char because int might match the return type of a gcc2
67121    builtin and then its argument prototype would still apply.  */
67122 char $ac_func ();
67123 /* The GNU C library defines this for functions which it implements
67124     to always fail with ENOSYS.  Some functions are actually named
67125     something starting with __ and the normal name is an alias.  */
67126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67127 choke me
67128 #else
67129 char (*f) () = $ac_func;
67130 #endif
67131 #ifdef __cplusplus
67132 }
67133 #endif
67134
67135 int
67136 main ()
67137 {
67138 return f != $ac_func;
67139   ;
67140   return 0;
67141 }
67142 _ACEOF
67143 rm -f conftest.$ac_objext conftest$ac_exeext
67144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67145   (eval $ac_link) 2>conftest.er1
67146   ac_status=$?
67147   grep -v '^ *+' conftest.er1 >conftest.err
67148   rm -f conftest.er1
67149   cat conftest.err >&5
67150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67151   (exit $ac_status); } &&
67152          { ac_try='test -z "$ac_c_werror_flag"
67153                          || test ! -s conftest.err'
67154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67155   (eval $ac_try) 2>&5
67156   ac_status=$?
67157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67158   (exit $ac_status); }; } &&
67159          { ac_try='test -s conftest$ac_exeext'
67160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67161   (eval $ac_try) 2>&5
67162   ac_status=$?
67163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67164   (exit $ac_status); }; }; then
67165   eval "$as_ac_var=yes"
67166 else
67167   echo "$as_me: failed program was:" >&5
67168 sed 's/^/| /' conftest.$ac_ext >&5
67169
67170 eval "$as_ac_var=no"
67171 fi
67172 rm -f conftest.err conftest.$ac_objext \
67173       conftest$ac_exeext conftest.$ac_ext
67174 fi
67175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67177 if test `eval echo '${'$as_ac_var'}'` = yes; then
67178   cat >>confdefs.h <<_ACEOF
67179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67180 _ACEOF
67181
67182 fi
67183 done
67184
67185   else
67186
67187   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
67188 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
67189   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67190     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
67191   echo $ECHO_N "(cached) $ECHO_C" >&6
67192 else
67193
67194
67195
67196       ac_ext=cc
67197 ac_cpp='$CXXCPP $CPPFLAGS'
67198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67201
67202       cat >conftest.$ac_ext <<_ACEOF
67203 /* confdefs.h.  */
67204 _ACEOF
67205 cat confdefs.h >>conftest.$ac_ext
67206 cat >>conftest.$ac_ext <<_ACEOF
67207 /* end confdefs.h.  */
67208 #include <math.h>
67209 int
67210 main ()
67211 {
67212  _hypotf(0, 0);
67213   ;
67214   return 0;
67215 }
67216 _ACEOF
67217 rm -f conftest.$ac_objext
67218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67219   (eval $ac_compile) 2>conftest.er1
67220   ac_status=$?
67221   grep -v '^ *+' conftest.er1 >conftest.err
67222   rm -f conftest.er1
67223   cat conftest.err >&5
67224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67225   (exit $ac_status); } &&
67226          { ac_try='test -z "$ac_cxx_werror_flag"
67227                          || test ! -s conftest.err'
67228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67229   (eval $ac_try) 2>&5
67230   ac_status=$?
67231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67232   (exit $ac_status); }; } &&
67233          { ac_try='test -s conftest.$ac_objext'
67234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67235   (eval $ac_try) 2>&5
67236   ac_status=$?
67237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67238   (exit $ac_status); }; }; then
67239   glibcxx_cv_func__hypotf_use=yes
67240 else
67241   echo "$as_me: failed program was:" >&5
67242 sed 's/^/| /' conftest.$ac_ext >&5
67243
67244 glibcxx_cv_func__hypotf_use=no
67245 fi
67246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67247       ac_ext=c
67248 ac_cpp='$CPP $CPPFLAGS'
67249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67252
67253
67254 fi
67255
67256   fi
67257   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
67258 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
67259
67260     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67261
67262 for ac_func in _hypotf
67263 do
67264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67265 echo "$as_me:$LINENO: checking for $ac_func" >&5
67266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67267 if eval "test \"\${$as_ac_var+set}\" = set"; then
67268   echo $ECHO_N "(cached) $ECHO_C" >&6
67269 else
67270   if test x$gcc_no_link = xyes; then
67271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67273    { (exit 1); exit 1; }; }
67274 fi
67275 cat >conftest.$ac_ext <<_ACEOF
67276 /* confdefs.h.  */
67277 _ACEOF
67278 cat confdefs.h >>conftest.$ac_ext
67279 cat >>conftest.$ac_ext <<_ACEOF
67280 /* end confdefs.h.  */
67281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67283 #define $ac_func innocuous_$ac_func
67284
67285 /* System header to define __stub macros and hopefully few prototypes,
67286     which can conflict with char $ac_func (); below.
67287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67288     <limits.h> exists even on freestanding compilers.  */
67289
67290 #ifdef __STDC__
67291 # include <limits.h>
67292 #else
67293 # include <assert.h>
67294 #endif
67295
67296 #undef $ac_func
67297
67298 /* Override any gcc2 internal prototype to avoid an error.  */
67299 #ifdef __cplusplus
67300 extern "C"
67301 {
67302 #endif
67303 /* We use char because int might match the return type of a gcc2
67304    builtin and then its argument prototype would still apply.  */
67305 char $ac_func ();
67306 /* The GNU C library defines this for functions which it implements
67307     to always fail with ENOSYS.  Some functions are actually named
67308     something starting with __ and the normal name is an alias.  */
67309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67310 choke me
67311 #else
67312 char (*f) () = $ac_func;
67313 #endif
67314 #ifdef __cplusplus
67315 }
67316 #endif
67317
67318 int
67319 main ()
67320 {
67321 return f != $ac_func;
67322   ;
67323   return 0;
67324 }
67325 _ACEOF
67326 rm -f conftest.$ac_objext conftest$ac_exeext
67327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67328   (eval $ac_link) 2>conftest.er1
67329   ac_status=$?
67330   grep -v '^ *+' conftest.er1 >conftest.err
67331   rm -f conftest.er1
67332   cat conftest.err >&5
67333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67334   (exit $ac_status); } &&
67335          { ac_try='test -z "$ac_c_werror_flag"
67336                          || test ! -s conftest.err'
67337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67338   (eval $ac_try) 2>&5
67339   ac_status=$?
67340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67341   (exit $ac_status); }; } &&
67342          { ac_try='test -s conftest$ac_exeext'
67343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67344   (eval $ac_try) 2>&5
67345   ac_status=$?
67346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67347   (exit $ac_status); }; }; then
67348   eval "$as_ac_var=yes"
67349 else
67350   echo "$as_me: failed program was:" >&5
67351 sed 's/^/| /' conftest.$ac_ext >&5
67352
67353 eval "$as_ac_var=no"
67354 fi
67355 rm -f conftest.err conftest.$ac_objext \
67356       conftest$ac_exeext conftest.$ac_ext
67357 fi
67358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67360 if test `eval echo '${'$as_ac_var'}'` = yes; then
67361   cat >>confdefs.h <<_ACEOF
67362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67363 _ACEOF
67364
67365 fi
67366 done
67367
67368     fi
67369   fi
67370
67371
67372
67373
67374
67375
67376   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
67377 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
67378   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67379     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
67380   echo $ECHO_N "(cached) $ECHO_C" >&6
67381 else
67382
67383
67384
67385       ac_ext=cc
67386 ac_cpp='$CXXCPP $CPPFLAGS'
67387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67390
67391       cat >conftest.$ac_ext <<_ACEOF
67392 /* confdefs.h.  */
67393 _ACEOF
67394 cat confdefs.h >>conftest.$ac_ext
67395 cat >>conftest.$ac_ext <<_ACEOF
67396 /* end confdefs.h.  */
67397 #include <math.h>
67398 int
67399 main ()
67400 {
67401  ldexpf(0, 0);
67402   ;
67403   return 0;
67404 }
67405 _ACEOF
67406 rm -f conftest.$ac_objext
67407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67408   (eval $ac_compile) 2>conftest.er1
67409   ac_status=$?
67410   grep -v '^ *+' conftest.er1 >conftest.err
67411   rm -f conftest.er1
67412   cat conftest.err >&5
67413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67414   (exit $ac_status); } &&
67415          { ac_try='test -z "$ac_cxx_werror_flag"
67416                          || test ! -s conftest.err'
67417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67418   (eval $ac_try) 2>&5
67419   ac_status=$?
67420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421   (exit $ac_status); }; } &&
67422          { ac_try='test -s conftest.$ac_objext'
67423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67424   (eval $ac_try) 2>&5
67425   ac_status=$?
67426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67427   (exit $ac_status); }; }; then
67428   glibcxx_cv_func_ldexpf_use=yes
67429 else
67430   echo "$as_me: failed program was:" >&5
67431 sed 's/^/| /' conftest.$ac_ext >&5
67432
67433 glibcxx_cv_func_ldexpf_use=no
67434 fi
67435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67436       ac_ext=c
67437 ac_cpp='$CPP $CPPFLAGS'
67438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67441
67442
67443 fi
67444
67445   fi
67446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
67447 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
67448
67449   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67450
67451 for ac_func in ldexpf
67452 do
67453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67454 echo "$as_me:$LINENO: checking for $ac_func" >&5
67455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67456 if eval "test \"\${$as_ac_var+set}\" = set"; then
67457   echo $ECHO_N "(cached) $ECHO_C" >&6
67458 else
67459   if test x$gcc_no_link = xyes; then
67460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67462    { (exit 1); exit 1; }; }
67463 fi
67464 cat >conftest.$ac_ext <<_ACEOF
67465 /* confdefs.h.  */
67466 _ACEOF
67467 cat confdefs.h >>conftest.$ac_ext
67468 cat >>conftest.$ac_ext <<_ACEOF
67469 /* end confdefs.h.  */
67470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67472 #define $ac_func innocuous_$ac_func
67473
67474 /* System header to define __stub macros and hopefully few prototypes,
67475     which can conflict with char $ac_func (); below.
67476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67477     <limits.h> exists even on freestanding compilers.  */
67478
67479 #ifdef __STDC__
67480 # include <limits.h>
67481 #else
67482 # include <assert.h>
67483 #endif
67484
67485 #undef $ac_func
67486
67487 /* Override any gcc2 internal prototype to avoid an error.  */
67488 #ifdef __cplusplus
67489 extern "C"
67490 {
67491 #endif
67492 /* We use char because int might match the return type of a gcc2
67493    builtin and then its argument prototype would still apply.  */
67494 char $ac_func ();
67495 /* The GNU C library defines this for functions which it implements
67496     to always fail with ENOSYS.  Some functions are actually named
67497     something starting with __ and the normal name is an alias.  */
67498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67499 choke me
67500 #else
67501 char (*f) () = $ac_func;
67502 #endif
67503 #ifdef __cplusplus
67504 }
67505 #endif
67506
67507 int
67508 main ()
67509 {
67510 return f != $ac_func;
67511   ;
67512   return 0;
67513 }
67514 _ACEOF
67515 rm -f conftest.$ac_objext conftest$ac_exeext
67516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67517   (eval $ac_link) 2>conftest.er1
67518   ac_status=$?
67519   grep -v '^ *+' conftest.er1 >conftest.err
67520   rm -f conftest.er1
67521   cat conftest.err >&5
67522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523   (exit $ac_status); } &&
67524          { ac_try='test -z "$ac_c_werror_flag"
67525                          || test ! -s conftest.err'
67526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67527   (eval $ac_try) 2>&5
67528   ac_status=$?
67529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67530   (exit $ac_status); }; } &&
67531          { ac_try='test -s conftest$ac_exeext'
67532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67533   (eval $ac_try) 2>&5
67534   ac_status=$?
67535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67536   (exit $ac_status); }; }; then
67537   eval "$as_ac_var=yes"
67538 else
67539   echo "$as_me: failed program was:" >&5
67540 sed 's/^/| /' conftest.$ac_ext >&5
67541
67542 eval "$as_ac_var=no"
67543 fi
67544 rm -f conftest.err conftest.$ac_objext \
67545       conftest$ac_exeext conftest.$ac_ext
67546 fi
67547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67549 if test `eval echo '${'$as_ac_var'}'` = yes; then
67550   cat >>confdefs.h <<_ACEOF
67551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67552 _ACEOF
67553
67554 fi
67555 done
67556
67557   else
67558
67559   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
67560 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
67561   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67562     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
67563   echo $ECHO_N "(cached) $ECHO_C" >&6
67564 else
67565
67566
67567
67568       ac_ext=cc
67569 ac_cpp='$CXXCPP $CPPFLAGS'
67570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67573
67574       cat >conftest.$ac_ext <<_ACEOF
67575 /* confdefs.h.  */
67576 _ACEOF
67577 cat confdefs.h >>conftest.$ac_ext
67578 cat >>conftest.$ac_ext <<_ACEOF
67579 /* end confdefs.h.  */
67580 #include <math.h>
67581 int
67582 main ()
67583 {
67584  _ldexpf(0, 0);
67585   ;
67586   return 0;
67587 }
67588 _ACEOF
67589 rm -f conftest.$ac_objext
67590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67591   (eval $ac_compile) 2>conftest.er1
67592   ac_status=$?
67593   grep -v '^ *+' conftest.er1 >conftest.err
67594   rm -f conftest.er1
67595   cat conftest.err >&5
67596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67597   (exit $ac_status); } &&
67598          { ac_try='test -z "$ac_cxx_werror_flag"
67599                          || test ! -s conftest.err'
67600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67601   (eval $ac_try) 2>&5
67602   ac_status=$?
67603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67604   (exit $ac_status); }; } &&
67605          { ac_try='test -s conftest.$ac_objext'
67606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67607   (eval $ac_try) 2>&5
67608   ac_status=$?
67609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67610   (exit $ac_status); }; }; then
67611   glibcxx_cv_func__ldexpf_use=yes
67612 else
67613   echo "$as_me: failed program was:" >&5
67614 sed 's/^/| /' conftest.$ac_ext >&5
67615
67616 glibcxx_cv_func__ldexpf_use=no
67617 fi
67618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67619       ac_ext=c
67620 ac_cpp='$CPP $CPPFLAGS'
67621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67624
67625
67626 fi
67627
67628   fi
67629   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
67630 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
67631
67632     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67633
67634 for ac_func in _ldexpf
67635 do
67636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67637 echo "$as_me:$LINENO: checking for $ac_func" >&5
67638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67639 if eval "test \"\${$as_ac_var+set}\" = set"; then
67640   echo $ECHO_N "(cached) $ECHO_C" >&6
67641 else
67642   if test x$gcc_no_link = xyes; then
67643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67645    { (exit 1); exit 1; }; }
67646 fi
67647 cat >conftest.$ac_ext <<_ACEOF
67648 /* confdefs.h.  */
67649 _ACEOF
67650 cat confdefs.h >>conftest.$ac_ext
67651 cat >>conftest.$ac_ext <<_ACEOF
67652 /* end confdefs.h.  */
67653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67655 #define $ac_func innocuous_$ac_func
67656
67657 /* System header to define __stub macros and hopefully few prototypes,
67658     which can conflict with char $ac_func (); below.
67659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67660     <limits.h> exists even on freestanding compilers.  */
67661
67662 #ifdef __STDC__
67663 # include <limits.h>
67664 #else
67665 # include <assert.h>
67666 #endif
67667
67668 #undef $ac_func
67669
67670 /* Override any gcc2 internal prototype to avoid an error.  */
67671 #ifdef __cplusplus
67672 extern "C"
67673 {
67674 #endif
67675 /* We use char because int might match the return type of a gcc2
67676    builtin and then its argument prototype would still apply.  */
67677 char $ac_func ();
67678 /* The GNU C library defines this for functions which it implements
67679     to always fail with ENOSYS.  Some functions are actually named
67680     something starting with __ and the normal name is an alias.  */
67681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67682 choke me
67683 #else
67684 char (*f) () = $ac_func;
67685 #endif
67686 #ifdef __cplusplus
67687 }
67688 #endif
67689
67690 int
67691 main ()
67692 {
67693 return f != $ac_func;
67694   ;
67695   return 0;
67696 }
67697 _ACEOF
67698 rm -f conftest.$ac_objext conftest$ac_exeext
67699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67700   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
67721 else
67722   echo "$as_me: failed program was:" >&5
67723 sed 's/^/| /' conftest.$ac_ext >&5
67724
67725 eval "$as_ac_var=no"
67726 fi
67727 rm -f conftest.err conftest.$ac_objext \
67728       conftest$ac_exeext conftest.$ac_ext
67729 fi
67730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67732 if test `eval echo '${'$as_ac_var'}'` = yes; then
67733   cat >>confdefs.h <<_ACEOF
67734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67735 _ACEOF
67736
67737 fi
67738 done
67739
67740     fi
67741   fi
67742
67743
67744
67745
67746
67747
67748   echo "$as_me:$LINENO: checking for logf declaration" >&5
67749 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
67750   if test x${glibcxx_cv_func_logf_use+set} != xset; then
67751     if test "${glibcxx_cv_func_logf_use+set}" = set; then
67752   echo $ECHO_N "(cached) $ECHO_C" >&6
67753 else
67754
67755
67756
67757       ac_ext=cc
67758 ac_cpp='$CXXCPP $CPPFLAGS'
67759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67762
67763       cat >conftest.$ac_ext <<_ACEOF
67764 /* confdefs.h.  */
67765 _ACEOF
67766 cat confdefs.h >>conftest.$ac_ext
67767 cat >>conftest.$ac_ext <<_ACEOF
67768 /* end confdefs.h.  */
67769 #include <math.h>
67770                       #ifdef HAVE_IEEEFP_H
67771                       #include <ieeefp.h>
67772                       #endif
67773
67774 int
67775 main ()
67776 {
67777  logf(0);
67778   ;
67779   return 0;
67780 }
67781 _ACEOF
67782 rm -f conftest.$ac_objext
67783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67784   (eval $ac_compile) 2>conftest.er1
67785   ac_status=$?
67786   grep -v '^ *+' conftest.er1 >conftest.err
67787   rm -f conftest.er1
67788   cat conftest.err >&5
67789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67790   (exit $ac_status); } &&
67791          { ac_try='test -z "$ac_cxx_werror_flag"
67792                          || test ! -s conftest.err'
67793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67794   (eval $ac_try) 2>&5
67795   ac_status=$?
67796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797   (exit $ac_status); }; } &&
67798          { ac_try='test -s conftest.$ac_objext'
67799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67800   (eval $ac_try) 2>&5
67801   ac_status=$?
67802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67803   (exit $ac_status); }; }; then
67804   glibcxx_cv_func_logf_use=yes
67805 else
67806   echo "$as_me: failed program was:" >&5
67807 sed 's/^/| /' conftest.$ac_ext >&5
67808
67809 glibcxx_cv_func_logf_use=no
67810 fi
67811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67812       ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817
67818
67819 fi
67820
67821   fi
67822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
67823 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
67824
67825   if test x$glibcxx_cv_func_logf_use = x"yes"; then
67826
67827 for ac_func in logf
67828 do
67829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67830 echo "$as_me:$LINENO: checking for $ac_func" >&5
67831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67832 if eval "test \"\${$as_ac_var+set}\" = set"; then
67833   echo $ECHO_N "(cached) $ECHO_C" >&6
67834 else
67835   if test x$gcc_no_link = xyes; then
67836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67838    { (exit 1); exit 1; }; }
67839 fi
67840 cat >conftest.$ac_ext <<_ACEOF
67841 /* confdefs.h.  */
67842 _ACEOF
67843 cat confdefs.h >>conftest.$ac_ext
67844 cat >>conftest.$ac_ext <<_ACEOF
67845 /* end confdefs.h.  */
67846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67848 #define $ac_func innocuous_$ac_func
67849
67850 /* System header to define __stub macros and hopefully few prototypes,
67851     which can conflict with char $ac_func (); below.
67852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67853     <limits.h> exists even on freestanding compilers.  */
67854
67855 #ifdef __STDC__
67856 # include <limits.h>
67857 #else
67858 # include <assert.h>
67859 #endif
67860
67861 #undef $ac_func
67862
67863 /* Override any gcc2 internal prototype to avoid an error.  */
67864 #ifdef __cplusplus
67865 extern "C"
67866 {
67867 #endif
67868 /* We use char because int might match the return type of a gcc2
67869    builtin and then its argument prototype would still apply.  */
67870 char $ac_func ();
67871 /* The GNU C library defines this for functions which it implements
67872     to always fail with ENOSYS.  Some functions are actually named
67873     something starting with __ and the normal name is an alias.  */
67874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67875 choke me
67876 #else
67877 char (*f) () = $ac_func;
67878 #endif
67879 #ifdef __cplusplus
67880 }
67881 #endif
67882
67883 int
67884 main ()
67885 {
67886 return f != $ac_func;
67887   ;
67888   return 0;
67889 }
67890 _ACEOF
67891 rm -f conftest.$ac_objext conftest$ac_exeext
67892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67893   (eval $ac_link) 2>conftest.er1
67894   ac_status=$?
67895   grep -v '^ *+' conftest.er1 >conftest.err
67896   rm -f conftest.er1
67897   cat conftest.err >&5
67898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67899   (exit $ac_status); } &&
67900          { ac_try='test -z "$ac_c_werror_flag"
67901                          || test ! -s conftest.err'
67902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67903   (eval $ac_try) 2>&5
67904   ac_status=$?
67905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67906   (exit $ac_status); }; } &&
67907          { ac_try='test -s conftest$ac_exeext'
67908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67909   (eval $ac_try) 2>&5
67910   ac_status=$?
67911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67912   (exit $ac_status); }; }; then
67913   eval "$as_ac_var=yes"
67914 else
67915   echo "$as_me: failed program was:" >&5
67916 sed 's/^/| /' conftest.$ac_ext >&5
67917
67918 eval "$as_ac_var=no"
67919 fi
67920 rm -f conftest.err conftest.$ac_objext \
67921       conftest$ac_exeext conftest.$ac_ext
67922 fi
67923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67925 if test `eval echo '${'$as_ac_var'}'` = yes; then
67926   cat >>confdefs.h <<_ACEOF
67927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67928 _ACEOF
67929
67930 fi
67931 done
67932
67933   else
67934
67935   echo "$as_me:$LINENO: checking for _logf declaration" >&5
67936 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
67937   if test x${glibcxx_cv_func__logf_use+set} != xset; then
67938     if test "${glibcxx_cv_func__logf_use+set}" = set; then
67939   echo $ECHO_N "(cached) $ECHO_C" >&6
67940 else
67941
67942
67943
67944       ac_ext=cc
67945 ac_cpp='$CXXCPP $CPPFLAGS'
67946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67949
67950       cat >conftest.$ac_ext <<_ACEOF
67951 /* confdefs.h.  */
67952 _ACEOF
67953 cat confdefs.h >>conftest.$ac_ext
67954 cat >>conftest.$ac_ext <<_ACEOF
67955 /* end confdefs.h.  */
67956 #include <math.h>
67957                       #ifdef HAVE_IEEEFP_H
67958                       #include <ieeefp.h>
67959                       #endif
67960
67961 int
67962 main ()
67963 {
67964  _logf(0);
67965   ;
67966   return 0;
67967 }
67968 _ACEOF
67969 rm -f conftest.$ac_objext
67970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67971   (eval $ac_compile) 2>conftest.er1
67972   ac_status=$?
67973   grep -v '^ *+' conftest.er1 >conftest.err
67974   rm -f conftest.er1
67975   cat conftest.err >&5
67976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67977   (exit $ac_status); } &&
67978          { ac_try='test -z "$ac_cxx_werror_flag"
67979                          || test ! -s conftest.err'
67980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67981   (eval $ac_try) 2>&5
67982   ac_status=$?
67983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984   (exit $ac_status); }; } &&
67985          { ac_try='test -s conftest.$ac_objext'
67986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67987   (eval $ac_try) 2>&5
67988   ac_status=$?
67989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67990   (exit $ac_status); }; }; then
67991   glibcxx_cv_func__logf_use=yes
67992 else
67993   echo "$as_me: failed program was:" >&5
67994 sed 's/^/| /' conftest.$ac_ext >&5
67995
67996 glibcxx_cv_func__logf_use=no
67997 fi
67998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67999       ac_ext=c
68000 ac_cpp='$CPP $CPPFLAGS'
68001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68004
68005
68006 fi
68007
68008   fi
68009   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
68010 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
68011
68012     if test x$glibcxx_cv_func__logf_use = x"yes"; then
68013
68014 for ac_func in _logf
68015 do
68016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68017 echo "$as_me:$LINENO: checking for $ac_func" >&5
68018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68019 if eval "test \"\${$as_ac_var+set}\" = set"; then
68020   echo $ECHO_N "(cached) $ECHO_C" >&6
68021 else
68022   if test x$gcc_no_link = xyes; then
68023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68025    { (exit 1); exit 1; }; }
68026 fi
68027 cat >conftest.$ac_ext <<_ACEOF
68028 /* confdefs.h.  */
68029 _ACEOF
68030 cat confdefs.h >>conftest.$ac_ext
68031 cat >>conftest.$ac_ext <<_ACEOF
68032 /* end confdefs.h.  */
68033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68035 #define $ac_func innocuous_$ac_func
68036
68037 /* System header to define __stub macros and hopefully few prototypes,
68038     which can conflict with char $ac_func (); below.
68039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68040     <limits.h> exists even on freestanding compilers.  */
68041
68042 #ifdef __STDC__
68043 # include <limits.h>
68044 #else
68045 # include <assert.h>
68046 #endif
68047
68048 #undef $ac_func
68049
68050 /* Override any gcc2 internal prototype to avoid an error.  */
68051 #ifdef __cplusplus
68052 extern "C"
68053 {
68054 #endif
68055 /* We use char because int might match the return type of a gcc2
68056    builtin and then its argument prototype would still apply.  */
68057 char $ac_func ();
68058 /* The GNU C library defines this for functions which it implements
68059     to always fail with ENOSYS.  Some functions are actually named
68060     something starting with __ and the normal name is an alias.  */
68061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68062 choke me
68063 #else
68064 char (*f) () = $ac_func;
68065 #endif
68066 #ifdef __cplusplus
68067 }
68068 #endif
68069
68070 int
68071 main ()
68072 {
68073 return f != $ac_func;
68074   ;
68075   return 0;
68076 }
68077 _ACEOF
68078 rm -f conftest.$ac_objext conftest$ac_exeext
68079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68080   (eval $ac_link) 2>conftest.er1
68081   ac_status=$?
68082   grep -v '^ *+' conftest.er1 >conftest.err
68083   rm -f conftest.er1
68084   cat conftest.err >&5
68085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68086   (exit $ac_status); } &&
68087          { ac_try='test -z "$ac_c_werror_flag"
68088                          || test ! -s conftest.err'
68089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68090   (eval $ac_try) 2>&5
68091   ac_status=$?
68092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68093   (exit $ac_status); }; } &&
68094          { ac_try='test -s conftest$ac_exeext'
68095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68096   (eval $ac_try) 2>&5
68097   ac_status=$?
68098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68099   (exit $ac_status); }; }; then
68100   eval "$as_ac_var=yes"
68101 else
68102   echo "$as_me: failed program was:" >&5
68103 sed 's/^/| /' conftest.$ac_ext >&5
68104
68105 eval "$as_ac_var=no"
68106 fi
68107 rm -f conftest.err conftest.$ac_objext \
68108       conftest$ac_exeext conftest.$ac_ext
68109 fi
68110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68112 if test `eval echo '${'$as_ac_var'}'` = yes; then
68113   cat >>confdefs.h <<_ACEOF
68114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68115 _ACEOF
68116
68117 fi
68118 done
68119
68120     fi
68121   fi
68122
68123
68124
68125
68126
68127
68128   echo "$as_me:$LINENO: checking for log10f declaration" >&5
68129 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
68130   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68131     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
68132   echo $ECHO_N "(cached) $ECHO_C" >&6
68133 else
68134
68135
68136
68137       ac_ext=cc
68138 ac_cpp='$CXXCPP $CPPFLAGS'
68139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68142
68143       cat >conftest.$ac_ext <<_ACEOF
68144 /* confdefs.h.  */
68145 _ACEOF
68146 cat confdefs.h >>conftest.$ac_ext
68147 cat >>conftest.$ac_ext <<_ACEOF
68148 /* end confdefs.h.  */
68149 #include <math.h>
68150                       #ifdef HAVE_IEEEFP_H
68151                       #include <ieeefp.h>
68152                       #endif
68153
68154 int
68155 main ()
68156 {
68157  log10f(0);
68158   ;
68159   return 0;
68160 }
68161 _ACEOF
68162 rm -f conftest.$ac_objext
68163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68164   (eval $ac_compile) 2>conftest.er1
68165   ac_status=$?
68166   grep -v '^ *+' conftest.er1 >conftest.err
68167   rm -f conftest.er1
68168   cat conftest.err >&5
68169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68170   (exit $ac_status); } &&
68171          { ac_try='test -z "$ac_cxx_werror_flag"
68172                          || test ! -s conftest.err'
68173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68174   (eval $ac_try) 2>&5
68175   ac_status=$?
68176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68177   (exit $ac_status); }; } &&
68178          { ac_try='test -s conftest.$ac_objext'
68179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68180   (eval $ac_try) 2>&5
68181   ac_status=$?
68182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68183   (exit $ac_status); }; }; then
68184   glibcxx_cv_func_log10f_use=yes
68185 else
68186   echo "$as_me: failed program was:" >&5
68187 sed 's/^/| /' conftest.$ac_ext >&5
68188
68189 glibcxx_cv_func_log10f_use=no
68190 fi
68191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68192       ac_ext=c
68193 ac_cpp='$CPP $CPPFLAGS'
68194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68197
68198
68199 fi
68200
68201   fi
68202   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
68203 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
68204
68205   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68206
68207 for ac_func in log10f
68208 do
68209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68210 echo "$as_me:$LINENO: checking for $ac_func" >&5
68211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68212 if eval "test \"\${$as_ac_var+set}\" = set"; then
68213   echo $ECHO_N "(cached) $ECHO_C" >&6
68214 else
68215   if test x$gcc_no_link = xyes; then
68216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68218    { (exit 1); exit 1; }; }
68219 fi
68220 cat >conftest.$ac_ext <<_ACEOF
68221 /* confdefs.h.  */
68222 _ACEOF
68223 cat confdefs.h >>conftest.$ac_ext
68224 cat >>conftest.$ac_ext <<_ACEOF
68225 /* end confdefs.h.  */
68226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68228 #define $ac_func innocuous_$ac_func
68229
68230 /* System header to define __stub macros and hopefully few prototypes,
68231     which can conflict with char $ac_func (); below.
68232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68233     <limits.h> exists even on freestanding compilers.  */
68234
68235 #ifdef __STDC__
68236 # include <limits.h>
68237 #else
68238 # include <assert.h>
68239 #endif
68240
68241 #undef $ac_func
68242
68243 /* Override any gcc2 internal prototype to avoid an error.  */
68244 #ifdef __cplusplus
68245 extern "C"
68246 {
68247 #endif
68248 /* We use char because int might match the return type of a gcc2
68249    builtin and then its argument prototype would still apply.  */
68250 char $ac_func ();
68251 /* The GNU C library defines this for functions which it implements
68252     to always fail with ENOSYS.  Some functions are actually named
68253     something starting with __ and the normal name is an alias.  */
68254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68255 choke me
68256 #else
68257 char (*f) () = $ac_func;
68258 #endif
68259 #ifdef __cplusplus
68260 }
68261 #endif
68262
68263 int
68264 main ()
68265 {
68266 return f != $ac_func;
68267   ;
68268   return 0;
68269 }
68270 _ACEOF
68271 rm -f conftest.$ac_objext conftest$ac_exeext
68272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68273   (eval $ac_link) 2>conftest.er1
68274   ac_status=$?
68275   grep -v '^ *+' conftest.er1 >conftest.err
68276   rm -f conftest.er1
68277   cat conftest.err >&5
68278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68279   (exit $ac_status); } &&
68280          { ac_try='test -z "$ac_c_werror_flag"
68281                          || test ! -s conftest.err'
68282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68283   (eval $ac_try) 2>&5
68284   ac_status=$?
68285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68286   (exit $ac_status); }; } &&
68287          { ac_try='test -s conftest$ac_exeext'
68288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68289   (eval $ac_try) 2>&5
68290   ac_status=$?
68291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68292   (exit $ac_status); }; }; then
68293   eval "$as_ac_var=yes"
68294 else
68295   echo "$as_me: failed program was:" >&5
68296 sed 's/^/| /' conftest.$ac_ext >&5
68297
68298 eval "$as_ac_var=no"
68299 fi
68300 rm -f conftest.err conftest.$ac_objext \
68301       conftest$ac_exeext conftest.$ac_ext
68302 fi
68303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68305 if test `eval echo '${'$as_ac_var'}'` = yes; then
68306   cat >>confdefs.h <<_ACEOF
68307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68308 _ACEOF
68309
68310 fi
68311 done
68312
68313   else
68314
68315   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
68316 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
68317   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68318     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
68319   echo $ECHO_N "(cached) $ECHO_C" >&6
68320 else
68321
68322
68323
68324       ac_ext=cc
68325 ac_cpp='$CXXCPP $CPPFLAGS'
68326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68329
68330       cat >conftest.$ac_ext <<_ACEOF
68331 /* confdefs.h.  */
68332 _ACEOF
68333 cat confdefs.h >>conftest.$ac_ext
68334 cat >>conftest.$ac_ext <<_ACEOF
68335 /* end confdefs.h.  */
68336 #include <math.h>
68337                       #ifdef HAVE_IEEEFP_H
68338                       #include <ieeefp.h>
68339                       #endif
68340
68341 int
68342 main ()
68343 {
68344  _log10f(0);
68345   ;
68346   return 0;
68347 }
68348 _ACEOF
68349 rm -f conftest.$ac_objext
68350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68351   (eval $ac_compile) 2>conftest.er1
68352   ac_status=$?
68353   grep -v '^ *+' conftest.er1 >conftest.err
68354   rm -f conftest.er1
68355   cat conftest.err >&5
68356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68357   (exit $ac_status); } &&
68358          { ac_try='test -z "$ac_cxx_werror_flag"
68359                          || test ! -s conftest.err'
68360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68361   (eval $ac_try) 2>&5
68362   ac_status=$?
68363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68364   (exit $ac_status); }; } &&
68365          { ac_try='test -s conftest.$ac_objext'
68366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68367   (eval $ac_try) 2>&5
68368   ac_status=$?
68369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68370   (exit $ac_status); }; }; then
68371   glibcxx_cv_func__log10f_use=yes
68372 else
68373   echo "$as_me: failed program was:" >&5
68374 sed 's/^/| /' conftest.$ac_ext >&5
68375
68376 glibcxx_cv_func__log10f_use=no
68377 fi
68378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68379       ac_ext=c
68380 ac_cpp='$CPP $CPPFLAGS'
68381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68384
68385
68386 fi
68387
68388   fi
68389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
68390 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
68391
68392     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68393
68394 for ac_func in _log10f
68395 do
68396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68397 echo "$as_me:$LINENO: checking for $ac_func" >&5
68398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68399 if eval "test \"\${$as_ac_var+set}\" = set"; then
68400   echo $ECHO_N "(cached) $ECHO_C" >&6
68401 else
68402   if test x$gcc_no_link = xyes; then
68403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68405    { (exit 1); exit 1; }; }
68406 fi
68407 cat >conftest.$ac_ext <<_ACEOF
68408 /* confdefs.h.  */
68409 _ACEOF
68410 cat confdefs.h >>conftest.$ac_ext
68411 cat >>conftest.$ac_ext <<_ACEOF
68412 /* end confdefs.h.  */
68413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68415 #define $ac_func innocuous_$ac_func
68416
68417 /* System header to define __stub macros and hopefully few prototypes,
68418     which can conflict with char $ac_func (); below.
68419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68420     <limits.h> exists even on freestanding compilers.  */
68421
68422 #ifdef __STDC__
68423 # include <limits.h>
68424 #else
68425 # include <assert.h>
68426 #endif
68427
68428 #undef $ac_func
68429
68430 /* Override any gcc2 internal prototype to avoid an error.  */
68431 #ifdef __cplusplus
68432 extern "C"
68433 {
68434 #endif
68435 /* We use char because int might match the return type of a gcc2
68436    builtin and then its argument prototype would still apply.  */
68437 char $ac_func ();
68438 /* The GNU C library defines this for functions which it implements
68439     to always fail with ENOSYS.  Some functions are actually named
68440     something starting with __ and the normal name is an alias.  */
68441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68442 choke me
68443 #else
68444 char (*f) () = $ac_func;
68445 #endif
68446 #ifdef __cplusplus
68447 }
68448 #endif
68449
68450 int
68451 main ()
68452 {
68453 return f != $ac_func;
68454   ;
68455   return 0;
68456 }
68457 _ACEOF
68458 rm -f conftest.$ac_objext conftest$ac_exeext
68459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68460   (eval $ac_link) 2>conftest.er1
68461   ac_status=$?
68462   grep -v '^ *+' conftest.er1 >conftest.err
68463   rm -f conftest.er1
68464   cat conftest.err >&5
68465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68466   (exit $ac_status); } &&
68467          { ac_try='test -z "$ac_c_werror_flag"
68468                          || test ! -s conftest.err'
68469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68470   (eval $ac_try) 2>&5
68471   ac_status=$?
68472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68473   (exit $ac_status); }; } &&
68474          { ac_try='test -s conftest$ac_exeext'
68475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68476   (eval $ac_try) 2>&5
68477   ac_status=$?
68478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68479   (exit $ac_status); }; }; then
68480   eval "$as_ac_var=yes"
68481 else
68482   echo "$as_me: failed program was:" >&5
68483 sed 's/^/| /' conftest.$ac_ext >&5
68484
68485 eval "$as_ac_var=no"
68486 fi
68487 rm -f conftest.err conftest.$ac_objext \
68488       conftest$ac_exeext conftest.$ac_ext
68489 fi
68490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68492 if test `eval echo '${'$as_ac_var'}'` = yes; then
68493   cat >>confdefs.h <<_ACEOF
68494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68495 _ACEOF
68496
68497 fi
68498 done
68499
68500     fi
68501   fi
68502
68503
68504
68505
68506
68507
68508   echo "$as_me:$LINENO: checking for modff declaration" >&5
68509 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
68510   if test x${glibcxx_cv_func_modff_use+set} != xset; then
68511     if test "${glibcxx_cv_func_modff_use+set}" = set; then
68512   echo $ECHO_N "(cached) $ECHO_C" >&6
68513 else
68514
68515
68516
68517       ac_ext=cc
68518 ac_cpp='$CXXCPP $CPPFLAGS'
68519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68522
68523       cat >conftest.$ac_ext <<_ACEOF
68524 /* confdefs.h.  */
68525 _ACEOF
68526 cat confdefs.h >>conftest.$ac_ext
68527 cat >>conftest.$ac_ext <<_ACEOF
68528 /* end confdefs.h.  */
68529 #include <math.h>
68530 int
68531 main ()
68532 {
68533  modff(0, 0);
68534   ;
68535   return 0;
68536 }
68537 _ACEOF
68538 rm -f conftest.$ac_objext
68539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68540   (eval $ac_compile) 2>conftest.er1
68541   ac_status=$?
68542   grep -v '^ *+' conftest.er1 >conftest.err
68543   rm -f conftest.er1
68544   cat conftest.err >&5
68545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68546   (exit $ac_status); } &&
68547          { ac_try='test -z "$ac_cxx_werror_flag"
68548                          || test ! -s conftest.err'
68549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68550   (eval $ac_try) 2>&5
68551   ac_status=$?
68552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68553   (exit $ac_status); }; } &&
68554          { ac_try='test -s conftest.$ac_objext'
68555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68556   (eval $ac_try) 2>&5
68557   ac_status=$?
68558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68559   (exit $ac_status); }; }; then
68560   glibcxx_cv_func_modff_use=yes
68561 else
68562   echo "$as_me: failed program was:" >&5
68563 sed 's/^/| /' conftest.$ac_ext >&5
68564
68565 glibcxx_cv_func_modff_use=no
68566 fi
68567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68568       ac_ext=c
68569 ac_cpp='$CPP $CPPFLAGS'
68570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68573
68574
68575 fi
68576
68577   fi
68578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
68579 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
68580
68581   if test x$glibcxx_cv_func_modff_use = x"yes"; then
68582
68583 for ac_func in modff
68584 do
68585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68586 echo "$as_me:$LINENO: checking for $ac_func" >&5
68587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68588 if eval "test \"\${$as_ac_var+set}\" = set"; then
68589   echo $ECHO_N "(cached) $ECHO_C" >&6
68590 else
68591   if test x$gcc_no_link = xyes; then
68592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68594    { (exit 1); exit 1; }; }
68595 fi
68596 cat >conftest.$ac_ext <<_ACEOF
68597 /* confdefs.h.  */
68598 _ACEOF
68599 cat confdefs.h >>conftest.$ac_ext
68600 cat >>conftest.$ac_ext <<_ACEOF
68601 /* end confdefs.h.  */
68602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68604 #define $ac_func innocuous_$ac_func
68605
68606 /* System header to define __stub macros and hopefully few prototypes,
68607     which can conflict with char $ac_func (); below.
68608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68609     <limits.h> exists even on freestanding compilers.  */
68610
68611 #ifdef __STDC__
68612 # include <limits.h>
68613 #else
68614 # include <assert.h>
68615 #endif
68616
68617 #undef $ac_func
68618
68619 /* Override any gcc2 internal prototype to avoid an error.  */
68620 #ifdef __cplusplus
68621 extern "C"
68622 {
68623 #endif
68624 /* We use char because int might match the return type of a gcc2
68625    builtin and then its argument prototype would still apply.  */
68626 char $ac_func ();
68627 /* The GNU C library defines this for functions which it implements
68628     to always fail with ENOSYS.  Some functions are actually named
68629     something starting with __ and the normal name is an alias.  */
68630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68631 choke me
68632 #else
68633 char (*f) () = $ac_func;
68634 #endif
68635 #ifdef __cplusplus
68636 }
68637 #endif
68638
68639 int
68640 main ()
68641 {
68642 return f != $ac_func;
68643   ;
68644   return 0;
68645 }
68646 _ACEOF
68647 rm -f conftest.$ac_objext conftest$ac_exeext
68648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68649   (eval $ac_link) 2>conftest.er1
68650   ac_status=$?
68651   grep -v '^ *+' conftest.er1 >conftest.err
68652   rm -f conftest.er1
68653   cat conftest.err >&5
68654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68655   (exit $ac_status); } &&
68656          { ac_try='test -z "$ac_c_werror_flag"
68657                          || test ! -s conftest.err'
68658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68659   (eval $ac_try) 2>&5
68660   ac_status=$?
68661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68662   (exit $ac_status); }; } &&
68663          { ac_try='test -s conftest$ac_exeext'
68664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68665   (eval $ac_try) 2>&5
68666   ac_status=$?
68667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68668   (exit $ac_status); }; }; then
68669   eval "$as_ac_var=yes"
68670 else
68671   echo "$as_me: failed program was:" >&5
68672 sed 's/^/| /' conftest.$ac_ext >&5
68673
68674 eval "$as_ac_var=no"
68675 fi
68676 rm -f conftest.err conftest.$ac_objext \
68677       conftest$ac_exeext conftest.$ac_ext
68678 fi
68679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68681 if test `eval echo '${'$as_ac_var'}'` = yes; then
68682   cat >>confdefs.h <<_ACEOF
68683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68684 _ACEOF
68685
68686 fi
68687 done
68688
68689   else
68690
68691   echo "$as_me:$LINENO: checking for _modff declaration" >&5
68692 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
68693   if test x${glibcxx_cv_func__modff_use+set} != xset; then
68694     if test "${glibcxx_cv_func__modff_use+set}" = set; then
68695   echo $ECHO_N "(cached) $ECHO_C" >&6
68696 else
68697
68698
68699
68700       ac_ext=cc
68701 ac_cpp='$CXXCPP $CPPFLAGS'
68702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68705
68706       cat >conftest.$ac_ext <<_ACEOF
68707 /* confdefs.h.  */
68708 _ACEOF
68709 cat confdefs.h >>conftest.$ac_ext
68710 cat >>conftest.$ac_ext <<_ACEOF
68711 /* end confdefs.h.  */
68712 #include <math.h>
68713 int
68714 main ()
68715 {
68716  _modff(0, 0);
68717   ;
68718   return 0;
68719 }
68720 _ACEOF
68721 rm -f conftest.$ac_objext
68722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68723   (eval $ac_compile) 2>conftest.er1
68724   ac_status=$?
68725   grep -v '^ *+' conftest.er1 >conftest.err
68726   rm -f conftest.er1
68727   cat conftest.err >&5
68728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68729   (exit $ac_status); } &&
68730          { ac_try='test -z "$ac_cxx_werror_flag"
68731                          || test ! -s conftest.err'
68732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68733   (eval $ac_try) 2>&5
68734   ac_status=$?
68735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68736   (exit $ac_status); }; } &&
68737          { ac_try='test -s conftest.$ac_objext'
68738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68739   (eval $ac_try) 2>&5
68740   ac_status=$?
68741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68742   (exit $ac_status); }; }; then
68743   glibcxx_cv_func__modff_use=yes
68744 else
68745   echo "$as_me: failed program was:" >&5
68746 sed 's/^/| /' conftest.$ac_ext >&5
68747
68748 glibcxx_cv_func__modff_use=no
68749 fi
68750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68751       ac_ext=c
68752 ac_cpp='$CPP $CPPFLAGS'
68753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68756
68757
68758 fi
68759
68760   fi
68761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
68762 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
68763
68764     if test x$glibcxx_cv_func__modff_use = x"yes"; then
68765
68766 for ac_func in _modff
68767 do
68768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68769 echo "$as_me:$LINENO: checking for $ac_func" >&5
68770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68771 if eval "test \"\${$as_ac_var+set}\" = set"; then
68772   echo $ECHO_N "(cached) $ECHO_C" >&6
68773 else
68774   if test x$gcc_no_link = xyes; then
68775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68777    { (exit 1); exit 1; }; }
68778 fi
68779 cat >conftest.$ac_ext <<_ACEOF
68780 /* confdefs.h.  */
68781 _ACEOF
68782 cat confdefs.h >>conftest.$ac_ext
68783 cat >>conftest.$ac_ext <<_ACEOF
68784 /* end confdefs.h.  */
68785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68787 #define $ac_func innocuous_$ac_func
68788
68789 /* System header to define __stub macros and hopefully few prototypes,
68790     which can conflict with char $ac_func (); below.
68791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68792     <limits.h> exists even on freestanding compilers.  */
68793
68794 #ifdef __STDC__
68795 # include <limits.h>
68796 #else
68797 # include <assert.h>
68798 #endif
68799
68800 #undef $ac_func
68801
68802 /* Override any gcc2 internal prototype to avoid an error.  */
68803 #ifdef __cplusplus
68804 extern "C"
68805 {
68806 #endif
68807 /* We use char because int might match the return type of a gcc2
68808    builtin and then its argument prototype would still apply.  */
68809 char $ac_func ();
68810 /* The GNU C library defines this for functions which it implements
68811     to always fail with ENOSYS.  Some functions are actually named
68812     something starting with __ and the normal name is an alias.  */
68813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68814 choke me
68815 #else
68816 char (*f) () = $ac_func;
68817 #endif
68818 #ifdef __cplusplus
68819 }
68820 #endif
68821
68822 int
68823 main ()
68824 {
68825 return f != $ac_func;
68826   ;
68827   return 0;
68828 }
68829 _ACEOF
68830 rm -f conftest.$ac_objext conftest$ac_exeext
68831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68832   (eval $ac_link) 2>conftest.er1
68833   ac_status=$?
68834   grep -v '^ *+' conftest.er1 >conftest.err
68835   rm -f conftest.er1
68836   cat conftest.err >&5
68837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68838   (exit $ac_status); } &&
68839          { ac_try='test -z "$ac_c_werror_flag"
68840                          || test ! -s conftest.err'
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); }; } &&
68846          { ac_try='test -s conftest$ac_exeext'
68847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68848   (eval $ac_try) 2>&5
68849   ac_status=$?
68850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68851   (exit $ac_status); }; }; then
68852   eval "$as_ac_var=yes"
68853 else
68854   echo "$as_me: failed program was:" >&5
68855 sed 's/^/| /' conftest.$ac_ext >&5
68856
68857 eval "$as_ac_var=no"
68858 fi
68859 rm -f conftest.err conftest.$ac_objext \
68860       conftest$ac_exeext conftest.$ac_ext
68861 fi
68862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68864 if test `eval echo '${'$as_ac_var'}'` = yes; then
68865   cat >>confdefs.h <<_ACEOF
68866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68867 _ACEOF
68868
68869 fi
68870 done
68871
68872     fi
68873   fi
68874
68875
68876
68877
68878
68879
68880   echo "$as_me:$LINENO: checking for modf declaration" >&5
68881 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
68882   if test x${glibcxx_cv_func_modf_use+set} != xset; then
68883     if test "${glibcxx_cv_func_modf_use+set}" = set; then
68884   echo $ECHO_N "(cached) $ECHO_C" >&6
68885 else
68886
68887
68888
68889       ac_ext=cc
68890 ac_cpp='$CXXCPP $CPPFLAGS'
68891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68894
68895       cat >conftest.$ac_ext <<_ACEOF
68896 /* confdefs.h.  */
68897 _ACEOF
68898 cat confdefs.h >>conftest.$ac_ext
68899 cat >>conftest.$ac_ext <<_ACEOF
68900 /* end confdefs.h.  */
68901 #include <math.h>
68902 int
68903 main ()
68904 {
68905  modf(0, 0);
68906   ;
68907   return 0;
68908 }
68909 _ACEOF
68910 rm -f conftest.$ac_objext
68911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68912   (eval $ac_compile) 2>conftest.er1
68913   ac_status=$?
68914   grep -v '^ *+' conftest.er1 >conftest.err
68915   rm -f conftest.er1
68916   cat conftest.err >&5
68917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68918   (exit $ac_status); } &&
68919          { ac_try='test -z "$ac_cxx_werror_flag"
68920                          || test ! -s conftest.err'
68921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68922   (eval $ac_try) 2>&5
68923   ac_status=$?
68924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68925   (exit $ac_status); }; } &&
68926          { ac_try='test -s conftest.$ac_objext'
68927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68928   (eval $ac_try) 2>&5
68929   ac_status=$?
68930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68931   (exit $ac_status); }; }; then
68932   glibcxx_cv_func_modf_use=yes
68933 else
68934   echo "$as_me: failed program was:" >&5
68935 sed 's/^/| /' conftest.$ac_ext >&5
68936
68937 glibcxx_cv_func_modf_use=no
68938 fi
68939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68940       ac_ext=c
68941 ac_cpp='$CPP $CPPFLAGS'
68942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68945
68946
68947 fi
68948
68949   fi
68950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
68951 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
68952
68953   if test x$glibcxx_cv_func_modf_use = x"yes"; then
68954
68955 for ac_func in modf
68956 do
68957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68958 echo "$as_me:$LINENO: checking for $ac_func" >&5
68959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68960 if eval "test \"\${$as_ac_var+set}\" = set"; then
68961   echo $ECHO_N "(cached) $ECHO_C" >&6
68962 else
68963   if test x$gcc_no_link = xyes; then
68964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68966    { (exit 1); exit 1; }; }
68967 fi
68968 cat >conftest.$ac_ext <<_ACEOF
68969 /* confdefs.h.  */
68970 _ACEOF
68971 cat confdefs.h >>conftest.$ac_ext
68972 cat >>conftest.$ac_ext <<_ACEOF
68973 /* end confdefs.h.  */
68974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68976 #define $ac_func innocuous_$ac_func
68977
68978 /* System header to define __stub macros and hopefully few prototypes,
68979     which can conflict with char $ac_func (); below.
68980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68981     <limits.h> exists even on freestanding compilers.  */
68982
68983 #ifdef __STDC__
68984 # include <limits.h>
68985 #else
68986 # include <assert.h>
68987 #endif
68988
68989 #undef $ac_func
68990
68991 /* Override any gcc2 internal prototype to avoid an error.  */
68992 #ifdef __cplusplus
68993 extern "C"
68994 {
68995 #endif
68996 /* We use char because int might match the return type of a gcc2
68997    builtin and then its argument prototype would still apply.  */
68998 char $ac_func ();
68999 /* The GNU C library defines this for functions which it implements
69000     to always fail with ENOSYS.  Some functions are actually named
69001     something starting with __ and the normal name is an alias.  */
69002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69003 choke me
69004 #else
69005 char (*f) () = $ac_func;
69006 #endif
69007 #ifdef __cplusplus
69008 }
69009 #endif
69010
69011 int
69012 main ()
69013 {
69014 return f != $ac_func;
69015   ;
69016   return 0;
69017 }
69018 _ACEOF
69019 rm -f conftest.$ac_objext conftest$ac_exeext
69020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69021   (eval $ac_link) 2>conftest.er1
69022   ac_status=$?
69023   grep -v '^ *+' conftest.er1 >conftest.err
69024   rm -f conftest.er1
69025   cat conftest.err >&5
69026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69027   (exit $ac_status); } &&
69028          { ac_try='test -z "$ac_c_werror_flag"
69029                          || test ! -s conftest.err'
69030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69031   (eval $ac_try) 2>&5
69032   ac_status=$?
69033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69034   (exit $ac_status); }; } &&
69035          { ac_try='test -s conftest$ac_exeext'
69036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69037   (eval $ac_try) 2>&5
69038   ac_status=$?
69039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69040   (exit $ac_status); }; }; then
69041   eval "$as_ac_var=yes"
69042 else
69043   echo "$as_me: failed program was:" >&5
69044 sed 's/^/| /' conftest.$ac_ext >&5
69045
69046 eval "$as_ac_var=no"
69047 fi
69048 rm -f conftest.err conftest.$ac_objext \
69049       conftest$ac_exeext conftest.$ac_ext
69050 fi
69051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69053 if test `eval echo '${'$as_ac_var'}'` = yes; then
69054   cat >>confdefs.h <<_ACEOF
69055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69056 _ACEOF
69057
69058 fi
69059 done
69060
69061   else
69062
69063   echo "$as_me:$LINENO: checking for _modf declaration" >&5
69064 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
69065   if test x${glibcxx_cv_func__modf_use+set} != xset; then
69066     if test "${glibcxx_cv_func__modf_use+set}" = set; then
69067   echo $ECHO_N "(cached) $ECHO_C" >&6
69068 else
69069
69070
69071
69072       ac_ext=cc
69073 ac_cpp='$CXXCPP $CPPFLAGS'
69074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69077
69078       cat >conftest.$ac_ext <<_ACEOF
69079 /* confdefs.h.  */
69080 _ACEOF
69081 cat confdefs.h >>conftest.$ac_ext
69082 cat >>conftest.$ac_ext <<_ACEOF
69083 /* end confdefs.h.  */
69084 #include <math.h>
69085 int
69086 main ()
69087 {
69088  _modf(0, 0);
69089   ;
69090   return 0;
69091 }
69092 _ACEOF
69093 rm -f conftest.$ac_objext
69094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69095   (eval $ac_compile) 2>conftest.er1
69096   ac_status=$?
69097   grep -v '^ *+' conftest.er1 >conftest.err
69098   rm -f conftest.er1
69099   cat conftest.err >&5
69100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69101   (exit $ac_status); } &&
69102          { ac_try='test -z "$ac_cxx_werror_flag"
69103                          || test ! -s conftest.err'
69104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69105   (eval $ac_try) 2>&5
69106   ac_status=$?
69107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69108   (exit $ac_status); }; } &&
69109          { ac_try='test -s conftest.$ac_objext'
69110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69111   (eval $ac_try) 2>&5
69112   ac_status=$?
69113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69114   (exit $ac_status); }; }; then
69115   glibcxx_cv_func__modf_use=yes
69116 else
69117   echo "$as_me: failed program was:" >&5
69118 sed 's/^/| /' conftest.$ac_ext >&5
69119
69120 glibcxx_cv_func__modf_use=no
69121 fi
69122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69123       ac_ext=c
69124 ac_cpp='$CPP $CPPFLAGS'
69125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69128
69129
69130 fi
69131
69132   fi
69133   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
69134 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
69135
69136     if test x$glibcxx_cv_func__modf_use = x"yes"; then
69137
69138 for ac_func in _modf
69139 do
69140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69141 echo "$as_me:$LINENO: checking for $ac_func" >&5
69142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69143 if eval "test \"\${$as_ac_var+set}\" = set"; then
69144   echo $ECHO_N "(cached) $ECHO_C" >&6
69145 else
69146   if test x$gcc_no_link = xyes; then
69147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69149    { (exit 1); exit 1; }; }
69150 fi
69151 cat >conftest.$ac_ext <<_ACEOF
69152 /* confdefs.h.  */
69153 _ACEOF
69154 cat confdefs.h >>conftest.$ac_ext
69155 cat >>conftest.$ac_ext <<_ACEOF
69156 /* end confdefs.h.  */
69157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69159 #define $ac_func innocuous_$ac_func
69160
69161 /* System header to define __stub macros and hopefully few prototypes,
69162     which can conflict with char $ac_func (); below.
69163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69164     <limits.h> exists even on freestanding compilers.  */
69165
69166 #ifdef __STDC__
69167 # include <limits.h>
69168 #else
69169 # include <assert.h>
69170 #endif
69171
69172 #undef $ac_func
69173
69174 /* Override any gcc2 internal prototype to avoid an error.  */
69175 #ifdef __cplusplus
69176 extern "C"
69177 {
69178 #endif
69179 /* We use char because int might match the return type of a gcc2
69180    builtin and then its argument prototype would still apply.  */
69181 char $ac_func ();
69182 /* The GNU C library defines this for functions which it implements
69183     to always fail with ENOSYS.  Some functions are actually named
69184     something starting with __ and the normal name is an alias.  */
69185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69186 choke me
69187 #else
69188 char (*f) () = $ac_func;
69189 #endif
69190 #ifdef __cplusplus
69191 }
69192 #endif
69193
69194 int
69195 main ()
69196 {
69197 return f != $ac_func;
69198   ;
69199   return 0;
69200 }
69201 _ACEOF
69202 rm -f conftest.$ac_objext conftest$ac_exeext
69203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69204   (eval $ac_link) 2>conftest.er1
69205   ac_status=$?
69206   grep -v '^ *+' conftest.er1 >conftest.err
69207   rm -f conftest.er1
69208   cat conftest.err >&5
69209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69210   (exit $ac_status); } &&
69211          { ac_try='test -z "$ac_c_werror_flag"
69212                          || test ! -s conftest.err'
69213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69214   (eval $ac_try) 2>&5
69215   ac_status=$?
69216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69217   (exit $ac_status); }; } &&
69218          { ac_try='test -s conftest$ac_exeext'
69219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69220   (eval $ac_try) 2>&5
69221   ac_status=$?
69222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69223   (exit $ac_status); }; }; then
69224   eval "$as_ac_var=yes"
69225 else
69226   echo "$as_me: failed program was:" >&5
69227 sed 's/^/| /' conftest.$ac_ext >&5
69228
69229 eval "$as_ac_var=no"
69230 fi
69231 rm -f conftest.err conftest.$ac_objext \
69232       conftest$ac_exeext conftest.$ac_ext
69233 fi
69234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69236 if test `eval echo '${'$as_ac_var'}'` = yes; then
69237   cat >>confdefs.h <<_ACEOF
69238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69239 _ACEOF
69240
69241 fi
69242 done
69243
69244     fi
69245   fi
69246
69247
69248
69249
69250
69251
69252   echo "$as_me:$LINENO: checking for powf declaration" >&5
69253 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
69254   if test x${glibcxx_cv_func_powf_use+set} != xset; then
69255     if test "${glibcxx_cv_func_powf_use+set}" = set; then
69256   echo $ECHO_N "(cached) $ECHO_C" >&6
69257 else
69258
69259
69260
69261       ac_ext=cc
69262 ac_cpp='$CXXCPP $CPPFLAGS'
69263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69266
69267       cat >conftest.$ac_ext <<_ACEOF
69268 /* confdefs.h.  */
69269 _ACEOF
69270 cat confdefs.h >>conftest.$ac_ext
69271 cat >>conftest.$ac_ext <<_ACEOF
69272 /* end confdefs.h.  */
69273 #include <math.h>
69274 int
69275 main ()
69276 {
69277  powf(0, 0);
69278   ;
69279   return 0;
69280 }
69281 _ACEOF
69282 rm -f conftest.$ac_objext
69283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69284   (eval $ac_compile) 2>conftest.er1
69285   ac_status=$?
69286   grep -v '^ *+' conftest.er1 >conftest.err
69287   rm -f conftest.er1
69288   cat conftest.err >&5
69289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69290   (exit $ac_status); } &&
69291          { ac_try='test -z "$ac_cxx_werror_flag"
69292                          || test ! -s conftest.err'
69293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69294   (eval $ac_try) 2>&5
69295   ac_status=$?
69296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69297   (exit $ac_status); }; } &&
69298          { ac_try='test -s conftest.$ac_objext'
69299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69300   (eval $ac_try) 2>&5
69301   ac_status=$?
69302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69303   (exit $ac_status); }; }; then
69304   glibcxx_cv_func_powf_use=yes
69305 else
69306   echo "$as_me: failed program was:" >&5
69307 sed 's/^/| /' conftest.$ac_ext >&5
69308
69309 glibcxx_cv_func_powf_use=no
69310 fi
69311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69312       ac_ext=c
69313 ac_cpp='$CPP $CPPFLAGS'
69314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69317
69318
69319 fi
69320
69321   fi
69322   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
69323 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
69324
69325   if test x$glibcxx_cv_func_powf_use = x"yes"; then
69326
69327 for ac_func in powf
69328 do
69329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69330 echo "$as_me:$LINENO: checking for $ac_func" >&5
69331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69332 if eval "test \"\${$as_ac_var+set}\" = set"; then
69333   echo $ECHO_N "(cached) $ECHO_C" >&6
69334 else
69335   if test x$gcc_no_link = xyes; then
69336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69338    { (exit 1); exit 1; }; }
69339 fi
69340 cat >conftest.$ac_ext <<_ACEOF
69341 /* confdefs.h.  */
69342 _ACEOF
69343 cat confdefs.h >>conftest.$ac_ext
69344 cat >>conftest.$ac_ext <<_ACEOF
69345 /* end confdefs.h.  */
69346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69348 #define $ac_func innocuous_$ac_func
69349
69350 /* System header to define __stub macros and hopefully few prototypes,
69351     which can conflict with char $ac_func (); below.
69352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69353     <limits.h> exists even on freestanding compilers.  */
69354
69355 #ifdef __STDC__
69356 # include <limits.h>
69357 #else
69358 # include <assert.h>
69359 #endif
69360
69361 #undef $ac_func
69362
69363 /* Override any gcc2 internal prototype to avoid an error.  */
69364 #ifdef __cplusplus
69365 extern "C"
69366 {
69367 #endif
69368 /* We use char because int might match the return type of a gcc2
69369    builtin and then its argument prototype would still apply.  */
69370 char $ac_func ();
69371 /* The GNU C library defines this for functions which it implements
69372     to always fail with ENOSYS.  Some functions are actually named
69373     something starting with __ and the normal name is an alias.  */
69374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69375 choke me
69376 #else
69377 char (*f) () = $ac_func;
69378 #endif
69379 #ifdef __cplusplus
69380 }
69381 #endif
69382
69383 int
69384 main ()
69385 {
69386 return f != $ac_func;
69387   ;
69388   return 0;
69389 }
69390 _ACEOF
69391 rm -f conftest.$ac_objext conftest$ac_exeext
69392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69393   (eval $ac_link) 2>conftest.er1
69394   ac_status=$?
69395   grep -v '^ *+' conftest.er1 >conftest.err
69396   rm -f conftest.er1
69397   cat conftest.err >&5
69398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69399   (exit $ac_status); } &&
69400          { ac_try='test -z "$ac_c_werror_flag"
69401                          || test ! -s conftest.err'
69402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69403   (eval $ac_try) 2>&5
69404   ac_status=$?
69405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69406   (exit $ac_status); }; } &&
69407          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
69413   eval "$as_ac_var=yes"
69414 else
69415   echo "$as_me: failed program was:" >&5
69416 sed 's/^/| /' conftest.$ac_ext >&5
69417
69418 eval "$as_ac_var=no"
69419 fi
69420 rm -f conftest.err conftest.$ac_objext \
69421       conftest$ac_exeext conftest.$ac_ext
69422 fi
69423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69425 if test `eval echo '${'$as_ac_var'}'` = yes; then
69426   cat >>confdefs.h <<_ACEOF
69427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69428 _ACEOF
69429
69430 fi
69431 done
69432
69433   else
69434
69435   echo "$as_me:$LINENO: checking for _powf declaration" >&5
69436 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
69437   if test x${glibcxx_cv_func__powf_use+set} != xset; then
69438     if test "${glibcxx_cv_func__powf_use+set}" = set; then
69439   echo $ECHO_N "(cached) $ECHO_C" >&6
69440 else
69441
69442
69443
69444       ac_ext=cc
69445 ac_cpp='$CXXCPP $CPPFLAGS'
69446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69449
69450       cat >conftest.$ac_ext <<_ACEOF
69451 /* confdefs.h.  */
69452 _ACEOF
69453 cat confdefs.h >>conftest.$ac_ext
69454 cat >>conftest.$ac_ext <<_ACEOF
69455 /* end confdefs.h.  */
69456 #include <math.h>
69457 int
69458 main ()
69459 {
69460  _powf(0, 0);
69461   ;
69462   return 0;
69463 }
69464 _ACEOF
69465 rm -f conftest.$ac_objext
69466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69467   (eval $ac_compile) 2>conftest.er1
69468   ac_status=$?
69469   grep -v '^ *+' conftest.er1 >conftest.err
69470   rm -f conftest.er1
69471   cat conftest.err >&5
69472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69473   (exit $ac_status); } &&
69474          { ac_try='test -z "$ac_cxx_werror_flag"
69475                          || test ! -s conftest.err'
69476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69477   (eval $ac_try) 2>&5
69478   ac_status=$?
69479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69480   (exit $ac_status); }; } &&
69481          { ac_try='test -s conftest.$ac_objext'
69482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69483   (eval $ac_try) 2>&5
69484   ac_status=$?
69485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69486   (exit $ac_status); }; }; then
69487   glibcxx_cv_func__powf_use=yes
69488 else
69489   echo "$as_me: failed program was:" >&5
69490 sed 's/^/| /' conftest.$ac_ext >&5
69491
69492 glibcxx_cv_func__powf_use=no
69493 fi
69494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69495       ac_ext=c
69496 ac_cpp='$CPP $CPPFLAGS'
69497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69500
69501
69502 fi
69503
69504   fi
69505   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
69506 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
69507
69508     if test x$glibcxx_cv_func__powf_use = x"yes"; then
69509
69510 for ac_func in _powf
69511 do
69512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69513 echo "$as_me:$LINENO: checking for $ac_func" >&5
69514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69515 if eval "test \"\${$as_ac_var+set}\" = set"; then
69516   echo $ECHO_N "(cached) $ECHO_C" >&6
69517 else
69518   if test x$gcc_no_link = xyes; then
69519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69521    { (exit 1); exit 1; }; }
69522 fi
69523 cat >conftest.$ac_ext <<_ACEOF
69524 /* confdefs.h.  */
69525 _ACEOF
69526 cat confdefs.h >>conftest.$ac_ext
69527 cat >>conftest.$ac_ext <<_ACEOF
69528 /* end confdefs.h.  */
69529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69531 #define $ac_func innocuous_$ac_func
69532
69533 /* System header to define __stub macros and hopefully few prototypes,
69534     which can conflict with char $ac_func (); below.
69535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69536     <limits.h> exists even on freestanding compilers.  */
69537
69538 #ifdef __STDC__
69539 # include <limits.h>
69540 #else
69541 # include <assert.h>
69542 #endif
69543
69544 #undef $ac_func
69545
69546 /* Override any gcc2 internal prototype to avoid an error.  */
69547 #ifdef __cplusplus
69548 extern "C"
69549 {
69550 #endif
69551 /* We use char because int might match the return type of a gcc2
69552    builtin and then its argument prototype would still apply.  */
69553 char $ac_func ();
69554 /* The GNU C library defines this for functions which it implements
69555     to always fail with ENOSYS.  Some functions are actually named
69556     something starting with __ and the normal name is an alias.  */
69557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69558 choke me
69559 #else
69560 char (*f) () = $ac_func;
69561 #endif
69562 #ifdef __cplusplus
69563 }
69564 #endif
69565
69566 int
69567 main ()
69568 {
69569 return f != $ac_func;
69570   ;
69571   return 0;
69572 }
69573 _ACEOF
69574 rm -f conftest.$ac_objext conftest$ac_exeext
69575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69576   (eval $ac_link) 2>conftest.er1
69577   ac_status=$?
69578   grep -v '^ *+' conftest.er1 >conftest.err
69579   rm -f conftest.er1
69580   cat conftest.err >&5
69581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69582   (exit $ac_status); } &&
69583          { ac_try='test -z "$ac_c_werror_flag"
69584                          || test ! -s conftest.err'
69585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69586   (eval $ac_try) 2>&5
69587   ac_status=$?
69588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69589   (exit $ac_status); }; } &&
69590          { ac_try='test -s conftest$ac_exeext'
69591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69592   (eval $ac_try) 2>&5
69593   ac_status=$?
69594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595   (exit $ac_status); }; }; then
69596   eval "$as_ac_var=yes"
69597 else
69598   echo "$as_me: failed program was:" >&5
69599 sed 's/^/| /' conftest.$ac_ext >&5
69600
69601 eval "$as_ac_var=no"
69602 fi
69603 rm -f conftest.err conftest.$ac_objext \
69604       conftest$ac_exeext conftest.$ac_ext
69605 fi
69606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69608 if test `eval echo '${'$as_ac_var'}'` = yes; then
69609   cat >>confdefs.h <<_ACEOF
69610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69611 _ACEOF
69612
69613 fi
69614 done
69615
69616     fi
69617   fi
69618
69619
69620
69621
69622
69623
69624   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
69625 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
69626   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69627     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
69628   echo $ECHO_N "(cached) $ECHO_C" >&6
69629 else
69630
69631
69632
69633       ac_ext=cc
69634 ac_cpp='$CXXCPP $CPPFLAGS'
69635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69638
69639       cat >conftest.$ac_ext <<_ACEOF
69640 /* confdefs.h.  */
69641 _ACEOF
69642 cat confdefs.h >>conftest.$ac_ext
69643 cat >>conftest.$ac_ext <<_ACEOF
69644 /* end confdefs.h.  */
69645 #include <math.h>
69646                       #ifdef HAVE_IEEEFP_H
69647                       #include <ieeefp.h>
69648                       #endif
69649
69650 int
69651 main ()
69652 {
69653  sqrtf(0);
69654   ;
69655   return 0;
69656 }
69657 _ACEOF
69658 rm -f conftest.$ac_objext
69659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69660   (eval $ac_compile) 2>conftest.er1
69661   ac_status=$?
69662   grep -v '^ *+' conftest.er1 >conftest.err
69663   rm -f conftest.er1
69664   cat conftest.err >&5
69665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69666   (exit $ac_status); } &&
69667          { ac_try='test -z "$ac_cxx_werror_flag"
69668                          || test ! -s conftest.err'
69669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69670   (eval $ac_try) 2>&5
69671   ac_status=$?
69672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673   (exit $ac_status); }; } &&
69674          { ac_try='test -s conftest.$ac_objext'
69675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69676   (eval $ac_try) 2>&5
69677   ac_status=$?
69678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69679   (exit $ac_status); }; }; then
69680   glibcxx_cv_func_sqrtf_use=yes
69681 else
69682   echo "$as_me: failed program was:" >&5
69683 sed 's/^/| /' conftest.$ac_ext >&5
69684
69685 glibcxx_cv_func_sqrtf_use=no
69686 fi
69687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69688       ac_ext=c
69689 ac_cpp='$CPP $CPPFLAGS'
69690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69693
69694
69695 fi
69696
69697   fi
69698   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
69699 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
69700
69701   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69702
69703 for ac_func in sqrtf
69704 do
69705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69706 echo "$as_me:$LINENO: checking for $ac_func" >&5
69707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69708 if eval "test \"\${$as_ac_var+set}\" = set"; then
69709   echo $ECHO_N "(cached) $ECHO_C" >&6
69710 else
69711   if test x$gcc_no_link = xyes; then
69712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69714    { (exit 1); exit 1; }; }
69715 fi
69716 cat >conftest.$ac_ext <<_ACEOF
69717 /* confdefs.h.  */
69718 _ACEOF
69719 cat confdefs.h >>conftest.$ac_ext
69720 cat >>conftest.$ac_ext <<_ACEOF
69721 /* end confdefs.h.  */
69722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69724 #define $ac_func innocuous_$ac_func
69725
69726 /* System header to define __stub macros and hopefully few prototypes,
69727     which can conflict with char $ac_func (); below.
69728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69729     <limits.h> exists even on freestanding compilers.  */
69730
69731 #ifdef __STDC__
69732 # include <limits.h>
69733 #else
69734 # include <assert.h>
69735 #endif
69736
69737 #undef $ac_func
69738
69739 /* Override any gcc2 internal prototype to avoid an error.  */
69740 #ifdef __cplusplus
69741 extern "C"
69742 {
69743 #endif
69744 /* We use char because int might match the return type of a gcc2
69745    builtin and then its argument prototype would still apply.  */
69746 char $ac_func ();
69747 /* The GNU C library defines this for functions which it implements
69748     to always fail with ENOSYS.  Some functions are actually named
69749     something starting with __ and the normal name is an alias.  */
69750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69751 choke me
69752 #else
69753 char (*f) () = $ac_func;
69754 #endif
69755 #ifdef __cplusplus
69756 }
69757 #endif
69758
69759 int
69760 main ()
69761 {
69762 return f != $ac_func;
69763   ;
69764   return 0;
69765 }
69766 _ACEOF
69767 rm -f conftest.$ac_objext conftest$ac_exeext
69768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69769   (eval $ac_link) 2>conftest.er1
69770   ac_status=$?
69771   grep -v '^ *+' conftest.er1 >conftest.err
69772   rm -f conftest.er1
69773   cat conftest.err >&5
69774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69775   (exit $ac_status); } &&
69776          { ac_try='test -z "$ac_c_werror_flag"
69777                          || test ! -s conftest.err'
69778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69779   (eval $ac_try) 2>&5
69780   ac_status=$?
69781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69782   (exit $ac_status); }; } &&
69783          { ac_try='test -s conftest$ac_exeext'
69784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69785   (eval $ac_try) 2>&5
69786   ac_status=$?
69787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69788   (exit $ac_status); }; }; then
69789   eval "$as_ac_var=yes"
69790 else
69791   echo "$as_me: failed program was:" >&5
69792 sed 's/^/| /' conftest.$ac_ext >&5
69793
69794 eval "$as_ac_var=no"
69795 fi
69796 rm -f conftest.err conftest.$ac_objext \
69797       conftest$ac_exeext conftest.$ac_ext
69798 fi
69799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69801 if test `eval echo '${'$as_ac_var'}'` = yes; then
69802   cat >>confdefs.h <<_ACEOF
69803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69804 _ACEOF
69805
69806 fi
69807 done
69808
69809   else
69810
69811   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
69812 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
69813   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69814     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
69815   echo $ECHO_N "(cached) $ECHO_C" >&6
69816 else
69817
69818
69819
69820       ac_ext=cc
69821 ac_cpp='$CXXCPP $CPPFLAGS'
69822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69825
69826       cat >conftest.$ac_ext <<_ACEOF
69827 /* confdefs.h.  */
69828 _ACEOF
69829 cat confdefs.h >>conftest.$ac_ext
69830 cat >>conftest.$ac_ext <<_ACEOF
69831 /* end confdefs.h.  */
69832 #include <math.h>
69833                       #ifdef HAVE_IEEEFP_H
69834                       #include <ieeefp.h>
69835                       #endif
69836
69837 int
69838 main ()
69839 {
69840  _sqrtf(0);
69841   ;
69842   return 0;
69843 }
69844 _ACEOF
69845 rm -f conftest.$ac_objext
69846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69847   (eval $ac_compile) 2>conftest.er1
69848   ac_status=$?
69849   grep -v '^ *+' conftest.er1 >conftest.err
69850   rm -f conftest.er1
69851   cat conftest.err >&5
69852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69853   (exit $ac_status); } &&
69854          { ac_try='test -z "$ac_cxx_werror_flag"
69855                          || test ! -s conftest.err'
69856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69857   (eval $ac_try) 2>&5
69858   ac_status=$?
69859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860   (exit $ac_status); }; } &&
69861          { ac_try='test -s conftest.$ac_objext'
69862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69863   (eval $ac_try) 2>&5
69864   ac_status=$?
69865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69866   (exit $ac_status); }; }; then
69867   glibcxx_cv_func__sqrtf_use=yes
69868 else
69869   echo "$as_me: failed program was:" >&5
69870 sed 's/^/| /' conftest.$ac_ext >&5
69871
69872 glibcxx_cv_func__sqrtf_use=no
69873 fi
69874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69875       ac_ext=c
69876 ac_cpp='$CPP $CPPFLAGS'
69877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69880
69881
69882 fi
69883
69884   fi
69885   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
69886 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
69887
69888     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69889
69890 for ac_func in _sqrtf
69891 do
69892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69893 echo "$as_me:$LINENO: checking for $ac_func" >&5
69894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69895 if eval "test \"\${$as_ac_var+set}\" = set"; then
69896   echo $ECHO_N "(cached) $ECHO_C" >&6
69897 else
69898   if test x$gcc_no_link = xyes; then
69899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69901    { (exit 1); exit 1; }; }
69902 fi
69903 cat >conftest.$ac_ext <<_ACEOF
69904 /* confdefs.h.  */
69905 _ACEOF
69906 cat confdefs.h >>conftest.$ac_ext
69907 cat >>conftest.$ac_ext <<_ACEOF
69908 /* end confdefs.h.  */
69909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69911 #define $ac_func innocuous_$ac_func
69912
69913 /* System header to define __stub macros and hopefully few prototypes,
69914     which can conflict with char $ac_func (); below.
69915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69916     <limits.h> exists even on freestanding compilers.  */
69917
69918 #ifdef __STDC__
69919 # include <limits.h>
69920 #else
69921 # include <assert.h>
69922 #endif
69923
69924 #undef $ac_func
69925
69926 /* Override any gcc2 internal prototype to avoid an error.  */
69927 #ifdef __cplusplus
69928 extern "C"
69929 {
69930 #endif
69931 /* We use char because int might match the return type of a gcc2
69932    builtin and then its argument prototype would still apply.  */
69933 char $ac_func ();
69934 /* The GNU C library defines this for functions which it implements
69935     to always fail with ENOSYS.  Some functions are actually named
69936     something starting with __ and the normal name is an alias.  */
69937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69938 choke me
69939 #else
69940 char (*f) () = $ac_func;
69941 #endif
69942 #ifdef __cplusplus
69943 }
69944 #endif
69945
69946 int
69947 main ()
69948 {
69949 return f != $ac_func;
69950   ;
69951   return 0;
69952 }
69953 _ACEOF
69954 rm -f conftest.$ac_objext conftest$ac_exeext
69955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69956   (eval $ac_link) 2>conftest.er1
69957   ac_status=$?
69958   grep -v '^ *+' conftest.er1 >conftest.err
69959   rm -f conftest.er1
69960   cat conftest.err >&5
69961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69962   (exit $ac_status); } &&
69963          { ac_try='test -z "$ac_c_werror_flag"
69964                          || test ! -s conftest.err'
69965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69966   (eval $ac_try) 2>&5
69967   ac_status=$?
69968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69969   (exit $ac_status); }; } &&
69970          { ac_try='test -s conftest$ac_exeext'
69971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69972   (eval $ac_try) 2>&5
69973   ac_status=$?
69974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69975   (exit $ac_status); }; }; then
69976   eval "$as_ac_var=yes"
69977 else
69978   echo "$as_me: failed program was:" >&5
69979 sed 's/^/| /' conftest.$ac_ext >&5
69980
69981 eval "$as_ac_var=no"
69982 fi
69983 rm -f conftest.err conftest.$ac_objext \
69984       conftest$ac_exeext conftest.$ac_ext
69985 fi
69986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69988 if test `eval echo '${'$as_ac_var'}'` = yes; then
69989   cat >>confdefs.h <<_ACEOF
69990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69991 _ACEOF
69992
69993 fi
69994 done
69995
69996     fi
69997   fi
69998
69999
70000
70001
70002
70003
70004   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
70005 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
70006   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70007     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
70008   echo $ECHO_N "(cached) $ECHO_C" >&6
70009 else
70010
70011
70012
70013       ac_ext=cc
70014 ac_cpp='$CXXCPP $CPPFLAGS'
70015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70018
70019       cat >conftest.$ac_ext <<_ACEOF
70020 /* confdefs.h.  */
70021 _ACEOF
70022 cat confdefs.h >>conftest.$ac_ext
70023 cat >>conftest.$ac_ext <<_ACEOF
70024 /* end confdefs.h.  */
70025 #include <math.h>
70026 int
70027 main ()
70028 {
70029  sincosf(0, 0, 0);
70030   ;
70031   return 0;
70032 }
70033 _ACEOF
70034 rm -f conftest.$ac_objext
70035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70036   (eval $ac_compile) 2>conftest.er1
70037   ac_status=$?
70038   grep -v '^ *+' conftest.er1 >conftest.err
70039   rm -f conftest.er1
70040   cat conftest.err >&5
70041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70042   (exit $ac_status); } &&
70043          { ac_try='test -z "$ac_cxx_werror_flag"
70044                          || test ! -s conftest.err'
70045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70046   (eval $ac_try) 2>&5
70047   ac_status=$?
70048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70049   (exit $ac_status); }; } &&
70050          { ac_try='test -s conftest.$ac_objext'
70051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70052   (eval $ac_try) 2>&5
70053   ac_status=$?
70054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70055   (exit $ac_status); }; }; then
70056   glibcxx_cv_func_sincosf_use=yes
70057 else
70058   echo "$as_me: failed program was:" >&5
70059 sed 's/^/| /' conftest.$ac_ext >&5
70060
70061 glibcxx_cv_func_sincosf_use=no
70062 fi
70063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70064       ac_ext=c
70065 ac_cpp='$CPP $CPPFLAGS'
70066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70069
70070
70071 fi
70072
70073   fi
70074   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
70075 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
70076
70077   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70078
70079 for ac_func in sincosf
70080 do
70081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70082 echo "$as_me:$LINENO: checking for $ac_func" >&5
70083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70084 if eval "test \"\${$as_ac_var+set}\" = set"; then
70085   echo $ECHO_N "(cached) $ECHO_C" >&6
70086 else
70087   if test x$gcc_no_link = xyes; then
70088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70090    { (exit 1); exit 1; }; }
70091 fi
70092 cat >conftest.$ac_ext <<_ACEOF
70093 /* confdefs.h.  */
70094 _ACEOF
70095 cat confdefs.h >>conftest.$ac_ext
70096 cat >>conftest.$ac_ext <<_ACEOF
70097 /* end confdefs.h.  */
70098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70100 #define $ac_func innocuous_$ac_func
70101
70102 /* System header to define __stub macros and hopefully few prototypes,
70103     which can conflict with char $ac_func (); below.
70104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70105     <limits.h> exists even on freestanding compilers.  */
70106
70107 #ifdef __STDC__
70108 # include <limits.h>
70109 #else
70110 # include <assert.h>
70111 #endif
70112
70113 #undef $ac_func
70114
70115 /* Override any gcc2 internal prototype to avoid an error.  */
70116 #ifdef __cplusplus
70117 extern "C"
70118 {
70119 #endif
70120 /* We use char because int might match the return type of a gcc2
70121    builtin and then its argument prototype would still apply.  */
70122 char $ac_func ();
70123 /* The GNU C library defines this for functions which it implements
70124     to always fail with ENOSYS.  Some functions are actually named
70125     something starting with __ and the normal name is an alias.  */
70126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70127 choke me
70128 #else
70129 char (*f) () = $ac_func;
70130 #endif
70131 #ifdef __cplusplus
70132 }
70133 #endif
70134
70135 int
70136 main ()
70137 {
70138 return f != $ac_func;
70139   ;
70140   return 0;
70141 }
70142 _ACEOF
70143 rm -f conftest.$ac_objext conftest$ac_exeext
70144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70145   (eval $ac_link) 2>conftest.er1
70146   ac_status=$?
70147   grep -v '^ *+' conftest.er1 >conftest.err
70148   rm -f conftest.er1
70149   cat conftest.err >&5
70150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70151   (exit $ac_status); } &&
70152          { ac_try='test -z "$ac_c_werror_flag"
70153                          || test ! -s conftest.err'
70154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70155   (eval $ac_try) 2>&5
70156   ac_status=$?
70157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70158   (exit $ac_status); }; } &&
70159          { ac_try='test -s conftest$ac_exeext'
70160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70161   (eval $ac_try) 2>&5
70162   ac_status=$?
70163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70164   (exit $ac_status); }; }; then
70165   eval "$as_ac_var=yes"
70166 else
70167   echo "$as_me: failed program was:" >&5
70168 sed 's/^/| /' conftest.$ac_ext >&5
70169
70170 eval "$as_ac_var=no"
70171 fi
70172 rm -f conftest.err conftest.$ac_objext \
70173       conftest$ac_exeext conftest.$ac_ext
70174 fi
70175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70177 if test `eval echo '${'$as_ac_var'}'` = yes; then
70178   cat >>confdefs.h <<_ACEOF
70179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70180 _ACEOF
70181
70182 fi
70183 done
70184
70185   else
70186
70187   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
70188 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
70189   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70190     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
70191   echo $ECHO_N "(cached) $ECHO_C" >&6
70192 else
70193
70194
70195
70196       ac_ext=cc
70197 ac_cpp='$CXXCPP $CPPFLAGS'
70198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70201
70202       cat >conftest.$ac_ext <<_ACEOF
70203 /* confdefs.h.  */
70204 _ACEOF
70205 cat confdefs.h >>conftest.$ac_ext
70206 cat >>conftest.$ac_ext <<_ACEOF
70207 /* end confdefs.h.  */
70208 #include <math.h>
70209 int
70210 main ()
70211 {
70212  _sincosf(0, 0, 0);
70213   ;
70214   return 0;
70215 }
70216 _ACEOF
70217 rm -f conftest.$ac_objext
70218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70219   (eval $ac_compile) 2>conftest.er1
70220   ac_status=$?
70221   grep -v '^ *+' conftest.er1 >conftest.err
70222   rm -f conftest.er1
70223   cat conftest.err >&5
70224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70225   (exit $ac_status); } &&
70226          { ac_try='test -z "$ac_cxx_werror_flag"
70227                          || test ! -s conftest.err'
70228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70229   (eval $ac_try) 2>&5
70230   ac_status=$?
70231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70232   (exit $ac_status); }; } &&
70233          { ac_try='test -s conftest.$ac_objext'
70234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70235   (eval $ac_try) 2>&5
70236   ac_status=$?
70237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70238   (exit $ac_status); }; }; then
70239   glibcxx_cv_func__sincosf_use=yes
70240 else
70241   echo "$as_me: failed program was:" >&5
70242 sed 's/^/| /' conftest.$ac_ext >&5
70243
70244 glibcxx_cv_func__sincosf_use=no
70245 fi
70246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70247       ac_ext=c
70248 ac_cpp='$CPP $CPPFLAGS'
70249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70252
70253
70254 fi
70255
70256   fi
70257   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
70258 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
70259
70260     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70261
70262 for ac_func in _sincosf
70263 do
70264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70265 echo "$as_me:$LINENO: checking for $ac_func" >&5
70266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70267 if eval "test \"\${$as_ac_var+set}\" = set"; then
70268   echo $ECHO_N "(cached) $ECHO_C" >&6
70269 else
70270   if test x$gcc_no_link = xyes; then
70271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70273    { (exit 1); exit 1; }; }
70274 fi
70275 cat >conftest.$ac_ext <<_ACEOF
70276 /* confdefs.h.  */
70277 _ACEOF
70278 cat confdefs.h >>conftest.$ac_ext
70279 cat >>conftest.$ac_ext <<_ACEOF
70280 /* end confdefs.h.  */
70281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70283 #define $ac_func innocuous_$ac_func
70284
70285 /* System header to define __stub macros and hopefully few prototypes,
70286     which can conflict with char $ac_func (); below.
70287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70288     <limits.h> exists even on freestanding compilers.  */
70289
70290 #ifdef __STDC__
70291 # include <limits.h>
70292 #else
70293 # include <assert.h>
70294 #endif
70295
70296 #undef $ac_func
70297
70298 /* Override any gcc2 internal prototype to avoid an error.  */
70299 #ifdef __cplusplus
70300 extern "C"
70301 {
70302 #endif
70303 /* We use char because int might match the return type of a gcc2
70304    builtin and then its argument prototype would still apply.  */
70305 char $ac_func ();
70306 /* The GNU C library defines this for functions which it implements
70307     to always fail with ENOSYS.  Some functions are actually named
70308     something starting with __ and the normal name is an alias.  */
70309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70310 choke me
70311 #else
70312 char (*f) () = $ac_func;
70313 #endif
70314 #ifdef __cplusplus
70315 }
70316 #endif
70317
70318 int
70319 main ()
70320 {
70321 return f != $ac_func;
70322   ;
70323   return 0;
70324 }
70325 _ACEOF
70326 rm -f conftest.$ac_objext conftest$ac_exeext
70327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70328   (eval $ac_link) 2>conftest.er1
70329   ac_status=$?
70330   grep -v '^ *+' conftest.er1 >conftest.err
70331   rm -f conftest.er1
70332   cat conftest.err >&5
70333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70334   (exit $ac_status); } &&
70335          { ac_try='test -z "$ac_c_werror_flag"
70336                          || test ! -s conftest.err'
70337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70338   (eval $ac_try) 2>&5
70339   ac_status=$?
70340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70341   (exit $ac_status); }; } &&
70342          { ac_try='test -s conftest$ac_exeext'
70343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70344   (eval $ac_try) 2>&5
70345   ac_status=$?
70346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70347   (exit $ac_status); }; }; then
70348   eval "$as_ac_var=yes"
70349 else
70350   echo "$as_me: failed program was:" >&5
70351 sed 's/^/| /' conftest.$ac_ext >&5
70352
70353 eval "$as_ac_var=no"
70354 fi
70355 rm -f conftest.err conftest.$ac_objext \
70356       conftest$ac_exeext conftest.$ac_ext
70357 fi
70358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70360 if test `eval echo '${'$as_ac_var'}'` = yes; then
70361   cat >>confdefs.h <<_ACEOF
70362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70363 _ACEOF
70364
70365 fi
70366 done
70367
70368     fi
70369   fi
70370
70371
70372
70373
70374
70375
70376   echo "$as_me:$LINENO: checking for finitef declaration" >&5
70377 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
70378   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70379     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
70380   echo $ECHO_N "(cached) $ECHO_C" >&6
70381 else
70382
70383
70384
70385       ac_ext=cc
70386 ac_cpp='$CXXCPP $CPPFLAGS'
70387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70390
70391       cat >conftest.$ac_ext <<_ACEOF
70392 /* confdefs.h.  */
70393 _ACEOF
70394 cat confdefs.h >>conftest.$ac_ext
70395 cat >>conftest.$ac_ext <<_ACEOF
70396 /* end confdefs.h.  */
70397 #include <math.h>
70398                       #ifdef HAVE_IEEEFP_H
70399                       #include <ieeefp.h>
70400                       #endif
70401
70402 int
70403 main ()
70404 {
70405  finitef(0);
70406   ;
70407   return 0;
70408 }
70409 _ACEOF
70410 rm -f conftest.$ac_objext
70411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70412   (eval $ac_compile) 2>conftest.er1
70413   ac_status=$?
70414   grep -v '^ *+' conftest.er1 >conftest.err
70415   rm -f conftest.er1
70416   cat conftest.err >&5
70417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70418   (exit $ac_status); } &&
70419          { ac_try='test -z "$ac_cxx_werror_flag"
70420                          || test ! -s conftest.err'
70421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70422   (eval $ac_try) 2>&5
70423   ac_status=$?
70424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70425   (exit $ac_status); }; } &&
70426          { ac_try='test -s conftest.$ac_objext'
70427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70428   (eval $ac_try) 2>&5
70429   ac_status=$?
70430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70431   (exit $ac_status); }; }; then
70432   glibcxx_cv_func_finitef_use=yes
70433 else
70434   echo "$as_me: failed program was:" >&5
70435 sed 's/^/| /' conftest.$ac_ext >&5
70436
70437 glibcxx_cv_func_finitef_use=no
70438 fi
70439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70440       ac_ext=c
70441 ac_cpp='$CPP $CPPFLAGS'
70442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70445
70446
70447 fi
70448
70449   fi
70450   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
70451 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
70452
70453   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70454
70455 for ac_func in finitef
70456 do
70457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70458 echo "$as_me:$LINENO: checking for $ac_func" >&5
70459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70460 if eval "test \"\${$as_ac_var+set}\" = set"; then
70461   echo $ECHO_N "(cached) $ECHO_C" >&6
70462 else
70463   if test x$gcc_no_link = xyes; then
70464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70466    { (exit 1); exit 1; }; }
70467 fi
70468 cat >conftest.$ac_ext <<_ACEOF
70469 /* confdefs.h.  */
70470 _ACEOF
70471 cat confdefs.h >>conftest.$ac_ext
70472 cat >>conftest.$ac_ext <<_ACEOF
70473 /* end confdefs.h.  */
70474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70476 #define $ac_func innocuous_$ac_func
70477
70478 /* System header to define __stub macros and hopefully few prototypes,
70479     which can conflict with char $ac_func (); below.
70480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70481     <limits.h> exists even on freestanding compilers.  */
70482
70483 #ifdef __STDC__
70484 # include <limits.h>
70485 #else
70486 # include <assert.h>
70487 #endif
70488
70489 #undef $ac_func
70490
70491 /* Override any gcc2 internal prototype to avoid an error.  */
70492 #ifdef __cplusplus
70493 extern "C"
70494 {
70495 #endif
70496 /* We use char because int might match the return type of a gcc2
70497    builtin and then its argument prototype would still apply.  */
70498 char $ac_func ();
70499 /* The GNU C library defines this for functions which it implements
70500     to always fail with ENOSYS.  Some functions are actually named
70501     something starting with __ and the normal name is an alias.  */
70502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70503 choke me
70504 #else
70505 char (*f) () = $ac_func;
70506 #endif
70507 #ifdef __cplusplus
70508 }
70509 #endif
70510
70511 int
70512 main ()
70513 {
70514 return f != $ac_func;
70515   ;
70516   return 0;
70517 }
70518 _ACEOF
70519 rm -f conftest.$ac_objext conftest$ac_exeext
70520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70521   (eval $ac_link) 2>conftest.er1
70522   ac_status=$?
70523   grep -v '^ *+' conftest.er1 >conftest.err
70524   rm -f conftest.er1
70525   cat conftest.err >&5
70526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70527   (exit $ac_status); } &&
70528          { ac_try='test -z "$ac_c_werror_flag"
70529                          || test ! -s conftest.err'
70530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70531   (eval $ac_try) 2>&5
70532   ac_status=$?
70533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70534   (exit $ac_status); }; } &&
70535          { ac_try='test -s conftest$ac_exeext'
70536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70537   (eval $ac_try) 2>&5
70538   ac_status=$?
70539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70540   (exit $ac_status); }; }; then
70541   eval "$as_ac_var=yes"
70542 else
70543   echo "$as_me: failed program was:" >&5
70544 sed 's/^/| /' conftest.$ac_ext >&5
70545
70546 eval "$as_ac_var=no"
70547 fi
70548 rm -f conftest.err conftest.$ac_objext \
70549       conftest$ac_exeext conftest.$ac_ext
70550 fi
70551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70553 if test `eval echo '${'$as_ac_var'}'` = yes; then
70554   cat >>confdefs.h <<_ACEOF
70555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70556 _ACEOF
70557
70558 fi
70559 done
70560
70561   else
70562
70563   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
70564 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
70565   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70566     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
70567   echo $ECHO_N "(cached) $ECHO_C" >&6
70568 else
70569
70570
70571
70572       ac_ext=cc
70573 ac_cpp='$CXXCPP $CPPFLAGS'
70574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70577
70578       cat >conftest.$ac_ext <<_ACEOF
70579 /* confdefs.h.  */
70580 _ACEOF
70581 cat confdefs.h >>conftest.$ac_ext
70582 cat >>conftest.$ac_ext <<_ACEOF
70583 /* end confdefs.h.  */
70584 #include <math.h>
70585                       #ifdef HAVE_IEEEFP_H
70586                       #include <ieeefp.h>
70587                       #endif
70588
70589 int
70590 main ()
70591 {
70592  _finitef(0);
70593   ;
70594   return 0;
70595 }
70596 _ACEOF
70597 rm -f conftest.$ac_objext
70598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70599   (eval $ac_compile) 2>conftest.er1
70600   ac_status=$?
70601   grep -v '^ *+' conftest.er1 >conftest.err
70602   rm -f conftest.er1
70603   cat conftest.err >&5
70604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70605   (exit $ac_status); } &&
70606          { ac_try='test -z "$ac_cxx_werror_flag"
70607                          || test ! -s conftest.err'
70608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70609   (eval $ac_try) 2>&5
70610   ac_status=$?
70611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70612   (exit $ac_status); }; } &&
70613          { ac_try='test -s conftest.$ac_objext'
70614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70615   (eval $ac_try) 2>&5
70616   ac_status=$?
70617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70618   (exit $ac_status); }; }; then
70619   glibcxx_cv_func__finitef_use=yes
70620 else
70621   echo "$as_me: failed program was:" >&5
70622 sed 's/^/| /' conftest.$ac_ext >&5
70623
70624 glibcxx_cv_func__finitef_use=no
70625 fi
70626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70627       ac_ext=c
70628 ac_cpp='$CPP $CPPFLAGS'
70629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70632
70633
70634 fi
70635
70636   fi
70637   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
70638 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
70639
70640     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70641
70642 for ac_func in _finitef
70643 do
70644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70645 echo "$as_me:$LINENO: checking for $ac_func" >&5
70646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70647 if eval "test \"\${$as_ac_var+set}\" = set"; then
70648   echo $ECHO_N "(cached) $ECHO_C" >&6
70649 else
70650   if test x$gcc_no_link = xyes; then
70651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70653    { (exit 1); exit 1; }; }
70654 fi
70655 cat >conftest.$ac_ext <<_ACEOF
70656 /* confdefs.h.  */
70657 _ACEOF
70658 cat confdefs.h >>conftest.$ac_ext
70659 cat >>conftest.$ac_ext <<_ACEOF
70660 /* end confdefs.h.  */
70661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70662    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70663 #define $ac_func innocuous_$ac_func
70664
70665 /* System header to define __stub macros and hopefully few prototypes,
70666     which can conflict with char $ac_func (); below.
70667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70668     <limits.h> exists even on freestanding compilers.  */
70669
70670 #ifdef __STDC__
70671 # include <limits.h>
70672 #else
70673 # include <assert.h>
70674 #endif
70675
70676 #undef $ac_func
70677
70678 /* Override any gcc2 internal prototype to avoid an error.  */
70679 #ifdef __cplusplus
70680 extern "C"
70681 {
70682 #endif
70683 /* We use char because int might match the return type of a gcc2
70684    builtin and then its argument prototype would still apply.  */
70685 char $ac_func ();
70686 /* The GNU C library defines this for functions which it implements
70687     to always fail with ENOSYS.  Some functions are actually named
70688     something starting with __ and the normal name is an alias.  */
70689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70690 choke me
70691 #else
70692 char (*f) () = $ac_func;
70693 #endif
70694 #ifdef __cplusplus
70695 }
70696 #endif
70697
70698 int
70699 main ()
70700 {
70701 return f != $ac_func;
70702   ;
70703   return 0;
70704 }
70705 _ACEOF
70706 rm -f conftest.$ac_objext conftest$ac_exeext
70707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70708   (eval $ac_link) 2>conftest.er1
70709   ac_status=$?
70710   grep -v '^ *+' conftest.er1 >conftest.err
70711   rm -f conftest.er1
70712   cat conftest.err >&5
70713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70714   (exit $ac_status); } &&
70715          { ac_try='test -z "$ac_c_werror_flag"
70716                          || test ! -s conftest.err'
70717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70718   (eval $ac_try) 2>&5
70719   ac_status=$?
70720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70721   (exit $ac_status); }; } &&
70722          { ac_try='test -s conftest$ac_exeext'
70723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70724   (eval $ac_try) 2>&5
70725   ac_status=$?
70726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70727   (exit $ac_status); }; }; then
70728   eval "$as_ac_var=yes"
70729 else
70730   echo "$as_me: failed program was:" >&5
70731 sed 's/^/| /' conftest.$ac_ext >&5
70732
70733 eval "$as_ac_var=no"
70734 fi
70735 rm -f conftest.err conftest.$ac_objext \
70736       conftest$ac_exeext conftest.$ac_ext
70737 fi
70738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70740 if test `eval echo '${'$as_ac_var'}'` = yes; then
70741   cat >>confdefs.h <<_ACEOF
70742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70743 _ACEOF
70744
70745 fi
70746 done
70747
70748     fi
70749   fi
70750
70751
70752
70753
70754
70755
70756     echo "$as_me:$LINENO: checking for long double trig functions" >&5
70757 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
70758   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
70759   echo $ECHO_N "(cached) $ECHO_C" >&6
70760 else
70761
70762
70763
70764     ac_ext=cc
70765 ac_cpp='$CXXCPP $CPPFLAGS'
70766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70769
70770     cat >conftest.$ac_ext <<_ACEOF
70771 /* confdefs.h.  */
70772 _ACEOF
70773 cat confdefs.h >>conftest.$ac_ext
70774 cat >>conftest.$ac_ext <<_ACEOF
70775 /* end confdefs.h.  */
70776 #include <math.h>
70777 int
70778 main ()
70779 {
70780 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70781   ;
70782   return 0;
70783 }
70784 _ACEOF
70785 rm -f conftest.$ac_objext
70786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70787   (eval $ac_compile) 2>conftest.er1
70788   ac_status=$?
70789   grep -v '^ *+' conftest.er1 >conftest.err
70790   rm -f conftest.er1
70791   cat conftest.err >&5
70792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70793   (exit $ac_status); } &&
70794          { ac_try='test -z "$ac_cxx_werror_flag"
70795                          || test ! -s conftest.err'
70796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70797   (eval $ac_try) 2>&5
70798   ac_status=$?
70799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70800   (exit $ac_status); }; } &&
70801          { ac_try='test -s conftest.$ac_objext'
70802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70803   (eval $ac_try) 2>&5
70804   ac_status=$?
70805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70806   (exit $ac_status); }; }; then
70807   glibcxx_cv_func_long_double_trig_use=yes
70808 else
70809   echo "$as_me: failed program was:" >&5
70810 sed 's/^/| /' conftest.$ac_ext >&5
70811
70812 glibcxx_cv_func_long_double_trig_use=no
70813 fi
70814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70815     ac_ext=c
70816 ac_cpp='$CPP $CPPFLAGS'
70817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70820
70821 fi
70822
70823   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
70824 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
70825   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70826
70827
70828
70829
70830
70831
70832
70833
70834
70835 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70836 do
70837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70838 echo "$as_me:$LINENO: checking for $ac_func" >&5
70839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70840 if eval "test \"\${$as_ac_var+set}\" = set"; then
70841   echo $ECHO_N "(cached) $ECHO_C" >&6
70842 else
70843   if test x$gcc_no_link = xyes; then
70844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70846    { (exit 1); exit 1; }; }
70847 fi
70848 cat >conftest.$ac_ext <<_ACEOF
70849 /* confdefs.h.  */
70850 _ACEOF
70851 cat confdefs.h >>conftest.$ac_ext
70852 cat >>conftest.$ac_ext <<_ACEOF
70853 /* end confdefs.h.  */
70854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70856 #define $ac_func innocuous_$ac_func
70857
70858 /* System header to define __stub macros and hopefully few prototypes,
70859     which can conflict with char $ac_func (); below.
70860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70861     <limits.h> exists even on freestanding compilers.  */
70862
70863 #ifdef __STDC__
70864 # include <limits.h>
70865 #else
70866 # include <assert.h>
70867 #endif
70868
70869 #undef $ac_func
70870
70871 /* Override any gcc2 internal prototype to avoid an error.  */
70872 #ifdef __cplusplus
70873 extern "C"
70874 {
70875 #endif
70876 /* We use char because int might match the return type of a gcc2
70877    builtin and then its argument prototype would still apply.  */
70878 char $ac_func ();
70879 /* The GNU C library defines this for functions which it implements
70880     to always fail with ENOSYS.  Some functions are actually named
70881     something starting with __ and the normal name is an alias.  */
70882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70883 choke me
70884 #else
70885 char (*f) () = $ac_func;
70886 #endif
70887 #ifdef __cplusplus
70888 }
70889 #endif
70890
70891 int
70892 main ()
70893 {
70894 return f != $ac_func;
70895   ;
70896   return 0;
70897 }
70898 _ACEOF
70899 rm -f conftest.$ac_objext conftest$ac_exeext
70900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70901   (eval $ac_link) 2>conftest.er1
70902   ac_status=$?
70903   grep -v '^ *+' conftest.er1 >conftest.err
70904   rm -f conftest.er1
70905   cat conftest.err >&5
70906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907   (exit $ac_status); } &&
70908          { ac_try='test -z "$ac_c_werror_flag"
70909                          || test ! -s conftest.err'
70910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70911   (eval $ac_try) 2>&5
70912   ac_status=$?
70913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914   (exit $ac_status); }; } &&
70915          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
70921   eval "$as_ac_var=yes"
70922 else
70923   echo "$as_me: failed program was:" >&5
70924 sed 's/^/| /' conftest.$ac_ext >&5
70925
70926 eval "$as_ac_var=no"
70927 fi
70928 rm -f conftest.err conftest.$ac_objext \
70929       conftest$ac_exeext conftest.$ac_ext
70930 fi
70931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70933 if test `eval echo '${'$as_ac_var'}'` = yes; then
70934   cat >>confdefs.h <<_ACEOF
70935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70936 _ACEOF
70937
70938 fi
70939 done
70940
70941   else
70942     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70943 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70944     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70945   echo $ECHO_N "(cached) $ECHO_C" >&6
70946 else
70947
70948
70949
70950       ac_ext=cc
70951 ac_cpp='$CXXCPP $CPPFLAGS'
70952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70955
70956       cat >conftest.$ac_ext <<_ACEOF
70957 /* confdefs.h.  */
70958 _ACEOF
70959 cat confdefs.h >>conftest.$ac_ext
70960 cat >>conftest.$ac_ext <<_ACEOF
70961 /* end confdefs.h.  */
70962 #include <math.h>
70963 int
70964 main ()
70965 {
70966 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70967   ;
70968   return 0;
70969 }
70970 _ACEOF
70971 rm -f conftest.$ac_objext
70972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70973   (eval $ac_compile) 2>conftest.er1
70974   ac_status=$?
70975   grep -v '^ *+' conftest.er1 >conftest.err
70976   rm -f conftest.er1
70977   cat conftest.err >&5
70978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70979   (exit $ac_status); } &&
70980          { ac_try='test -z "$ac_cxx_werror_flag"
70981                          || test ! -s conftest.err'
70982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70983   (eval $ac_try) 2>&5
70984   ac_status=$?
70985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70986   (exit $ac_status); }; } &&
70987          { ac_try='test -s conftest.$ac_objext'
70988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70989   (eval $ac_try) 2>&5
70990   ac_status=$?
70991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70992   (exit $ac_status); }; }; then
70993   glibcxx_cv_func__long_double_trig_use=yes
70994 else
70995   echo "$as_me: failed program was:" >&5
70996 sed 's/^/| /' conftest.$ac_ext >&5
70997
70998 glibcxx_cv_func__long_double_trig_use=no
70999 fi
71000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71001       ac_ext=c
71002 ac_cpp='$CPP $CPPFLAGS'
71003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71006
71007 fi
71008
71009     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
71010 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
71011     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
71012
71013
71014
71015
71016
71017
71018
71019
71020
71021 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
71022 do
71023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71024 echo "$as_me:$LINENO: checking for $ac_func" >&5
71025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71026 if eval "test \"\${$as_ac_var+set}\" = set"; then
71027   echo $ECHO_N "(cached) $ECHO_C" >&6
71028 else
71029   if test x$gcc_no_link = xyes; then
71030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71032    { (exit 1); exit 1; }; }
71033 fi
71034 cat >conftest.$ac_ext <<_ACEOF
71035 /* confdefs.h.  */
71036 _ACEOF
71037 cat confdefs.h >>conftest.$ac_ext
71038 cat >>conftest.$ac_ext <<_ACEOF
71039 /* end confdefs.h.  */
71040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71042 #define $ac_func innocuous_$ac_func
71043
71044 /* System header to define __stub macros and hopefully few prototypes,
71045     which can conflict with char $ac_func (); below.
71046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71047     <limits.h> exists even on freestanding compilers.  */
71048
71049 #ifdef __STDC__
71050 # include <limits.h>
71051 #else
71052 # include <assert.h>
71053 #endif
71054
71055 #undef $ac_func
71056
71057 /* Override any gcc2 internal prototype to avoid an error.  */
71058 #ifdef __cplusplus
71059 extern "C"
71060 {
71061 #endif
71062 /* We use char because int might match the return type of a gcc2
71063    builtin and then its argument prototype would still apply.  */
71064 char $ac_func ();
71065 /* The GNU C library defines this for functions which it implements
71066     to always fail with ENOSYS.  Some functions are actually named
71067     something starting with __ and the normal name is an alias.  */
71068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71069 choke me
71070 #else
71071 char (*f) () = $ac_func;
71072 #endif
71073 #ifdef __cplusplus
71074 }
71075 #endif
71076
71077 int
71078 main ()
71079 {
71080 return f != $ac_func;
71081   ;
71082   return 0;
71083 }
71084 _ACEOF
71085 rm -f conftest.$ac_objext conftest$ac_exeext
71086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71087   (eval $ac_link) 2>conftest.er1
71088   ac_status=$?
71089   grep -v '^ *+' conftest.er1 >conftest.err
71090   rm -f conftest.er1
71091   cat conftest.err >&5
71092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71093   (exit $ac_status); } &&
71094          { ac_try='test -z "$ac_c_werror_flag"
71095                          || test ! -s conftest.err'
71096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71097   (eval $ac_try) 2>&5
71098   ac_status=$?
71099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100   (exit $ac_status); }; } &&
71101          { ac_try='test -s conftest$ac_exeext'
71102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103   (eval $ac_try) 2>&5
71104   ac_status=$?
71105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106   (exit $ac_status); }; }; then
71107   eval "$as_ac_var=yes"
71108 else
71109   echo "$as_me: failed program was:" >&5
71110 sed 's/^/| /' conftest.$ac_ext >&5
71111
71112 eval "$as_ac_var=no"
71113 fi
71114 rm -f conftest.err conftest.$ac_objext \
71115       conftest$ac_exeext conftest.$ac_ext
71116 fi
71117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71119 if test `eval echo '${'$as_ac_var'}'` = yes; then
71120   cat >>confdefs.h <<_ACEOF
71121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71122 _ACEOF
71123
71124 fi
71125 done
71126
71127     fi
71128   fi
71129
71130
71131
71132
71133
71134
71135
71136
71137
71138
71139
71140
71141
71142
71143     echo "$as_me:$LINENO: checking for long double round functions" >&5
71144 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
71145   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
71146   echo $ECHO_N "(cached) $ECHO_C" >&6
71147 else
71148
71149
71150
71151     ac_ext=cc
71152 ac_cpp='$CXXCPP $CPPFLAGS'
71153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71156
71157     cat >conftest.$ac_ext <<_ACEOF
71158 /* confdefs.h.  */
71159 _ACEOF
71160 cat confdefs.h >>conftest.$ac_ext
71161 cat >>conftest.$ac_ext <<_ACEOF
71162 /* end confdefs.h.  */
71163 #include <math.h>
71164 int
71165 main ()
71166 {
71167 ceill (0); floorl (0);
71168   ;
71169   return 0;
71170 }
71171 _ACEOF
71172 rm -f conftest.$ac_objext
71173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71174   (eval $ac_compile) 2>conftest.er1
71175   ac_status=$?
71176   grep -v '^ *+' conftest.er1 >conftest.err
71177   rm -f conftest.er1
71178   cat conftest.err >&5
71179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180   (exit $ac_status); } &&
71181          { ac_try='test -z "$ac_cxx_werror_flag"
71182                          || test ! -s conftest.err'
71183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71184   (eval $ac_try) 2>&5
71185   ac_status=$?
71186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71187   (exit $ac_status); }; } &&
71188          { ac_try='test -s conftest.$ac_objext'
71189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71190   (eval $ac_try) 2>&5
71191   ac_status=$?
71192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71193   (exit $ac_status); }; }; then
71194   glibcxx_cv_func_long_double_round_use=yes
71195 else
71196   echo "$as_me: failed program was:" >&5
71197 sed 's/^/| /' conftest.$ac_ext >&5
71198
71199 glibcxx_cv_func_long_double_round_use=no
71200 fi
71201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71202     ac_ext=c
71203 ac_cpp='$CPP $CPPFLAGS'
71204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71207
71208 fi
71209
71210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
71211 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
71212   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
71213
71214
71215 for ac_func in ceill floorl
71216 do
71217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71218 echo "$as_me:$LINENO: checking for $ac_func" >&5
71219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71220 if eval "test \"\${$as_ac_var+set}\" = set"; then
71221   echo $ECHO_N "(cached) $ECHO_C" >&6
71222 else
71223   if test x$gcc_no_link = xyes; then
71224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71226    { (exit 1); exit 1; }; }
71227 fi
71228 cat >conftest.$ac_ext <<_ACEOF
71229 /* confdefs.h.  */
71230 _ACEOF
71231 cat confdefs.h >>conftest.$ac_ext
71232 cat >>conftest.$ac_ext <<_ACEOF
71233 /* end confdefs.h.  */
71234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71236 #define $ac_func innocuous_$ac_func
71237
71238 /* System header to define __stub macros and hopefully few prototypes,
71239     which can conflict with char $ac_func (); below.
71240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71241     <limits.h> exists even on freestanding compilers.  */
71242
71243 #ifdef __STDC__
71244 # include <limits.h>
71245 #else
71246 # include <assert.h>
71247 #endif
71248
71249 #undef $ac_func
71250
71251 /* Override any gcc2 internal prototype to avoid an error.  */
71252 #ifdef __cplusplus
71253 extern "C"
71254 {
71255 #endif
71256 /* We use char because int might match the return type of a gcc2
71257    builtin and then its argument prototype would still apply.  */
71258 char $ac_func ();
71259 /* The GNU C library defines this for functions which it implements
71260     to always fail with ENOSYS.  Some functions are actually named
71261     something starting with __ and the normal name is an alias.  */
71262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71263 choke me
71264 #else
71265 char (*f) () = $ac_func;
71266 #endif
71267 #ifdef __cplusplus
71268 }
71269 #endif
71270
71271 int
71272 main ()
71273 {
71274 return f != $ac_func;
71275   ;
71276   return 0;
71277 }
71278 _ACEOF
71279 rm -f conftest.$ac_objext conftest$ac_exeext
71280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71281   (eval $ac_link) 2>conftest.er1
71282   ac_status=$?
71283   grep -v '^ *+' conftest.er1 >conftest.err
71284   rm -f conftest.er1
71285   cat conftest.err >&5
71286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71287   (exit $ac_status); } &&
71288          { ac_try='test -z "$ac_c_werror_flag"
71289                          || test ! -s conftest.err'
71290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71291   (eval $ac_try) 2>&5
71292   ac_status=$?
71293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71294   (exit $ac_status); }; } &&
71295          { ac_try='test -s conftest$ac_exeext'
71296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71297   (eval $ac_try) 2>&5
71298   ac_status=$?
71299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71300   (exit $ac_status); }; }; then
71301   eval "$as_ac_var=yes"
71302 else
71303   echo "$as_me: failed program was:" >&5
71304 sed 's/^/| /' conftest.$ac_ext >&5
71305
71306 eval "$as_ac_var=no"
71307 fi
71308 rm -f conftest.err conftest.$ac_objext \
71309       conftest$ac_exeext conftest.$ac_ext
71310 fi
71311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71313 if test `eval echo '${'$as_ac_var'}'` = yes; then
71314   cat >>confdefs.h <<_ACEOF
71315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71316 _ACEOF
71317
71318 fi
71319 done
71320
71321   else
71322     echo "$as_me:$LINENO: checking for _long double round functions" >&5
71323 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
71324     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
71325   echo $ECHO_N "(cached) $ECHO_C" >&6
71326 else
71327
71328
71329
71330       ac_ext=cc
71331 ac_cpp='$CXXCPP $CPPFLAGS'
71332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71335
71336       cat >conftest.$ac_ext <<_ACEOF
71337 /* confdefs.h.  */
71338 _ACEOF
71339 cat confdefs.h >>conftest.$ac_ext
71340 cat >>conftest.$ac_ext <<_ACEOF
71341 /* end confdefs.h.  */
71342 #include <math.h>
71343 int
71344 main ()
71345 {
71346 _ceill (0); _floorl (0);
71347   ;
71348   return 0;
71349 }
71350 _ACEOF
71351 rm -f conftest.$ac_objext
71352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71353   (eval $ac_compile) 2>conftest.er1
71354   ac_status=$?
71355   grep -v '^ *+' conftest.er1 >conftest.err
71356   rm -f conftest.er1
71357   cat conftest.err >&5
71358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71359   (exit $ac_status); } &&
71360          { ac_try='test -z "$ac_cxx_werror_flag"
71361                          || test ! -s conftest.err'
71362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71363   (eval $ac_try) 2>&5
71364   ac_status=$?
71365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71366   (exit $ac_status); }; } &&
71367          { ac_try='test -s conftest.$ac_objext'
71368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71369   (eval $ac_try) 2>&5
71370   ac_status=$?
71371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71372   (exit $ac_status); }; }; then
71373   glibcxx_cv_func__long_double_round_use=yes
71374 else
71375   echo "$as_me: failed program was:" >&5
71376 sed 's/^/| /' conftest.$ac_ext >&5
71377
71378 glibcxx_cv_func__long_double_round_use=no
71379 fi
71380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71381       ac_ext=c
71382 ac_cpp='$CPP $CPPFLAGS'
71383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71386
71387 fi
71388
71389     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
71390 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
71391     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
71392
71393
71394 for ac_func in _ceill _floorl
71395 do
71396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71397 echo "$as_me:$LINENO: checking for $ac_func" >&5
71398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71399 if eval "test \"\${$as_ac_var+set}\" = set"; then
71400   echo $ECHO_N "(cached) $ECHO_C" >&6
71401 else
71402   if test x$gcc_no_link = xyes; then
71403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71405    { (exit 1); exit 1; }; }
71406 fi
71407 cat >conftest.$ac_ext <<_ACEOF
71408 /* confdefs.h.  */
71409 _ACEOF
71410 cat confdefs.h >>conftest.$ac_ext
71411 cat >>conftest.$ac_ext <<_ACEOF
71412 /* end confdefs.h.  */
71413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71415 #define $ac_func innocuous_$ac_func
71416
71417 /* System header to define __stub macros and hopefully few prototypes,
71418     which can conflict with char $ac_func (); below.
71419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71420     <limits.h> exists even on freestanding compilers.  */
71421
71422 #ifdef __STDC__
71423 # include <limits.h>
71424 #else
71425 # include <assert.h>
71426 #endif
71427
71428 #undef $ac_func
71429
71430 /* Override any gcc2 internal prototype to avoid an error.  */
71431 #ifdef __cplusplus
71432 extern "C"
71433 {
71434 #endif
71435 /* We use char because int might match the return type of a gcc2
71436    builtin and then its argument prototype would still apply.  */
71437 char $ac_func ();
71438 /* The GNU C library defines this for functions which it implements
71439     to always fail with ENOSYS.  Some functions are actually named
71440     something starting with __ and the normal name is an alias.  */
71441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71442 choke me
71443 #else
71444 char (*f) () = $ac_func;
71445 #endif
71446 #ifdef __cplusplus
71447 }
71448 #endif
71449
71450 int
71451 main ()
71452 {
71453 return f != $ac_func;
71454   ;
71455   return 0;
71456 }
71457 _ACEOF
71458 rm -f conftest.$ac_objext conftest$ac_exeext
71459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71460   (eval $ac_link) 2>conftest.er1
71461   ac_status=$?
71462   grep -v '^ *+' conftest.er1 >conftest.err
71463   rm -f conftest.er1
71464   cat conftest.err >&5
71465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71466   (exit $ac_status); } &&
71467          { ac_try='test -z "$ac_c_werror_flag"
71468                          || test ! -s conftest.err'
71469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71470   (eval $ac_try) 2>&5
71471   ac_status=$?
71472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71473   (exit $ac_status); }; } &&
71474          { ac_try='test -s conftest$ac_exeext'
71475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71476   (eval $ac_try) 2>&5
71477   ac_status=$?
71478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71479   (exit $ac_status); }; }; then
71480   eval "$as_ac_var=yes"
71481 else
71482   echo "$as_me: failed program was:" >&5
71483 sed 's/^/| /' conftest.$ac_ext >&5
71484
71485 eval "$as_ac_var=no"
71486 fi
71487 rm -f conftest.err conftest.$ac_objext \
71488       conftest$ac_exeext conftest.$ac_ext
71489 fi
71490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71492 if test `eval echo '${'$as_ac_var'}'` = yes; then
71493   cat >>confdefs.h <<_ACEOF
71494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71495 _ACEOF
71496
71497 fi
71498 done
71499
71500     fi
71501   fi
71502
71503
71504
71505
71506
71507
71508
71509
71510   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
71511 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
71512   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
71513     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
71514   echo $ECHO_N "(cached) $ECHO_C" >&6
71515 else
71516
71517
71518
71519       ac_ext=cc
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71524
71525       cat >conftest.$ac_ext <<_ACEOF
71526 /* confdefs.h.  */
71527 _ACEOF
71528 cat confdefs.h >>conftest.$ac_ext
71529 cat >>conftest.$ac_ext <<_ACEOF
71530 /* end confdefs.h.  */
71531 #include <math.h>
71532                       #ifdef HAVE_IEEEFP_H
71533                       #include <ieeefp.h>
71534                       #endif
71535
71536 int
71537 main ()
71538 {
71539  isnanl(0);
71540   ;
71541   return 0;
71542 }
71543 _ACEOF
71544 rm -f conftest.$ac_objext
71545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71546   (eval $ac_compile) 2>conftest.er1
71547   ac_status=$?
71548   grep -v '^ *+' conftest.er1 >conftest.err
71549   rm -f conftest.er1
71550   cat conftest.err >&5
71551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71552   (exit $ac_status); } &&
71553          { ac_try='test -z "$ac_cxx_werror_flag"
71554                          || test ! -s conftest.err'
71555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71556   (eval $ac_try) 2>&5
71557   ac_status=$?
71558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559   (exit $ac_status); }; } &&
71560          { ac_try='test -s conftest.$ac_objext'
71561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71562   (eval $ac_try) 2>&5
71563   ac_status=$?
71564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71565   (exit $ac_status); }; }; then
71566   glibcxx_cv_func_isnanl_use=yes
71567 else
71568   echo "$as_me: failed program was:" >&5
71569 sed 's/^/| /' conftest.$ac_ext >&5
71570
71571 glibcxx_cv_func_isnanl_use=no
71572 fi
71573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71574       ac_ext=c
71575 ac_cpp='$CPP $CPPFLAGS'
71576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71579
71580
71581 fi
71582
71583   fi
71584   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
71585 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
71586
71587   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
71588
71589 for ac_func in isnanl
71590 do
71591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71592 echo "$as_me:$LINENO: checking for $ac_func" >&5
71593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71594 if eval "test \"\${$as_ac_var+set}\" = set"; then
71595   echo $ECHO_N "(cached) $ECHO_C" >&6
71596 else
71597   if test x$gcc_no_link = xyes; then
71598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71600    { (exit 1); exit 1; }; }
71601 fi
71602 cat >conftest.$ac_ext <<_ACEOF
71603 /* confdefs.h.  */
71604 _ACEOF
71605 cat confdefs.h >>conftest.$ac_ext
71606 cat >>conftest.$ac_ext <<_ACEOF
71607 /* end confdefs.h.  */
71608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71610 #define $ac_func innocuous_$ac_func
71611
71612 /* System header to define __stub macros and hopefully few prototypes,
71613     which can conflict with char $ac_func (); below.
71614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71615     <limits.h> exists even on freestanding compilers.  */
71616
71617 #ifdef __STDC__
71618 # include <limits.h>
71619 #else
71620 # include <assert.h>
71621 #endif
71622
71623 #undef $ac_func
71624
71625 /* Override any gcc2 internal prototype to avoid an error.  */
71626 #ifdef __cplusplus
71627 extern "C"
71628 {
71629 #endif
71630 /* We use char because int might match the return type of a gcc2
71631    builtin and then its argument prototype would still apply.  */
71632 char $ac_func ();
71633 /* The GNU C library defines this for functions which it implements
71634     to always fail with ENOSYS.  Some functions are actually named
71635     something starting with __ and the normal name is an alias.  */
71636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71637 choke me
71638 #else
71639 char (*f) () = $ac_func;
71640 #endif
71641 #ifdef __cplusplus
71642 }
71643 #endif
71644
71645 int
71646 main ()
71647 {
71648 return f != $ac_func;
71649   ;
71650   return 0;
71651 }
71652 _ACEOF
71653 rm -f conftest.$ac_objext conftest$ac_exeext
71654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71655   (eval $ac_link) 2>conftest.er1
71656   ac_status=$?
71657   grep -v '^ *+' conftest.er1 >conftest.err
71658   rm -f conftest.er1
71659   cat conftest.err >&5
71660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71661   (exit $ac_status); } &&
71662          { ac_try='test -z "$ac_c_werror_flag"
71663                          || test ! -s conftest.err'
71664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71665   (eval $ac_try) 2>&5
71666   ac_status=$?
71667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71668   (exit $ac_status); }; } &&
71669          { ac_try='test -s conftest$ac_exeext'
71670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71671   (eval $ac_try) 2>&5
71672   ac_status=$?
71673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71674   (exit $ac_status); }; }; then
71675   eval "$as_ac_var=yes"
71676 else
71677   echo "$as_me: failed program was:" >&5
71678 sed 's/^/| /' conftest.$ac_ext >&5
71679
71680 eval "$as_ac_var=no"
71681 fi
71682 rm -f conftest.err conftest.$ac_objext \
71683       conftest$ac_exeext conftest.$ac_ext
71684 fi
71685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71687 if test `eval echo '${'$as_ac_var'}'` = yes; then
71688   cat >>confdefs.h <<_ACEOF
71689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71690 _ACEOF
71691
71692 fi
71693 done
71694
71695   else
71696
71697   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
71698 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
71699   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
71700     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
71701   echo $ECHO_N "(cached) $ECHO_C" >&6
71702 else
71703
71704
71705
71706       ac_ext=cc
71707 ac_cpp='$CXXCPP $CPPFLAGS'
71708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71711
71712       cat >conftest.$ac_ext <<_ACEOF
71713 /* confdefs.h.  */
71714 _ACEOF
71715 cat confdefs.h >>conftest.$ac_ext
71716 cat >>conftest.$ac_ext <<_ACEOF
71717 /* end confdefs.h.  */
71718 #include <math.h>
71719                       #ifdef HAVE_IEEEFP_H
71720                       #include <ieeefp.h>
71721                       #endif
71722
71723 int
71724 main ()
71725 {
71726  _isnanl(0);
71727   ;
71728   return 0;
71729 }
71730 _ACEOF
71731 rm -f conftest.$ac_objext
71732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71733   (eval $ac_compile) 2>conftest.er1
71734   ac_status=$?
71735   grep -v '^ *+' conftest.er1 >conftest.err
71736   rm -f conftest.er1
71737   cat conftest.err >&5
71738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71739   (exit $ac_status); } &&
71740          { ac_try='test -z "$ac_cxx_werror_flag"
71741                          || test ! -s conftest.err'
71742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71743   (eval $ac_try) 2>&5
71744   ac_status=$?
71745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71746   (exit $ac_status); }; } &&
71747          { ac_try='test -s conftest.$ac_objext'
71748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71749   (eval $ac_try) 2>&5
71750   ac_status=$?
71751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71752   (exit $ac_status); }; }; then
71753   glibcxx_cv_func__isnanl_use=yes
71754 else
71755   echo "$as_me: failed program was:" >&5
71756 sed 's/^/| /' conftest.$ac_ext >&5
71757
71758 glibcxx_cv_func__isnanl_use=no
71759 fi
71760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71761       ac_ext=c
71762 ac_cpp='$CPP $CPPFLAGS'
71763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71766
71767
71768 fi
71769
71770   fi
71771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
71772 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
71773
71774     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
71775
71776 for ac_func in _isnanl
71777 do
71778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71779 echo "$as_me:$LINENO: checking for $ac_func" >&5
71780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71781 if eval "test \"\${$as_ac_var+set}\" = set"; then
71782   echo $ECHO_N "(cached) $ECHO_C" >&6
71783 else
71784   if test x$gcc_no_link = xyes; then
71785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71787    { (exit 1); exit 1; }; }
71788 fi
71789 cat >conftest.$ac_ext <<_ACEOF
71790 /* confdefs.h.  */
71791 _ACEOF
71792 cat confdefs.h >>conftest.$ac_ext
71793 cat >>conftest.$ac_ext <<_ACEOF
71794 /* end confdefs.h.  */
71795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71797 #define $ac_func innocuous_$ac_func
71798
71799 /* System header to define __stub macros and hopefully few prototypes,
71800     which can conflict with char $ac_func (); below.
71801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71802     <limits.h> exists even on freestanding compilers.  */
71803
71804 #ifdef __STDC__
71805 # include <limits.h>
71806 #else
71807 # include <assert.h>
71808 #endif
71809
71810 #undef $ac_func
71811
71812 /* Override any gcc2 internal prototype to avoid an error.  */
71813 #ifdef __cplusplus
71814 extern "C"
71815 {
71816 #endif
71817 /* We use char because int might match the return type of a gcc2
71818    builtin and then its argument prototype would still apply.  */
71819 char $ac_func ();
71820 /* The GNU C library defines this for functions which it implements
71821     to always fail with ENOSYS.  Some functions are actually named
71822     something starting with __ and the normal name is an alias.  */
71823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71824 choke me
71825 #else
71826 char (*f) () = $ac_func;
71827 #endif
71828 #ifdef __cplusplus
71829 }
71830 #endif
71831
71832 int
71833 main ()
71834 {
71835 return f != $ac_func;
71836   ;
71837   return 0;
71838 }
71839 _ACEOF
71840 rm -f conftest.$ac_objext conftest$ac_exeext
71841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71842   (eval $ac_link) 2>conftest.er1
71843   ac_status=$?
71844   grep -v '^ *+' conftest.er1 >conftest.err
71845   rm -f conftest.er1
71846   cat conftest.err >&5
71847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848   (exit $ac_status); } &&
71849          { ac_try='test -z "$ac_c_werror_flag"
71850                          || test ! -s conftest.err'
71851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71852   (eval $ac_try) 2>&5
71853   ac_status=$?
71854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71855   (exit $ac_status); }; } &&
71856          { ac_try='test -s conftest$ac_exeext'
71857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71858   (eval $ac_try) 2>&5
71859   ac_status=$?
71860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71861   (exit $ac_status); }; }; then
71862   eval "$as_ac_var=yes"
71863 else
71864   echo "$as_me: failed program was:" >&5
71865 sed 's/^/| /' conftest.$ac_ext >&5
71866
71867 eval "$as_ac_var=no"
71868 fi
71869 rm -f conftest.err conftest.$ac_objext \
71870       conftest$ac_exeext conftest.$ac_ext
71871 fi
71872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71874 if test `eval echo '${'$as_ac_var'}'` = yes; then
71875   cat >>confdefs.h <<_ACEOF
71876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71877 _ACEOF
71878
71879 fi
71880 done
71881
71882     fi
71883   fi
71884
71885
71886
71887
71888
71889
71890   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
71891 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
71892   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
71893     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
71894   echo $ECHO_N "(cached) $ECHO_C" >&6
71895 else
71896
71897
71898
71899       ac_ext=cc
71900 ac_cpp='$CXXCPP $CPPFLAGS'
71901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71904
71905       cat >conftest.$ac_ext <<_ACEOF
71906 /* confdefs.h.  */
71907 _ACEOF
71908 cat confdefs.h >>conftest.$ac_ext
71909 cat >>conftest.$ac_ext <<_ACEOF
71910 /* end confdefs.h.  */
71911 #include <math.h>
71912                       #ifdef HAVE_IEEEFP_H
71913                       #include <ieeefp.h>
71914                       #endif
71915
71916 int
71917 main ()
71918 {
71919  isinfl(0);
71920   ;
71921   return 0;
71922 }
71923 _ACEOF
71924 rm -f conftest.$ac_objext
71925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71926   (eval $ac_compile) 2>conftest.er1
71927   ac_status=$?
71928   grep -v '^ *+' conftest.er1 >conftest.err
71929   rm -f conftest.er1
71930   cat conftest.err >&5
71931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932   (exit $ac_status); } &&
71933          { ac_try='test -z "$ac_cxx_werror_flag"
71934                          || test ! -s conftest.err'
71935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71936   (eval $ac_try) 2>&5
71937   ac_status=$?
71938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71939   (exit $ac_status); }; } &&
71940          { ac_try='test -s conftest.$ac_objext'
71941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71942   (eval $ac_try) 2>&5
71943   ac_status=$?
71944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71945   (exit $ac_status); }; }; then
71946   glibcxx_cv_func_isinfl_use=yes
71947 else
71948   echo "$as_me: failed program was:" >&5
71949 sed 's/^/| /' conftest.$ac_ext >&5
71950
71951 glibcxx_cv_func_isinfl_use=no
71952 fi
71953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71954       ac_ext=c
71955 ac_cpp='$CPP $CPPFLAGS'
71956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71959
71960
71961 fi
71962
71963   fi
71964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
71965 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
71966
71967   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
71968
71969 for ac_func in isinfl
71970 do
71971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71972 echo "$as_me:$LINENO: checking for $ac_func" >&5
71973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71974 if eval "test \"\${$as_ac_var+set}\" = set"; then
71975   echo $ECHO_N "(cached) $ECHO_C" >&6
71976 else
71977   if test x$gcc_no_link = xyes; then
71978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71980    { (exit 1); exit 1; }; }
71981 fi
71982 cat >conftest.$ac_ext <<_ACEOF
71983 /* confdefs.h.  */
71984 _ACEOF
71985 cat confdefs.h >>conftest.$ac_ext
71986 cat >>conftest.$ac_ext <<_ACEOF
71987 /* end confdefs.h.  */
71988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71990 #define $ac_func innocuous_$ac_func
71991
71992 /* System header to define __stub macros and hopefully few prototypes,
71993     which can conflict with char $ac_func (); below.
71994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71995     <limits.h> exists even on freestanding compilers.  */
71996
71997 #ifdef __STDC__
71998 # include <limits.h>
71999 #else
72000 # include <assert.h>
72001 #endif
72002
72003 #undef $ac_func
72004
72005 /* Override any gcc2 internal prototype to avoid an error.  */
72006 #ifdef __cplusplus
72007 extern "C"
72008 {
72009 #endif
72010 /* We use char because int might match the return type of a gcc2
72011    builtin and then its argument prototype would still apply.  */
72012 char $ac_func ();
72013 /* The GNU C library defines this for functions which it implements
72014     to always fail with ENOSYS.  Some functions are actually named
72015     something starting with __ and the normal name is an alias.  */
72016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72017 choke me
72018 #else
72019 char (*f) () = $ac_func;
72020 #endif
72021 #ifdef __cplusplus
72022 }
72023 #endif
72024
72025 int
72026 main ()
72027 {
72028 return f != $ac_func;
72029   ;
72030   return 0;
72031 }
72032 _ACEOF
72033 rm -f conftest.$ac_objext conftest$ac_exeext
72034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72035   (eval $ac_link) 2>conftest.er1
72036   ac_status=$?
72037   grep -v '^ *+' conftest.er1 >conftest.err
72038   rm -f conftest.er1
72039   cat conftest.err >&5
72040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72041   (exit $ac_status); } &&
72042          { ac_try='test -z "$ac_c_werror_flag"
72043                          || test ! -s conftest.err'
72044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72045   (eval $ac_try) 2>&5
72046   ac_status=$?
72047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72048   (exit $ac_status); }; } &&
72049          { ac_try='test -s conftest$ac_exeext'
72050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72051   (eval $ac_try) 2>&5
72052   ac_status=$?
72053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72054   (exit $ac_status); }; }; then
72055   eval "$as_ac_var=yes"
72056 else
72057   echo "$as_me: failed program was:" >&5
72058 sed 's/^/| /' conftest.$ac_ext >&5
72059
72060 eval "$as_ac_var=no"
72061 fi
72062 rm -f conftest.err conftest.$ac_objext \
72063       conftest$ac_exeext conftest.$ac_ext
72064 fi
72065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72067 if test `eval echo '${'$as_ac_var'}'` = yes; then
72068   cat >>confdefs.h <<_ACEOF
72069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72070 _ACEOF
72071
72072 fi
72073 done
72074
72075   else
72076
72077   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
72078 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
72079   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
72080     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
72081   echo $ECHO_N "(cached) $ECHO_C" >&6
72082 else
72083
72084
72085
72086       ac_ext=cc
72087 ac_cpp='$CXXCPP $CPPFLAGS'
72088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72091
72092       cat >conftest.$ac_ext <<_ACEOF
72093 /* confdefs.h.  */
72094 _ACEOF
72095 cat confdefs.h >>conftest.$ac_ext
72096 cat >>conftest.$ac_ext <<_ACEOF
72097 /* end confdefs.h.  */
72098 #include <math.h>
72099                       #ifdef HAVE_IEEEFP_H
72100                       #include <ieeefp.h>
72101                       #endif
72102
72103 int
72104 main ()
72105 {
72106  _isinfl(0);
72107   ;
72108   return 0;
72109 }
72110 _ACEOF
72111 rm -f conftest.$ac_objext
72112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72113   (eval $ac_compile) 2>conftest.er1
72114   ac_status=$?
72115   grep -v '^ *+' conftest.er1 >conftest.err
72116   rm -f conftest.er1
72117   cat conftest.err >&5
72118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72119   (exit $ac_status); } &&
72120          { ac_try='test -z "$ac_cxx_werror_flag"
72121                          || test ! -s conftest.err'
72122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72123   (eval $ac_try) 2>&5
72124   ac_status=$?
72125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72126   (exit $ac_status); }; } &&
72127          { ac_try='test -s conftest.$ac_objext'
72128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72129   (eval $ac_try) 2>&5
72130   ac_status=$?
72131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72132   (exit $ac_status); }; }; then
72133   glibcxx_cv_func__isinfl_use=yes
72134 else
72135   echo "$as_me: failed program was:" >&5
72136 sed 's/^/| /' conftest.$ac_ext >&5
72137
72138 glibcxx_cv_func__isinfl_use=no
72139 fi
72140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72141       ac_ext=c
72142 ac_cpp='$CPP $CPPFLAGS'
72143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72146
72147
72148 fi
72149
72150   fi
72151   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
72152 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
72153
72154     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
72155
72156 for ac_func in _isinfl
72157 do
72158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72159 echo "$as_me:$LINENO: checking for $ac_func" >&5
72160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72161 if eval "test \"\${$as_ac_var+set}\" = set"; then
72162   echo $ECHO_N "(cached) $ECHO_C" >&6
72163 else
72164   if test x$gcc_no_link = xyes; then
72165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72167    { (exit 1); exit 1; }; }
72168 fi
72169 cat >conftest.$ac_ext <<_ACEOF
72170 /* confdefs.h.  */
72171 _ACEOF
72172 cat confdefs.h >>conftest.$ac_ext
72173 cat >>conftest.$ac_ext <<_ACEOF
72174 /* end confdefs.h.  */
72175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72177 #define $ac_func innocuous_$ac_func
72178
72179 /* System header to define __stub macros and hopefully few prototypes,
72180     which can conflict with char $ac_func (); below.
72181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72182     <limits.h> exists even on freestanding compilers.  */
72183
72184 #ifdef __STDC__
72185 # include <limits.h>
72186 #else
72187 # include <assert.h>
72188 #endif
72189
72190 #undef $ac_func
72191
72192 /* Override any gcc2 internal prototype to avoid an error.  */
72193 #ifdef __cplusplus
72194 extern "C"
72195 {
72196 #endif
72197 /* We use char because int might match the return type of a gcc2
72198    builtin and then its argument prototype would still apply.  */
72199 char $ac_func ();
72200 /* The GNU C library defines this for functions which it implements
72201     to always fail with ENOSYS.  Some functions are actually named
72202     something starting with __ and the normal name is an alias.  */
72203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72204 choke me
72205 #else
72206 char (*f) () = $ac_func;
72207 #endif
72208 #ifdef __cplusplus
72209 }
72210 #endif
72211
72212 int
72213 main ()
72214 {
72215 return f != $ac_func;
72216   ;
72217   return 0;
72218 }
72219 _ACEOF
72220 rm -f conftest.$ac_objext conftest$ac_exeext
72221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72222   (eval $ac_link) 2>conftest.er1
72223   ac_status=$?
72224   grep -v '^ *+' conftest.er1 >conftest.err
72225   rm -f conftest.er1
72226   cat conftest.err >&5
72227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72228   (exit $ac_status); } &&
72229          { ac_try='test -z "$ac_c_werror_flag"
72230                          || test ! -s conftest.err'
72231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72232   (eval $ac_try) 2>&5
72233   ac_status=$?
72234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72235   (exit $ac_status); }; } &&
72236          { ac_try='test -s conftest$ac_exeext'
72237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72238   (eval $ac_try) 2>&5
72239   ac_status=$?
72240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72241   (exit $ac_status); }; }; then
72242   eval "$as_ac_var=yes"
72243 else
72244   echo "$as_me: failed program was:" >&5
72245 sed 's/^/| /' conftest.$ac_ext >&5
72246
72247 eval "$as_ac_var=no"
72248 fi
72249 rm -f conftest.err conftest.$ac_objext \
72250       conftest$ac_exeext conftest.$ac_ext
72251 fi
72252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72254 if test `eval echo '${'$as_ac_var'}'` = yes; then
72255   cat >>confdefs.h <<_ACEOF
72256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72257 _ACEOF
72258
72259 fi
72260 done
72261
72262     fi
72263   fi
72264
72265
72266
72267
72268
72269
72270   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
72271 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
72272   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
72273     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
72274   echo $ECHO_N "(cached) $ECHO_C" >&6
72275 else
72276
72277
72278
72279       ac_ext=cc
72280 ac_cpp='$CXXCPP $CPPFLAGS'
72281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72284
72285       cat >conftest.$ac_ext <<_ACEOF
72286 /* confdefs.h.  */
72287 _ACEOF
72288 cat confdefs.h >>conftest.$ac_ext
72289 cat >>conftest.$ac_ext <<_ACEOF
72290 /* end confdefs.h.  */
72291 #include <math.h>
72292 int
72293 main ()
72294 {
72295  copysignl(0, 0);
72296   ;
72297   return 0;
72298 }
72299 _ACEOF
72300 rm -f conftest.$ac_objext
72301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72302   (eval $ac_compile) 2>conftest.er1
72303   ac_status=$?
72304   grep -v '^ *+' conftest.er1 >conftest.err
72305   rm -f conftest.er1
72306   cat conftest.err >&5
72307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72308   (exit $ac_status); } &&
72309          { ac_try='test -z "$ac_cxx_werror_flag"
72310                          || test ! -s conftest.err'
72311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72312   (eval $ac_try) 2>&5
72313   ac_status=$?
72314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72315   (exit $ac_status); }; } &&
72316          { ac_try='test -s conftest.$ac_objext'
72317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72318   (eval $ac_try) 2>&5
72319   ac_status=$?
72320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72321   (exit $ac_status); }; }; then
72322   glibcxx_cv_func_copysignl_use=yes
72323 else
72324   echo "$as_me: failed program was:" >&5
72325 sed 's/^/| /' conftest.$ac_ext >&5
72326
72327 glibcxx_cv_func_copysignl_use=no
72328 fi
72329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72330       ac_ext=c
72331 ac_cpp='$CPP $CPPFLAGS'
72332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72335
72336
72337 fi
72338
72339   fi
72340   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
72341 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
72342
72343   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
72344
72345 for ac_func in copysignl
72346 do
72347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72348 echo "$as_me:$LINENO: checking for $ac_func" >&5
72349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72350 if eval "test \"\${$as_ac_var+set}\" = set"; then
72351   echo $ECHO_N "(cached) $ECHO_C" >&6
72352 else
72353   if test x$gcc_no_link = xyes; then
72354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72356    { (exit 1); exit 1; }; }
72357 fi
72358 cat >conftest.$ac_ext <<_ACEOF
72359 /* confdefs.h.  */
72360 _ACEOF
72361 cat confdefs.h >>conftest.$ac_ext
72362 cat >>conftest.$ac_ext <<_ACEOF
72363 /* end confdefs.h.  */
72364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72366 #define $ac_func innocuous_$ac_func
72367
72368 /* System header to define __stub macros and hopefully few prototypes,
72369     which can conflict with char $ac_func (); below.
72370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72371     <limits.h> exists even on freestanding compilers.  */
72372
72373 #ifdef __STDC__
72374 # include <limits.h>
72375 #else
72376 # include <assert.h>
72377 #endif
72378
72379 #undef $ac_func
72380
72381 /* Override any gcc2 internal prototype to avoid an error.  */
72382 #ifdef __cplusplus
72383 extern "C"
72384 {
72385 #endif
72386 /* We use char because int might match the return type of a gcc2
72387    builtin and then its argument prototype would still apply.  */
72388 char $ac_func ();
72389 /* The GNU C library defines this for functions which it implements
72390     to always fail with ENOSYS.  Some functions are actually named
72391     something starting with __ and the normal name is an alias.  */
72392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72393 choke me
72394 #else
72395 char (*f) () = $ac_func;
72396 #endif
72397 #ifdef __cplusplus
72398 }
72399 #endif
72400
72401 int
72402 main ()
72403 {
72404 return f != $ac_func;
72405   ;
72406   return 0;
72407 }
72408 _ACEOF
72409 rm -f conftest.$ac_objext conftest$ac_exeext
72410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72411   (eval $ac_link) 2>conftest.er1
72412   ac_status=$?
72413   grep -v '^ *+' conftest.er1 >conftest.err
72414   rm -f conftest.er1
72415   cat conftest.err >&5
72416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72417   (exit $ac_status); } &&
72418          { ac_try='test -z "$ac_c_werror_flag"
72419                          || test ! -s conftest.err'
72420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72421   (eval $ac_try) 2>&5
72422   ac_status=$?
72423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72424   (exit $ac_status); }; } &&
72425          { ac_try='test -s conftest$ac_exeext'
72426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72427   (eval $ac_try) 2>&5
72428   ac_status=$?
72429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72430   (exit $ac_status); }; }; then
72431   eval "$as_ac_var=yes"
72432 else
72433   echo "$as_me: failed program was:" >&5
72434 sed 's/^/| /' conftest.$ac_ext >&5
72435
72436 eval "$as_ac_var=no"
72437 fi
72438 rm -f conftest.err conftest.$ac_objext \
72439       conftest$ac_exeext conftest.$ac_ext
72440 fi
72441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72443 if test `eval echo '${'$as_ac_var'}'` = yes; then
72444   cat >>confdefs.h <<_ACEOF
72445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72446 _ACEOF
72447
72448 fi
72449 done
72450
72451   else
72452
72453   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
72454 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
72455   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
72456     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
72457   echo $ECHO_N "(cached) $ECHO_C" >&6
72458 else
72459
72460
72461
72462       ac_ext=cc
72463 ac_cpp='$CXXCPP $CPPFLAGS'
72464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72467
72468       cat >conftest.$ac_ext <<_ACEOF
72469 /* confdefs.h.  */
72470 _ACEOF
72471 cat confdefs.h >>conftest.$ac_ext
72472 cat >>conftest.$ac_ext <<_ACEOF
72473 /* end confdefs.h.  */
72474 #include <math.h>
72475 int
72476 main ()
72477 {
72478  _copysignl(0, 0);
72479   ;
72480   return 0;
72481 }
72482 _ACEOF
72483 rm -f conftest.$ac_objext
72484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72485   (eval $ac_compile) 2>conftest.er1
72486   ac_status=$?
72487   grep -v '^ *+' conftest.er1 >conftest.err
72488   rm -f conftest.er1
72489   cat conftest.err >&5
72490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491   (exit $ac_status); } &&
72492          { ac_try='test -z "$ac_cxx_werror_flag"
72493                          || test ! -s conftest.err'
72494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72495   (eval $ac_try) 2>&5
72496   ac_status=$?
72497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72498   (exit $ac_status); }; } &&
72499          { ac_try='test -s conftest.$ac_objext'
72500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501   (eval $ac_try) 2>&5
72502   ac_status=$?
72503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504   (exit $ac_status); }; }; then
72505   glibcxx_cv_func__copysignl_use=yes
72506 else
72507   echo "$as_me: failed program was:" >&5
72508 sed 's/^/| /' conftest.$ac_ext >&5
72509
72510 glibcxx_cv_func__copysignl_use=no
72511 fi
72512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72513       ac_ext=c
72514 ac_cpp='$CPP $CPPFLAGS'
72515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72518
72519
72520 fi
72521
72522   fi
72523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
72524 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
72525
72526     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
72527
72528 for ac_func in _copysignl
72529 do
72530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72531 echo "$as_me:$LINENO: checking for $ac_func" >&5
72532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72533 if eval "test \"\${$as_ac_var+set}\" = set"; then
72534   echo $ECHO_N "(cached) $ECHO_C" >&6
72535 else
72536   if test x$gcc_no_link = xyes; then
72537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72539    { (exit 1); exit 1; }; }
72540 fi
72541 cat >conftest.$ac_ext <<_ACEOF
72542 /* confdefs.h.  */
72543 _ACEOF
72544 cat confdefs.h >>conftest.$ac_ext
72545 cat >>conftest.$ac_ext <<_ACEOF
72546 /* end confdefs.h.  */
72547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72549 #define $ac_func innocuous_$ac_func
72550
72551 /* System header to define __stub macros and hopefully few prototypes,
72552     which can conflict with char $ac_func (); below.
72553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72554     <limits.h> exists even on freestanding compilers.  */
72555
72556 #ifdef __STDC__
72557 # include <limits.h>
72558 #else
72559 # include <assert.h>
72560 #endif
72561
72562 #undef $ac_func
72563
72564 /* Override any gcc2 internal prototype to avoid an error.  */
72565 #ifdef __cplusplus
72566 extern "C"
72567 {
72568 #endif
72569 /* We use char because int might match the return type of a gcc2
72570    builtin and then its argument prototype would still apply.  */
72571 char $ac_func ();
72572 /* The GNU C library defines this for functions which it implements
72573     to always fail with ENOSYS.  Some functions are actually named
72574     something starting with __ and the normal name is an alias.  */
72575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72576 choke me
72577 #else
72578 char (*f) () = $ac_func;
72579 #endif
72580 #ifdef __cplusplus
72581 }
72582 #endif
72583
72584 int
72585 main ()
72586 {
72587 return f != $ac_func;
72588   ;
72589   return 0;
72590 }
72591 _ACEOF
72592 rm -f conftest.$ac_objext conftest$ac_exeext
72593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72594   (eval $ac_link) 2>conftest.er1
72595   ac_status=$?
72596   grep -v '^ *+' conftest.er1 >conftest.err
72597   rm -f conftest.er1
72598   cat conftest.err >&5
72599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600   (exit $ac_status); } &&
72601          { ac_try='test -z "$ac_c_werror_flag"
72602                          || test ! -s conftest.err'
72603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72604   (eval $ac_try) 2>&5
72605   ac_status=$?
72606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72607   (exit $ac_status); }; } &&
72608          { ac_try='test -s conftest$ac_exeext'
72609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72610   (eval $ac_try) 2>&5
72611   ac_status=$?
72612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72613   (exit $ac_status); }; }; then
72614   eval "$as_ac_var=yes"
72615 else
72616   echo "$as_me: failed program was:" >&5
72617 sed 's/^/| /' conftest.$ac_ext >&5
72618
72619 eval "$as_ac_var=no"
72620 fi
72621 rm -f conftest.err conftest.$ac_objext \
72622       conftest$ac_exeext conftest.$ac_ext
72623 fi
72624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72626 if test `eval echo '${'$as_ac_var'}'` = yes; then
72627   cat >>confdefs.h <<_ACEOF
72628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72629 _ACEOF
72630
72631 fi
72632 done
72633
72634     fi
72635   fi
72636
72637
72638
72639
72640
72641
72642   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
72643 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
72644   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
72645     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
72646   echo $ECHO_N "(cached) $ECHO_C" >&6
72647 else
72648
72649
72650
72651       ac_ext=cc
72652 ac_cpp='$CXXCPP $CPPFLAGS'
72653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72656
72657       cat >conftest.$ac_ext <<_ACEOF
72658 /* confdefs.h.  */
72659 _ACEOF
72660 cat confdefs.h >>conftest.$ac_ext
72661 cat >>conftest.$ac_ext <<_ACEOF
72662 /* end confdefs.h.  */
72663 #include <math.h>
72664 int
72665 main ()
72666 {
72667  atan2l(0, 0);
72668   ;
72669   return 0;
72670 }
72671 _ACEOF
72672 rm -f conftest.$ac_objext
72673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72674   (eval $ac_compile) 2>conftest.er1
72675   ac_status=$?
72676   grep -v '^ *+' conftest.er1 >conftest.err
72677   rm -f conftest.er1
72678   cat conftest.err >&5
72679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72680   (exit $ac_status); } &&
72681          { ac_try='test -z "$ac_cxx_werror_flag"
72682                          || test ! -s conftest.err'
72683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72684   (eval $ac_try) 2>&5
72685   ac_status=$?
72686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72687   (exit $ac_status); }; } &&
72688          { ac_try='test -s conftest.$ac_objext'
72689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72690   (eval $ac_try) 2>&5
72691   ac_status=$?
72692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72693   (exit $ac_status); }; }; then
72694   glibcxx_cv_func_atan2l_use=yes
72695 else
72696   echo "$as_me: failed program was:" >&5
72697 sed 's/^/| /' conftest.$ac_ext >&5
72698
72699 glibcxx_cv_func_atan2l_use=no
72700 fi
72701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72702       ac_ext=c
72703 ac_cpp='$CPP $CPPFLAGS'
72704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72707
72708
72709 fi
72710
72711   fi
72712   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
72713 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
72714
72715   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
72716
72717 for ac_func in atan2l
72718 do
72719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72720 echo "$as_me:$LINENO: checking for $ac_func" >&5
72721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72722 if eval "test \"\${$as_ac_var+set}\" = set"; then
72723   echo $ECHO_N "(cached) $ECHO_C" >&6
72724 else
72725   if test x$gcc_no_link = xyes; then
72726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72728    { (exit 1); exit 1; }; }
72729 fi
72730 cat >conftest.$ac_ext <<_ACEOF
72731 /* confdefs.h.  */
72732 _ACEOF
72733 cat confdefs.h >>conftest.$ac_ext
72734 cat >>conftest.$ac_ext <<_ACEOF
72735 /* end confdefs.h.  */
72736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72738 #define $ac_func innocuous_$ac_func
72739
72740 /* System header to define __stub macros and hopefully few prototypes,
72741     which can conflict with char $ac_func (); below.
72742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72743     <limits.h> exists even on freestanding compilers.  */
72744
72745 #ifdef __STDC__
72746 # include <limits.h>
72747 #else
72748 # include <assert.h>
72749 #endif
72750
72751 #undef $ac_func
72752
72753 /* Override any gcc2 internal prototype to avoid an error.  */
72754 #ifdef __cplusplus
72755 extern "C"
72756 {
72757 #endif
72758 /* We use char because int might match the return type of a gcc2
72759    builtin and then its argument prototype would still apply.  */
72760 char $ac_func ();
72761 /* The GNU C library defines this for functions which it implements
72762     to always fail with ENOSYS.  Some functions are actually named
72763     something starting with __ and the normal name is an alias.  */
72764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72765 choke me
72766 #else
72767 char (*f) () = $ac_func;
72768 #endif
72769 #ifdef __cplusplus
72770 }
72771 #endif
72772
72773 int
72774 main ()
72775 {
72776 return f != $ac_func;
72777   ;
72778   return 0;
72779 }
72780 _ACEOF
72781 rm -f conftest.$ac_objext conftest$ac_exeext
72782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72783   (eval $ac_link) 2>conftest.er1
72784   ac_status=$?
72785   grep -v '^ *+' conftest.er1 >conftest.err
72786   rm -f conftest.er1
72787   cat conftest.err >&5
72788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72789   (exit $ac_status); } &&
72790          { ac_try='test -z "$ac_c_werror_flag"
72791                          || test ! -s conftest.err'
72792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72793   (eval $ac_try) 2>&5
72794   ac_status=$?
72795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72796   (exit $ac_status); }; } &&
72797          { ac_try='test -s conftest$ac_exeext'
72798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72799   (eval $ac_try) 2>&5
72800   ac_status=$?
72801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72802   (exit $ac_status); }; }; then
72803   eval "$as_ac_var=yes"
72804 else
72805   echo "$as_me: failed program was:" >&5
72806 sed 's/^/| /' conftest.$ac_ext >&5
72807
72808 eval "$as_ac_var=no"
72809 fi
72810 rm -f conftest.err conftest.$ac_objext \
72811       conftest$ac_exeext conftest.$ac_ext
72812 fi
72813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72815 if test `eval echo '${'$as_ac_var'}'` = yes; then
72816   cat >>confdefs.h <<_ACEOF
72817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72818 _ACEOF
72819
72820 fi
72821 done
72822
72823   else
72824
72825   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
72826 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
72827   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
72828     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
72829   echo $ECHO_N "(cached) $ECHO_C" >&6
72830 else
72831
72832
72833
72834       ac_ext=cc
72835 ac_cpp='$CXXCPP $CPPFLAGS'
72836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72839
72840       cat >conftest.$ac_ext <<_ACEOF
72841 /* confdefs.h.  */
72842 _ACEOF
72843 cat confdefs.h >>conftest.$ac_ext
72844 cat >>conftest.$ac_ext <<_ACEOF
72845 /* end confdefs.h.  */
72846 #include <math.h>
72847 int
72848 main ()
72849 {
72850  _atan2l(0, 0);
72851   ;
72852   return 0;
72853 }
72854 _ACEOF
72855 rm -f conftest.$ac_objext
72856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72857   (eval $ac_compile) 2>conftest.er1
72858   ac_status=$?
72859   grep -v '^ *+' conftest.er1 >conftest.err
72860   rm -f conftest.er1
72861   cat conftest.err >&5
72862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72863   (exit $ac_status); } &&
72864          { ac_try='test -z "$ac_cxx_werror_flag"
72865                          || test ! -s conftest.err'
72866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867   (eval $ac_try) 2>&5
72868   ac_status=$?
72869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870   (exit $ac_status); }; } &&
72871          { ac_try='test -s conftest.$ac_objext'
72872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873   (eval $ac_try) 2>&5
72874   ac_status=$?
72875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876   (exit $ac_status); }; }; then
72877   glibcxx_cv_func__atan2l_use=yes
72878 else
72879   echo "$as_me: failed program was:" >&5
72880 sed 's/^/| /' conftest.$ac_ext >&5
72881
72882 glibcxx_cv_func__atan2l_use=no
72883 fi
72884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72885       ac_ext=c
72886 ac_cpp='$CPP $CPPFLAGS'
72887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72890
72891
72892 fi
72893
72894   fi
72895   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
72896 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
72897
72898     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
72899
72900 for ac_func in _atan2l
72901 do
72902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72903 echo "$as_me:$LINENO: checking for $ac_func" >&5
72904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72905 if eval "test \"\${$as_ac_var+set}\" = set"; then
72906   echo $ECHO_N "(cached) $ECHO_C" >&6
72907 else
72908   if test x$gcc_no_link = xyes; then
72909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72911    { (exit 1); exit 1; }; }
72912 fi
72913 cat >conftest.$ac_ext <<_ACEOF
72914 /* confdefs.h.  */
72915 _ACEOF
72916 cat confdefs.h >>conftest.$ac_ext
72917 cat >>conftest.$ac_ext <<_ACEOF
72918 /* end confdefs.h.  */
72919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72921 #define $ac_func innocuous_$ac_func
72922
72923 /* System header to define __stub macros and hopefully few prototypes,
72924     which can conflict with char $ac_func (); below.
72925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72926     <limits.h> exists even on freestanding compilers.  */
72927
72928 #ifdef __STDC__
72929 # include <limits.h>
72930 #else
72931 # include <assert.h>
72932 #endif
72933
72934 #undef $ac_func
72935
72936 /* Override any gcc2 internal prototype to avoid an error.  */
72937 #ifdef __cplusplus
72938 extern "C"
72939 {
72940 #endif
72941 /* We use char because int might match the return type of a gcc2
72942    builtin and then its argument prototype would still apply.  */
72943 char $ac_func ();
72944 /* The GNU C library defines this for functions which it implements
72945     to always fail with ENOSYS.  Some functions are actually named
72946     something starting with __ and the normal name is an alias.  */
72947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72948 choke me
72949 #else
72950 char (*f) () = $ac_func;
72951 #endif
72952 #ifdef __cplusplus
72953 }
72954 #endif
72955
72956 int
72957 main ()
72958 {
72959 return f != $ac_func;
72960   ;
72961   return 0;
72962 }
72963 _ACEOF
72964 rm -f conftest.$ac_objext conftest$ac_exeext
72965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72966   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
72987 else
72988   echo "$as_me: failed program was:" >&5
72989 sed 's/^/| /' conftest.$ac_ext >&5
72990
72991 eval "$as_ac_var=no"
72992 fi
72993 rm -f conftest.err conftest.$ac_objext \
72994       conftest$ac_exeext conftest.$ac_ext
72995 fi
72996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72998 if test `eval echo '${'$as_ac_var'}'` = yes; then
72999   cat >>confdefs.h <<_ACEOF
73000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73001 _ACEOF
73002
73003 fi
73004 done
73005
73006     fi
73007   fi
73008
73009
73010
73011
73012
73013
73014   echo "$as_me:$LINENO: checking for expl declaration" >&5
73015 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
73016   if test x${glibcxx_cv_func_expl_use+set} != xset; then
73017     if test "${glibcxx_cv_func_expl_use+set}" = set; then
73018   echo $ECHO_N "(cached) $ECHO_C" >&6
73019 else
73020
73021
73022
73023       ac_ext=cc
73024 ac_cpp='$CXXCPP $CPPFLAGS'
73025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73028
73029       cat >conftest.$ac_ext <<_ACEOF
73030 /* confdefs.h.  */
73031 _ACEOF
73032 cat confdefs.h >>conftest.$ac_ext
73033 cat >>conftest.$ac_ext <<_ACEOF
73034 /* end confdefs.h.  */
73035 #include <math.h>
73036                       #ifdef HAVE_IEEEFP_H
73037                       #include <ieeefp.h>
73038                       #endif
73039
73040 int
73041 main ()
73042 {
73043  expl(0);
73044   ;
73045   return 0;
73046 }
73047 _ACEOF
73048 rm -f conftest.$ac_objext
73049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73050   (eval $ac_compile) 2>conftest.er1
73051   ac_status=$?
73052   grep -v '^ *+' conftest.er1 >conftest.err
73053   rm -f conftest.er1
73054   cat conftest.err >&5
73055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056   (exit $ac_status); } &&
73057          { ac_try='test -z "$ac_cxx_werror_flag"
73058                          || test ! -s conftest.err'
73059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73060   (eval $ac_try) 2>&5
73061   ac_status=$?
73062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063   (exit $ac_status); }; } &&
73064          { ac_try='test -s conftest.$ac_objext'
73065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73066   (eval $ac_try) 2>&5
73067   ac_status=$?
73068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73069   (exit $ac_status); }; }; then
73070   glibcxx_cv_func_expl_use=yes
73071 else
73072   echo "$as_me: failed program was:" >&5
73073 sed 's/^/| /' conftest.$ac_ext >&5
73074
73075 glibcxx_cv_func_expl_use=no
73076 fi
73077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73078       ac_ext=c
73079 ac_cpp='$CPP $CPPFLAGS'
73080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73083
73084
73085 fi
73086
73087   fi
73088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
73089 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
73090
73091   if test x$glibcxx_cv_func_expl_use = x"yes"; then
73092
73093 for ac_func in expl
73094 do
73095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73096 echo "$as_me:$LINENO: checking for $ac_func" >&5
73097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73098 if eval "test \"\${$as_ac_var+set}\" = set"; then
73099   echo $ECHO_N "(cached) $ECHO_C" >&6
73100 else
73101   if test x$gcc_no_link = xyes; then
73102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73104    { (exit 1); exit 1; }; }
73105 fi
73106 cat >conftest.$ac_ext <<_ACEOF
73107 /* confdefs.h.  */
73108 _ACEOF
73109 cat confdefs.h >>conftest.$ac_ext
73110 cat >>conftest.$ac_ext <<_ACEOF
73111 /* end confdefs.h.  */
73112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73114 #define $ac_func innocuous_$ac_func
73115
73116 /* System header to define __stub macros and hopefully few prototypes,
73117     which can conflict with char $ac_func (); below.
73118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73119     <limits.h> exists even on freestanding compilers.  */
73120
73121 #ifdef __STDC__
73122 # include <limits.h>
73123 #else
73124 # include <assert.h>
73125 #endif
73126
73127 #undef $ac_func
73128
73129 /* Override any gcc2 internal prototype to avoid an error.  */
73130 #ifdef __cplusplus
73131 extern "C"
73132 {
73133 #endif
73134 /* We use char because int might match the return type of a gcc2
73135    builtin and then its argument prototype would still apply.  */
73136 char $ac_func ();
73137 /* The GNU C library defines this for functions which it implements
73138     to always fail with ENOSYS.  Some functions are actually named
73139     something starting with __ and the normal name is an alias.  */
73140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73141 choke me
73142 #else
73143 char (*f) () = $ac_func;
73144 #endif
73145 #ifdef __cplusplus
73146 }
73147 #endif
73148
73149 int
73150 main ()
73151 {
73152 return f != $ac_func;
73153   ;
73154   return 0;
73155 }
73156 _ACEOF
73157 rm -f conftest.$ac_objext conftest$ac_exeext
73158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73159   (eval $ac_link) 2>conftest.er1
73160   ac_status=$?
73161   grep -v '^ *+' conftest.er1 >conftest.err
73162   rm -f conftest.er1
73163   cat conftest.err >&5
73164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73165   (exit $ac_status); } &&
73166          { ac_try='test -z "$ac_c_werror_flag"
73167                          || test ! -s conftest.err'
73168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73169   (eval $ac_try) 2>&5
73170   ac_status=$?
73171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172   (exit $ac_status); }; } &&
73173          { ac_try='test -s conftest$ac_exeext'
73174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73175   (eval $ac_try) 2>&5
73176   ac_status=$?
73177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73178   (exit $ac_status); }; }; then
73179   eval "$as_ac_var=yes"
73180 else
73181   echo "$as_me: failed program was:" >&5
73182 sed 's/^/| /' conftest.$ac_ext >&5
73183
73184 eval "$as_ac_var=no"
73185 fi
73186 rm -f conftest.err conftest.$ac_objext \
73187       conftest$ac_exeext conftest.$ac_ext
73188 fi
73189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73191 if test `eval echo '${'$as_ac_var'}'` = yes; then
73192   cat >>confdefs.h <<_ACEOF
73193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73194 _ACEOF
73195
73196 fi
73197 done
73198
73199   else
73200
73201   echo "$as_me:$LINENO: checking for _expl declaration" >&5
73202 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
73203   if test x${glibcxx_cv_func__expl_use+set} != xset; then
73204     if test "${glibcxx_cv_func__expl_use+set}" = set; then
73205   echo $ECHO_N "(cached) $ECHO_C" >&6
73206 else
73207
73208
73209
73210       ac_ext=cc
73211 ac_cpp='$CXXCPP $CPPFLAGS'
73212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73215
73216       cat >conftest.$ac_ext <<_ACEOF
73217 /* confdefs.h.  */
73218 _ACEOF
73219 cat confdefs.h >>conftest.$ac_ext
73220 cat >>conftest.$ac_ext <<_ACEOF
73221 /* end confdefs.h.  */
73222 #include <math.h>
73223                       #ifdef HAVE_IEEEFP_H
73224                       #include <ieeefp.h>
73225                       #endif
73226
73227 int
73228 main ()
73229 {
73230  _expl(0);
73231   ;
73232   return 0;
73233 }
73234 _ACEOF
73235 rm -f conftest.$ac_objext
73236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73237   (eval $ac_compile) 2>conftest.er1
73238   ac_status=$?
73239   grep -v '^ *+' conftest.er1 >conftest.err
73240   rm -f conftest.er1
73241   cat conftest.err >&5
73242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73243   (exit $ac_status); } &&
73244          { ac_try='test -z "$ac_cxx_werror_flag"
73245                          || test ! -s conftest.err'
73246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247   (eval $ac_try) 2>&5
73248   ac_status=$?
73249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250   (exit $ac_status); }; } &&
73251          { ac_try='test -s conftest.$ac_objext'
73252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73253   (eval $ac_try) 2>&5
73254   ac_status=$?
73255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73256   (exit $ac_status); }; }; then
73257   glibcxx_cv_func__expl_use=yes
73258 else
73259   echo "$as_me: failed program was:" >&5
73260 sed 's/^/| /' conftest.$ac_ext >&5
73261
73262 glibcxx_cv_func__expl_use=no
73263 fi
73264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73265       ac_ext=c
73266 ac_cpp='$CPP $CPPFLAGS'
73267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73270
73271
73272 fi
73273
73274   fi
73275   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
73276 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
73277
73278     if test x$glibcxx_cv_func__expl_use = x"yes"; then
73279
73280 for ac_func in _expl
73281 do
73282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73283 echo "$as_me:$LINENO: checking for $ac_func" >&5
73284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73285 if eval "test \"\${$as_ac_var+set}\" = set"; then
73286   echo $ECHO_N "(cached) $ECHO_C" >&6
73287 else
73288   if test x$gcc_no_link = xyes; then
73289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73291    { (exit 1); exit 1; }; }
73292 fi
73293 cat >conftest.$ac_ext <<_ACEOF
73294 /* confdefs.h.  */
73295 _ACEOF
73296 cat confdefs.h >>conftest.$ac_ext
73297 cat >>conftest.$ac_ext <<_ACEOF
73298 /* end confdefs.h.  */
73299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73301 #define $ac_func innocuous_$ac_func
73302
73303 /* System header to define __stub macros and hopefully few prototypes,
73304     which can conflict with char $ac_func (); below.
73305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73306     <limits.h> exists even on freestanding compilers.  */
73307
73308 #ifdef __STDC__
73309 # include <limits.h>
73310 #else
73311 # include <assert.h>
73312 #endif
73313
73314 #undef $ac_func
73315
73316 /* Override any gcc2 internal prototype to avoid an error.  */
73317 #ifdef __cplusplus
73318 extern "C"
73319 {
73320 #endif
73321 /* We use char because int might match the return type of a gcc2
73322    builtin and then its argument prototype would still apply.  */
73323 char $ac_func ();
73324 /* The GNU C library defines this for functions which it implements
73325     to always fail with ENOSYS.  Some functions are actually named
73326     something starting with __ and the normal name is an alias.  */
73327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73328 choke me
73329 #else
73330 char (*f) () = $ac_func;
73331 #endif
73332 #ifdef __cplusplus
73333 }
73334 #endif
73335
73336 int
73337 main ()
73338 {
73339 return f != $ac_func;
73340   ;
73341   return 0;
73342 }
73343 _ACEOF
73344 rm -f conftest.$ac_objext conftest$ac_exeext
73345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73346   (eval $ac_link) 2>conftest.er1
73347   ac_status=$?
73348   grep -v '^ *+' conftest.er1 >conftest.err
73349   rm -f conftest.er1
73350   cat conftest.err >&5
73351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352   (exit $ac_status); } &&
73353          { ac_try='test -z "$ac_c_werror_flag"
73354                          || test ! -s conftest.err'
73355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73356   (eval $ac_try) 2>&5
73357   ac_status=$?
73358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73359   (exit $ac_status); }; } &&
73360          { ac_try='test -s conftest$ac_exeext'
73361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73362   (eval $ac_try) 2>&5
73363   ac_status=$?
73364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365   (exit $ac_status); }; }; then
73366   eval "$as_ac_var=yes"
73367 else
73368   echo "$as_me: failed program was:" >&5
73369 sed 's/^/| /' conftest.$ac_ext >&5
73370
73371 eval "$as_ac_var=no"
73372 fi
73373 rm -f conftest.err conftest.$ac_objext \
73374       conftest$ac_exeext conftest.$ac_ext
73375 fi
73376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73378 if test `eval echo '${'$as_ac_var'}'` = yes; then
73379   cat >>confdefs.h <<_ACEOF
73380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73381 _ACEOF
73382
73383 fi
73384 done
73385
73386     fi
73387   fi
73388
73389
73390
73391
73392
73393
73394   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
73395 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
73396   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
73397     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
73398   echo $ECHO_N "(cached) $ECHO_C" >&6
73399 else
73400
73401
73402
73403       ac_ext=cc
73404 ac_cpp='$CXXCPP $CPPFLAGS'
73405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73408
73409       cat >conftest.$ac_ext <<_ACEOF
73410 /* confdefs.h.  */
73411 _ACEOF
73412 cat confdefs.h >>conftest.$ac_ext
73413 cat >>conftest.$ac_ext <<_ACEOF
73414 /* end confdefs.h.  */
73415 #include <math.h>
73416                       #ifdef HAVE_IEEEFP_H
73417                       #include <ieeefp.h>
73418                       #endif
73419
73420 int
73421 main ()
73422 {
73423  fabsl(0);
73424   ;
73425   return 0;
73426 }
73427 _ACEOF
73428 rm -f conftest.$ac_objext
73429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73430   (eval $ac_compile) 2>conftest.er1
73431   ac_status=$?
73432   grep -v '^ *+' conftest.er1 >conftest.err
73433   rm -f conftest.er1
73434   cat conftest.err >&5
73435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73436   (exit $ac_status); } &&
73437          { ac_try='test -z "$ac_cxx_werror_flag"
73438                          || test ! -s conftest.err'
73439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73440   (eval $ac_try) 2>&5
73441   ac_status=$?
73442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73443   (exit $ac_status); }; } &&
73444          { ac_try='test -s conftest.$ac_objext'
73445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73446   (eval $ac_try) 2>&5
73447   ac_status=$?
73448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73449   (exit $ac_status); }; }; then
73450   glibcxx_cv_func_fabsl_use=yes
73451 else
73452   echo "$as_me: failed program was:" >&5
73453 sed 's/^/| /' conftest.$ac_ext >&5
73454
73455 glibcxx_cv_func_fabsl_use=no
73456 fi
73457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73458       ac_ext=c
73459 ac_cpp='$CPP $CPPFLAGS'
73460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73463
73464
73465 fi
73466
73467   fi
73468   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
73469 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
73470
73471   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
73472
73473 for ac_func in fabsl
73474 do
73475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73476 echo "$as_me:$LINENO: checking for $ac_func" >&5
73477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73478 if eval "test \"\${$as_ac_var+set}\" = set"; then
73479   echo $ECHO_N "(cached) $ECHO_C" >&6
73480 else
73481   if test x$gcc_no_link = xyes; then
73482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73484    { (exit 1); exit 1; }; }
73485 fi
73486 cat >conftest.$ac_ext <<_ACEOF
73487 /* confdefs.h.  */
73488 _ACEOF
73489 cat confdefs.h >>conftest.$ac_ext
73490 cat >>conftest.$ac_ext <<_ACEOF
73491 /* end confdefs.h.  */
73492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73494 #define $ac_func innocuous_$ac_func
73495
73496 /* System header to define __stub macros and hopefully few prototypes,
73497     which can conflict with char $ac_func (); below.
73498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73499     <limits.h> exists even on freestanding compilers.  */
73500
73501 #ifdef __STDC__
73502 # include <limits.h>
73503 #else
73504 # include <assert.h>
73505 #endif
73506
73507 #undef $ac_func
73508
73509 /* Override any gcc2 internal prototype to avoid an error.  */
73510 #ifdef __cplusplus
73511 extern "C"
73512 {
73513 #endif
73514 /* We use char because int might match the return type of a gcc2
73515    builtin and then its argument prototype would still apply.  */
73516 char $ac_func ();
73517 /* The GNU C library defines this for functions which it implements
73518     to always fail with ENOSYS.  Some functions are actually named
73519     something starting with __ and the normal name is an alias.  */
73520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73521 choke me
73522 #else
73523 char (*f) () = $ac_func;
73524 #endif
73525 #ifdef __cplusplus
73526 }
73527 #endif
73528
73529 int
73530 main ()
73531 {
73532 return f != $ac_func;
73533   ;
73534   return 0;
73535 }
73536 _ACEOF
73537 rm -f conftest.$ac_objext conftest$ac_exeext
73538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73539   (eval $ac_link) 2>conftest.er1
73540   ac_status=$?
73541   grep -v '^ *+' conftest.er1 >conftest.err
73542   rm -f conftest.er1
73543   cat conftest.err >&5
73544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73545   (exit $ac_status); } &&
73546          { ac_try='test -z "$ac_c_werror_flag"
73547                          || test ! -s conftest.err'
73548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73549   (eval $ac_try) 2>&5
73550   ac_status=$?
73551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73552   (exit $ac_status); }; } &&
73553          { ac_try='test -s conftest$ac_exeext'
73554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73555   (eval $ac_try) 2>&5
73556   ac_status=$?
73557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73558   (exit $ac_status); }; }; then
73559   eval "$as_ac_var=yes"
73560 else
73561   echo "$as_me: failed program was:" >&5
73562 sed 's/^/| /' conftest.$ac_ext >&5
73563
73564 eval "$as_ac_var=no"
73565 fi
73566 rm -f conftest.err conftest.$ac_objext \
73567       conftest$ac_exeext conftest.$ac_ext
73568 fi
73569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73571 if test `eval echo '${'$as_ac_var'}'` = yes; then
73572   cat >>confdefs.h <<_ACEOF
73573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73574 _ACEOF
73575
73576 fi
73577 done
73578
73579   else
73580
73581   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
73582 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
73583   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
73584     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
73585   echo $ECHO_N "(cached) $ECHO_C" >&6
73586 else
73587
73588
73589
73590       ac_ext=cc
73591 ac_cpp='$CXXCPP $CPPFLAGS'
73592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73595
73596       cat >conftest.$ac_ext <<_ACEOF
73597 /* confdefs.h.  */
73598 _ACEOF
73599 cat confdefs.h >>conftest.$ac_ext
73600 cat >>conftest.$ac_ext <<_ACEOF
73601 /* end confdefs.h.  */
73602 #include <math.h>
73603                       #ifdef HAVE_IEEEFP_H
73604                       #include <ieeefp.h>
73605                       #endif
73606
73607 int
73608 main ()
73609 {
73610  _fabsl(0);
73611   ;
73612   return 0;
73613 }
73614 _ACEOF
73615 rm -f conftest.$ac_objext
73616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73617   (eval $ac_compile) 2>conftest.er1
73618   ac_status=$?
73619   grep -v '^ *+' conftest.er1 >conftest.err
73620   rm -f conftest.er1
73621   cat conftest.err >&5
73622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73623   (exit $ac_status); } &&
73624          { ac_try='test -z "$ac_cxx_werror_flag"
73625                          || test ! -s conftest.err'
73626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73627   (eval $ac_try) 2>&5
73628   ac_status=$?
73629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73630   (exit $ac_status); }; } &&
73631          { ac_try='test -s conftest.$ac_objext'
73632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73633   (eval $ac_try) 2>&5
73634   ac_status=$?
73635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73636   (exit $ac_status); }; }; then
73637   glibcxx_cv_func__fabsl_use=yes
73638 else
73639   echo "$as_me: failed program was:" >&5
73640 sed 's/^/| /' conftest.$ac_ext >&5
73641
73642 glibcxx_cv_func__fabsl_use=no
73643 fi
73644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73645       ac_ext=c
73646 ac_cpp='$CPP $CPPFLAGS'
73647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73650
73651
73652 fi
73653
73654   fi
73655   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
73656 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
73657
73658     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
73659
73660 for ac_func in _fabsl
73661 do
73662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73663 echo "$as_me:$LINENO: checking for $ac_func" >&5
73664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73665 if eval "test \"\${$as_ac_var+set}\" = set"; then
73666   echo $ECHO_N "(cached) $ECHO_C" >&6
73667 else
73668   if test x$gcc_no_link = xyes; then
73669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73671    { (exit 1); exit 1; }; }
73672 fi
73673 cat >conftest.$ac_ext <<_ACEOF
73674 /* confdefs.h.  */
73675 _ACEOF
73676 cat confdefs.h >>conftest.$ac_ext
73677 cat >>conftest.$ac_ext <<_ACEOF
73678 /* end confdefs.h.  */
73679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73681 #define $ac_func innocuous_$ac_func
73682
73683 /* System header to define __stub macros and hopefully few prototypes,
73684     which can conflict with char $ac_func (); below.
73685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73686     <limits.h> exists even on freestanding compilers.  */
73687
73688 #ifdef __STDC__
73689 # include <limits.h>
73690 #else
73691 # include <assert.h>
73692 #endif
73693
73694 #undef $ac_func
73695
73696 /* Override any gcc2 internal prototype to avoid an error.  */
73697 #ifdef __cplusplus
73698 extern "C"
73699 {
73700 #endif
73701 /* We use char because int might match the return type of a gcc2
73702    builtin and then its argument prototype would still apply.  */
73703 char $ac_func ();
73704 /* The GNU C library defines this for functions which it implements
73705     to always fail with ENOSYS.  Some functions are actually named
73706     something starting with __ and the normal name is an alias.  */
73707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73708 choke me
73709 #else
73710 char (*f) () = $ac_func;
73711 #endif
73712 #ifdef __cplusplus
73713 }
73714 #endif
73715
73716 int
73717 main ()
73718 {
73719 return f != $ac_func;
73720   ;
73721   return 0;
73722 }
73723 _ACEOF
73724 rm -f conftest.$ac_objext conftest$ac_exeext
73725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73726   (eval $ac_link) 2>conftest.er1
73727   ac_status=$?
73728   grep -v '^ *+' conftest.er1 >conftest.err
73729   rm -f conftest.er1
73730   cat conftest.err >&5
73731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73732   (exit $ac_status); } &&
73733          { ac_try='test -z "$ac_c_werror_flag"
73734                          || test ! -s conftest.err'
73735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73736   (eval $ac_try) 2>&5
73737   ac_status=$?
73738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73739   (exit $ac_status); }; } &&
73740          { ac_try='test -s conftest$ac_exeext'
73741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73742   (eval $ac_try) 2>&5
73743   ac_status=$?
73744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73745   (exit $ac_status); }; }; then
73746   eval "$as_ac_var=yes"
73747 else
73748   echo "$as_me: failed program was:" >&5
73749 sed 's/^/| /' conftest.$ac_ext >&5
73750
73751 eval "$as_ac_var=no"
73752 fi
73753 rm -f conftest.err conftest.$ac_objext \
73754       conftest$ac_exeext conftest.$ac_ext
73755 fi
73756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73758 if test `eval echo '${'$as_ac_var'}'` = yes; then
73759   cat >>confdefs.h <<_ACEOF
73760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73761 _ACEOF
73762
73763 fi
73764 done
73765
73766     fi
73767   fi
73768
73769
73770
73771
73772
73773
73774   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
73775 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
73776   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
73777     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
73778   echo $ECHO_N "(cached) $ECHO_C" >&6
73779 else
73780
73781
73782
73783       ac_ext=cc
73784 ac_cpp='$CXXCPP $CPPFLAGS'
73785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73788
73789       cat >conftest.$ac_ext <<_ACEOF
73790 /* confdefs.h.  */
73791 _ACEOF
73792 cat confdefs.h >>conftest.$ac_ext
73793 cat >>conftest.$ac_ext <<_ACEOF
73794 /* end confdefs.h.  */
73795 #include <math.h>
73796 int
73797 main ()
73798 {
73799  fmodl(0, 0);
73800   ;
73801   return 0;
73802 }
73803 _ACEOF
73804 rm -f conftest.$ac_objext
73805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73806   (eval $ac_compile) 2>conftest.er1
73807   ac_status=$?
73808   grep -v '^ *+' conftest.er1 >conftest.err
73809   rm -f conftest.er1
73810   cat conftest.err >&5
73811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73812   (exit $ac_status); } &&
73813          { ac_try='test -z "$ac_cxx_werror_flag"
73814                          || test ! -s conftest.err'
73815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73816   (eval $ac_try) 2>&5
73817   ac_status=$?
73818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73819   (exit $ac_status); }; } &&
73820          { ac_try='test -s conftest.$ac_objext'
73821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73822   (eval $ac_try) 2>&5
73823   ac_status=$?
73824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73825   (exit $ac_status); }; }; then
73826   glibcxx_cv_func_fmodl_use=yes
73827 else
73828   echo "$as_me: failed program was:" >&5
73829 sed 's/^/| /' conftest.$ac_ext >&5
73830
73831 glibcxx_cv_func_fmodl_use=no
73832 fi
73833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73834       ac_ext=c
73835 ac_cpp='$CPP $CPPFLAGS'
73836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73839
73840
73841 fi
73842
73843   fi
73844   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
73845 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
73846
73847   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
73848
73849 for ac_func in fmodl
73850 do
73851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73852 echo "$as_me:$LINENO: checking for $ac_func" >&5
73853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73854 if eval "test \"\${$as_ac_var+set}\" = set"; then
73855   echo $ECHO_N "(cached) $ECHO_C" >&6
73856 else
73857   if test x$gcc_no_link = xyes; then
73858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73860    { (exit 1); exit 1; }; }
73861 fi
73862 cat >conftest.$ac_ext <<_ACEOF
73863 /* confdefs.h.  */
73864 _ACEOF
73865 cat confdefs.h >>conftest.$ac_ext
73866 cat >>conftest.$ac_ext <<_ACEOF
73867 /* end confdefs.h.  */
73868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73870 #define $ac_func innocuous_$ac_func
73871
73872 /* System header to define __stub macros and hopefully few prototypes,
73873     which can conflict with char $ac_func (); below.
73874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73875     <limits.h> exists even on freestanding compilers.  */
73876
73877 #ifdef __STDC__
73878 # include <limits.h>
73879 #else
73880 # include <assert.h>
73881 #endif
73882
73883 #undef $ac_func
73884
73885 /* Override any gcc2 internal prototype to avoid an error.  */
73886 #ifdef __cplusplus
73887 extern "C"
73888 {
73889 #endif
73890 /* We use char because int might match the return type of a gcc2
73891    builtin and then its argument prototype would still apply.  */
73892 char $ac_func ();
73893 /* The GNU C library defines this for functions which it implements
73894     to always fail with ENOSYS.  Some functions are actually named
73895     something starting with __ and the normal name is an alias.  */
73896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73897 choke me
73898 #else
73899 char (*f) () = $ac_func;
73900 #endif
73901 #ifdef __cplusplus
73902 }
73903 #endif
73904
73905 int
73906 main ()
73907 {
73908 return f != $ac_func;
73909   ;
73910   return 0;
73911 }
73912 _ACEOF
73913 rm -f conftest.$ac_objext conftest$ac_exeext
73914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73915   (eval $ac_link) 2>conftest.er1
73916   ac_status=$?
73917   grep -v '^ *+' conftest.er1 >conftest.err
73918   rm -f conftest.er1
73919   cat conftest.err >&5
73920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73921   (exit $ac_status); } &&
73922          { ac_try='test -z "$ac_c_werror_flag"
73923                          || test ! -s conftest.err'
73924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73925   (eval $ac_try) 2>&5
73926   ac_status=$?
73927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73928   (exit $ac_status); }; } &&
73929          { ac_try='test -s conftest$ac_exeext'
73930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73931   (eval $ac_try) 2>&5
73932   ac_status=$?
73933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73934   (exit $ac_status); }; }; then
73935   eval "$as_ac_var=yes"
73936 else
73937   echo "$as_me: failed program was:" >&5
73938 sed 's/^/| /' conftest.$ac_ext >&5
73939
73940 eval "$as_ac_var=no"
73941 fi
73942 rm -f conftest.err conftest.$ac_objext \
73943       conftest$ac_exeext conftest.$ac_ext
73944 fi
73945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73947 if test `eval echo '${'$as_ac_var'}'` = yes; then
73948   cat >>confdefs.h <<_ACEOF
73949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73950 _ACEOF
73951
73952 fi
73953 done
73954
73955   else
73956
73957   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
73958 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
73959   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
73960     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
73961   echo $ECHO_N "(cached) $ECHO_C" >&6
73962 else
73963
73964
73965
73966       ac_ext=cc
73967 ac_cpp='$CXXCPP $CPPFLAGS'
73968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73971
73972       cat >conftest.$ac_ext <<_ACEOF
73973 /* confdefs.h.  */
73974 _ACEOF
73975 cat confdefs.h >>conftest.$ac_ext
73976 cat >>conftest.$ac_ext <<_ACEOF
73977 /* end confdefs.h.  */
73978 #include <math.h>
73979 int
73980 main ()
73981 {
73982  _fmodl(0, 0);
73983   ;
73984   return 0;
73985 }
73986 _ACEOF
73987 rm -f conftest.$ac_objext
73988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73989   (eval $ac_compile) 2>conftest.er1
73990   ac_status=$?
73991   grep -v '^ *+' conftest.er1 >conftest.err
73992   rm -f conftest.er1
73993   cat conftest.err >&5
73994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73995   (exit $ac_status); } &&
73996          { ac_try='test -z "$ac_cxx_werror_flag"
73997                          || test ! -s conftest.err'
73998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73999   (eval $ac_try) 2>&5
74000   ac_status=$?
74001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74002   (exit $ac_status); }; } &&
74003          { ac_try='test -s conftest.$ac_objext'
74004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74005   (eval $ac_try) 2>&5
74006   ac_status=$?
74007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74008   (exit $ac_status); }; }; then
74009   glibcxx_cv_func__fmodl_use=yes
74010 else
74011   echo "$as_me: failed program was:" >&5
74012 sed 's/^/| /' conftest.$ac_ext >&5
74013
74014 glibcxx_cv_func__fmodl_use=no
74015 fi
74016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74017       ac_ext=c
74018 ac_cpp='$CPP $CPPFLAGS'
74019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74022
74023
74024 fi
74025
74026   fi
74027   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
74028 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
74029
74030     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
74031
74032 for ac_func in _fmodl
74033 do
74034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74035 echo "$as_me:$LINENO: checking for $ac_func" >&5
74036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74037 if eval "test \"\${$as_ac_var+set}\" = set"; then
74038   echo $ECHO_N "(cached) $ECHO_C" >&6
74039 else
74040   if test x$gcc_no_link = xyes; then
74041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74043    { (exit 1); exit 1; }; }
74044 fi
74045 cat >conftest.$ac_ext <<_ACEOF
74046 /* confdefs.h.  */
74047 _ACEOF
74048 cat confdefs.h >>conftest.$ac_ext
74049 cat >>conftest.$ac_ext <<_ACEOF
74050 /* end confdefs.h.  */
74051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74053 #define $ac_func innocuous_$ac_func
74054
74055 /* System header to define __stub macros and hopefully few prototypes,
74056     which can conflict with char $ac_func (); below.
74057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74058     <limits.h> exists even on freestanding compilers.  */
74059
74060 #ifdef __STDC__
74061 # include <limits.h>
74062 #else
74063 # include <assert.h>
74064 #endif
74065
74066 #undef $ac_func
74067
74068 /* Override any gcc2 internal prototype to avoid an error.  */
74069 #ifdef __cplusplus
74070 extern "C"
74071 {
74072 #endif
74073 /* We use char because int might match the return type of a gcc2
74074    builtin and then its argument prototype would still apply.  */
74075 char $ac_func ();
74076 /* The GNU C library defines this for functions which it implements
74077     to always fail with ENOSYS.  Some functions are actually named
74078     something starting with __ and the normal name is an alias.  */
74079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74080 choke me
74081 #else
74082 char (*f) () = $ac_func;
74083 #endif
74084 #ifdef __cplusplus
74085 }
74086 #endif
74087
74088 int
74089 main ()
74090 {
74091 return f != $ac_func;
74092   ;
74093   return 0;
74094 }
74095 _ACEOF
74096 rm -f conftest.$ac_objext conftest$ac_exeext
74097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74098   (eval $ac_link) 2>conftest.er1
74099   ac_status=$?
74100   grep -v '^ *+' conftest.er1 >conftest.err
74101   rm -f conftest.er1
74102   cat conftest.err >&5
74103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74104   (exit $ac_status); } &&
74105          { ac_try='test -z "$ac_c_werror_flag"
74106                          || test ! -s conftest.err'
74107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74108   (eval $ac_try) 2>&5
74109   ac_status=$?
74110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74111   (exit $ac_status); }; } &&
74112          { ac_try='test -s conftest$ac_exeext'
74113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74114   (eval $ac_try) 2>&5
74115   ac_status=$?
74116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74117   (exit $ac_status); }; }; then
74118   eval "$as_ac_var=yes"
74119 else
74120   echo "$as_me: failed program was:" >&5
74121 sed 's/^/| /' conftest.$ac_ext >&5
74122
74123 eval "$as_ac_var=no"
74124 fi
74125 rm -f conftest.err conftest.$ac_objext \
74126       conftest$ac_exeext conftest.$ac_ext
74127 fi
74128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74130 if test `eval echo '${'$as_ac_var'}'` = yes; then
74131   cat >>confdefs.h <<_ACEOF
74132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74133 _ACEOF
74134
74135 fi
74136 done
74137
74138     fi
74139   fi
74140
74141
74142
74143
74144
74145
74146   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
74147 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
74148   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
74149     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
74150   echo $ECHO_N "(cached) $ECHO_C" >&6
74151 else
74152
74153
74154
74155       ac_ext=cc
74156 ac_cpp='$CXXCPP $CPPFLAGS'
74157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74160
74161       cat >conftest.$ac_ext <<_ACEOF
74162 /* confdefs.h.  */
74163 _ACEOF
74164 cat confdefs.h >>conftest.$ac_ext
74165 cat >>conftest.$ac_ext <<_ACEOF
74166 /* end confdefs.h.  */
74167 #include <math.h>
74168 int
74169 main ()
74170 {
74171  frexpl(0, 0);
74172   ;
74173   return 0;
74174 }
74175 _ACEOF
74176 rm -f conftest.$ac_objext
74177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74178   (eval $ac_compile) 2>conftest.er1
74179   ac_status=$?
74180   grep -v '^ *+' conftest.er1 >conftest.err
74181   rm -f conftest.er1
74182   cat conftest.err >&5
74183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74184   (exit $ac_status); } &&
74185          { ac_try='test -z "$ac_cxx_werror_flag"
74186                          || test ! -s conftest.err'
74187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74188   (eval $ac_try) 2>&5
74189   ac_status=$?
74190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74191   (exit $ac_status); }; } &&
74192          { ac_try='test -s conftest.$ac_objext'
74193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74194   (eval $ac_try) 2>&5
74195   ac_status=$?
74196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197   (exit $ac_status); }; }; then
74198   glibcxx_cv_func_frexpl_use=yes
74199 else
74200   echo "$as_me: failed program was:" >&5
74201 sed 's/^/| /' conftest.$ac_ext >&5
74202
74203 glibcxx_cv_func_frexpl_use=no
74204 fi
74205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74206       ac_ext=c
74207 ac_cpp='$CPP $CPPFLAGS'
74208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74211
74212
74213 fi
74214
74215   fi
74216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
74217 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
74218
74219   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
74220
74221 for ac_func in frexpl
74222 do
74223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74224 echo "$as_me:$LINENO: checking for $ac_func" >&5
74225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74226 if eval "test \"\${$as_ac_var+set}\" = set"; then
74227   echo $ECHO_N "(cached) $ECHO_C" >&6
74228 else
74229   if test x$gcc_no_link = xyes; then
74230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74232    { (exit 1); exit 1; }; }
74233 fi
74234 cat >conftest.$ac_ext <<_ACEOF
74235 /* confdefs.h.  */
74236 _ACEOF
74237 cat confdefs.h >>conftest.$ac_ext
74238 cat >>conftest.$ac_ext <<_ACEOF
74239 /* end confdefs.h.  */
74240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74242 #define $ac_func innocuous_$ac_func
74243
74244 /* System header to define __stub macros and hopefully few prototypes,
74245     which can conflict with char $ac_func (); below.
74246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74247     <limits.h> exists even on freestanding compilers.  */
74248
74249 #ifdef __STDC__
74250 # include <limits.h>
74251 #else
74252 # include <assert.h>
74253 #endif
74254
74255 #undef $ac_func
74256
74257 /* Override any gcc2 internal prototype to avoid an error.  */
74258 #ifdef __cplusplus
74259 extern "C"
74260 {
74261 #endif
74262 /* We use char because int might match the return type of a gcc2
74263    builtin and then its argument prototype would still apply.  */
74264 char $ac_func ();
74265 /* The GNU C library defines this for functions which it implements
74266     to always fail with ENOSYS.  Some functions are actually named
74267     something starting with __ and the normal name is an alias.  */
74268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74269 choke me
74270 #else
74271 char (*f) () = $ac_func;
74272 #endif
74273 #ifdef __cplusplus
74274 }
74275 #endif
74276
74277 int
74278 main ()
74279 {
74280 return f != $ac_func;
74281   ;
74282   return 0;
74283 }
74284 _ACEOF
74285 rm -f conftest.$ac_objext conftest$ac_exeext
74286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74287   (eval $ac_link) 2>conftest.er1
74288   ac_status=$?
74289   grep -v '^ *+' conftest.er1 >conftest.err
74290   rm -f conftest.er1
74291   cat conftest.err >&5
74292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74293   (exit $ac_status); } &&
74294          { ac_try='test -z "$ac_c_werror_flag"
74295                          || test ! -s conftest.err'
74296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74297   (eval $ac_try) 2>&5
74298   ac_status=$?
74299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300   (exit $ac_status); }; } &&
74301          { ac_try='test -s conftest$ac_exeext'
74302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74303   (eval $ac_try) 2>&5
74304   ac_status=$?
74305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74306   (exit $ac_status); }; }; then
74307   eval "$as_ac_var=yes"
74308 else
74309   echo "$as_me: failed program was:" >&5
74310 sed 's/^/| /' conftest.$ac_ext >&5
74311
74312 eval "$as_ac_var=no"
74313 fi
74314 rm -f conftest.err conftest.$ac_objext \
74315       conftest$ac_exeext conftest.$ac_ext
74316 fi
74317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74319 if test `eval echo '${'$as_ac_var'}'` = yes; then
74320   cat >>confdefs.h <<_ACEOF
74321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74322 _ACEOF
74323
74324 fi
74325 done
74326
74327   else
74328
74329   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
74330 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
74331   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
74332     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
74333   echo $ECHO_N "(cached) $ECHO_C" >&6
74334 else
74335
74336
74337
74338       ac_ext=cc
74339 ac_cpp='$CXXCPP $CPPFLAGS'
74340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343
74344       cat >conftest.$ac_ext <<_ACEOF
74345 /* confdefs.h.  */
74346 _ACEOF
74347 cat confdefs.h >>conftest.$ac_ext
74348 cat >>conftest.$ac_ext <<_ACEOF
74349 /* end confdefs.h.  */
74350 #include <math.h>
74351 int
74352 main ()
74353 {
74354  _frexpl(0, 0);
74355   ;
74356   return 0;
74357 }
74358 _ACEOF
74359 rm -f conftest.$ac_objext
74360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74361   (eval $ac_compile) 2>conftest.er1
74362   ac_status=$?
74363   grep -v '^ *+' conftest.er1 >conftest.err
74364   rm -f conftest.er1
74365   cat conftest.err >&5
74366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367   (exit $ac_status); } &&
74368          { ac_try='test -z "$ac_cxx_werror_flag"
74369                          || test ! -s conftest.err'
74370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74371   (eval $ac_try) 2>&5
74372   ac_status=$?
74373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74374   (exit $ac_status); }; } &&
74375          { ac_try='test -s conftest.$ac_objext'
74376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74377   (eval $ac_try) 2>&5
74378   ac_status=$?
74379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74380   (exit $ac_status); }; }; then
74381   glibcxx_cv_func__frexpl_use=yes
74382 else
74383   echo "$as_me: failed program was:" >&5
74384 sed 's/^/| /' conftest.$ac_ext >&5
74385
74386 glibcxx_cv_func__frexpl_use=no
74387 fi
74388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74389       ac_ext=c
74390 ac_cpp='$CPP $CPPFLAGS'
74391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74394
74395
74396 fi
74397
74398   fi
74399   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
74400 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
74401
74402     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
74403
74404 for ac_func in _frexpl
74405 do
74406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74407 echo "$as_me:$LINENO: checking for $ac_func" >&5
74408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74409 if eval "test \"\${$as_ac_var+set}\" = set"; then
74410   echo $ECHO_N "(cached) $ECHO_C" >&6
74411 else
74412   if test x$gcc_no_link = xyes; then
74413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74415    { (exit 1); exit 1; }; }
74416 fi
74417 cat >conftest.$ac_ext <<_ACEOF
74418 /* confdefs.h.  */
74419 _ACEOF
74420 cat confdefs.h >>conftest.$ac_ext
74421 cat >>conftest.$ac_ext <<_ACEOF
74422 /* end confdefs.h.  */
74423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74425 #define $ac_func innocuous_$ac_func
74426
74427 /* System header to define __stub macros and hopefully few prototypes,
74428     which can conflict with char $ac_func (); below.
74429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74430     <limits.h> exists even on freestanding compilers.  */
74431
74432 #ifdef __STDC__
74433 # include <limits.h>
74434 #else
74435 # include <assert.h>
74436 #endif
74437
74438 #undef $ac_func
74439
74440 /* Override any gcc2 internal prototype to avoid an error.  */
74441 #ifdef __cplusplus
74442 extern "C"
74443 {
74444 #endif
74445 /* We use char because int might match the return type of a gcc2
74446    builtin and then its argument prototype would still apply.  */
74447 char $ac_func ();
74448 /* The GNU C library defines this for functions which it implements
74449     to always fail with ENOSYS.  Some functions are actually named
74450     something starting with __ and the normal name is an alias.  */
74451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74452 choke me
74453 #else
74454 char (*f) () = $ac_func;
74455 #endif
74456 #ifdef __cplusplus
74457 }
74458 #endif
74459
74460 int
74461 main ()
74462 {
74463 return f != $ac_func;
74464   ;
74465   return 0;
74466 }
74467 _ACEOF
74468 rm -f conftest.$ac_objext conftest$ac_exeext
74469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74470   (eval $ac_link) 2>conftest.er1
74471   ac_status=$?
74472   grep -v '^ *+' conftest.er1 >conftest.err
74473   rm -f conftest.er1
74474   cat conftest.err >&5
74475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74476   (exit $ac_status); } &&
74477          { ac_try='test -z "$ac_c_werror_flag"
74478                          || test ! -s conftest.err'
74479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74480   (eval $ac_try) 2>&5
74481   ac_status=$?
74482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74483   (exit $ac_status); }; } &&
74484          { ac_try='test -s conftest$ac_exeext'
74485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74486   (eval $ac_try) 2>&5
74487   ac_status=$?
74488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74489   (exit $ac_status); }; }; then
74490   eval "$as_ac_var=yes"
74491 else
74492   echo "$as_me: failed program was:" >&5
74493 sed 's/^/| /' conftest.$ac_ext >&5
74494
74495 eval "$as_ac_var=no"
74496 fi
74497 rm -f conftest.err conftest.$ac_objext \
74498       conftest$ac_exeext conftest.$ac_ext
74499 fi
74500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74502 if test `eval echo '${'$as_ac_var'}'` = yes; then
74503   cat >>confdefs.h <<_ACEOF
74504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74505 _ACEOF
74506
74507 fi
74508 done
74509
74510     fi
74511   fi
74512
74513
74514
74515
74516
74517
74518   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
74519 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
74520   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
74521     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
74522   echo $ECHO_N "(cached) $ECHO_C" >&6
74523 else
74524
74525
74526
74527       ac_ext=cc
74528 ac_cpp='$CXXCPP $CPPFLAGS'
74529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74532
74533       cat >conftest.$ac_ext <<_ACEOF
74534 /* confdefs.h.  */
74535 _ACEOF
74536 cat confdefs.h >>conftest.$ac_ext
74537 cat >>conftest.$ac_ext <<_ACEOF
74538 /* end confdefs.h.  */
74539 #include <math.h>
74540 int
74541 main ()
74542 {
74543  hypotl(0, 0);
74544   ;
74545   return 0;
74546 }
74547 _ACEOF
74548 rm -f conftest.$ac_objext
74549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74550   (eval $ac_compile) 2>conftest.er1
74551   ac_status=$?
74552   grep -v '^ *+' conftest.er1 >conftest.err
74553   rm -f conftest.er1
74554   cat conftest.err >&5
74555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74556   (exit $ac_status); } &&
74557          { ac_try='test -z "$ac_cxx_werror_flag"
74558                          || test ! -s conftest.err'
74559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74560   (eval $ac_try) 2>&5
74561   ac_status=$?
74562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74563   (exit $ac_status); }; } &&
74564          { ac_try='test -s conftest.$ac_objext'
74565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74566   (eval $ac_try) 2>&5
74567   ac_status=$?
74568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74569   (exit $ac_status); }; }; then
74570   glibcxx_cv_func_hypotl_use=yes
74571 else
74572   echo "$as_me: failed program was:" >&5
74573 sed 's/^/| /' conftest.$ac_ext >&5
74574
74575 glibcxx_cv_func_hypotl_use=no
74576 fi
74577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74578       ac_ext=c
74579 ac_cpp='$CPP $CPPFLAGS'
74580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74583
74584
74585 fi
74586
74587   fi
74588   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
74589 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
74590
74591   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
74592
74593 for ac_func in hypotl
74594 do
74595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74596 echo "$as_me:$LINENO: checking for $ac_func" >&5
74597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74598 if eval "test \"\${$as_ac_var+set}\" = set"; then
74599   echo $ECHO_N "(cached) $ECHO_C" >&6
74600 else
74601   if test x$gcc_no_link = xyes; then
74602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74604    { (exit 1); exit 1; }; }
74605 fi
74606 cat >conftest.$ac_ext <<_ACEOF
74607 /* confdefs.h.  */
74608 _ACEOF
74609 cat confdefs.h >>conftest.$ac_ext
74610 cat >>conftest.$ac_ext <<_ACEOF
74611 /* end confdefs.h.  */
74612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74614 #define $ac_func innocuous_$ac_func
74615
74616 /* System header to define __stub macros and hopefully few prototypes,
74617     which can conflict with char $ac_func (); below.
74618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74619     <limits.h> exists even on freestanding compilers.  */
74620
74621 #ifdef __STDC__
74622 # include <limits.h>
74623 #else
74624 # include <assert.h>
74625 #endif
74626
74627 #undef $ac_func
74628
74629 /* Override any gcc2 internal prototype to avoid an error.  */
74630 #ifdef __cplusplus
74631 extern "C"
74632 {
74633 #endif
74634 /* We use char because int might match the return type of a gcc2
74635    builtin and then its argument prototype would still apply.  */
74636 char $ac_func ();
74637 /* The GNU C library defines this for functions which it implements
74638     to always fail with ENOSYS.  Some functions are actually named
74639     something starting with __ and the normal name is an alias.  */
74640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74641 choke me
74642 #else
74643 char (*f) () = $ac_func;
74644 #endif
74645 #ifdef __cplusplus
74646 }
74647 #endif
74648
74649 int
74650 main ()
74651 {
74652 return f != $ac_func;
74653   ;
74654   return 0;
74655 }
74656 _ACEOF
74657 rm -f conftest.$ac_objext conftest$ac_exeext
74658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74659   (eval $ac_link) 2>conftest.er1
74660   ac_status=$?
74661   grep -v '^ *+' conftest.er1 >conftest.err
74662   rm -f conftest.er1
74663   cat conftest.err >&5
74664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74665   (exit $ac_status); } &&
74666          { ac_try='test -z "$ac_c_werror_flag"
74667                          || test ! -s conftest.err'
74668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74669   (eval $ac_try) 2>&5
74670   ac_status=$?
74671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74672   (exit $ac_status); }; } &&
74673          { ac_try='test -s conftest$ac_exeext'
74674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74675   (eval $ac_try) 2>&5
74676   ac_status=$?
74677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74678   (exit $ac_status); }; }; then
74679   eval "$as_ac_var=yes"
74680 else
74681   echo "$as_me: failed program was:" >&5
74682 sed 's/^/| /' conftest.$ac_ext >&5
74683
74684 eval "$as_ac_var=no"
74685 fi
74686 rm -f conftest.err conftest.$ac_objext \
74687       conftest$ac_exeext conftest.$ac_ext
74688 fi
74689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74691 if test `eval echo '${'$as_ac_var'}'` = yes; then
74692   cat >>confdefs.h <<_ACEOF
74693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74694 _ACEOF
74695
74696 fi
74697 done
74698
74699   else
74700
74701   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
74702 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
74703   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
74704     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
74705   echo $ECHO_N "(cached) $ECHO_C" >&6
74706 else
74707
74708
74709
74710       ac_ext=cc
74711 ac_cpp='$CXXCPP $CPPFLAGS'
74712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74715
74716       cat >conftest.$ac_ext <<_ACEOF
74717 /* confdefs.h.  */
74718 _ACEOF
74719 cat confdefs.h >>conftest.$ac_ext
74720 cat >>conftest.$ac_ext <<_ACEOF
74721 /* end confdefs.h.  */
74722 #include <math.h>
74723 int
74724 main ()
74725 {
74726  _hypotl(0, 0);
74727   ;
74728   return 0;
74729 }
74730 _ACEOF
74731 rm -f conftest.$ac_objext
74732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74733   (eval $ac_compile) 2>conftest.er1
74734   ac_status=$?
74735   grep -v '^ *+' conftest.er1 >conftest.err
74736   rm -f conftest.er1
74737   cat conftest.err >&5
74738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74739   (exit $ac_status); } &&
74740          { ac_try='test -z "$ac_cxx_werror_flag"
74741                          || test ! -s conftest.err'
74742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74743   (eval $ac_try) 2>&5
74744   ac_status=$?
74745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74746   (exit $ac_status); }; } &&
74747          { ac_try='test -s conftest.$ac_objext'
74748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74749   (eval $ac_try) 2>&5
74750   ac_status=$?
74751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74752   (exit $ac_status); }; }; then
74753   glibcxx_cv_func__hypotl_use=yes
74754 else
74755   echo "$as_me: failed program was:" >&5
74756 sed 's/^/| /' conftest.$ac_ext >&5
74757
74758 glibcxx_cv_func__hypotl_use=no
74759 fi
74760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74761       ac_ext=c
74762 ac_cpp='$CPP $CPPFLAGS'
74763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74766
74767
74768 fi
74769
74770   fi
74771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
74772 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
74773
74774     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
74775
74776 for ac_func in _hypotl
74777 do
74778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74779 echo "$as_me:$LINENO: checking for $ac_func" >&5
74780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74781 if eval "test \"\${$as_ac_var+set}\" = set"; then
74782   echo $ECHO_N "(cached) $ECHO_C" >&6
74783 else
74784   if test x$gcc_no_link = xyes; then
74785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74787    { (exit 1); exit 1; }; }
74788 fi
74789 cat >conftest.$ac_ext <<_ACEOF
74790 /* confdefs.h.  */
74791 _ACEOF
74792 cat confdefs.h >>conftest.$ac_ext
74793 cat >>conftest.$ac_ext <<_ACEOF
74794 /* end confdefs.h.  */
74795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74797 #define $ac_func innocuous_$ac_func
74798
74799 /* System header to define __stub macros and hopefully few prototypes,
74800     which can conflict with char $ac_func (); below.
74801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74802     <limits.h> exists even on freestanding compilers.  */
74803
74804 #ifdef __STDC__
74805 # include <limits.h>
74806 #else
74807 # include <assert.h>
74808 #endif
74809
74810 #undef $ac_func
74811
74812 /* Override any gcc2 internal prototype to avoid an error.  */
74813 #ifdef __cplusplus
74814 extern "C"
74815 {
74816 #endif
74817 /* We use char because int might match the return type of a gcc2
74818    builtin and then its argument prototype would still apply.  */
74819 char $ac_func ();
74820 /* The GNU C library defines this for functions which it implements
74821     to always fail with ENOSYS.  Some functions are actually named
74822     something starting with __ and the normal name is an alias.  */
74823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74824 choke me
74825 #else
74826 char (*f) () = $ac_func;
74827 #endif
74828 #ifdef __cplusplus
74829 }
74830 #endif
74831
74832 int
74833 main ()
74834 {
74835 return f != $ac_func;
74836   ;
74837   return 0;
74838 }
74839 _ACEOF
74840 rm -f conftest.$ac_objext conftest$ac_exeext
74841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74842   (eval $ac_link) 2>conftest.er1
74843   ac_status=$?
74844   grep -v '^ *+' conftest.er1 >conftest.err
74845   rm -f conftest.er1
74846   cat conftest.err >&5
74847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74848   (exit $ac_status); } &&
74849          { ac_try='test -z "$ac_c_werror_flag"
74850                          || test ! -s conftest.err'
74851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74852   (eval $ac_try) 2>&5
74853   ac_status=$?
74854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74855   (exit $ac_status); }; } &&
74856          { ac_try='test -s conftest$ac_exeext'
74857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74858   (eval $ac_try) 2>&5
74859   ac_status=$?
74860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74861   (exit $ac_status); }; }; then
74862   eval "$as_ac_var=yes"
74863 else
74864   echo "$as_me: failed program was:" >&5
74865 sed 's/^/| /' conftest.$ac_ext >&5
74866
74867 eval "$as_ac_var=no"
74868 fi
74869 rm -f conftest.err conftest.$ac_objext \
74870       conftest$ac_exeext conftest.$ac_ext
74871 fi
74872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74874 if test `eval echo '${'$as_ac_var'}'` = yes; then
74875   cat >>confdefs.h <<_ACEOF
74876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74877 _ACEOF
74878
74879 fi
74880 done
74881
74882     fi
74883   fi
74884
74885
74886
74887
74888
74889
74890   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
74891 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
74892   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
74893     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
74894   echo $ECHO_N "(cached) $ECHO_C" >&6
74895 else
74896
74897
74898
74899       ac_ext=cc
74900 ac_cpp='$CXXCPP $CPPFLAGS'
74901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74904
74905       cat >conftest.$ac_ext <<_ACEOF
74906 /* confdefs.h.  */
74907 _ACEOF
74908 cat confdefs.h >>conftest.$ac_ext
74909 cat >>conftest.$ac_ext <<_ACEOF
74910 /* end confdefs.h.  */
74911 #include <math.h>
74912 int
74913 main ()
74914 {
74915  ldexpl(0, 0);
74916   ;
74917   return 0;
74918 }
74919 _ACEOF
74920 rm -f conftest.$ac_objext
74921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74922   (eval $ac_compile) 2>conftest.er1
74923   ac_status=$?
74924   grep -v '^ *+' conftest.er1 >conftest.err
74925   rm -f conftest.er1
74926   cat conftest.err >&5
74927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74928   (exit $ac_status); } &&
74929          { ac_try='test -z "$ac_cxx_werror_flag"
74930                          || test ! -s conftest.err'
74931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74932   (eval $ac_try) 2>&5
74933   ac_status=$?
74934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74935   (exit $ac_status); }; } &&
74936          { ac_try='test -s conftest.$ac_objext'
74937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74938   (eval $ac_try) 2>&5
74939   ac_status=$?
74940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74941   (exit $ac_status); }; }; then
74942   glibcxx_cv_func_ldexpl_use=yes
74943 else
74944   echo "$as_me: failed program was:" >&5
74945 sed 's/^/| /' conftest.$ac_ext >&5
74946
74947 glibcxx_cv_func_ldexpl_use=no
74948 fi
74949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74950       ac_ext=c
74951 ac_cpp='$CPP $CPPFLAGS'
74952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74955
74956
74957 fi
74958
74959   fi
74960   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
74961 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
74962
74963   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
74964
74965 for ac_func in ldexpl
74966 do
74967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74968 echo "$as_me:$LINENO: checking for $ac_func" >&5
74969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74970 if eval "test \"\${$as_ac_var+set}\" = set"; then
74971   echo $ECHO_N "(cached) $ECHO_C" >&6
74972 else
74973   if test x$gcc_no_link = xyes; then
74974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74976    { (exit 1); exit 1; }; }
74977 fi
74978 cat >conftest.$ac_ext <<_ACEOF
74979 /* confdefs.h.  */
74980 _ACEOF
74981 cat confdefs.h >>conftest.$ac_ext
74982 cat >>conftest.$ac_ext <<_ACEOF
74983 /* end confdefs.h.  */
74984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74986 #define $ac_func innocuous_$ac_func
74987
74988 /* System header to define __stub macros and hopefully few prototypes,
74989     which can conflict with char $ac_func (); below.
74990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74991     <limits.h> exists even on freestanding compilers.  */
74992
74993 #ifdef __STDC__
74994 # include <limits.h>
74995 #else
74996 # include <assert.h>
74997 #endif
74998
74999 #undef $ac_func
75000
75001 /* Override any gcc2 internal prototype to avoid an error.  */
75002 #ifdef __cplusplus
75003 extern "C"
75004 {
75005 #endif
75006 /* We use char because int might match the return type of a gcc2
75007    builtin and then its argument prototype would still apply.  */
75008 char $ac_func ();
75009 /* The GNU C library defines this for functions which it implements
75010     to always fail with ENOSYS.  Some functions are actually named
75011     something starting with __ and the normal name is an alias.  */
75012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75013 choke me
75014 #else
75015 char (*f) () = $ac_func;
75016 #endif
75017 #ifdef __cplusplus
75018 }
75019 #endif
75020
75021 int
75022 main ()
75023 {
75024 return f != $ac_func;
75025   ;
75026   return 0;
75027 }
75028 _ACEOF
75029 rm -f conftest.$ac_objext conftest$ac_exeext
75030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75031   (eval $ac_link) 2>conftest.er1
75032   ac_status=$?
75033   grep -v '^ *+' conftest.er1 >conftest.err
75034   rm -f conftest.er1
75035   cat conftest.err >&5
75036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75037   (exit $ac_status); } &&
75038          { ac_try='test -z "$ac_c_werror_flag"
75039                          || test ! -s conftest.err'
75040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75041   (eval $ac_try) 2>&5
75042   ac_status=$?
75043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75044   (exit $ac_status); }; } &&
75045          { ac_try='test -s conftest$ac_exeext'
75046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75047   (eval $ac_try) 2>&5
75048   ac_status=$?
75049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75050   (exit $ac_status); }; }; then
75051   eval "$as_ac_var=yes"
75052 else
75053   echo "$as_me: failed program was:" >&5
75054 sed 's/^/| /' conftest.$ac_ext >&5
75055
75056 eval "$as_ac_var=no"
75057 fi
75058 rm -f conftest.err conftest.$ac_objext \
75059       conftest$ac_exeext conftest.$ac_ext
75060 fi
75061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75063 if test `eval echo '${'$as_ac_var'}'` = yes; then
75064   cat >>confdefs.h <<_ACEOF
75065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75066 _ACEOF
75067
75068 fi
75069 done
75070
75071   else
75072
75073   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
75074 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
75075   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75076     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
75077   echo $ECHO_N "(cached) $ECHO_C" >&6
75078 else
75079
75080
75081
75082       ac_ext=cc
75083 ac_cpp='$CXXCPP $CPPFLAGS'
75084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75087
75088       cat >conftest.$ac_ext <<_ACEOF
75089 /* confdefs.h.  */
75090 _ACEOF
75091 cat confdefs.h >>conftest.$ac_ext
75092 cat >>conftest.$ac_ext <<_ACEOF
75093 /* end confdefs.h.  */
75094 #include <math.h>
75095 int
75096 main ()
75097 {
75098  _ldexpl(0, 0);
75099   ;
75100   return 0;
75101 }
75102 _ACEOF
75103 rm -f conftest.$ac_objext
75104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75105   (eval $ac_compile) 2>conftest.er1
75106   ac_status=$?
75107   grep -v '^ *+' conftest.er1 >conftest.err
75108   rm -f conftest.er1
75109   cat conftest.err >&5
75110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75111   (exit $ac_status); } &&
75112          { ac_try='test -z "$ac_cxx_werror_flag"
75113                          || test ! -s conftest.err'
75114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75115   (eval $ac_try) 2>&5
75116   ac_status=$?
75117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75118   (exit $ac_status); }; } &&
75119          { ac_try='test -s conftest.$ac_objext'
75120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75121   (eval $ac_try) 2>&5
75122   ac_status=$?
75123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75124   (exit $ac_status); }; }; then
75125   glibcxx_cv_func__ldexpl_use=yes
75126 else
75127   echo "$as_me: failed program was:" >&5
75128 sed 's/^/| /' conftest.$ac_ext >&5
75129
75130 glibcxx_cv_func__ldexpl_use=no
75131 fi
75132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75133       ac_ext=c
75134 ac_cpp='$CPP $CPPFLAGS'
75135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75138
75139
75140 fi
75141
75142   fi
75143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
75144 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
75145
75146     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75147
75148 for ac_func in _ldexpl
75149 do
75150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75151 echo "$as_me:$LINENO: checking for $ac_func" >&5
75152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75153 if eval "test \"\${$as_ac_var+set}\" = set"; then
75154   echo $ECHO_N "(cached) $ECHO_C" >&6
75155 else
75156   if test x$gcc_no_link = xyes; then
75157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75159    { (exit 1); exit 1; }; }
75160 fi
75161 cat >conftest.$ac_ext <<_ACEOF
75162 /* confdefs.h.  */
75163 _ACEOF
75164 cat confdefs.h >>conftest.$ac_ext
75165 cat >>conftest.$ac_ext <<_ACEOF
75166 /* end confdefs.h.  */
75167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75169 #define $ac_func innocuous_$ac_func
75170
75171 /* System header to define __stub macros and hopefully few prototypes,
75172     which can conflict with char $ac_func (); below.
75173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75174     <limits.h> exists even on freestanding compilers.  */
75175
75176 #ifdef __STDC__
75177 # include <limits.h>
75178 #else
75179 # include <assert.h>
75180 #endif
75181
75182 #undef $ac_func
75183
75184 /* Override any gcc2 internal prototype to avoid an error.  */
75185 #ifdef __cplusplus
75186 extern "C"
75187 {
75188 #endif
75189 /* We use char because int might match the return type of a gcc2
75190    builtin and then its argument prototype would still apply.  */
75191 char $ac_func ();
75192 /* The GNU C library defines this for functions which it implements
75193     to always fail with ENOSYS.  Some functions are actually named
75194     something starting with __ and the normal name is an alias.  */
75195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75196 choke me
75197 #else
75198 char (*f) () = $ac_func;
75199 #endif
75200 #ifdef __cplusplus
75201 }
75202 #endif
75203
75204 int
75205 main ()
75206 {
75207 return f != $ac_func;
75208   ;
75209   return 0;
75210 }
75211 _ACEOF
75212 rm -f conftest.$ac_objext conftest$ac_exeext
75213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75214   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
75235 else
75236   echo "$as_me: failed program was:" >&5
75237 sed 's/^/| /' conftest.$ac_ext >&5
75238
75239 eval "$as_ac_var=no"
75240 fi
75241 rm -f conftest.err conftest.$ac_objext \
75242       conftest$ac_exeext conftest.$ac_ext
75243 fi
75244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75246 if test `eval echo '${'$as_ac_var'}'` = yes; then
75247   cat >>confdefs.h <<_ACEOF
75248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75249 _ACEOF
75250
75251 fi
75252 done
75253
75254     fi
75255   fi
75256
75257
75258
75259
75260
75261
75262   echo "$as_me:$LINENO: checking for logl declaration" >&5
75263 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
75264   if test x${glibcxx_cv_func_logl_use+set} != xset; then
75265     if test "${glibcxx_cv_func_logl_use+set}" = set; then
75266   echo $ECHO_N "(cached) $ECHO_C" >&6
75267 else
75268
75269
75270
75271       ac_ext=cc
75272 ac_cpp='$CXXCPP $CPPFLAGS'
75273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75276
75277       cat >conftest.$ac_ext <<_ACEOF
75278 /* confdefs.h.  */
75279 _ACEOF
75280 cat confdefs.h >>conftest.$ac_ext
75281 cat >>conftest.$ac_ext <<_ACEOF
75282 /* end confdefs.h.  */
75283 #include <math.h>
75284                       #ifdef HAVE_IEEEFP_H
75285                       #include <ieeefp.h>
75286                       #endif
75287
75288 int
75289 main ()
75290 {
75291  logl(0);
75292   ;
75293   return 0;
75294 }
75295 _ACEOF
75296 rm -f conftest.$ac_objext
75297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75298   (eval $ac_compile) 2>conftest.er1
75299   ac_status=$?
75300   grep -v '^ *+' conftest.er1 >conftest.err
75301   rm -f conftest.er1
75302   cat conftest.err >&5
75303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75304   (exit $ac_status); } &&
75305          { ac_try='test -z "$ac_cxx_werror_flag"
75306                          || test ! -s conftest.err'
75307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75308   (eval $ac_try) 2>&5
75309   ac_status=$?
75310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75311   (exit $ac_status); }; } &&
75312          { ac_try='test -s conftest.$ac_objext'
75313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75314   (eval $ac_try) 2>&5
75315   ac_status=$?
75316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75317   (exit $ac_status); }; }; then
75318   glibcxx_cv_func_logl_use=yes
75319 else
75320   echo "$as_me: failed program was:" >&5
75321 sed 's/^/| /' conftest.$ac_ext >&5
75322
75323 glibcxx_cv_func_logl_use=no
75324 fi
75325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75326       ac_ext=c
75327 ac_cpp='$CPP $CPPFLAGS'
75328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75331
75332
75333 fi
75334
75335   fi
75336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
75337 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
75338
75339   if test x$glibcxx_cv_func_logl_use = x"yes"; then
75340
75341 for ac_func in logl
75342 do
75343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75344 echo "$as_me:$LINENO: checking for $ac_func" >&5
75345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75346 if eval "test \"\${$as_ac_var+set}\" = set"; then
75347   echo $ECHO_N "(cached) $ECHO_C" >&6
75348 else
75349   if test x$gcc_no_link = xyes; then
75350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75352    { (exit 1); exit 1; }; }
75353 fi
75354 cat >conftest.$ac_ext <<_ACEOF
75355 /* confdefs.h.  */
75356 _ACEOF
75357 cat confdefs.h >>conftest.$ac_ext
75358 cat >>conftest.$ac_ext <<_ACEOF
75359 /* end confdefs.h.  */
75360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75362 #define $ac_func innocuous_$ac_func
75363
75364 /* System header to define __stub macros and hopefully few prototypes,
75365     which can conflict with char $ac_func (); below.
75366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75367     <limits.h> exists even on freestanding compilers.  */
75368
75369 #ifdef __STDC__
75370 # include <limits.h>
75371 #else
75372 # include <assert.h>
75373 #endif
75374
75375 #undef $ac_func
75376
75377 /* Override any gcc2 internal prototype to avoid an error.  */
75378 #ifdef __cplusplus
75379 extern "C"
75380 {
75381 #endif
75382 /* We use char because int might match the return type of a gcc2
75383    builtin and then its argument prototype would still apply.  */
75384 char $ac_func ();
75385 /* The GNU C library defines this for functions which it implements
75386     to always fail with ENOSYS.  Some functions are actually named
75387     something starting with __ and the normal name is an alias.  */
75388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75389 choke me
75390 #else
75391 char (*f) () = $ac_func;
75392 #endif
75393 #ifdef __cplusplus
75394 }
75395 #endif
75396
75397 int
75398 main ()
75399 {
75400 return f != $ac_func;
75401   ;
75402   return 0;
75403 }
75404 _ACEOF
75405 rm -f conftest.$ac_objext conftest$ac_exeext
75406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75407   (eval $ac_link) 2>conftest.er1
75408   ac_status=$?
75409   grep -v '^ *+' conftest.er1 >conftest.err
75410   rm -f conftest.er1
75411   cat conftest.err >&5
75412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75413   (exit $ac_status); } &&
75414          { ac_try='test -z "$ac_c_werror_flag"
75415                          || test ! -s conftest.err'
75416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75417   (eval $ac_try) 2>&5
75418   ac_status=$?
75419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75420   (exit $ac_status); }; } &&
75421          { ac_try='test -s conftest$ac_exeext'
75422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75423   (eval $ac_try) 2>&5
75424   ac_status=$?
75425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75426   (exit $ac_status); }; }; then
75427   eval "$as_ac_var=yes"
75428 else
75429   echo "$as_me: failed program was:" >&5
75430 sed 's/^/| /' conftest.$ac_ext >&5
75431
75432 eval "$as_ac_var=no"
75433 fi
75434 rm -f conftest.err conftest.$ac_objext \
75435       conftest$ac_exeext conftest.$ac_ext
75436 fi
75437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75439 if test `eval echo '${'$as_ac_var'}'` = yes; then
75440   cat >>confdefs.h <<_ACEOF
75441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75442 _ACEOF
75443
75444 fi
75445 done
75446
75447   else
75448
75449   echo "$as_me:$LINENO: checking for _logl declaration" >&5
75450 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
75451   if test x${glibcxx_cv_func__logl_use+set} != xset; then
75452     if test "${glibcxx_cv_func__logl_use+set}" = set; then
75453   echo $ECHO_N "(cached) $ECHO_C" >&6
75454 else
75455
75456
75457
75458       ac_ext=cc
75459 ac_cpp='$CXXCPP $CPPFLAGS'
75460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75463
75464       cat >conftest.$ac_ext <<_ACEOF
75465 /* confdefs.h.  */
75466 _ACEOF
75467 cat confdefs.h >>conftest.$ac_ext
75468 cat >>conftest.$ac_ext <<_ACEOF
75469 /* end confdefs.h.  */
75470 #include <math.h>
75471                       #ifdef HAVE_IEEEFP_H
75472                       #include <ieeefp.h>
75473                       #endif
75474
75475 int
75476 main ()
75477 {
75478  _logl(0);
75479   ;
75480   return 0;
75481 }
75482 _ACEOF
75483 rm -f conftest.$ac_objext
75484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75485   (eval $ac_compile) 2>conftest.er1
75486   ac_status=$?
75487   grep -v '^ *+' conftest.er1 >conftest.err
75488   rm -f conftest.er1
75489   cat conftest.err >&5
75490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491   (exit $ac_status); } &&
75492          { ac_try='test -z "$ac_cxx_werror_flag"
75493                          || test ! -s conftest.err'
75494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75495   (eval $ac_try) 2>&5
75496   ac_status=$?
75497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75498   (exit $ac_status); }; } &&
75499          { ac_try='test -s conftest.$ac_objext'
75500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75501   (eval $ac_try) 2>&5
75502   ac_status=$?
75503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75504   (exit $ac_status); }; }; then
75505   glibcxx_cv_func__logl_use=yes
75506 else
75507   echo "$as_me: failed program was:" >&5
75508 sed 's/^/| /' conftest.$ac_ext >&5
75509
75510 glibcxx_cv_func__logl_use=no
75511 fi
75512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75513       ac_ext=c
75514 ac_cpp='$CPP $CPPFLAGS'
75515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75518
75519
75520 fi
75521
75522   fi
75523   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
75524 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
75525
75526     if test x$glibcxx_cv_func__logl_use = x"yes"; then
75527
75528 for ac_func in _logl
75529 do
75530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75531 echo "$as_me:$LINENO: checking for $ac_func" >&5
75532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75533 if eval "test \"\${$as_ac_var+set}\" = set"; then
75534   echo $ECHO_N "(cached) $ECHO_C" >&6
75535 else
75536   if test x$gcc_no_link = xyes; then
75537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75539    { (exit 1); exit 1; }; }
75540 fi
75541 cat >conftest.$ac_ext <<_ACEOF
75542 /* confdefs.h.  */
75543 _ACEOF
75544 cat confdefs.h >>conftest.$ac_ext
75545 cat >>conftest.$ac_ext <<_ACEOF
75546 /* end confdefs.h.  */
75547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75549 #define $ac_func innocuous_$ac_func
75550
75551 /* System header to define __stub macros and hopefully few prototypes,
75552     which can conflict with char $ac_func (); below.
75553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75554     <limits.h> exists even on freestanding compilers.  */
75555
75556 #ifdef __STDC__
75557 # include <limits.h>
75558 #else
75559 # include <assert.h>
75560 #endif
75561
75562 #undef $ac_func
75563
75564 /* Override any gcc2 internal prototype to avoid an error.  */
75565 #ifdef __cplusplus
75566 extern "C"
75567 {
75568 #endif
75569 /* We use char because int might match the return type of a gcc2
75570    builtin and then its argument prototype would still apply.  */
75571 char $ac_func ();
75572 /* The GNU C library defines this for functions which it implements
75573     to always fail with ENOSYS.  Some functions are actually named
75574     something starting with __ and the normal name is an alias.  */
75575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75576 choke me
75577 #else
75578 char (*f) () = $ac_func;
75579 #endif
75580 #ifdef __cplusplus
75581 }
75582 #endif
75583
75584 int
75585 main ()
75586 {
75587 return f != $ac_func;
75588   ;
75589   return 0;
75590 }
75591 _ACEOF
75592 rm -f conftest.$ac_objext conftest$ac_exeext
75593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75594   (eval $ac_link) 2>conftest.er1
75595   ac_status=$?
75596   grep -v '^ *+' conftest.er1 >conftest.err
75597   rm -f conftest.er1
75598   cat conftest.err >&5
75599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75600   (exit $ac_status); } &&
75601          { ac_try='test -z "$ac_c_werror_flag"
75602                          || test ! -s conftest.err'
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); }; } &&
75608          { ac_try='test -s conftest$ac_exeext'
75609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75610   (eval $ac_try) 2>&5
75611   ac_status=$?
75612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75613   (exit $ac_status); }; }; then
75614   eval "$as_ac_var=yes"
75615 else
75616   echo "$as_me: failed program was:" >&5
75617 sed 's/^/| /' conftest.$ac_ext >&5
75618
75619 eval "$as_ac_var=no"
75620 fi
75621 rm -f conftest.err conftest.$ac_objext \
75622       conftest$ac_exeext conftest.$ac_ext
75623 fi
75624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75626 if test `eval echo '${'$as_ac_var'}'` = yes; then
75627   cat >>confdefs.h <<_ACEOF
75628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75629 _ACEOF
75630
75631 fi
75632 done
75633
75634     fi
75635   fi
75636
75637
75638
75639
75640
75641
75642   echo "$as_me:$LINENO: checking for log10l declaration" >&5
75643 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
75644   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
75645     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
75646   echo $ECHO_N "(cached) $ECHO_C" >&6
75647 else
75648
75649
75650
75651       ac_ext=cc
75652 ac_cpp='$CXXCPP $CPPFLAGS'
75653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75656
75657       cat >conftest.$ac_ext <<_ACEOF
75658 /* confdefs.h.  */
75659 _ACEOF
75660 cat confdefs.h >>conftest.$ac_ext
75661 cat >>conftest.$ac_ext <<_ACEOF
75662 /* end confdefs.h.  */
75663 #include <math.h>
75664                       #ifdef HAVE_IEEEFP_H
75665                       #include <ieeefp.h>
75666                       #endif
75667
75668 int
75669 main ()
75670 {
75671  log10l(0);
75672   ;
75673   return 0;
75674 }
75675 _ACEOF
75676 rm -f conftest.$ac_objext
75677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75678   (eval $ac_compile) 2>conftest.er1
75679   ac_status=$?
75680   grep -v '^ *+' conftest.er1 >conftest.err
75681   rm -f conftest.er1
75682   cat conftest.err >&5
75683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75684   (exit $ac_status); } &&
75685          { ac_try='test -z "$ac_cxx_werror_flag"
75686                          || test ! -s conftest.err'
75687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75688   (eval $ac_try) 2>&5
75689   ac_status=$?
75690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75691   (exit $ac_status); }; } &&
75692          { ac_try='test -s conftest.$ac_objext'
75693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75694   (eval $ac_try) 2>&5
75695   ac_status=$?
75696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75697   (exit $ac_status); }; }; then
75698   glibcxx_cv_func_log10l_use=yes
75699 else
75700   echo "$as_me: failed program was:" >&5
75701 sed 's/^/| /' conftest.$ac_ext >&5
75702
75703 glibcxx_cv_func_log10l_use=no
75704 fi
75705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75706       ac_ext=c
75707 ac_cpp='$CPP $CPPFLAGS'
75708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75711
75712
75713 fi
75714
75715   fi
75716   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
75717 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
75718
75719   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
75720
75721 for ac_func in log10l
75722 do
75723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75724 echo "$as_me:$LINENO: checking for $ac_func" >&5
75725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75726 if eval "test \"\${$as_ac_var+set}\" = set"; then
75727   echo $ECHO_N "(cached) $ECHO_C" >&6
75728 else
75729   if test x$gcc_no_link = xyes; then
75730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75732    { (exit 1); exit 1; }; }
75733 fi
75734 cat >conftest.$ac_ext <<_ACEOF
75735 /* confdefs.h.  */
75736 _ACEOF
75737 cat confdefs.h >>conftest.$ac_ext
75738 cat >>conftest.$ac_ext <<_ACEOF
75739 /* end confdefs.h.  */
75740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75742 #define $ac_func innocuous_$ac_func
75743
75744 /* System header to define __stub macros and hopefully few prototypes,
75745     which can conflict with char $ac_func (); below.
75746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75747     <limits.h> exists even on freestanding compilers.  */
75748
75749 #ifdef __STDC__
75750 # include <limits.h>
75751 #else
75752 # include <assert.h>
75753 #endif
75754
75755 #undef $ac_func
75756
75757 /* Override any gcc2 internal prototype to avoid an error.  */
75758 #ifdef __cplusplus
75759 extern "C"
75760 {
75761 #endif
75762 /* We use char because int might match the return type of a gcc2
75763    builtin and then its argument prototype would still apply.  */
75764 char $ac_func ();
75765 /* The GNU C library defines this for functions which it implements
75766     to always fail with ENOSYS.  Some functions are actually named
75767     something starting with __ and the normal name is an alias.  */
75768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75769 choke me
75770 #else
75771 char (*f) () = $ac_func;
75772 #endif
75773 #ifdef __cplusplus
75774 }
75775 #endif
75776
75777 int
75778 main ()
75779 {
75780 return f != $ac_func;
75781   ;
75782   return 0;
75783 }
75784 _ACEOF
75785 rm -f conftest.$ac_objext conftest$ac_exeext
75786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75787   (eval $ac_link) 2>conftest.er1
75788   ac_status=$?
75789   grep -v '^ *+' conftest.er1 >conftest.err
75790   rm -f conftest.er1
75791   cat conftest.err >&5
75792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75793   (exit $ac_status); } &&
75794          { ac_try='test -z "$ac_c_werror_flag"
75795                          || test ! -s conftest.err'
75796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75797   (eval $ac_try) 2>&5
75798   ac_status=$?
75799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75800   (exit $ac_status); }; } &&
75801          { ac_try='test -s conftest$ac_exeext'
75802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75803   (eval $ac_try) 2>&5
75804   ac_status=$?
75805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75806   (exit $ac_status); }; }; then
75807   eval "$as_ac_var=yes"
75808 else
75809   echo "$as_me: failed program was:" >&5
75810 sed 's/^/| /' conftest.$ac_ext >&5
75811
75812 eval "$as_ac_var=no"
75813 fi
75814 rm -f conftest.err conftest.$ac_objext \
75815       conftest$ac_exeext conftest.$ac_ext
75816 fi
75817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75819 if test `eval echo '${'$as_ac_var'}'` = yes; then
75820   cat >>confdefs.h <<_ACEOF
75821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75823
75824 fi
75825 done
75826
75827   else
75828
75829   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
75830 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
75831   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
75832     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
75833   echo $ECHO_N "(cached) $ECHO_C" >&6
75834 else
75835
75836
75837
75838       ac_ext=cc
75839 ac_cpp='$CXXCPP $CPPFLAGS'
75840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75843
75844       cat >conftest.$ac_ext <<_ACEOF
75845 /* confdefs.h.  */
75846 _ACEOF
75847 cat confdefs.h >>conftest.$ac_ext
75848 cat >>conftest.$ac_ext <<_ACEOF
75849 /* end confdefs.h.  */
75850 #include <math.h>
75851                       #ifdef HAVE_IEEEFP_H
75852                       #include <ieeefp.h>
75853                       #endif
75854
75855 int
75856 main ()
75857 {
75858  _log10l(0);
75859   ;
75860   return 0;
75861 }
75862 _ACEOF
75863 rm -f conftest.$ac_objext
75864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75865   (eval $ac_compile) 2>conftest.er1
75866   ac_status=$?
75867   grep -v '^ *+' conftest.er1 >conftest.err
75868   rm -f conftest.er1
75869   cat conftest.err >&5
75870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75871   (exit $ac_status); } &&
75872          { ac_try='test -z "$ac_cxx_werror_flag"
75873                          || test ! -s conftest.err'
75874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875   (eval $ac_try) 2>&5
75876   ac_status=$?
75877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878   (exit $ac_status); }; } &&
75879          { ac_try='test -s conftest.$ac_objext'
75880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75881   (eval $ac_try) 2>&5
75882   ac_status=$?
75883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75884   (exit $ac_status); }; }; then
75885   glibcxx_cv_func__log10l_use=yes
75886 else
75887   echo "$as_me: failed program was:" >&5
75888 sed 's/^/| /' conftest.$ac_ext >&5
75889
75890 glibcxx_cv_func__log10l_use=no
75891 fi
75892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75893       ac_ext=c
75894 ac_cpp='$CPP $CPPFLAGS'
75895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75898
75899
75900 fi
75901
75902   fi
75903   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
75904 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
75905
75906     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
75907
75908 for ac_func in _log10l
75909 do
75910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75911 echo "$as_me:$LINENO: checking for $ac_func" >&5
75912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75913 if eval "test \"\${$as_ac_var+set}\" = set"; then
75914   echo $ECHO_N "(cached) $ECHO_C" >&6
75915 else
75916   if test x$gcc_no_link = xyes; then
75917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75919    { (exit 1); exit 1; }; }
75920 fi
75921 cat >conftest.$ac_ext <<_ACEOF
75922 /* confdefs.h.  */
75923 _ACEOF
75924 cat confdefs.h >>conftest.$ac_ext
75925 cat >>conftest.$ac_ext <<_ACEOF
75926 /* end confdefs.h.  */
75927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75929 #define $ac_func innocuous_$ac_func
75930
75931 /* System header to define __stub macros and hopefully few prototypes,
75932     which can conflict with char $ac_func (); below.
75933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75934     <limits.h> exists even on freestanding compilers.  */
75935
75936 #ifdef __STDC__
75937 # include <limits.h>
75938 #else
75939 # include <assert.h>
75940 #endif
75941
75942 #undef $ac_func
75943
75944 /* Override any gcc2 internal prototype to avoid an error.  */
75945 #ifdef __cplusplus
75946 extern "C"
75947 {
75948 #endif
75949 /* We use char because int might match the return type of a gcc2
75950    builtin and then its argument prototype would still apply.  */
75951 char $ac_func ();
75952 /* The GNU C library defines this for functions which it implements
75953     to always fail with ENOSYS.  Some functions are actually named
75954     something starting with __ and the normal name is an alias.  */
75955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75956 choke me
75957 #else
75958 char (*f) () = $ac_func;
75959 #endif
75960 #ifdef __cplusplus
75961 }
75962 #endif
75963
75964 int
75965 main ()
75966 {
75967 return f != $ac_func;
75968   ;
75969   return 0;
75970 }
75971 _ACEOF
75972 rm -f conftest.$ac_objext conftest$ac_exeext
75973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75974   (eval $ac_link) 2>conftest.er1
75975   ac_status=$?
75976   grep -v '^ *+' conftest.er1 >conftest.err
75977   rm -f conftest.er1
75978   cat conftest.err >&5
75979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75980   (exit $ac_status); } &&
75981          { ac_try='test -z "$ac_c_werror_flag"
75982                          || test ! -s conftest.err'
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); }; } &&
75988          { ac_try='test -s conftest$ac_exeext'
75989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75990   (eval $ac_try) 2>&5
75991   ac_status=$?
75992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75993   (exit $ac_status); }; }; then
75994   eval "$as_ac_var=yes"
75995 else
75996   echo "$as_me: failed program was:" >&5
75997 sed 's/^/| /' conftest.$ac_ext >&5
75998
75999 eval "$as_ac_var=no"
76000 fi
76001 rm -f conftest.err conftest.$ac_objext \
76002       conftest$ac_exeext conftest.$ac_ext
76003 fi
76004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76006 if test `eval echo '${'$as_ac_var'}'` = yes; then
76007   cat >>confdefs.h <<_ACEOF
76008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76009 _ACEOF
76010
76011 fi
76012 done
76013
76014     fi
76015   fi
76016
76017
76018
76019
76020
76021
76022   echo "$as_me:$LINENO: checking for modfl declaration" >&5
76023 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
76024   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76025     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
76026   echo $ECHO_N "(cached) $ECHO_C" >&6
76027 else
76028
76029
76030
76031       ac_ext=cc
76032 ac_cpp='$CXXCPP $CPPFLAGS'
76033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76036
76037       cat >conftest.$ac_ext <<_ACEOF
76038 /* confdefs.h.  */
76039 _ACEOF
76040 cat confdefs.h >>conftest.$ac_ext
76041 cat >>conftest.$ac_ext <<_ACEOF
76042 /* end confdefs.h.  */
76043 #include <math.h>
76044 int
76045 main ()
76046 {
76047  modfl(0, 0);
76048   ;
76049   return 0;
76050 }
76051 _ACEOF
76052 rm -f conftest.$ac_objext
76053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76054   (eval $ac_compile) 2>conftest.er1
76055   ac_status=$?
76056   grep -v '^ *+' conftest.er1 >conftest.err
76057   rm -f conftest.er1
76058   cat conftest.err >&5
76059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76060   (exit $ac_status); } &&
76061          { ac_try='test -z "$ac_cxx_werror_flag"
76062                          || test ! -s conftest.err'
76063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76064   (eval $ac_try) 2>&5
76065   ac_status=$?
76066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76067   (exit $ac_status); }; } &&
76068          { ac_try='test -s conftest.$ac_objext'
76069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76070   (eval $ac_try) 2>&5
76071   ac_status=$?
76072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76073   (exit $ac_status); }; }; then
76074   glibcxx_cv_func_modfl_use=yes
76075 else
76076   echo "$as_me: failed program was:" >&5
76077 sed 's/^/| /' conftest.$ac_ext >&5
76078
76079 glibcxx_cv_func_modfl_use=no
76080 fi
76081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76082       ac_ext=c
76083 ac_cpp='$CPP $CPPFLAGS'
76084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087
76088
76089 fi
76090
76091   fi
76092   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
76093 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
76094
76095   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76096
76097 for ac_func in modfl
76098 do
76099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76100 echo "$as_me:$LINENO: checking for $ac_func" >&5
76101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76102 if eval "test \"\${$as_ac_var+set}\" = set"; then
76103   echo $ECHO_N "(cached) $ECHO_C" >&6
76104 else
76105   if test x$gcc_no_link = xyes; then
76106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76108    { (exit 1); exit 1; }; }
76109 fi
76110 cat >conftest.$ac_ext <<_ACEOF
76111 /* confdefs.h.  */
76112 _ACEOF
76113 cat confdefs.h >>conftest.$ac_ext
76114 cat >>conftest.$ac_ext <<_ACEOF
76115 /* end confdefs.h.  */
76116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76118 #define $ac_func innocuous_$ac_func
76119
76120 /* System header to define __stub macros and hopefully few prototypes,
76121     which can conflict with char $ac_func (); below.
76122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76123     <limits.h> exists even on freestanding compilers.  */
76124
76125 #ifdef __STDC__
76126 # include <limits.h>
76127 #else
76128 # include <assert.h>
76129 #endif
76130
76131 #undef $ac_func
76132
76133 /* Override any gcc2 internal prototype to avoid an error.  */
76134 #ifdef __cplusplus
76135 extern "C"
76136 {
76137 #endif
76138 /* We use char because int might match the return type of a gcc2
76139    builtin and then its argument prototype would still apply.  */
76140 char $ac_func ();
76141 /* The GNU C library defines this for functions which it implements
76142     to always fail with ENOSYS.  Some functions are actually named
76143     something starting with __ and the normal name is an alias.  */
76144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76145 choke me
76146 #else
76147 char (*f) () = $ac_func;
76148 #endif
76149 #ifdef __cplusplus
76150 }
76151 #endif
76152
76153 int
76154 main ()
76155 {
76156 return f != $ac_func;
76157   ;
76158   return 0;
76159 }
76160 _ACEOF
76161 rm -f conftest.$ac_objext conftest$ac_exeext
76162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76163   (eval $ac_link) 2>conftest.er1
76164   ac_status=$?
76165   grep -v '^ *+' conftest.er1 >conftest.err
76166   rm -f conftest.er1
76167   cat conftest.err >&5
76168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76169   (exit $ac_status); } &&
76170          { ac_try='test -z "$ac_c_werror_flag"
76171                          || test ! -s conftest.err'
76172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76173   (eval $ac_try) 2>&5
76174   ac_status=$?
76175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76176   (exit $ac_status); }; } &&
76177          { ac_try='test -s conftest$ac_exeext'
76178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76179   (eval $ac_try) 2>&5
76180   ac_status=$?
76181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76182   (exit $ac_status); }; }; then
76183   eval "$as_ac_var=yes"
76184 else
76185   echo "$as_me: failed program was:" >&5
76186 sed 's/^/| /' conftest.$ac_ext >&5
76187
76188 eval "$as_ac_var=no"
76189 fi
76190 rm -f conftest.err conftest.$ac_objext \
76191       conftest$ac_exeext conftest.$ac_ext
76192 fi
76193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76195 if test `eval echo '${'$as_ac_var'}'` = yes; then
76196   cat >>confdefs.h <<_ACEOF
76197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76198 _ACEOF
76199
76200 fi
76201 done
76202
76203   else
76204
76205   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
76206 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
76207   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76208     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
76209   echo $ECHO_N "(cached) $ECHO_C" >&6
76210 else
76211
76212
76213
76214       ac_ext=cc
76215 ac_cpp='$CXXCPP $CPPFLAGS'
76216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76219
76220       cat >conftest.$ac_ext <<_ACEOF
76221 /* confdefs.h.  */
76222 _ACEOF
76223 cat confdefs.h >>conftest.$ac_ext
76224 cat >>conftest.$ac_ext <<_ACEOF
76225 /* end confdefs.h.  */
76226 #include <math.h>
76227 int
76228 main ()
76229 {
76230  _modfl(0, 0);
76231   ;
76232   return 0;
76233 }
76234 _ACEOF
76235 rm -f conftest.$ac_objext
76236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76237   (eval $ac_compile) 2>conftest.er1
76238   ac_status=$?
76239   grep -v '^ *+' conftest.er1 >conftest.err
76240   rm -f conftest.er1
76241   cat conftest.err >&5
76242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76243   (exit $ac_status); } &&
76244          { ac_try='test -z "$ac_cxx_werror_flag"
76245                          || test ! -s conftest.err'
76246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76247   (eval $ac_try) 2>&5
76248   ac_status=$?
76249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76250   (exit $ac_status); }; } &&
76251          { ac_try='test -s conftest.$ac_objext'
76252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76253   (eval $ac_try) 2>&5
76254   ac_status=$?
76255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256   (exit $ac_status); }; }; then
76257   glibcxx_cv_func__modfl_use=yes
76258 else
76259   echo "$as_me: failed program was:" >&5
76260 sed 's/^/| /' conftest.$ac_ext >&5
76261
76262 glibcxx_cv_func__modfl_use=no
76263 fi
76264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76265       ac_ext=c
76266 ac_cpp='$CPP $CPPFLAGS'
76267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76270
76271
76272 fi
76273
76274   fi
76275   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
76276 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
76277
76278     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76279
76280 for ac_func in _modfl
76281 do
76282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76283 echo "$as_me:$LINENO: checking for $ac_func" >&5
76284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76285 if eval "test \"\${$as_ac_var+set}\" = set"; then
76286   echo $ECHO_N "(cached) $ECHO_C" >&6
76287 else
76288   if test x$gcc_no_link = xyes; then
76289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76291    { (exit 1); exit 1; }; }
76292 fi
76293 cat >conftest.$ac_ext <<_ACEOF
76294 /* confdefs.h.  */
76295 _ACEOF
76296 cat confdefs.h >>conftest.$ac_ext
76297 cat >>conftest.$ac_ext <<_ACEOF
76298 /* end confdefs.h.  */
76299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76301 #define $ac_func innocuous_$ac_func
76302
76303 /* System header to define __stub macros and hopefully few prototypes,
76304     which can conflict with char $ac_func (); below.
76305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76306     <limits.h> exists even on freestanding compilers.  */
76307
76308 #ifdef __STDC__
76309 # include <limits.h>
76310 #else
76311 # include <assert.h>
76312 #endif
76313
76314 #undef $ac_func
76315
76316 /* Override any gcc2 internal prototype to avoid an error.  */
76317 #ifdef __cplusplus
76318 extern "C"
76319 {
76320 #endif
76321 /* We use char because int might match the return type of a gcc2
76322    builtin and then its argument prototype would still apply.  */
76323 char $ac_func ();
76324 /* The GNU C library defines this for functions which it implements
76325     to always fail with ENOSYS.  Some functions are actually named
76326     something starting with __ and the normal name is an alias.  */
76327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76328 choke me
76329 #else
76330 char (*f) () = $ac_func;
76331 #endif
76332 #ifdef __cplusplus
76333 }
76334 #endif
76335
76336 int
76337 main ()
76338 {
76339 return f != $ac_func;
76340   ;
76341   return 0;
76342 }
76343 _ACEOF
76344 rm -f conftest.$ac_objext conftest$ac_exeext
76345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76346   (eval $ac_link) 2>conftest.er1
76347   ac_status=$?
76348   grep -v '^ *+' conftest.er1 >conftest.err
76349   rm -f conftest.er1
76350   cat conftest.err >&5
76351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76352   (exit $ac_status); } &&
76353          { ac_try='test -z "$ac_c_werror_flag"
76354                          || test ! -s conftest.err'
76355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76356   (eval $ac_try) 2>&5
76357   ac_status=$?
76358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76359   (exit $ac_status); }; } &&
76360          { ac_try='test -s conftest$ac_exeext'
76361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76362   (eval $ac_try) 2>&5
76363   ac_status=$?
76364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76365   (exit $ac_status); }; }; then
76366   eval "$as_ac_var=yes"
76367 else
76368   echo "$as_me: failed program was:" >&5
76369 sed 's/^/| /' conftest.$ac_ext >&5
76370
76371 eval "$as_ac_var=no"
76372 fi
76373 rm -f conftest.err conftest.$ac_objext \
76374       conftest$ac_exeext conftest.$ac_ext
76375 fi
76376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76378 if test `eval echo '${'$as_ac_var'}'` = yes; then
76379   cat >>confdefs.h <<_ACEOF
76380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76381 _ACEOF
76382
76383 fi
76384 done
76385
76386     fi
76387   fi
76388
76389
76390
76391
76392
76393
76394   echo "$as_me:$LINENO: checking for powl declaration" >&5
76395 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
76396   if test x${glibcxx_cv_func_powl_use+set} != xset; then
76397     if test "${glibcxx_cv_func_powl_use+set}" = set; then
76398   echo $ECHO_N "(cached) $ECHO_C" >&6
76399 else
76400
76401
76402
76403       ac_ext=cc
76404 ac_cpp='$CXXCPP $CPPFLAGS'
76405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76408
76409       cat >conftest.$ac_ext <<_ACEOF
76410 /* confdefs.h.  */
76411 _ACEOF
76412 cat confdefs.h >>conftest.$ac_ext
76413 cat >>conftest.$ac_ext <<_ACEOF
76414 /* end confdefs.h.  */
76415 #include <math.h>
76416 int
76417 main ()
76418 {
76419  powl(0, 0);
76420   ;
76421   return 0;
76422 }
76423 _ACEOF
76424 rm -f conftest.$ac_objext
76425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76426   (eval $ac_compile) 2>conftest.er1
76427   ac_status=$?
76428   grep -v '^ *+' conftest.er1 >conftest.err
76429   rm -f conftest.er1
76430   cat conftest.err >&5
76431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76432   (exit $ac_status); } &&
76433          { ac_try='test -z "$ac_cxx_werror_flag"
76434                          || test ! -s conftest.err'
76435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76436   (eval $ac_try) 2>&5
76437   ac_status=$?
76438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76439   (exit $ac_status); }; } &&
76440          { ac_try='test -s conftest.$ac_objext'
76441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76442   (eval $ac_try) 2>&5
76443   ac_status=$?
76444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76445   (exit $ac_status); }; }; then
76446   glibcxx_cv_func_powl_use=yes
76447 else
76448   echo "$as_me: failed program was:" >&5
76449 sed 's/^/| /' conftest.$ac_ext >&5
76450
76451 glibcxx_cv_func_powl_use=no
76452 fi
76453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76454       ac_ext=c
76455 ac_cpp='$CPP $CPPFLAGS'
76456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76459
76460
76461 fi
76462
76463   fi
76464   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
76465 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
76466
76467   if test x$glibcxx_cv_func_powl_use = x"yes"; then
76468
76469 for ac_func in powl
76470 do
76471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76472 echo "$as_me:$LINENO: checking for $ac_func" >&5
76473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76474 if eval "test \"\${$as_ac_var+set}\" = set"; then
76475   echo $ECHO_N "(cached) $ECHO_C" >&6
76476 else
76477   if test x$gcc_no_link = xyes; then
76478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76480    { (exit 1); exit 1; }; }
76481 fi
76482 cat >conftest.$ac_ext <<_ACEOF
76483 /* confdefs.h.  */
76484 _ACEOF
76485 cat confdefs.h >>conftest.$ac_ext
76486 cat >>conftest.$ac_ext <<_ACEOF
76487 /* end confdefs.h.  */
76488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76490 #define $ac_func innocuous_$ac_func
76491
76492 /* System header to define __stub macros and hopefully few prototypes,
76493     which can conflict with char $ac_func (); below.
76494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76495     <limits.h> exists even on freestanding compilers.  */
76496
76497 #ifdef __STDC__
76498 # include <limits.h>
76499 #else
76500 # include <assert.h>
76501 #endif
76502
76503 #undef $ac_func
76504
76505 /* Override any gcc2 internal prototype to avoid an error.  */
76506 #ifdef __cplusplus
76507 extern "C"
76508 {
76509 #endif
76510 /* We use char because int might match the return type of a gcc2
76511    builtin and then its argument prototype would still apply.  */
76512 char $ac_func ();
76513 /* The GNU C library defines this for functions which it implements
76514     to always fail with ENOSYS.  Some functions are actually named
76515     something starting with __ and the normal name is an alias.  */
76516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76517 choke me
76518 #else
76519 char (*f) () = $ac_func;
76520 #endif
76521 #ifdef __cplusplus
76522 }
76523 #endif
76524
76525 int
76526 main ()
76527 {
76528 return f != $ac_func;
76529   ;
76530   return 0;
76531 }
76532 _ACEOF
76533 rm -f conftest.$ac_objext conftest$ac_exeext
76534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76535   (eval $ac_link) 2>conftest.er1
76536   ac_status=$?
76537   grep -v '^ *+' conftest.er1 >conftest.err
76538   rm -f conftest.er1
76539   cat conftest.err >&5
76540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76541   (exit $ac_status); } &&
76542          { ac_try='test -z "$ac_c_werror_flag"
76543                          || test ! -s conftest.err'
76544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76545   (eval $ac_try) 2>&5
76546   ac_status=$?
76547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76548   (exit $ac_status); }; } &&
76549          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
76555   eval "$as_ac_var=yes"
76556 else
76557   echo "$as_me: failed program was:" >&5
76558 sed 's/^/| /' conftest.$ac_ext >&5
76559
76560 eval "$as_ac_var=no"
76561 fi
76562 rm -f conftest.err conftest.$ac_objext \
76563       conftest$ac_exeext conftest.$ac_ext
76564 fi
76565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76567 if test `eval echo '${'$as_ac_var'}'` = yes; then
76568   cat >>confdefs.h <<_ACEOF
76569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76570 _ACEOF
76571
76572 fi
76573 done
76574
76575   else
76576
76577   echo "$as_me:$LINENO: checking for _powl declaration" >&5
76578 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
76579   if test x${glibcxx_cv_func__powl_use+set} != xset; then
76580     if test "${glibcxx_cv_func__powl_use+set}" = set; then
76581   echo $ECHO_N "(cached) $ECHO_C" >&6
76582 else
76583
76584
76585
76586       ac_ext=cc
76587 ac_cpp='$CXXCPP $CPPFLAGS'
76588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76591
76592       cat >conftest.$ac_ext <<_ACEOF
76593 /* confdefs.h.  */
76594 _ACEOF
76595 cat confdefs.h >>conftest.$ac_ext
76596 cat >>conftest.$ac_ext <<_ACEOF
76597 /* end confdefs.h.  */
76598 #include <math.h>
76599 int
76600 main ()
76601 {
76602  _powl(0, 0);
76603   ;
76604   return 0;
76605 }
76606 _ACEOF
76607 rm -f conftest.$ac_objext
76608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76609   (eval $ac_compile) 2>conftest.er1
76610   ac_status=$?
76611   grep -v '^ *+' conftest.er1 >conftest.err
76612   rm -f conftest.er1
76613   cat conftest.err >&5
76614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76615   (exit $ac_status); } &&
76616          { ac_try='test -z "$ac_cxx_werror_flag"
76617                          || test ! -s conftest.err'
76618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76619   (eval $ac_try) 2>&5
76620   ac_status=$?
76621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622   (exit $ac_status); }; } &&
76623          { ac_try='test -s conftest.$ac_objext'
76624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76625   (eval $ac_try) 2>&5
76626   ac_status=$?
76627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76628   (exit $ac_status); }; }; then
76629   glibcxx_cv_func__powl_use=yes
76630 else
76631   echo "$as_me: failed program was:" >&5
76632 sed 's/^/| /' conftest.$ac_ext >&5
76633
76634 glibcxx_cv_func__powl_use=no
76635 fi
76636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76637       ac_ext=c
76638 ac_cpp='$CPP $CPPFLAGS'
76639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76642
76643
76644 fi
76645
76646   fi
76647   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
76648 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
76649
76650     if test x$glibcxx_cv_func__powl_use = x"yes"; then
76651
76652 for ac_func in _powl
76653 do
76654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76655 echo "$as_me:$LINENO: checking for $ac_func" >&5
76656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76657 if eval "test \"\${$as_ac_var+set}\" = set"; then
76658   echo $ECHO_N "(cached) $ECHO_C" >&6
76659 else
76660   if test x$gcc_no_link = xyes; then
76661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76663    { (exit 1); exit 1; }; }
76664 fi
76665 cat >conftest.$ac_ext <<_ACEOF
76666 /* confdefs.h.  */
76667 _ACEOF
76668 cat confdefs.h >>conftest.$ac_ext
76669 cat >>conftest.$ac_ext <<_ACEOF
76670 /* end confdefs.h.  */
76671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76673 #define $ac_func innocuous_$ac_func
76674
76675 /* System header to define __stub macros and hopefully few prototypes,
76676     which can conflict with char $ac_func (); below.
76677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76678     <limits.h> exists even on freestanding compilers.  */
76679
76680 #ifdef __STDC__
76681 # include <limits.h>
76682 #else
76683 # include <assert.h>
76684 #endif
76685
76686 #undef $ac_func
76687
76688 /* Override any gcc2 internal prototype to avoid an error.  */
76689 #ifdef __cplusplus
76690 extern "C"
76691 {
76692 #endif
76693 /* We use char because int might match the return type of a gcc2
76694    builtin and then its argument prototype would still apply.  */
76695 char $ac_func ();
76696 /* The GNU C library defines this for functions which it implements
76697     to always fail with ENOSYS.  Some functions are actually named
76698     something starting with __ and the normal name is an alias.  */
76699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76700 choke me
76701 #else
76702 char (*f) () = $ac_func;
76703 #endif
76704 #ifdef __cplusplus
76705 }
76706 #endif
76707
76708 int
76709 main ()
76710 {
76711 return f != $ac_func;
76712   ;
76713   return 0;
76714 }
76715 _ACEOF
76716 rm -f conftest.$ac_objext conftest$ac_exeext
76717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76718   (eval $ac_link) 2>conftest.er1
76719   ac_status=$?
76720   grep -v '^ *+' conftest.er1 >conftest.err
76721   rm -f conftest.er1
76722   cat conftest.err >&5
76723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76724   (exit $ac_status); } &&
76725          { ac_try='test -z "$ac_c_werror_flag"
76726                          || test ! -s conftest.err'
76727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76728   (eval $ac_try) 2>&5
76729   ac_status=$?
76730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76731   (exit $ac_status); }; } &&
76732          { ac_try='test -s conftest$ac_exeext'
76733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76734   (eval $ac_try) 2>&5
76735   ac_status=$?
76736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76737   (exit $ac_status); }; }; then
76738   eval "$as_ac_var=yes"
76739 else
76740   echo "$as_me: failed program was:" >&5
76741 sed 's/^/| /' conftest.$ac_ext >&5
76742
76743 eval "$as_ac_var=no"
76744 fi
76745 rm -f conftest.err conftest.$ac_objext \
76746       conftest$ac_exeext conftest.$ac_ext
76747 fi
76748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76750 if test `eval echo '${'$as_ac_var'}'` = yes; then
76751   cat >>confdefs.h <<_ACEOF
76752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76753 _ACEOF
76754
76755 fi
76756 done
76757
76758     fi
76759   fi
76760
76761
76762
76763
76764
76765
76766   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
76767 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
76768   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76769     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
76770   echo $ECHO_N "(cached) $ECHO_C" >&6
76771 else
76772
76773
76774
76775       ac_ext=cc
76776 ac_cpp='$CXXCPP $CPPFLAGS'
76777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76780
76781       cat >conftest.$ac_ext <<_ACEOF
76782 /* confdefs.h.  */
76783 _ACEOF
76784 cat confdefs.h >>conftest.$ac_ext
76785 cat >>conftest.$ac_ext <<_ACEOF
76786 /* end confdefs.h.  */
76787 #include <math.h>
76788                       #ifdef HAVE_IEEEFP_H
76789                       #include <ieeefp.h>
76790                       #endif
76791
76792 int
76793 main ()
76794 {
76795  sqrtl(0);
76796   ;
76797   return 0;
76798 }
76799 _ACEOF
76800 rm -f conftest.$ac_objext
76801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76802   (eval $ac_compile) 2>conftest.er1
76803   ac_status=$?
76804   grep -v '^ *+' conftest.er1 >conftest.err
76805   rm -f conftest.er1
76806   cat conftest.err >&5
76807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76808   (exit $ac_status); } &&
76809          { ac_try='test -z "$ac_cxx_werror_flag"
76810                          || test ! -s conftest.err'
76811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76812   (eval $ac_try) 2>&5
76813   ac_status=$?
76814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815   (exit $ac_status); }; } &&
76816          { ac_try='test -s conftest.$ac_objext'
76817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76818   (eval $ac_try) 2>&5
76819   ac_status=$?
76820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76821   (exit $ac_status); }; }; then
76822   glibcxx_cv_func_sqrtl_use=yes
76823 else
76824   echo "$as_me: failed program was:" >&5
76825 sed 's/^/| /' conftest.$ac_ext >&5
76826
76827 glibcxx_cv_func_sqrtl_use=no
76828 fi
76829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76830       ac_ext=c
76831 ac_cpp='$CPP $CPPFLAGS'
76832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76835
76836
76837 fi
76838
76839   fi
76840   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
76841 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
76842
76843   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76844
76845 for ac_func in sqrtl
76846 do
76847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76848 echo "$as_me:$LINENO: checking for $ac_func" >&5
76849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76850 if eval "test \"\${$as_ac_var+set}\" = set"; then
76851   echo $ECHO_N "(cached) $ECHO_C" >&6
76852 else
76853   if test x$gcc_no_link = xyes; then
76854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76856    { (exit 1); exit 1; }; }
76857 fi
76858 cat >conftest.$ac_ext <<_ACEOF
76859 /* confdefs.h.  */
76860 _ACEOF
76861 cat confdefs.h >>conftest.$ac_ext
76862 cat >>conftest.$ac_ext <<_ACEOF
76863 /* end confdefs.h.  */
76864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76866 #define $ac_func innocuous_$ac_func
76867
76868 /* System header to define __stub macros and hopefully few prototypes,
76869     which can conflict with char $ac_func (); below.
76870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76871     <limits.h> exists even on freestanding compilers.  */
76872
76873 #ifdef __STDC__
76874 # include <limits.h>
76875 #else
76876 # include <assert.h>
76877 #endif
76878
76879 #undef $ac_func
76880
76881 /* Override any gcc2 internal prototype to avoid an error.  */
76882 #ifdef __cplusplus
76883 extern "C"
76884 {
76885 #endif
76886 /* We use char because int might match the return type of a gcc2
76887    builtin and then its argument prototype would still apply.  */
76888 char $ac_func ();
76889 /* The GNU C library defines this for functions which it implements
76890     to always fail with ENOSYS.  Some functions are actually named
76891     something starting with __ and the normal name is an alias.  */
76892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76893 choke me
76894 #else
76895 char (*f) () = $ac_func;
76896 #endif
76897 #ifdef __cplusplus
76898 }
76899 #endif
76900
76901 int
76902 main ()
76903 {
76904 return f != $ac_func;
76905   ;
76906   return 0;
76907 }
76908 _ACEOF
76909 rm -f conftest.$ac_objext conftest$ac_exeext
76910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76911   (eval $ac_link) 2>conftest.er1
76912   ac_status=$?
76913   grep -v '^ *+' conftest.er1 >conftest.err
76914   rm -f conftest.er1
76915   cat conftest.err >&5
76916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76917   (exit $ac_status); } &&
76918          { ac_try='test -z "$ac_c_werror_flag"
76919                          || test ! -s conftest.err'
76920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76921   (eval $ac_try) 2>&5
76922   ac_status=$?
76923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76924   (exit $ac_status); }; } &&
76925          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
76931   eval "$as_ac_var=yes"
76932 else
76933   echo "$as_me: failed program was:" >&5
76934 sed 's/^/| /' conftest.$ac_ext >&5
76935
76936 eval "$as_ac_var=no"
76937 fi
76938 rm -f conftest.err conftest.$ac_objext \
76939       conftest$ac_exeext conftest.$ac_ext
76940 fi
76941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76943 if test `eval echo '${'$as_ac_var'}'` = yes; then
76944   cat >>confdefs.h <<_ACEOF
76945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76946 _ACEOF
76947
76948 fi
76949 done
76950
76951   else
76952
76953   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
76954 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
76955   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76956     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
76957   echo $ECHO_N "(cached) $ECHO_C" >&6
76958 else
76959
76960
76961
76962       ac_ext=cc
76963 ac_cpp='$CXXCPP $CPPFLAGS'
76964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76967
76968       cat >conftest.$ac_ext <<_ACEOF
76969 /* confdefs.h.  */
76970 _ACEOF
76971 cat confdefs.h >>conftest.$ac_ext
76972 cat >>conftest.$ac_ext <<_ACEOF
76973 /* end confdefs.h.  */
76974 #include <math.h>
76975                       #ifdef HAVE_IEEEFP_H
76976                       #include <ieeefp.h>
76977                       #endif
76978
76979 int
76980 main ()
76981 {
76982  _sqrtl(0);
76983   ;
76984   return 0;
76985 }
76986 _ACEOF
76987 rm -f conftest.$ac_objext
76988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76989   (eval $ac_compile) 2>conftest.er1
76990   ac_status=$?
76991   grep -v '^ *+' conftest.er1 >conftest.err
76992   rm -f conftest.er1
76993   cat conftest.err >&5
76994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76995   (exit $ac_status); } &&
76996          { ac_try='test -z "$ac_cxx_werror_flag"
76997                          || test ! -s conftest.err'
76998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76999   (eval $ac_try) 2>&5
77000   ac_status=$?
77001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77002   (exit $ac_status); }; } &&
77003          { ac_try='test -s conftest.$ac_objext'
77004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77005   (eval $ac_try) 2>&5
77006   ac_status=$?
77007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77008   (exit $ac_status); }; }; then
77009   glibcxx_cv_func__sqrtl_use=yes
77010 else
77011   echo "$as_me: failed program was:" >&5
77012 sed 's/^/| /' conftest.$ac_ext >&5
77013
77014 glibcxx_cv_func__sqrtl_use=no
77015 fi
77016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77017       ac_ext=c
77018 ac_cpp='$CPP $CPPFLAGS'
77019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77022
77023
77024 fi
77025
77026   fi
77027   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
77028 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
77029
77030     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77031
77032 for ac_func in _sqrtl
77033 do
77034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77035 echo "$as_me:$LINENO: checking for $ac_func" >&5
77036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77037 if eval "test \"\${$as_ac_var+set}\" = set"; then
77038   echo $ECHO_N "(cached) $ECHO_C" >&6
77039 else
77040   if test x$gcc_no_link = xyes; then
77041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77043    { (exit 1); exit 1; }; }
77044 fi
77045 cat >conftest.$ac_ext <<_ACEOF
77046 /* confdefs.h.  */
77047 _ACEOF
77048 cat confdefs.h >>conftest.$ac_ext
77049 cat >>conftest.$ac_ext <<_ACEOF
77050 /* end confdefs.h.  */
77051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77053 #define $ac_func innocuous_$ac_func
77054
77055 /* System header to define __stub macros and hopefully few prototypes,
77056     which can conflict with char $ac_func (); below.
77057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77058     <limits.h> exists even on freestanding compilers.  */
77059
77060 #ifdef __STDC__
77061 # include <limits.h>
77062 #else
77063 # include <assert.h>
77064 #endif
77065
77066 #undef $ac_func
77067
77068 /* Override any gcc2 internal prototype to avoid an error.  */
77069 #ifdef __cplusplus
77070 extern "C"
77071 {
77072 #endif
77073 /* We use char because int might match the return type of a gcc2
77074    builtin and then its argument prototype would still apply.  */
77075 char $ac_func ();
77076 /* The GNU C library defines this for functions which it implements
77077     to always fail with ENOSYS.  Some functions are actually named
77078     something starting with __ and the normal name is an alias.  */
77079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77080 choke me
77081 #else
77082 char (*f) () = $ac_func;
77083 #endif
77084 #ifdef __cplusplus
77085 }
77086 #endif
77087
77088 int
77089 main ()
77090 {
77091 return f != $ac_func;
77092   ;
77093   return 0;
77094 }
77095 _ACEOF
77096 rm -f conftest.$ac_objext conftest$ac_exeext
77097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77098   (eval $ac_link) 2>conftest.er1
77099   ac_status=$?
77100   grep -v '^ *+' conftest.er1 >conftest.err
77101   rm -f conftest.er1
77102   cat conftest.err >&5
77103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77104   (exit $ac_status); } &&
77105          { ac_try='test -z "$ac_c_werror_flag"
77106                          || test ! -s conftest.err'
77107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77108   (eval $ac_try) 2>&5
77109   ac_status=$?
77110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77111   (exit $ac_status); }; } &&
77112          { ac_try='test -s conftest$ac_exeext'
77113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77114   (eval $ac_try) 2>&5
77115   ac_status=$?
77116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77117   (exit $ac_status); }; }; then
77118   eval "$as_ac_var=yes"
77119 else
77120   echo "$as_me: failed program was:" >&5
77121 sed 's/^/| /' conftest.$ac_ext >&5
77122
77123 eval "$as_ac_var=no"
77124 fi
77125 rm -f conftest.err conftest.$ac_objext \
77126       conftest$ac_exeext conftest.$ac_ext
77127 fi
77128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77130 if test `eval echo '${'$as_ac_var'}'` = yes; then
77131   cat >>confdefs.h <<_ACEOF
77132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77133 _ACEOF
77134
77135 fi
77136 done
77137
77138     fi
77139   fi
77140
77141
77142
77143
77144
77145
77146   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
77147 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
77148   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77149     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
77150   echo $ECHO_N "(cached) $ECHO_C" >&6
77151 else
77152
77153
77154
77155       ac_ext=cc
77156 ac_cpp='$CXXCPP $CPPFLAGS'
77157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77160
77161       cat >conftest.$ac_ext <<_ACEOF
77162 /* confdefs.h.  */
77163 _ACEOF
77164 cat confdefs.h >>conftest.$ac_ext
77165 cat >>conftest.$ac_ext <<_ACEOF
77166 /* end confdefs.h.  */
77167 #include <math.h>
77168 int
77169 main ()
77170 {
77171  sincosl(0, 0, 0);
77172   ;
77173   return 0;
77174 }
77175 _ACEOF
77176 rm -f conftest.$ac_objext
77177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77178   (eval $ac_compile) 2>conftest.er1
77179   ac_status=$?
77180   grep -v '^ *+' conftest.er1 >conftest.err
77181   rm -f conftest.er1
77182   cat conftest.err >&5
77183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77184   (exit $ac_status); } &&
77185          { ac_try='test -z "$ac_cxx_werror_flag"
77186                          || test ! -s conftest.err'
77187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77188   (eval $ac_try) 2>&5
77189   ac_status=$?
77190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77191   (exit $ac_status); }; } &&
77192          { ac_try='test -s conftest.$ac_objext'
77193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77194   (eval $ac_try) 2>&5
77195   ac_status=$?
77196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77197   (exit $ac_status); }; }; then
77198   glibcxx_cv_func_sincosl_use=yes
77199 else
77200   echo "$as_me: failed program was:" >&5
77201 sed 's/^/| /' conftest.$ac_ext >&5
77202
77203 glibcxx_cv_func_sincosl_use=no
77204 fi
77205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77206       ac_ext=c
77207 ac_cpp='$CPP $CPPFLAGS'
77208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77211
77212
77213 fi
77214
77215   fi
77216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
77217 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
77218
77219   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77220
77221 for ac_func in sincosl
77222 do
77223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77224 echo "$as_me:$LINENO: checking for $ac_func" >&5
77225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77226 if eval "test \"\${$as_ac_var+set}\" = set"; then
77227   echo $ECHO_N "(cached) $ECHO_C" >&6
77228 else
77229   if test x$gcc_no_link = xyes; then
77230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77232    { (exit 1); exit 1; }; }
77233 fi
77234 cat >conftest.$ac_ext <<_ACEOF
77235 /* confdefs.h.  */
77236 _ACEOF
77237 cat confdefs.h >>conftest.$ac_ext
77238 cat >>conftest.$ac_ext <<_ACEOF
77239 /* end confdefs.h.  */
77240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77242 #define $ac_func innocuous_$ac_func
77243
77244 /* System header to define __stub macros and hopefully few prototypes,
77245     which can conflict with char $ac_func (); below.
77246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77247     <limits.h> exists even on freestanding compilers.  */
77248
77249 #ifdef __STDC__
77250 # include <limits.h>
77251 #else
77252 # include <assert.h>
77253 #endif
77254
77255 #undef $ac_func
77256
77257 /* Override any gcc2 internal prototype to avoid an error.  */
77258 #ifdef __cplusplus
77259 extern "C"
77260 {
77261 #endif
77262 /* We use char because int might match the return type of a gcc2
77263    builtin and then its argument prototype would still apply.  */
77264 char $ac_func ();
77265 /* The GNU C library defines this for functions which it implements
77266     to always fail with ENOSYS.  Some functions are actually named
77267     something starting with __ and the normal name is an alias.  */
77268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77269 choke me
77270 #else
77271 char (*f) () = $ac_func;
77272 #endif
77273 #ifdef __cplusplus
77274 }
77275 #endif
77276
77277 int
77278 main ()
77279 {
77280 return f != $ac_func;
77281   ;
77282   return 0;
77283 }
77284 _ACEOF
77285 rm -f conftest.$ac_objext conftest$ac_exeext
77286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77287   (eval $ac_link) 2>conftest.er1
77288   ac_status=$?
77289   grep -v '^ *+' conftest.er1 >conftest.err
77290   rm -f conftest.er1
77291   cat conftest.err >&5
77292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77293   (exit $ac_status); } &&
77294          { ac_try='test -z "$ac_c_werror_flag"
77295                          || test ! -s conftest.err'
77296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77297   (eval $ac_try) 2>&5
77298   ac_status=$?
77299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77300   (exit $ac_status); }; } &&
77301          { ac_try='test -s conftest$ac_exeext'
77302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77303   (eval $ac_try) 2>&5
77304   ac_status=$?
77305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77306   (exit $ac_status); }; }; then
77307   eval "$as_ac_var=yes"
77308 else
77309   echo "$as_me: failed program was:" >&5
77310 sed 's/^/| /' conftest.$ac_ext >&5
77311
77312 eval "$as_ac_var=no"
77313 fi
77314 rm -f conftest.err conftest.$ac_objext \
77315       conftest$ac_exeext conftest.$ac_ext
77316 fi
77317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77319 if test `eval echo '${'$as_ac_var'}'` = yes; then
77320   cat >>confdefs.h <<_ACEOF
77321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77322 _ACEOF
77323
77324 fi
77325 done
77326
77327   else
77328
77329   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
77330 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
77331   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77332     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
77333   echo $ECHO_N "(cached) $ECHO_C" >&6
77334 else
77335
77336
77337
77338       ac_ext=cc
77339 ac_cpp='$CXXCPP $CPPFLAGS'
77340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77343
77344       cat >conftest.$ac_ext <<_ACEOF
77345 /* confdefs.h.  */
77346 _ACEOF
77347 cat confdefs.h >>conftest.$ac_ext
77348 cat >>conftest.$ac_ext <<_ACEOF
77349 /* end confdefs.h.  */
77350 #include <math.h>
77351 int
77352 main ()
77353 {
77354  _sincosl(0, 0, 0);
77355   ;
77356   return 0;
77357 }
77358 _ACEOF
77359 rm -f conftest.$ac_objext
77360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77361   (eval $ac_compile) 2>conftest.er1
77362   ac_status=$?
77363   grep -v '^ *+' conftest.er1 >conftest.err
77364   rm -f conftest.er1
77365   cat conftest.err >&5
77366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77367   (exit $ac_status); } &&
77368          { ac_try='test -z "$ac_cxx_werror_flag"
77369                          || test ! -s conftest.err'
77370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77371   (eval $ac_try) 2>&5
77372   ac_status=$?
77373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77374   (exit $ac_status); }; } &&
77375          { ac_try='test -s conftest.$ac_objext'
77376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77377   (eval $ac_try) 2>&5
77378   ac_status=$?
77379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77380   (exit $ac_status); }; }; then
77381   glibcxx_cv_func__sincosl_use=yes
77382 else
77383   echo "$as_me: failed program was:" >&5
77384 sed 's/^/| /' conftest.$ac_ext >&5
77385
77386 glibcxx_cv_func__sincosl_use=no
77387 fi
77388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77389       ac_ext=c
77390 ac_cpp='$CPP $CPPFLAGS'
77391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77394
77395
77396 fi
77397
77398   fi
77399   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
77400 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
77401
77402     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77403
77404 for ac_func in _sincosl
77405 do
77406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77407 echo "$as_me:$LINENO: checking for $ac_func" >&5
77408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77409 if eval "test \"\${$as_ac_var+set}\" = set"; then
77410   echo $ECHO_N "(cached) $ECHO_C" >&6
77411 else
77412   if test x$gcc_no_link = xyes; then
77413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77415    { (exit 1); exit 1; }; }
77416 fi
77417 cat >conftest.$ac_ext <<_ACEOF
77418 /* confdefs.h.  */
77419 _ACEOF
77420 cat confdefs.h >>conftest.$ac_ext
77421 cat >>conftest.$ac_ext <<_ACEOF
77422 /* end confdefs.h.  */
77423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77425 #define $ac_func innocuous_$ac_func
77426
77427 /* System header to define __stub macros and hopefully few prototypes,
77428     which can conflict with char $ac_func (); below.
77429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77430     <limits.h> exists even on freestanding compilers.  */
77431
77432 #ifdef __STDC__
77433 # include <limits.h>
77434 #else
77435 # include <assert.h>
77436 #endif
77437
77438 #undef $ac_func
77439
77440 /* Override any gcc2 internal prototype to avoid an error.  */
77441 #ifdef __cplusplus
77442 extern "C"
77443 {
77444 #endif
77445 /* We use char because int might match the return type of a gcc2
77446    builtin and then its argument prototype would still apply.  */
77447 char $ac_func ();
77448 /* The GNU C library defines this for functions which it implements
77449     to always fail with ENOSYS.  Some functions are actually named
77450     something starting with __ and the normal name is an alias.  */
77451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77452 choke me
77453 #else
77454 char (*f) () = $ac_func;
77455 #endif
77456 #ifdef __cplusplus
77457 }
77458 #endif
77459
77460 int
77461 main ()
77462 {
77463 return f != $ac_func;
77464   ;
77465   return 0;
77466 }
77467 _ACEOF
77468 rm -f conftest.$ac_objext conftest$ac_exeext
77469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77470   (eval $ac_link) 2>conftest.er1
77471   ac_status=$?
77472   grep -v '^ *+' conftest.er1 >conftest.err
77473   rm -f conftest.er1
77474   cat conftest.err >&5
77475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77476   (exit $ac_status); } &&
77477          { ac_try='test -z "$ac_c_werror_flag"
77478                          || test ! -s conftest.err'
77479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77480   (eval $ac_try) 2>&5
77481   ac_status=$?
77482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77483   (exit $ac_status); }; } &&
77484          { ac_try='test -s conftest$ac_exeext'
77485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77486   (eval $ac_try) 2>&5
77487   ac_status=$?
77488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77489   (exit $ac_status); }; }; then
77490   eval "$as_ac_var=yes"
77491 else
77492   echo "$as_me: failed program was:" >&5
77493 sed 's/^/| /' conftest.$ac_ext >&5
77494
77495 eval "$as_ac_var=no"
77496 fi
77497 rm -f conftest.err conftest.$ac_objext \
77498       conftest$ac_exeext conftest.$ac_ext
77499 fi
77500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77502 if test `eval echo '${'$as_ac_var'}'` = yes; then
77503   cat >>confdefs.h <<_ACEOF
77504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77505 _ACEOF
77506
77507 fi
77508 done
77509
77510     fi
77511   fi
77512
77513
77514
77515
77516
77517
77518   echo "$as_me:$LINENO: checking for finitel declaration" >&5
77519 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
77520   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77521     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
77522   echo $ECHO_N "(cached) $ECHO_C" >&6
77523 else
77524
77525
77526
77527       ac_ext=cc
77528 ac_cpp='$CXXCPP $CPPFLAGS'
77529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77532
77533       cat >conftest.$ac_ext <<_ACEOF
77534 /* confdefs.h.  */
77535 _ACEOF
77536 cat confdefs.h >>conftest.$ac_ext
77537 cat >>conftest.$ac_ext <<_ACEOF
77538 /* end confdefs.h.  */
77539 #include <math.h>
77540                       #ifdef HAVE_IEEEFP_H
77541                       #include <ieeefp.h>
77542                       #endif
77543
77544 int
77545 main ()
77546 {
77547  finitel(0);
77548   ;
77549   return 0;
77550 }
77551 _ACEOF
77552 rm -f conftest.$ac_objext
77553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77554   (eval $ac_compile) 2>conftest.er1
77555   ac_status=$?
77556   grep -v '^ *+' conftest.er1 >conftest.err
77557   rm -f conftest.er1
77558   cat conftest.err >&5
77559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77560   (exit $ac_status); } &&
77561          { ac_try='test -z "$ac_cxx_werror_flag"
77562                          || test ! -s conftest.err'
77563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77564   (eval $ac_try) 2>&5
77565   ac_status=$?
77566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77567   (exit $ac_status); }; } &&
77568          { ac_try='test -s conftest.$ac_objext'
77569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77570   (eval $ac_try) 2>&5
77571   ac_status=$?
77572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77573   (exit $ac_status); }; }; then
77574   glibcxx_cv_func_finitel_use=yes
77575 else
77576   echo "$as_me: failed program was:" >&5
77577 sed 's/^/| /' conftest.$ac_ext >&5
77578
77579 glibcxx_cv_func_finitel_use=no
77580 fi
77581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77582       ac_ext=c
77583 ac_cpp='$CPP $CPPFLAGS'
77584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77587
77588
77589 fi
77590
77591   fi
77592   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
77593 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
77594
77595   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77596
77597 for ac_func in finitel
77598 do
77599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77600 echo "$as_me:$LINENO: checking for $ac_func" >&5
77601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77602 if eval "test \"\${$as_ac_var+set}\" = set"; then
77603   echo $ECHO_N "(cached) $ECHO_C" >&6
77604 else
77605   if test x$gcc_no_link = xyes; then
77606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77608    { (exit 1); exit 1; }; }
77609 fi
77610 cat >conftest.$ac_ext <<_ACEOF
77611 /* confdefs.h.  */
77612 _ACEOF
77613 cat confdefs.h >>conftest.$ac_ext
77614 cat >>conftest.$ac_ext <<_ACEOF
77615 /* end confdefs.h.  */
77616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77618 #define $ac_func innocuous_$ac_func
77619
77620 /* System header to define __stub macros and hopefully few prototypes,
77621     which can conflict with char $ac_func (); below.
77622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77623     <limits.h> exists even on freestanding compilers.  */
77624
77625 #ifdef __STDC__
77626 # include <limits.h>
77627 #else
77628 # include <assert.h>
77629 #endif
77630
77631 #undef $ac_func
77632
77633 /* Override any gcc2 internal prototype to avoid an error.  */
77634 #ifdef __cplusplus
77635 extern "C"
77636 {
77637 #endif
77638 /* We use char because int might match the return type of a gcc2
77639    builtin and then its argument prototype would still apply.  */
77640 char $ac_func ();
77641 /* The GNU C library defines this for functions which it implements
77642     to always fail with ENOSYS.  Some functions are actually named
77643     something starting with __ and the normal name is an alias.  */
77644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77645 choke me
77646 #else
77647 char (*f) () = $ac_func;
77648 #endif
77649 #ifdef __cplusplus
77650 }
77651 #endif
77652
77653 int
77654 main ()
77655 {
77656 return f != $ac_func;
77657   ;
77658   return 0;
77659 }
77660 _ACEOF
77661 rm -f conftest.$ac_objext conftest$ac_exeext
77662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77663   (eval $ac_link) 2>conftest.er1
77664   ac_status=$?
77665   grep -v '^ *+' conftest.er1 >conftest.err
77666   rm -f conftest.er1
77667   cat conftest.err >&5
77668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77669   (exit $ac_status); } &&
77670          { ac_try='test -z "$ac_c_werror_flag"
77671                          || test ! -s conftest.err'
77672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77673   (eval $ac_try) 2>&5
77674   ac_status=$?
77675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77676   (exit $ac_status); }; } &&
77677          { ac_try='test -s conftest$ac_exeext'
77678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77679   (eval $ac_try) 2>&5
77680   ac_status=$?
77681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77682   (exit $ac_status); }; }; then
77683   eval "$as_ac_var=yes"
77684 else
77685   echo "$as_me: failed program was:" >&5
77686 sed 's/^/| /' conftest.$ac_ext >&5
77687
77688 eval "$as_ac_var=no"
77689 fi
77690 rm -f conftest.err conftest.$ac_objext \
77691       conftest$ac_exeext conftest.$ac_ext
77692 fi
77693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77695 if test `eval echo '${'$as_ac_var'}'` = yes; then
77696   cat >>confdefs.h <<_ACEOF
77697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77698 _ACEOF
77699
77700 fi
77701 done
77702
77703   else
77704
77705   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
77706 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
77707   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77708     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
77709   echo $ECHO_N "(cached) $ECHO_C" >&6
77710 else
77711
77712
77713
77714       ac_ext=cc
77715 ac_cpp='$CXXCPP $CPPFLAGS'
77716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77719
77720       cat >conftest.$ac_ext <<_ACEOF
77721 /* confdefs.h.  */
77722 _ACEOF
77723 cat confdefs.h >>conftest.$ac_ext
77724 cat >>conftest.$ac_ext <<_ACEOF
77725 /* end confdefs.h.  */
77726 #include <math.h>
77727                       #ifdef HAVE_IEEEFP_H
77728                       #include <ieeefp.h>
77729                       #endif
77730
77731 int
77732 main ()
77733 {
77734  _finitel(0);
77735   ;
77736   return 0;
77737 }
77738 _ACEOF
77739 rm -f conftest.$ac_objext
77740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77741   (eval $ac_compile) 2>conftest.er1
77742   ac_status=$?
77743   grep -v '^ *+' conftest.er1 >conftest.err
77744   rm -f conftest.er1
77745   cat conftest.err >&5
77746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77747   (exit $ac_status); } &&
77748          { ac_try='test -z "$ac_cxx_werror_flag"
77749                          || test ! -s conftest.err'
77750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77751   (eval $ac_try) 2>&5
77752   ac_status=$?
77753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77754   (exit $ac_status); }; } &&
77755          { ac_try='test -s conftest.$ac_objext'
77756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77757   (eval $ac_try) 2>&5
77758   ac_status=$?
77759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77760   (exit $ac_status); }; }; then
77761   glibcxx_cv_func__finitel_use=yes
77762 else
77763   echo "$as_me: failed program was:" >&5
77764 sed 's/^/| /' conftest.$ac_ext >&5
77765
77766 glibcxx_cv_func__finitel_use=no
77767 fi
77768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77769       ac_ext=c
77770 ac_cpp='$CPP $CPPFLAGS'
77771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77774
77775
77776 fi
77777
77778   fi
77779   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
77780 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
77781
77782     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77783
77784 for ac_func in _finitel
77785 do
77786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77787 echo "$as_me:$LINENO: checking for $ac_func" >&5
77788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77789 if eval "test \"\${$as_ac_var+set}\" = set"; then
77790   echo $ECHO_N "(cached) $ECHO_C" >&6
77791 else
77792   if test x$gcc_no_link = xyes; then
77793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77795    { (exit 1); exit 1; }; }
77796 fi
77797 cat >conftest.$ac_ext <<_ACEOF
77798 /* confdefs.h.  */
77799 _ACEOF
77800 cat confdefs.h >>conftest.$ac_ext
77801 cat >>conftest.$ac_ext <<_ACEOF
77802 /* end confdefs.h.  */
77803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77805 #define $ac_func innocuous_$ac_func
77806
77807 /* System header to define __stub macros and hopefully few prototypes,
77808     which can conflict with char $ac_func (); below.
77809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77810     <limits.h> exists even on freestanding compilers.  */
77811
77812 #ifdef __STDC__
77813 # include <limits.h>
77814 #else
77815 # include <assert.h>
77816 #endif
77817
77818 #undef $ac_func
77819
77820 /* Override any gcc2 internal prototype to avoid an error.  */
77821 #ifdef __cplusplus
77822 extern "C"
77823 {
77824 #endif
77825 /* We use char because int might match the return type of a gcc2
77826    builtin and then its argument prototype would still apply.  */
77827 char $ac_func ();
77828 /* The GNU C library defines this for functions which it implements
77829     to always fail with ENOSYS.  Some functions are actually named
77830     something starting with __ and the normal name is an alias.  */
77831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77832 choke me
77833 #else
77834 char (*f) () = $ac_func;
77835 #endif
77836 #ifdef __cplusplus
77837 }
77838 #endif
77839
77840 int
77841 main ()
77842 {
77843 return f != $ac_func;
77844   ;
77845   return 0;
77846 }
77847 _ACEOF
77848 rm -f conftest.$ac_objext conftest$ac_exeext
77849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77850   (eval $ac_link) 2>conftest.er1
77851   ac_status=$?
77852   grep -v '^ *+' conftest.er1 >conftest.err
77853   rm -f conftest.er1
77854   cat conftest.err >&5
77855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77856   (exit $ac_status); } &&
77857          { ac_try='test -z "$ac_c_werror_flag"
77858                          || test ! -s conftest.err'
77859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77860   (eval $ac_try) 2>&5
77861   ac_status=$?
77862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863   (exit $ac_status); }; } &&
77864          { ac_try='test -s conftest$ac_exeext'
77865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77866   (eval $ac_try) 2>&5
77867   ac_status=$?
77868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77869   (exit $ac_status); }; }; then
77870   eval "$as_ac_var=yes"
77871 else
77872   echo "$as_me: failed program was:" >&5
77873 sed 's/^/| /' conftest.$ac_ext >&5
77874
77875 eval "$as_ac_var=no"
77876 fi
77877 rm -f conftest.err conftest.$ac_objext \
77878       conftest$ac_exeext conftest.$ac_ext
77879 fi
77880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77882 if test `eval echo '${'$as_ac_var'}'` = yes; then
77883   cat >>confdefs.h <<_ACEOF
77884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77885 _ACEOF
77886
77887 fi
77888 done
77889
77890     fi
77891   fi
77892
77893
77894
77895
77896
77897   LIBS="$ac_save_LIBS"
77898   CXXFLAGS="$ac_save_CXXFLAGS"
77899
77900
77901
77902 echo "$as_me:$LINENO: checking for main in -lm" >&5
77903 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77904 if test "${ac_cv_lib_m_main+set}" = set; then
77905   echo $ECHO_N "(cached) $ECHO_C" >&6
77906 else
77907   ac_check_lib_save_LIBS=$LIBS
77908 LIBS="-lm  $LIBS"
77909 if test x$gcc_no_link = xyes; then
77910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77912    { (exit 1); exit 1; }; }
77913 fi
77914 cat >conftest.$ac_ext <<_ACEOF
77915 /* confdefs.h.  */
77916 _ACEOF
77917 cat confdefs.h >>conftest.$ac_ext
77918 cat >>conftest.$ac_ext <<_ACEOF
77919 /* end confdefs.h.  */
77920
77921
77922 int
77923 main ()
77924 {
77925 main ();
77926   ;
77927   return 0;
77928 }
77929 _ACEOF
77930 rm -f conftest.$ac_objext conftest$ac_exeext
77931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77932   (eval $ac_link) 2>conftest.er1
77933   ac_status=$?
77934   grep -v '^ *+' conftest.er1 >conftest.err
77935   rm -f conftest.er1
77936   cat conftest.err >&5
77937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77938   (exit $ac_status); } &&
77939          { ac_try='test -z "$ac_c_werror_flag"
77940                          || test ! -s conftest.err'
77941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77942   (eval $ac_try) 2>&5
77943   ac_status=$?
77944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77945   (exit $ac_status); }; } &&
77946          { ac_try='test -s conftest$ac_exeext'
77947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77948   (eval $ac_try) 2>&5
77949   ac_status=$?
77950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77951   (exit $ac_status); }; }; then
77952   ac_cv_lib_m_main=yes
77953 else
77954   echo "$as_me: failed program was:" >&5
77955 sed 's/^/| /' conftest.$ac_ext >&5
77956
77957 ac_cv_lib_m_main=no
77958 fi
77959 rm -f conftest.err conftest.$ac_objext \
77960       conftest$ac_exeext conftest.$ac_ext
77961 LIBS=$ac_check_lib_save_LIBS
77962 fi
77963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77964 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77965 if test $ac_cv_lib_m_main = yes; then
77966   cat >>confdefs.h <<_ACEOF
77967 #define HAVE_LIBM 1
77968 _ACEOF
77969
77970   LIBS="-lm $LIBS"
77971
77972 fi
77973
77974
77975 for ac_func in copysignf
77976 do
77977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77978 echo "$as_me:$LINENO: checking for $ac_func" >&5
77979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77980 if eval "test \"\${$as_ac_var+set}\" = set"; then
77981   echo $ECHO_N "(cached) $ECHO_C" >&6
77982 else
77983   if test x$gcc_no_link = xyes; then
77984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77986    { (exit 1); exit 1; }; }
77987 fi
77988 cat >conftest.$ac_ext <<_ACEOF
77989 /* confdefs.h.  */
77990 _ACEOF
77991 cat confdefs.h >>conftest.$ac_ext
77992 cat >>conftest.$ac_ext <<_ACEOF
77993 /* end confdefs.h.  */
77994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77996 #define $ac_func innocuous_$ac_func
77997
77998 /* System header to define __stub macros and hopefully few prototypes,
77999     which can conflict with char $ac_func (); below.
78000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78001     <limits.h> exists even on freestanding compilers.  */
78002
78003 #ifdef __STDC__
78004 # include <limits.h>
78005 #else
78006 # include <assert.h>
78007 #endif
78008
78009 #undef $ac_func
78010
78011 /* Override any gcc2 internal prototype to avoid an error.  */
78012 #ifdef __cplusplus
78013 extern "C"
78014 {
78015 #endif
78016 /* We use char because int might match the return type of a gcc2
78017    builtin and then its argument prototype would still apply.  */
78018 char $ac_func ();
78019 /* The GNU C library defines this for functions which it implements
78020     to always fail with ENOSYS.  Some functions are actually named
78021     something starting with __ and the normal name is an alias.  */
78022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78023 choke me
78024 #else
78025 char (*f) () = $ac_func;
78026 #endif
78027 #ifdef __cplusplus
78028 }
78029 #endif
78030
78031 int
78032 main ()
78033 {
78034 return f != $ac_func;
78035   ;
78036   return 0;
78037 }
78038 _ACEOF
78039 rm -f conftest.$ac_objext conftest$ac_exeext
78040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78041   (eval $ac_link) 2>conftest.er1
78042   ac_status=$?
78043   grep -v '^ *+' conftest.er1 >conftest.err
78044   rm -f conftest.er1
78045   cat conftest.err >&5
78046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78047   (exit $ac_status); } &&
78048          { ac_try='test -z "$ac_c_werror_flag"
78049                          || test ! -s conftest.err'
78050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78051   (eval $ac_try) 2>&5
78052   ac_status=$?
78053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78054   (exit $ac_status); }; } &&
78055          { ac_try='test -s conftest$ac_exeext'
78056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78057   (eval $ac_try) 2>&5
78058   ac_status=$?
78059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78060   (exit $ac_status); }; }; then
78061   eval "$as_ac_var=yes"
78062 else
78063   echo "$as_me: failed program was:" >&5
78064 sed 's/^/| /' conftest.$ac_ext >&5
78065
78066 eval "$as_ac_var=no"
78067 fi
78068 rm -f conftest.err conftest.$ac_objext \
78069       conftest$ac_exeext conftest.$ac_ext
78070 fi
78071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78073 if test `eval echo '${'$as_ac_var'}'` = yes; then
78074   cat >>confdefs.h <<_ACEOF
78075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78076 _ACEOF
78077
78078 else
78079   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78080 fi
78081 done
78082
78083
78084
78085 for ac_func in __signbit
78086 do
78087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78088 echo "$as_me:$LINENO: checking for $ac_func" >&5
78089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78090 if eval "test \"\${$as_ac_var+set}\" = set"; then
78091   echo $ECHO_N "(cached) $ECHO_C" >&6
78092 else
78093   if test x$gcc_no_link = xyes; then
78094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78096    { (exit 1); exit 1; }; }
78097 fi
78098 cat >conftest.$ac_ext <<_ACEOF
78099 /* confdefs.h.  */
78100 _ACEOF
78101 cat confdefs.h >>conftest.$ac_ext
78102 cat >>conftest.$ac_ext <<_ACEOF
78103 /* end confdefs.h.  */
78104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78106 #define $ac_func innocuous_$ac_func
78107
78108 /* System header to define __stub macros and hopefully few prototypes,
78109     which can conflict with char $ac_func (); below.
78110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78111     <limits.h> exists even on freestanding compilers.  */
78112
78113 #ifdef __STDC__
78114 # include <limits.h>
78115 #else
78116 # include <assert.h>
78117 #endif
78118
78119 #undef $ac_func
78120
78121 /* Override any gcc2 internal prototype to avoid an error.  */
78122 #ifdef __cplusplus
78123 extern "C"
78124 {
78125 #endif
78126 /* We use char because int might match the return type of a gcc2
78127    builtin and then its argument prototype would still apply.  */
78128 char $ac_func ();
78129 /* The GNU C library defines this for functions which it implements
78130     to always fail with ENOSYS.  Some functions are actually named
78131     something starting with __ and the normal name is an alias.  */
78132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78133 choke me
78134 #else
78135 char (*f) () = $ac_func;
78136 #endif
78137 #ifdef __cplusplus
78138 }
78139 #endif
78140
78141 int
78142 main ()
78143 {
78144 return f != $ac_func;
78145   ;
78146   return 0;
78147 }
78148 _ACEOF
78149 rm -f conftest.$ac_objext conftest$ac_exeext
78150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78151   (eval $ac_link) 2>conftest.er1
78152   ac_status=$?
78153   grep -v '^ *+' conftest.er1 >conftest.err
78154   rm -f conftest.er1
78155   cat conftest.err >&5
78156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78157   (exit $ac_status); } &&
78158          { ac_try='test -z "$ac_c_werror_flag"
78159                          || test ! -s conftest.err'
78160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78161   (eval $ac_try) 2>&5
78162   ac_status=$?
78163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78164   (exit $ac_status); }; } &&
78165          { ac_try='test -s conftest$ac_exeext'
78166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78167   (eval $ac_try) 2>&5
78168   ac_status=$?
78169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78170   (exit $ac_status); }; }; then
78171   eval "$as_ac_var=yes"
78172 else
78173   echo "$as_me: failed program was:" >&5
78174 sed 's/^/| /' conftest.$ac_ext >&5
78175
78176 eval "$as_ac_var=no"
78177 fi
78178 rm -f conftest.err conftest.$ac_objext \
78179       conftest$ac_exeext conftest.$ac_ext
78180 fi
78181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78183 if test `eval echo '${'$as_ac_var'}'` = yes; then
78184   cat >>confdefs.h <<_ACEOF
78185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78186 _ACEOF
78187
78188 else
78189   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78190 fi
78191 done
78192
78193
78194
78195 for ac_func in __signbitf
78196 do
78197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78198 echo "$as_me:$LINENO: checking for $ac_func" >&5
78199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78200 if eval "test \"\${$as_ac_var+set}\" = set"; then
78201   echo $ECHO_N "(cached) $ECHO_C" >&6
78202 else
78203   if test x$gcc_no_link = xyes; then
78204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78206    { (exit 1); exit 1; }; }
78207 fi
78208 cat >conftest.$ac_ext <<_ACEOF
78209 /* confdefs.h.  */
78210 _ACEOF
78211 cat confdefs.h >>conftest.$ac_ext
78212 cat >>conftest.$ac_ext <<_ACEOF
78213 /* end confdefs.h.  */
78214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78216 #define $ac_func innocuous_$ac_func
78217
78218 /* System header to define __stub macros and hopefully few prototypes,
78219     which can conflict with char $ac_func (); below.
78220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78221     <limits.h> exists even on freestanding compilers.  */
78222
78223 #ifdef __STDC__
78224 # include <limits.h>
78225 #else
78226 # include <assert.h>
78227 #endif
78228
78229 #undef $ac_func
78230
78231 /* Override any gcc2 internal prototype to avoid an error.  */
78232 #ifdef __cplusplus
78233 extern "C"
78234 {
78235 #endif
78236 /* We use char because int might match the return type of a gcc2
78237    builtin and then its argument prototype would still apply.  */
78238 char $ac_func ();
78239 /* The GNU C library defines this for functions which it implements
78240     to always fail with ENOSYS.  Some functions are actually named
78241     something starting with __ and the normal name is an alias.  */
78242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78243 choke me
78244 #else
78245 char (*f) () = $ac_func;
78246 #endif
78247 #ifdef __cplusplus
78248 }
78249 #endif
78250
78251 int
78252 main ()
78253 {
78254 return f != $ac_func;
78255   ;
78256   return 0;
78257 }
78258 _ACEOF
78259 rm -f conftest.$ac_objext conftest$ac_exeext
78260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78261   (eval $ac_link) 2>conftest.er1
78262   ac_status=$?
78263   grep -v '^ *+' conftest.er1 >conftest.err
78264   rm -f conftest.er1
78265   cat conftest.err >&5
78266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78267   (exit $ac_status); } &&
78268          { ac_try='test -z "$ac_c_werror_flag"
78269                          || test ! -s conftest.err'
78270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78271   (eval $ac_try) 2>&5
78272   ac_status=$?
78273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78274   (exit $ac_status); }; } &&
78275          { ac_try='test -s conftest$ac_exeext'
78276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78277   (eval $ac_try) 2>&5
78278   ac_status=$?
78279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78280   (exit $ac_status); }; }; then
78281   eval "$as_ac_var=yes"
78282 else
78283   echo "$as_me: failed program was:" >&5
78284 sed 's/^/| /' conftest.$ac_ext >&5
78285
78286 eval "$as_ac_var=no"
78287 fi
78288 rm -f conftest.err conftest.$ac_objext \
78289       conftest$ac_exeext conftest.$ac_ext
78290 fi
78291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78293 if test `eval echo '${'$as_ac_var'}'` = yes; then
78294   cat >>confdefs.h <<_ACEOF
78295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78296 _ACEOF
78297
78298 else
78299   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78300 fi
78301 done
78302
78303
78304           if test x$ac_cv_func_copysignl = x"yes"; then
78305
78306 for ac_func in __signbitl
78307 do
78308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78309 echo "$as_me:$LINENO: checking for $ac_func" >&5
78310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78311 if eval "test \"\${$as_ac_var+set}\" = set"; then
78312   echo $ECHO_N "(cached) $ECHO_C" >&6
78313 else
78314   if test x$gcc_no_link = xyes; then
78315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78317    { (exit 1); exit 1; }; }
78318 fi
78319 cat >conftest.$ac_ext <<_ACEOF
78320 /* confdefs.h.  */
78321 _ACEOF
78322 cat confdefs.h >>conftest.$ac_ext
78323 cat >>conftest.$ac_ext <<_ACEOF
78324 /* end confdefs.h.  */
78325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78327 #define $ac_func innocuous_$ac_func
78328
78329 /* System header to define __stub macros and hopefully few prototypes,
78330     which can conflict with char $ac_func (); below.
78331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78332     <limits.h> exists even on freestanding compilers.  */
78333
78334 #ifdef __STDC__
78335 # include <limits.h>
78336 #else
78337 # include <assert.h>
78338 #endif
78339
78340 #undef $ac_func
78341
78342 /* Override any gcc2 internal prototype to avoid an error.  */
78343 #ifdef __cplusplus
78344 extern "C"
78345 {
78346 #endif
78347 /* We use char because int might match the return type of a gcc2
78348    builtin and then its argument prototype would still apply.  */
78349 char $ac_func ();
78350 /* The GNU C library defines this for functions which it implements
78351     to always fail with ENOSYS.  Some functions are actually named
78352     something starting with __ and the normal name is an alias.  */
78353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78354 choke me
78355 #else
78356 char (*f) () = $ac_func;
78357 #endif
78358 #ifdef __cplusplus
78359 }
78360 #endif
78361
78362 int
78363 main ()
78364 {
78365 return f != $ac_func;
78366   ;
78367   return 0;
78368 }
78369 _ACEOF
78370 rm -f conftest.$ac_objext conftest$ac_exeext
78371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78372   (eval $ac_link) 2>conftest.er1
78373   ac_status=$?
78374   grep -v '^ *+' conftest.er1 >conftest.err
78375   rm -f conftest.er1
78376   cat conftest.err >&5
78377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78378   (exit $ac_status); } &&
78379          { ac_try='test -z "$ac_c_werror_flag"
78380                          || test ! -s conftest.err'
78381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78382   (eval $ac_try) 2>&5
78383   ac_status=$?
78384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78385   (exit $ac_status); }; } &&
78386          { ac_try='test -s conftest$ac_exeext'
78387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78388   (eval $ac_try) 2>&5
78389   ac_status=$?
78390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78391   (exit $ac_status); }; }; then
78392   eval "$as_ac_var=yes"
78393 else
78394   echo "$as_me: failed program was:" >&5
78395 sed 's/^/| /' conftest.$ac_ext >&5
78396
78397 eval "$as_ac_var=no"
78398 fi
78399 rm -f conftest.err conftest.$ac_objext \
78400       conftest$ac_exeext conftest.$ac_ext
78401 fi
78402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78404 if test `eval echo '${'$as_ac_var'}'` = yes; then
78405   cat >>confdefs.h <<_ACEOF
78406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78407 _ACEOF
78408
78409 else
78410   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78411 fi
78412 done
78413
78414   fi
78415
78416   # Used in libmath/Makefile.am.
78417   if test -n "$LIBMATHOBJS"; then
78418     need_libmath=yes
78419   fi
78420
78421
78422
78423   ac_test_CXXFLAGS="${CXXFLAGS+set}"
78424   ac_save_CXXFLAGS="$CXXFLAGS"
78425   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78426
78427
78428   echo "$as_me:$LINENO: checking for strtold declaration" >&5
78429 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
78430   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78431     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
78432   echo $ECHO_N "(cached) $ECHO_C" >&6
78433 else
78434
78435
78436
78437       ac_ext=cc
78438 ac_cpp='$CXXCPP $CPPFLAGS'
78439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78442
78443       cat >conftest.$ac_ext <<_ACEOF
78444 /* confdefs.h.  */
78445 _ACEOF
78446 cat confdefs.h >>conftest.$ac_ext
78447 cat >>conftest.$ac_ext <<_ACEOF
78448 /* end confdefs.h.  */
78449 #include <stdlib.h>
78450 int
78451 main ()
78452 {
78453  strtold(0, 0);
78454   ;
78455   return 0;
78456 }
78457 _ACEOF
78458 rm -f conftest.$ac_objext
78459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78460   (eval $ac_compile) 2>conftest.er1
78461   ac_status=$?
78462   grep -v '^ *+' conftest.er1 >conftest.err
78463   rm -f conftest.er1
78464   cat conftest.err >&5
78465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78466   (exit $ac_status); } &&
78467          { ac_try='test -z "$ac_cxx_werror_flag"
78468                          || test ! -s conftest.err'
78469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78470   (eval $ac_try) 2>&5
78471   ac_status=$?
78472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473   (exit $ac_status); }; } &&
78474          { ac_try='test -s conftest.$ac_objext'
78475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78476   (eval $ac_try) 2>&5
78477   ac_status=$?
78478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78479   (exit $ac_status); }; }; then
78480   glibcxx_cv_func_strtold_use=yes
78481 else
78482   echo "$as_me: failed program was:" >&5
78483 sed 's/^/| /' conftest.$ac_ext >&5
78484
78485 glibcxx_cv_func_strtold_use=no
78486 fi
78487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78488       ac_ext=c
78489 ac_cpp='$CPP $CPPFLAGS'
78490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78493
78494
78495 fi
78496
78497   fi
78498   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
78499 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
78500   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78501
78502 for ac_func in strtold
78503 do
78504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78505 echo "$as_me:$LINENO: checking for $ac_func" >&5
78506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78507 if eval "test \"\${$as_ac_var+set}\" = set"; then
78508   echo $ECHO_N "(cached) $ECHO_C" >&6
78509 else
78510   if test x$gcc_no_link = xyes; then
78511   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78513    { (exit 1); exit 1; }; }
78514 fi
78515 cat >conftest.$ac_ext <<_ACEOF
78516 /* confdefs.h.  */
78517 _ACEOF
78518 cat confdefs.h >>conftest.$ac_ext
78519 cat >>conftest.$ac_ext <<_ACEOF
78520 /* end confdefs.h.  */
78521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78523 #define $ac_func innocuous_$ac_func
78524
78525 /* System header to define __stub macros and hopefully few prototypes,
78526     which can conflict with char $ac_func (); below.
78527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78528     <limits.h> exists even on freestanding compilers.  */
78529
78530 #ifdef __STDC__
78531 # include <limits.h>
78532 #else
78533 # include <assert.h>
78534 #endif
78535
78536 #undef $ac_func
78537
78538 /* Override any gcc2 internal prototype to avoid an error.  */
78539 #ifdef __cplusplus
78540 extern "C"
78541 {
78542 #endif
78543 /* We use char because int might match the return type of a gcc2
78544    builtin and then its argument prototype would still apply.  */
78545 char $ac_func ();
78546 /* The GNU C library defines this for functions which it implements
78547     to always fail with ENOSYS.  Some functions are actually named
78548     something starting with __ and the normal name is an alias.  */
78549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78550 choke me
78551 #else
78552 char (*f) () = $ac_func;
78553 #endif
78554 #ifdef __cplusplus
78555 }
78556 #endif
78557
78558 int
78559 main ()
78560 {
78561 return f != $ac_func;
78562   ;
78563   return 0;
78564 }
78565 _ACEOF
78566 rm -f conftest.$ac_objext conftest$ac_exeext
78567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78568   (eval $ac_link) 2>conftest.er1
78569   ac_status=$?
78570   grep -v '^ *+' conftest.er1 >conftest.err
78571   rm -f conftest.er1
78572   cat conftest.err >&5
78573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78574   (exit $ac_status); } &&
78575          { ac_try='test -z "$ac_c_werror_flag"
78576                          || test ! -s conftest.err'
78577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78578   (eval $ac_try) 2>&5
78579   ac_status=$?
78580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78581   (exit $ac_status); }; } &&
78582          { ac_try='test -s conftest$ac_exeext'
78583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78584   (eval $ac_try) 2>&5
78585   ac_status=$?
78586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78587   (exit $ac_status); }; }; then
78588   eval "$as_ac_var=yes"
78589 else
78590   echo "$as_me: failed program was:" >&5
78591 sed 's/^/| /' conftest.$ac_ext >&5
78592
78593 eval "$as_ac_var=no"
78594 fi
78595 rm -f conftest.err conftest.$ac_objext \
78596       conftest$ac_exeext conftest.$ac_ext
78597 fi
78598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78600 if test `eval echo '${'$as_ac_var'}'` = yes; then
78601   cat >>confdefs.h <<_ACEOF
78602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78603 _ACEOF
78604
78605 fi
78606 done
78607
78608   fi
78609
78610
78611
78612
78613
78614   echo "$as_me:$LINENO: checking for strtof declaration" >&5
78615 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
78616   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78617     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
78618   echo $ECHO_N "(cached) $ECHO_C" >&6
78619 else
78620
78621
78622
78623       ac_ext=cc
78624 ac_cpp='$CXXCPP $CPPFLAGS'
78625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78628
78629       cat >conftest.$ac_ext <<_ACEOF
78630 /* confdefs.h.  */
78631 _ACEOF
78632 cat confdefs.h >>conftest.$ac_ext
78633 cat >>conftest.$ac_ext <<_ACEOF
78634 /* end confdefs.h.  */
78635 #include <stdlib.h>
78636 int
78637 main ()
78638 {
78639  strtof(0, 0);
78640   ;
78641   return 0;
78642 }
78643 _ACEOF
78644 rm -f conftest.$ac_objext
78645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78646   (eval $ac_compile) 2>conftest.er1
78647   ac_status=$?
78648   grep -v '^ *+' conftest.er1 >conftest.err
78649   rm -f conftest.er1
78650   cat conftest.err >&5
78651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78652   (exit $ac_status); } &&
78653          { ac_try='test -z "$ac_cxx_werror_flag"
78654                          || test ! -s conftest.err'
78655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78656   (eval $ac_try) 2>&5
78657   ac_status=$?
78658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78659   (exit $ac_status); }; } &&
78660          { ac_try='test -s conftest.$ac_objext'
78661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78662   (eval $ac_try) 2>&5
78663   ac_status=$?
78664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78665   (exit $ac_status); }; }; then
78666   glibcxx_cv_func_strtof_use=yes
78667 else
78668   echo "$as_me: failed program was:" >&5
78669 sed 's/^/| /' conftest.$ac_ext >&5
78670
78671 glibcxx_cv_func_strtof_use=no
78672 fi
78673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78674       ac_ext=c
78675 ac_cpp='$CPP $CPPFLAGS'
78676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78679
78680
78681 fi
78682
78683   fi
78684   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
78685 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
78686   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78687
78688 for ac_func in strtof
78689 do
78690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78691 echo "$as_me:$LINENO: checking for $ac_func" >&5
78692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78693 if eval "test \"\${$as_ac_var+set}\" = set"; then
78694   echo $ECHO_N "(cached) $ECHO_C" >&6
78695 else
78696   if test x$gcc_no_link = xyes; then
78697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78699    { (exit 1); exit 1; }; }
78700 fi
78701 cat >conftest.$ac_ext <<_ACEOF
78702 /* confdefs.h.  */
78703 _ACEOF
78704 cat confdefs.h >>conftest.$ac_ext
78705 cat >>conftest.$ac_ext <<_ACEOF
78706 /* end confdefs.h.  */
78707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78709 #define $ac_func innocuous_$ac_func
78710
78711 /* System header to define __stub macros and hopefully few prototypes,
78712     which can conflict with char $ac_func (); below.
78713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78714     <limits.h> exists even on freestanding compilers.  */
78715
78716 #ifdef __STDC__
78717 # include <limits.h>
78718 #else
78719 # include <assert.h>
78720 #endif
78721
78722 #undef $ac_func
78723
78724 /* Override any gcc2 internal prototype to avoid an error.  */
78725 #ifdef __cplusplus
78726 extern "C"
78727 {
78728 #endif
78729 /* We use char because int might match the return type of a gcc2
78730    builtin and then its argument prototype would still apply.  */
78731 char $ac_func ();
78732 /* The GNU C library defines this for functions which it implements
78733     to always fail with ENOSYS.  Some functions are actually named
78734     something starting with __ and the normal name is an alias.  */
78735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78736 choke me
78737 #else
78738 char (*f) () = $ac_func;
78739 #endif
78740 #ifdef __cplusplus
78741 }
78742 #endif
78743
78744 int
78745 main ()
78746 {
78747 return f != $ac_func;
78748   ;
78749   return 0;
78750 }
78751 _ACEOF
78752 rm -f conftest.$ac_objext conftest$ac_exeext
78753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78754   (eval $ac_link) 2>conftest.er1
78755   ac_status=$?
78756   grep -v '^ *+' conftest.er1 >conftest.err
78757   rm -f conftest.er1
78758   cat conftest.err >&5
78759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78760   (exit $ac_status); } &&
78761          { ac_try='test -z "$ac_c_werror_flag"
78762                          || test ! -s conftest.err'
78763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78764   (eval $ac_try) 2>&5
78765   ac_status=$?
78766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78767   (exit $ac_status); }; } &&
78768          { ac_try='test -s conftest$ac_exeext'
78769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78770   (eval $ac_try) 2>&5
78771   ac_status=$?
78772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78773   (exit $ac_status); }; }; then
78774   eval "$as_ac_var=yes"
78775 else
78776   echo "$as_me: failed program was:" >&5
78777 sed 's/^/| /' conftest.$ac_ext >&5
78778
78779 eval "$as_ac_var=no"
78780 fi
78781 rm -f conftest.err conftest.$ac_objext \
78782       conftest$ac_exeext conftest.$ac_ext
78783 fi
78784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78786 if test `eval echo '${'$as_ac_var'}'` = yes; then
78787   cat >>confdefs.h <<_ACEOF
78788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78789 _ACEOF
78790
78791 fi
78792 done
78793
78794   fi
78795
78796
78797
78798
78799
78800   CXXFLAGS="$ac_save_CXXFLAGS"
78801
78802     ;;
78803
78804   *djgpp)
78805     # GLIBCXX_CHECK_MATH_SUPPORT
78806     cat >>confdefs.h <<\_ACEOF
78807 #define HAVE_LIBM 1
78808 _ACEOF
78809
78810     cat >>confdefs.h <<\_ACEOF
78811 #define HAVE_ISINF 1
78812 _ACEOF
78813
78814     cat >>confdefs.h <<\_ACEOF
78815 #define HAVE_ISNAN 1
78816 _ACEOF
78817
78818     cat >>confdefs.h <<\_ACEOF
78819 #define HAVE_FINITE 1
78820 _ACEOF
78821
78822     cat >>confdefs.h <<\_ACEOF
78823 #define HAVE_COPYSIGN 1
78824 _ACEOF
78825
78826     cat >>confdefs.h <<\_ACEOF
78827 #define HAVE_SINCOS 1
78828 _ACEOF
78829
78830     cat >>confdefs.h <<\_ACEOF
78831 #define HAVE_HYPOT 1
78832 _ACEOF
78833
78834     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
78835     # GLIBCXX_CHECK_STDLIB_SUPPORT
78836     cat >>confdefs.h <<\_ACEOF
78837 #define HAVE_COPYSIGN 1
78838 _ACEOF
78839
78840     cat >>confdefs.h <<\_ACEOF
78841 #define HAVE_COPYSIGNF 1
78842 _ACEOF
78843
78844     ;;
78845
78846   *-freebsd*)
78847     SECTION_FLAGS='-ffunction-sections -fdata-sections'
78848
78849
78850   # If we're not using GNU ld, then there's no point in even trying these
78851   # tests.  Check for that first.  We should have already tested for gld
78852   # by now (in libtool), but require it now just to be safe...
78853   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78854   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78855
78856
78857
78858   # The name set by libtool depends on the version of libtool.  Shame on us
78859   # for depending on an impl detail, but c'est la vie.  Older versions used
78860   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78861   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78862   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
78863   # set (hence we're using an older libtool), then set it.
78864   if test x${with_gnu_ld+set} != xset; then
78865     if test x${ac_cv_prog_gnu_ld+set} != xset; then
78866       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
78867       with_gnu_ld=no
78868     else
78869       with_gnu_ld=$ac_cv_prog_gnu_ld
78870     fi
78871   fi
78872
78873   # Start by getting the version number.  I think the libtool test already
78874   # does some of this, but throws away the result.
78875   glibcxx_ld_is_gold=no
78876   if test x"$with_gnu_ld" = x"yes"; then
78877     echo "$as_me:$LINENO: checking for ld version" >&5
78878 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78879
78880     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
78881       glibcxx_ld_is_gold=yes
78882     fi
78883     ldver=`$LD --version 2>/dev/null | head -1 | \
78884            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
78885
78886     glibcxx_gnu_ld_version=`echo $ldver | \
78887            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78888     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78889 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78890   fi
78891
78892   # Set --gc-sections.
78893   glibcxx_have_gc_sections=no
78894   if test "$glibcxx_ld_is_gold" = "yes"; then
78895     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
78896       glibcxx_have_gc_sections=yes
78897     fi
78898   else
78899     glibcxx_gcsections_min_ld=21602
78900     if test x"$with_gnu_ld" = x"yes" &&
78901         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78902       glibcxx_have_gc_sections=yes
78903     fi
78904   fi
78905   if test "$glibcxx_have_gc_sections" = "yes"; then
78906     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
78907     # NB: This flag only works reliably after 2.16.1. Configure tests
78908     # for this are difficult, so hard wire a value that should work.
78909
78910     ac_test_CFLAGS="${CFLAGS+set}"
78911     ac_save_CFLAGS="$CFLAGS"
78912     CFLAGS='-Wl,--gc-sections'
78913
78914     # Check for -Wl,--gc-sections
78915     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78916 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78917     if test x$gcc_no_link = xyes; then
78918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78920    { (exit 1); exit 1; }; }
78921 fi
78922 cat >conftest.$ac_ext <<_ACEOF
78923 /* confdefs.h.  */
78924 _ACEOF
78925 cat confdefs.h >>conftest.$ac_ext
78926 cat >>conftest.$ac_ext <<_ACEOF
78927 /* end confdefs.h.  */
78928  int one(void) { return 1; }
78929      int two(void) { return 2; }
78930
78931 int
78932 main ()
78933 {
78934  two();
78935   ;
78936   return 0;
78937 }
78938 _ACEOF
78939 rm -f conftest.$ac_objext conftest$ac_exeext
78940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78941   (eval $ac_link) 2>conftest.er1
78942   ac_status=$?
78943   grep -v '^ *+' conftest.er1 >conftest.err
78944   rm -f conftest.er1
78945   cat conftest.err >&5
78946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78947   (exit $ac_status); } &&
78948          { ac_try='test -z "$ac_c_werror_flag"
78949                          || test ! -s conftest.err'
78950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78951   (eval $ac_try) 2>&5
78952   ac_status=$?
78953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78954   (exit $ac_status); }; } &&
78955          { ac_try='test -s conftest$ac_exeext'
78956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78957   (eval $ac_try) 2>&5
78958   ac_status=$?
78959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78960   (exit $ac_status); }; }; then
78961   ac_gcsections=yes
78962 else
78963   echo "$as_me: failed program was:" >&5
78964 sed 's/^/| /' conftest.$ac_ext >&5
78965
78966 ac_gcsections=no
78967 fi
78968 rm -f conftest.err conftest.$ac_objext \
78969       conftest$ac_exeext conftest.$ac_ext
78970     if test "$ac_gcsections" = "yes"; then
78971       rm -f conftest.c
78972       touch conftest.c
78973       if $CC -c conftest.c; then
78974         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78975            grep "Warning: gc-sections option ignored" > /dev/null; then
78976           ac_gcsections=no
78977         fi
78978       fi
78979       rm -f conftest.c conftest.o conftest
78980     fi
78981     if test "$ac_gcsections" = "yes"; then
78982       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78983     fi
78984     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78985 echo "${ECHO_T}$ac_gcsections" >&6
78986
78987     if test "$ac_test_CFLAGS" = set; then
78988       CFLAGS="$ac_save_CFLAGS"
78989     else
78990       # this is the suspicious part
78991       CFLAGS=''
78992     fi
78993   fi
78994
78995   # Set -z,relro.
78996   # Note this is only for shared objects.
78997   ac_ld_relro=no
78998   if test x"$with_gnu_ld" = x"yes"; then
78999     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79000 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79001     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79002     if test -n "$cxx_z_relo"; then
79003       OPT_LDFLAGS="-Wl,-z,relro"
79004       ac_ld_relro=yes
79005     fi
79006     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79007 echo "${ECHO_T}$ac_ld_relro" >&6
79008   fi
79009
79010   # Set linker optimization flags.
79011   if test x"$with_gnu_ld" = x"yes"; then
79012     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79013   fi
79014
79015
79016
79017
79018
79019
79020 echo "$as_me:$LINENO: checking for main in -lm" >&5
79021 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79022 if test "${ac_cv_lib_m_main+set}" = set; then
79023   echo $ECHO_N "(cached) $ECHO_C" >&6
79024 else
79025   ac_check_lib_save_LIBS=$LIBS
79026 LIBS="-lm  $LIBS"
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
79039
79040 int
79041 main ()
79042 {
79043 main ();
79044   ;
79045   return 0;
79046 }
79047 _ACEOF
79048 rm -f conftest.$ac_objext conftest$ac_exeext
79049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79050   (eval $ac_link) 2>conftest.er1
79051   ac_status=$?
79052   grep -v '^ *+' conftest.er1 >conftest.err
79053   rm -f conftest.er1
79054   cat conftest.err >&5
79055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79056   (exit $ac_status); } &&
79057          { ac_try='test -z "$ac_c_werror_flag"
79058                          || test ! -s conftest.err'
79059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79060   (eval $ac_try) 2>&5
79061   ac_status=$?
79062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79063   (exit $ac_status); }; } &&
79064          { ac_try='test -s conftest$ac_exeext'
79065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066   (eval $ac_try) 2>&5
79067   ac_status=$?
79068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069   (exit $ac_status); }; }; then
79070   ac_cv_lib_m_main=yes
79071 else
79072   echo "$as_me: failed program was:" >&5
79073 sed 's/^/| /' conftest.$ac_ext >&5
79074
79075 ac_cv_lib_m_main=no
79076 fi
79077 rm -f conftest.err conftest.$ac_objext \
79078       conftest$ac_exeext conftest.$ac_ext
79079 LIBS=$ac_check_lib_save_LIBS
79080 fi
79081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79082 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79083 if test $ac_cv_lib_m_main = yes; then
79084   cat >>confdefs.h <<_ACEOF
79085 #define HAVE_LIBM 1
79086 _ACEOF
79087
79088   LIBS="-lm $LIBS"
79089
79090 fi
79091
79092
79093 for ac_func in copysignf
79094 do
79095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79096 echo "$as_me:$LINENO: checking for $ac_func" >&5
79097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79098 if eval "test \"\${$as_ac_var+set}\" = set"; then
79099   echo $ECHO_N "(cached) $ECHO_C" >&6
79100 else
79101   if test x$gcc_no_link = xyes; then
79102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79104    { (exit 1); exit 1; }; }
79105 fi
79106 cat >conftest.$ac_ext <<_ACEOF
79107 /* confdefs.h.  */
79108 _ACEOF
79109 cat confdefs.h >>conftest.$ac_ext
79110 cat >>conftest.$ac_ext <<_ACEOF
79111 /* end confdefs.h.  */
79112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79114 #define $ac_func innocuous_$ac_func
79115
79116 /* System header to define __stub macros and hopefully few prototypes,
79117     which can conflict with char $ac_func (); below.
79118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79119     <limits.h> exists even on freestanding compilers.  */
79120
79121 #ifdef __STDC__
79122 # include <limits.h>
79123 #else
79124 # include <assert.h>
79125 #endif
79126
79127 #undef $ac_func
79128
79129 /* Override any gcc2 internal prototype to avoid an error.  */
79130 #ifdef __cplusplus
79131 extern "C"
79132 {
79133 #endif
79134 /* We use char because int might match the return type of a gcc2
79135    builtin and then its argument prototype would still apply.  */
79136 char $ac_func ();
79137 /* The GNU C library defines this for functions which it implements
79138     to always fail with ENOSYS.  Some functions are actually named
79139     something starting with __ and the normal name is an alias.  */
79140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79141 choke me
79142 #else
79143 char (*f) () = $ac_func;
79144 #endif
79145 #ifdef __cplusplus
79146 }
79147 #endif
79148
79149 int
79150 main ()
79151 {
79152 return f != $ac_func;
79153   ;
79154   return 0;
79155 }
79156 _ACEOF
79157 rm -f conftest.$ac_objext conftest$ac_exeext
79158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79159   (eval $ac_link) 2>conftest.er1
79160   ac_status=$?
79161   grep -v '^ *+' conftest.er1 >conftest.err
79162   rm -f conftest.er1
79163   cat conftest.err >&5
79164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79165   (exit $ac_status); } &&
79166          { ac_try='test -z "$ac_c_werror_flag"
79167                          || test ! -s conftest.err'
79168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79169   (eval $ac_try) 2>&5
79170   ac_status=$?
79171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172   (exit $ac_status); }; } &&
79173          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
79179   eval "$as_ac_var=yes"
79180 else
79181   echo "$as_me: failed program was:" >&5
79182 sed 's/^/| /' conftest.$ac_ext >&5
79183
79184 eval "$as_ac_var=no"
79185 fi
79186 rm -f conftest.err conftest.$ac_objext \
79187       conftest$ac_exeext conftest.$ac_ext
79188 fi
79189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79191 if test `eval echo '${'$as_ac_var'}'` = yes; then
79192   cat >>confdefs.h <<_ACEOF
79193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79194 _ACEOF
79195
79196 else
79197   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79198 fi
79199 done
79200
79201
79202
79203 for ac_func in __signbit
79204 do
79205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79206 echo "$as_me:$LINENO: checking for $ac_func" >&5
79207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79208 if eval "test \"\${$as_ac_var+set}\" = set"; then
79209   echo $ECHO_N "(cached) $ECHO_C" >&6
79210 else
79211   if test x$gcc_no_link = xyes; then
79212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79214    { (exit 1); exit 1; }; }
79215 fi
79216 cat >conftest.$ac_ext <<_ACEOF
79217 /* confdefs.h.  */
79218 _ACEOF
79219 cat confdefs.h >>conftest.$ac_ext
79220 cat >>conftest.$ac_ext <<_ACEOF
79221 /* end confdefs.h.  */
79222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79224 #define $ac_func innocuous_$ac_func
79225
79226 /* System header to define __stub macros and hopefully few prototypes,
79227     which can conflict with char $ac_func (); below.
79228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79229     <limits.h> exists even on freestanding compilers.  */
79230
79231 #ifdef __STDC__
79232 # include <limits.h>
79233 #else
79234 # include <assert.h>
79235 #endif
79236
79237 #undef $ac_func
79238
79239 /* Override any gcc2 internal prototype to avoid an error.  */
79240 #ifdef __cplusplus
79241 extern "C"
79242 {
79243 #endif
79244 /* We use char because int might match the return type of a gcc2
79245    builtin and then its argument prototype would still apply.  */
79246 char $ac_func ();
79247 /* The GNU C library defines this for functions which it implements
79248     to always fail with ENOSYS.  Some functions are actually named
79249     something starting with __ and the normal name is an alias.  */
79250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79251 choke me
79252 #else
79253 char (*f) () = $ac_func;
79254 #endif
79255 #ifdef __cplusplus
79256 }
79257 #endif
79258
79259 int
79260 main ()
79261 {
79262 return f != $ac_func;
79263   ;
79264   return 0;
79265 }
79266 _ACEOF
79267 rm -f conftest.$ac_objext conftest$ac_exeext
79268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79269   (eval $ac_link) 2>conftest.er1
79270   ac_status=$?
79271   grep -v '^ *+' conftest.er1 >conftest.err
79272   rm -f conftest.er1
79273   cat conftest.err >&5
79274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79275   (exit $ac_status); } &&
79276          { ac_try='test -z "$ac_c_werror_flag"
79277                          || test ! -s conftest.err'
79278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79279   (eval $ac_try) 2>&5
79280   ac_status=$?
79281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79282   (exit $ac_status); }; } &&
79283          { ac_try='test -s conftest$ac_exeext'
79284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79285   (eval $ac_try) 2>&5
79286   ac_status=$?
79287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79288   (exit $ac_status); }; }; then
79289   eval "$as_ac_var=yes"
79290 else
79291   echo "$as_me: failed program was:" >&5
79292 sed 's/^/| /' conftest.$ac_ext >&5
79293
79294 eval "$as_ac_var=no"
79295 fi
79296 rm -f conftest.err conftest.$ac_objext \
79297       conftest$ac_exeext conftest.$ac_ext
79298 fi
79299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79301 if test `eval echo '${'$as_ac_var'}'` = yes; then
79302   cat >>confdefs.h <<_ACEOF
79303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79304 _ACEOF
79305
79306 else
79307   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79308 fi
79309 done
79310
79311
79312
79313 for ac_func in __signbitf
79314 do
79315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79316 echo "$as_me:$LINENO: checking for $ac_func" >&5
79317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79318 if eval "test \"\${$as_ac_var+set}\" = set"; then
79319   echo $ECHO_N "(cached) $ECHO_C" >&6
79320 else
79321   if test x$gcc_no_link = xyes; then
79322   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79324    { (exit 1); exit 1; }; }
79325 fi
79326 cat >conftest.$ac_ext <<_ACEOF
79327 /* confdefs.h.  */
79328 _ACEOF
79329 cat confdefs.h >>conftest.$ac_ext
79330 cat >>conftest.$ac_ext <<_ACEOF
79331 /* end confdefs.h.  */
79332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79333    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79334 #define $ac_func innocuous_$ac_func
79335
79336 /* System header to define __stub macros and hopefully few prototypes,
79337     which can conflict with char $ac_func (); below.
79338     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79339     <limits.h> exists even on freestanding compilers.  */
79340
79341 #ifdef __STDC__
79342 # include <limits.h>
79343 #else
79344 # include <assert.h>
79345 #endif
79346
79347 #undef $ac_func
79348
79349 /* Override any gcc2 internal prototype to avoid an error.  */
79350 #ifdef __cplusplus
79351 extern "C"
79352 {
79353 #endif
79354 /* We use char because int might match the return type of a gcc2
79355    builtin and then its argument prototype would still apply.  */
79356 char $ac_func ();
79357 /* The GNU C library defines this for functions which it implements
79358     to always fail with ENOSYS.  Some functions are actually named
79359     something starting with __ and the normal name is an alias.  */
79360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79361 choke me
79362 #else
79363 char (*f) () = $ac_func;
79364 #endif
79365 #ifdef __cplusplus
79366 }
79367 #endif
79368
79369 int
79370 main ()
79371 {
79372 return f != $ac_func;
79373   ;
79374   return 0;
79375 }
79376 _ACEOF
79377 rm -f conftest.$ac_objext conftest$ac_exeext
79378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79379   (eval $ac_link) 2>conftest.er1
79380   ac_status=$?
79381   grep -v '^ *+' conftest.er1 >conftest.err
79382   rm -f conftest.er1
79383   cat conftest.err >&5
79384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79385   (exit $ac_status); } &&
79386          { ac_try='test -z "$ac_c_werror_flag"
79387                          || test ! -s conftest.err'
79388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79389   (eval $ac_try) 2>&5
79390   ac_status=$?
79391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79392   (exit $ac_status); }; } &&
79393          { ac_try='test -s conftest$ac_exeext'
79394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79395   (eval $ac_try) 2>&5
79396   ac_status=$?
79397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79398   (exit $ac_status); }; }; then
79399   eval "$as_ac_var=yes"
79400 else
79401   echo "$as_me: failed program was:" >&5
79402 sed 's/^/| /' conftest.$ac_ext >&5
79403
79404 eval "$as_ac_var=no"
79405 fi
79406 rm -f conftest.err conftest.$ac_objext \
79407       conftest$ac_exeext conftest.$ac_ext
79408 fi
79409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79411 if test `eval echo '${'$as_ac_var'}'` = yes; then
79412   cat >>confdefs.h <<_ACEOF
79413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79414 _ACEOF
79415
79416 else
79417   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79418 fi
79419 done
79420
79421
79422           if test x$ac_cv_func_copysignl = x"yes"; then
79423
79424 for ac_func in __signbitl
79425 do
79426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79427 echo "$as_me:$LINENO: checking for $ac_func" >&5
79428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79429 if eval "test \"\${$as_ac_var+set}\" = set"; then
79430   echo $ECHO_N "(cached) $ECHO_C" >&6
79431 else
79432   if test x$gcc_no_link = xyes; then
79433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79435    { (exit 1); exit 1; }; }
79436 fi
79437 cat >conftest.$ac_ext <<_ACEOF
79438 /* confdefs.h.  */
79439 _ACEOF
79440 cat confdefs.h >>conftest.$ac_ext
79441 cat >>conftest.$ac_ext <<_ACEOF
79442 /* end confdefs.h.  */
79443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79445 #define $ac_func innocuous_$ac_func
79446
79447 /* System header to define __stub macros and hopefully few prototypes,
79448     which can conflict with char $ac_func (); below.
79449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79450     <limits.h> exists even on freestanding compilers.  */
79451
79452 #ifdef __STDC__
79453 # include <limits.h>
79454 #else
79455 # include <assert.h>
79456 #endif
79457
79458 #undef $ac_func
79459
79460 /* Override any gcc2 internal prototype to avoid an error.  */
79461 #ifdef __cplusplus
79462 extern "C"
79463 {
79464 #endif
79465 /* We use char because int might match the return type of a gcc2
79466    builtin and then its argument prototype would still apply.  */
79467 char $ac_func ();
79468 /* The GNU C library defines this for functions which it implements
79469     to always fail with ENOSYS.  Some functions are actually named
79470     something starting with __ and the normal name is an alias.  */
79471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79472 choke me
79473 #else
79474 char (*f) () = $ac_func;
79475 #endif
79476 #ifdef __cplusplus
79477 }
79478 #endif
79479
79480 int
79481 main ()
79482 {
79483 return f != $ac_func;
79484   ;
79485   return 0;
79486 }
79487 _ACEOF
79488 rm -f conftest.$ac_objext conftest$ac_exeext
79489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79490   (eval $ac_link) 2>conftest.er1
79491   ac_status=$?
79492   grep -v '^ *+' conftest.er1 >conftest.err
79493   rm -f conftest.er1
79494   cat conftest.err >&5
79495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79496   (exit $ac_status); } &&
79497          { ac_try='test -z "$ac_c_werror_flag"
79498                          || test ! -s conftest.err'
79499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79500   (eval $ac_try) 2>&5
79501   ac_status=$?
79502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79503   (exit $ac_status); }; } &&
79504          { ac_try='test -s conftest$ac_exeext'
79505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79506   (eval $ac_try) 2>&5
79507   ac_status=$?
79508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79509   (exit $ac_status); }; }; then
79510   eval "$as_ac_var=yes"
79511 else
79512   echo "$as_me: failed program was:" >&5
79513 sed 's/^/| /' conftest.$ac_ext >&5
79514
79515 eval "$as_ac_var=no"
79516 fi
79517 rm -f conftest.err conftest.$ac_objext \
79518       conftest$ac_exeext conftest.$ac_ext
79519 fi
79520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79522 if test `eval echo '${'$as_ac_var'}'` = yes; then
79523   cat >>confdefs.h <<_ACEOF
79524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79525 _ACEOF
79526
79527 else
79528   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79529 fi
79530 done
79531
79532   fi
79533
79534   # Used in libmath/Makefile.am.
79535   if test -n "$LIBMATHOBJS"; then
79536     need_libmath=yes
79537   fi
79538
79539
79540     cat >>confdefs.h <<\_ACEOF
79541 #define HAVE_SETENV 1
79542 _ACEOF
79543
79544     cat >>confdefs.h <<\_ACEOF
79545 #define HAVE_COPYSIGN 1
79546 _ACEOF
79547
79548     cat >>confdefs.h <<\_ACEOF
79549 #define HAVE_COPYSIGNF 1
79550 _ACEOF
79551
79552     cat >>confdefs.h <<\_ACEOF
79553 #define HAVE_FINITEF 1
79554 _ACEOF
79555
79556     cat >>confdefs.h <<\_ACEOF
79557 #define HAVE_FINITE 1
79558 _ACEOF
79559
79560     cat >>confdefs.h <<\_ACEOF
79561 #define HAVE_FREXPF 1
79562 _ACEOF
79563
79564     cat >>confdefs.h <<\_ACEOF
79565 #define HAVE_HYPOT 1
79566 _ACEOF
79567
79568     cat >>confdefs.h <<\_ACEOF
79569 #define HAVE_HYPOTF 1
79570 _ACEOF
79571
79572     cat >>confdefs.h <<\_ACEOF
79573 #define HAVE_ISINF 1
79574 _ACEOF
79575
79576     cat >>confdefs.h <<\_ACEOF
79577 #define HAVE_ISNAN 1
79578 _ACEOF
79579
79580     cat >>confdefs.h <<\_ACEOF
79581 #define HAVE_ISNANF 1
79582 _ACEOF
79583
79584
79585     cat >>confdefs.h <<\_ACEOF
79586 #define HAVE_ACOSF 1
79587 _ACEOF
79588
79589     cat >>confdefs.h <<\_ACEOF
79590 #define HAVE_ASINF 1
79591 _ACEOF
79592
79593     cat >>confdefs.h <<\_ACEOF
79594 #define HAVE_ATAN2F 1
79595 _ACEOF
79596
79597     cat >>confdefs.h <<\_ACEOF
79598 #define HAVE_ATANF 1
79599 _ACEOF
79600
79601     cat >>confdefs.h <<\_ACEOF
79602 #define HAVE_CEILF 1
79603 _ACEOF
79604
79605     cat >>confdefs.h <<\_ACEOF
79606 #define HAVE_COPYSIGN 1
79607 _ACEOF
79608
79609     cat >>confdefs.h <<\_ACEOF
79610 #define HAVE_COPYSIGNF 1
79611 _ACEOF
79612
79613     cat >>confdefs.h <<\_ACEOF
79614 #define HAVE_COSF 1
79615 _ACEOF
79616
79617     cat >>confdefs.h <<\_ACEOF
79618 #define HAVE_COSHF 1
79619 _ACEOF
79620
79621     cat >>confdefs.h <<\_ACEOF
79622 #define HAVE_EXPF 1
79623 _ACEOF
79624
79625     cat >>confdefs.h <<\_ACEOF
79626 #define HAVE_FABSF 1
79627 _ACEOF
79628
79629     cat >>confdefs.h <<\_ACEOF
79630 #define HAVE_FLOORF 1
79631 _ACEOF
79632
79633     cat >>confdefs.h <<\_ACEOF
79634 #define HAVE_FMODF 1
79635 _ACEOF
79636
79637     cat >>confdefs.h <<\_ACEOF
79638 #define HAVE_FREXPF 1
79639 _ACEOF
79640
79641     cat >>confdefs.h <<\_ACEOF
79642 #define HAVE_LDEXPF 1
79643 _ACEOF
79644
79645     cat >>confdefs.h <<\_ACEOF
79646 #define HAVE_LOG10F 1
79647 _ACEOF
79648
79649     cat >>confdefs.h <<\_ACEOF
79650 #define HAVE_LOGF 1
79651 _ACEOF
79652
79653     cat >>confdefs.h <<\_ACEOF
79654 #define HAVE_MODFF 1
79655 _ACEOF
79656
79657     cat >>confdefs.h <<\_ACEOF
79658 #define HAVE_POWF 1
79659 _ACEOF
79660
79661     cat >>confdefs.h <<\_ACEOF
79662 #define HAVE_SINF 1
79663 _ACEOF
79664
79665     cat >>confdefs.h <<\_ACEOF
79666 #define HAVE_SINHF 1
79667 _ACEOF
79668
79669     cat >>confdefs.h <<\_ACEOF
79670 #define HAVE_SQRTF 1
79671 _ACEOF
79672
79673     cat >>confdefs.h <<\_ACEOF
79674 #define HAVE_TANF 1
79675 _ACEOF
79676
79677     cat >>confdefs.h <<\_ACEOF
79678 #define HAVE_TANHF 1
79679 _ACEOF
79680
79681     if test x"long_double_math_on_this_cpu" = x"yes"; then
79682       cat >>confdefs.h <<\_ACEOF
79683 #define HAVE_FINITEL 1
79684 _ACEOF
79685
79686       cat >>confdefs.h <<\_ACEOF
79687 #define HAVE_ISINFL 1
79688 _ACEOF
79689
79690       cat >>confdefs.h <<\_ACEOF
79691 #define HAVE_ISNANL 1
79692 _ACEOF
79693
79694     fi
79695     ;;
79696   *-hpux*)
79697     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79698
79699
79700   # If we're not using GNU ld, then there's no point in even trying these
79701   # tests.  Check for that first.  We should have already tested for gld
79702   # by now (in libtool), but require it now just to be safe...
79703   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79704   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79705
79706
79707
79708   # The name set by libtool depends on the version of libtool.  Shame on us
79709   # for depending on an impl detail, but c'est la vie.  Older versions used
79710   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79711   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79712   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79713   # set (hence we're using an older libtool), then set it.
79714   if test x${with_gnu_ld+set} != xset; then
79715     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79716       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79717       with_gnu_ld=no
79718     else
79719       with_gnu_ld=$ac_cv_prog_gnu_ld
79720     fi
79721   fi
79722
79723   # Start by getting the version number.  I think the libtool test already
79724   # does some of this, but throws away the result.
79725   glibcxx_ld_is_gold=no
79726   if test x"$with_gnu_ld" = x"yes"; then
79727     echo "$as_me:$LINENO: checking for ld version" >&5
79728 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79729
79730     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
79731       glibcxx_ld_is_gold=yes
79732     fi
79733     ldver=`$LD --version 2>/dev/null | head -1 | \
79734            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
79735
79736     glibcxx_gnu_ld_version=`echo $ldver | \
79737            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79738     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79739 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79740   fi
79741
79742   # Set --gc-sections.
79743   glibcxx_have_gc_sections=no
79744   if test "$glibcxx_ld_is_gold" = "yes"; then
79745     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
79746       glibcxx_have_gc_sections=yes
79747     fi
79748   else
79749     glibcxx_gcsections_min_ld=21602
79750     if test x"$with_gnu_ld" = x"yes" &&
79751         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79752       glibcxx_have_gc_sections=yes
79753     fi
79754   fi
79755   if test "$glibcxx_have_gc_sections" = "yes"; then
79756     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
79757     # NB: This flag only works reliably after 2.16.1. Configure tests
79758     # for this are difficult, so hard wire a value that should work.
79759
79760     ac_test_CFLAGS="${CFLAGS+set}"
79761     ac_save_CFLAGS="$CFLAGS"
79762     CFLAGS='-Wl,--gc-sections'
79763
79764     # Check for -Wl,--gc-sections
79765     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79766 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79767     if test x$gcc_no_link = xyes; then
79768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79770    { (exit 1); exit 1; }; }
79771 fi
79772 cat >conftest.$ac_ext <<_ACEOF
79773 /* confdefs.h.  */
79774 _ACEOF
79775 cat confdefs.h >>conftest.$ac_ext
79776 cat >>conftest.$ac_ext <<_ACEOF
79777 /* end confdefs.h.  */
79778  int one(void) { return 1; }
79779      int two(void) { return 2; }
79780
79781 int
79782 main ()
79783 {
79784  two();
79785   ;
79786   return 0;
79787 }
79788 _ACEOF
79789 rm -f conftest.$ac_objext conftest$ac_exeext
79790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79791   (eval $ac_link) 2>conftest.er1
79792   ac_status=$?
79793   grep -v '^ *+' conftest.er1 >conftest.err
79794   rm -f conftest.er1
79795   cat conftest.err >&5
79796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79797   (exit $ac_status); } &&
79798          { ac_try='test -z "$ac_c_werror_flag"
79799                          || test ! -s conftest.err'
79800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79801   (eval $ac_try) 2>&5
79802   ac_status=$?
79803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79804   (exit $ac_status); }; } &&
79805          { ac_try='test -s conftest$ac_exeext'
79806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79807   (eval $ac_try) 2>&5
79808   ac_status=$?
79809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79810   (exit $ac_status); }; }; then
79811   ac_gcsections=yes
79812 else
79813   echo "$as_me: failed program was:" >&5
79814 sed 's/^/| /' conftest.$ac_ext >&5
79815
79816 ac_gcsections=no
79817 fi
79818 rm -f conftest.err conftest.$ac_objext \
79819       conftest$ac_exeext conftest.$ac_ext
79820     if test "$ac_gcsections" = "yes"; then
79821       rm -f conftest.c
79822       touch conftest.c
79823       if $CC -c conftest.c; then
79824         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79825            grep "Warning: gc-sections option ignored" > /dev/null; then
79826           ac_gcsections=no
79827         fi
79828       fi
79829       rm -f conftest.c conftest.o conftest
79830     fi
79831     if test "$ac_gcsections" = "yes"; then
79832       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79833     fi
79834     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79835 echo "${ECHO_T}$ac_gcsections" >&6
79836
79837     if test "$ac_test_CFLAGS" = set; then
79838       CFLAGS="$ac_save_CFLAGS"
79839     else
79840       # this is the suspicious part
79841       CFLAGS=''
79842     fi
79843   fi
79844
79845   # Set -z,relro.
79846   # Note this is only for shared objects.
79847   ac_ld_relro=no
79848   if test x"$with_gnu_ld" = x"yes"; then
79849     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79850 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79851     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79852     if test -n "$cxx_z_relo"; then
79853       OPT_LDFLAGS="-Wl,-z,relro"
79854       ac_ld_relro=yes
79855     fi
79856     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79857 echo "${ECHO_T}$ac_ld_relro" >&6
79858   fi
79859
79860   # Set linker optimization flags.
79861   if test x"$with_gnu_ld" = x"yes"; then
79862     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79863   fi
79864
79865
79866
79867
79868
79869
79870 echo "$as_me:$LINENO: checking for main in -lm" >&5
79871 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79872 if test "${ac_cv_lib_m_main+set}" = set; then
79873   echo $ECHO_N "(cached) $ECHO_C" >&6
79874 else
79875   ac_check_lib_save_LIBS=$LIBS
79876 LIBS="-lm  $LIBS"
79877 if test x$gcc_no_link = xyes; then
79878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79880    { (exit 1); exit 1; }; }
79881 fi
79882 cat >conftest.$ac_ext <<_ACEOF
79883 /* confdefs.h.  */
79884 _ACEOF
79885 cat confdefs.h >>conftest.$ac_ext
79886 cat >>conftest.$ac_ext <<_ACEOF
79887 /* end confdefs.h.  */
79888
79889
79890 int
79891 main ()
79892 {
79893 main ();
79894   ;
79895   return 0;
79896 }
79897 _ACEOF
79898 rm -f conftest.$ac_objext conftest$ac_exeext
79899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79900   (eval $ac_link) 2>conftest.er1
79901   ac_status=$?
79902   grep -v '^ *+' conftest.er1 >conftest.err
79903   rm -f conftest.er1
79904   cat conftest.err >&5
79905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79906   (exit $ac_status); } &&
79907          { ac_try='test -z "$ac_c_werror_flag"
79908                          || test ! -s conftest.err'
79909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79910   (eval $ac_try) 2>&5
79911   ac_status=$?
79912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79913   (exit $ac_status); }; } &&
79914          { ac_try='test -s conftest$ac_exeext'
79915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79916   (eval $ac_try) 2>&5
79917   ac_status=$?
79918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79919   (exit $ac_status); }; }; then
79920   ac_cv_lib_m_main=yes
79921 else
79922   echo "$as_me: failed program was:" >&5
79923 sed 's/^/| /' conftest.$ac_ext >&5
79924
79925 ac_cv_lib_m_main=no
79926 fi
79927 rm -f conftest.err conftest.$ac_objext \
79928       conftest$ac_exeext conftest.$ac_ext
79929 LIBS=$ac_check_lib_save_LIBS
79930 fi
79931 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79932 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79933 if test $ac_cv_lib_m_main = yes; then
79934   cat >>confdefs.h <<_ACEOF
79935 #define HAVE_LIBM 1
79936 _ACEOF
79937
79938   LIBS="-lm $LIBS"
79939
79940 fi
79941
79942
79943 for ac_func in copysignf
79944 do
79945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79946 echo "$as_me:$LINENO: checking for $ac_func" >&5
79947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79948 if eval "test \"\${$as_ac_var+set}\" = set"; then
79949   echo $ECHO_N "(cached) $ECHO_C" >&6
79950 else
79951   if test x$gcc_no_link = xyes; then
79952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79954    { (exit 1); exit 1; }; }
79955 fi
79956 cat >conftest.$ac_ext <<_ACEOF
79957 /* confdefs.h.  */
79958 _ACEOF
79959 cat confdefs.h >>conftest.$ac_ext
79960 cat >>conftest.$ac_ext <<_ACEOF
79961 /* end confdefs.h.  */
79962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79964 #define $ac_func innocuous_$ac_func
79965
79966 /* System header to define __stub macros and hopefully few prototypes,
79967     which can conflict with char $ac_func (); below.
79968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79969     <limits.h> exists even on freestanding compilers.  */
79970
79971 #ifdef __STDC__
79972 # include <limits.h>
79973 #else
79974 # include <assert.h>
79975 #endif
79976
79977 #undef $ac_func
79978
79979 /* Override any gcc2 internal prototype to avoid an error.  */
79980 #ifdef __cplusplus
79981 extern "C"
79982 {
79983 #endif
79984 /* We use char because int might match the return type of a gcc2
79985    builtin and then its argument prototype would still apply.  */
79986 char $ac_func ();
79987 /* The GNU C library defines this for functions which it implements
79988     to always fail with ENOSYS.  Some functions are actually named
79989     something starting with __ and the normal name is an alias.  */
79990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79991 choke me
79992 #else
79993 char (*f) () = $ac_func;
79994 #endif
79995 #ifdef __cplusplus
79996 }
79997 #endif
79998
79999 int
80000 main ()
80001 {
80002 return f != $ac_func;
80003   ;
80004   return 0;
80005 }
80006 _ACEOF
80007 rm -f conftest.$ac_objext conftest$ac_exeext
80008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80009   (eval $ac_link) 2>conftest.er1
80010   ac_status=$?
80011   grep -v '^ *+' conftest.er1 >conftest.err
80012   rm -f conftest.er1
80013   cat conftest.err >&5
80014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80015   (exit $ac_status); } &&
80016          { ac_try='test -z "$ac_c_werror_flag"
80017                          || test ! -s conftest.err'
80018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80019   (eval $ac_try) 2>&5
80020   ac_status=$?
80021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80022   (exit $ac_status); }; } &&
80023          { ac_try='test -s conftest$ac_exeext'
80024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80025   (eval $ac_try) 2>&5
80026   ac_status=$?
80027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80028   (exit $ac_status); }; }; then
80029   eval "$as_ac_var=yes"
80030 else
80031   echo "$as_me: failed program was:" >&5
80032 sed 's/^/| /' conftest.$ac_ext >&5
80033
80034 eval "$as_ac_var=no"
80035 fi
80036 rm -f conftest.err conftest.$ac_objext \
80037       conftest$ac_exeext conftest.$ac_ext
80038 fi
80039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80041 if test `eval echo '${'$as_ac_var'}'` = yes; then
80042   cat >>confdefs.h <<_ACEOF
80043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80044 _ACEOF
80045
80046 else
80047   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80048 fi
80049 done
80050
80051
80052
80053 for ac_func in __signbit
80054 do
80055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80056 echo "$as_me:$LINENO: checking for $ac_func" >&5
80057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80058 if eval "test \"\${$as_ac_var+set}\" = set"; then
80059   echo $ECHO_N "(cached) $ECHO_C" >&6
80060 else
80061   if test x$gcc_no_link = xyes; then
80062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80064    { (exit 1); exit 1; }; }
80065 fi
80066 cat >conftest.$ac_ext <<_ACEOF
80067 /* confdefs.h.  */
80068 _ACEOF
80069 cat confdefs.h >>conftest.$ac_ext
80070 cat >>conftest.$ac_ext <<_ACEOF
80071 /* end confdefs.h.  */
80072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80074 #define $ac_func innocuous_$ac_func
80075
80076 /* System header to define __stub macros and hopefully few prototypes,
80077     which can conflict with char $ac_func (); below.
80078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80079     <limits.h> exists even on freestanding compilers.  */
80080
80081 #ifdef __STDC__
80082 # include <limits.h>
80083 #else
80084 # include <assert.h>
80085 #endif
80086
80087 #undef $ac_func
80088
80089 /* Override any gcc2 internal prototype to avoid an error.  */
80090 #ifdef __cplusplus
80091 extern "C"
80092 {
80093 #endif
80094 /* We use char because int might match the return type of a gcc2
80095    builtin and then its argument prototype would still apply.  */
80096 char $ac_func ();
80097 /* The GNU C library defines this for functions which it implements
80098     to always fail with ENOSYS.  Some functions are actually named
80099     something starting with __ and the normal name is an alias.  */
80100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80101 choke me
80102 #else
80103 char (*f) () = $ac_func;
80104 #endif
80105 #ifdef __cplusplus
80106 }
80107 #endif
80108
80109 int
80110 main ()
80111 {
80112 return f != $ac_func;
80113   ;
80114   return 0;
80115 }
80116 _ACEOF
80117 rm -f conftest.$ac_objext conftest$ac_exeext
80118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80119   (eval $ac_link) 2>conftest.er1
80120   ac_status=$?
80121   grep -v '^ *+' conftest.er1 >conftest.err
80122   rm -f conftest.er1
80123   cat conftest.err >&5
80124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80125   (exit $ac_status); } &&
80126          { ac_try='test -z "$ac_c_werror_flag"
80127                          || test ! -s conftest.err'
80128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80129   (eval $ac_try) 2>&5
80130   ac_status=$?
80131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80132   (exit $ac_status); }; } &&
80133          { ac_try='test -s conftest$ac_exeext'
80134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80135   (eval $ac_try) 2>&5
80136   ac_status=$?
80137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80138   (exit $ac_status); }; }; then
80139   eval "$as_ac_var=yes"
80140 else
80141   echo "$as_me: failed program was:" >&5
80142 sed 's/^/| /' conftest.$ac_ext >&5
80143
80144 eval "$as_ac_var=no"
80145 fi
80146 rm -f conftest.err conftest.$ac_objext \
80147       conftest$ac_exeext conftest.$ac_ext
80148 fi
80149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80151 if test `eval echo '${'$as_ac_var'}'` = yes; then
80152   cat >>confdefs.h <<_ACEOF
80153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80154 _ACEOF
80155
80156 else
80157   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80158 fi
80159 done
80160
80161
80162
80163 for ac_func in __signbitf
80164 do
80165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80166 echo "$as_me:$LINENO: checking for $ac_func" >&5
80167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80168 if eval "test \"\${$as_ac_var+set}\" = set"; then
80169   echo $ECHO_N "(cached) $ECHO_C" >&6
80170 else
80171   if test x$gcc_no_link = xyes; then
80172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80174    { (exit 1); exit 1; }; }
80175 fi
80176 cat >conftest.$ac_ext <<_ACEOF
80177 /* confdefs.h.  */
80178 _ACEOF
80179 cat confdefs.h >>conftest.$ac_ext
80180 cat >>conftest.$ac_ext <<_ACEOF
80181 /* end confdefs.h.  */
80182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80184 #define $ac_func innocuous_$ac_func
80185
80186 /* System header to define __stub macros and hopefully few prototypes,
80187     which can conflict with char $ac_func (); below.
80188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80189     <limits.h> exists even on freestanding compilers.  */
80190
80191 #ifdef __STDC__
80192 # include <limits.h>
80193 #else
80194 # include <assert.h>
80195 #endif
80196
80197 #undef $ac_func
80198
80199 /* Override any gcc2 internal prototype to avoid an error.  */
80200 #ifdef __cplusplus
80201 extern "C"
80202 {
80203 #endif
80204 /* We use char because int might match the return type of a gcc2
80205    builtin and then its argument prototype would still apply.  */
80206 char $ac_func ();
80207 /* The GNU C library defines this for functions which it implements
80208     to always fail with ENOSYS.  Some functions are actually named
80209     something starting with __ and the normal name is an alias.  */
80210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80211 choke me
80212 #else
80213 char (*f) () = $ac_func;
80214 #endif
80215 #ifdef __cplusplus
80216 }
80217 #endif
80218
80219 int
80220 main ()
80221 {
80222 return f != $ac_func;
80223   ;
80224   return 0;
80225 }
80226 _ACEOF
80227 rm -f conftest.$ac_objext conftest$ac_exeext
80228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80229   (eval $ac_link) 2>conftest.er1
80230   ac_status=$?
80231   grep -v '^ *+' conftest.er1 >conftest.err
80232   rm -f conftest.er1
80233   cat conftest.err >&5
80234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235   (exit $ac_status); } &&
80236          { ac_try='test -z "$ac_c_werror_flag"
80237                          || test ! -s conftest.err'
80238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80239   (eval $ac_try) 2>&5
80240   ac_status=$?
80241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80242   (exit $ac_status); }; } &&
80243          { ac_try='test -s conftest$ac_exeext'
80244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80245   (eval $ac_try) 2>&5
80246   ac_status=$?
80247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80248   (exit $ac_status); }; }; then
80249   eval "$as_ac_var=yes"
80250 else
80251   echo "$as_me: failed program was:" >&5
80252 sed 's/^/| /' conftest.$ac_ext >&5
80253
80254 eval "$as_ac_var=no"
80255 fi
80256 rm -f conftest.err conftest.$ac_objext \
80257       conftest$ac_exeext conftest.$ac_ext
80258 fi
80259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80261 if test `eval echo '${'$as_ac_var'}'` = yes; then
80262   cat >>confdefs.h <<_ACEOF
80263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80264 _ACEOF
80265
80266 else
80267   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80268 fi
80269 done
80270
80271
80272           if test x$ac_cv_func_copysignl = x"yes"; then
80273
80274 for ac_func in __signbitl
80275 do
80276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80277 echo "$as_me:$LINENO: checking for $ac_func" >&5
80278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80279 if eval "test \"\${$as_ac_var+set}\" = set"; then
80280   echo $ECHO_N "(cached) $ECHO_C" >&6
80281 else
80282   if test x$gcc_no_link = xyes; then
80283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80285    { (exit 1); exit 1; }; }
80286 fi
80287 cat >conftest.$ac_ext <<_ACEOF
80288 /* confdefs.h.  */
80289 _ACEOF
80290 cat confdefs.h >>conftest.$ac_ext
80291 cat >>conftest.$ac_ext <<_ACEOF
80292 /* end confdefs.h.  */
80293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80295 #define $ac_func innocuous_$ac_func
80296
80297 /* System header to define __stub macros and hopefully few prototypes,
80298     which can conflict with char $ac_func (); below.
80299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80300     <limits.h> exists even on freestanding compilers.  */
80301
80302 #ifdef __STDC__
80303 # include <limits.h>
80304 #else
80305 # include <assert.h>
80306 #endif
80307
80308 #undef $ac_func
80309
80310 /* Override any gcc2 internal prototype to avoid an error.  */
80311 #ifdef __cplusplus
80312 extern "C"
80313 {
80314 #endif
80315 /* We use char because int might match the return type of a gcc2
80316    builtin and then its argument prototype would still apply.  */
80317 char $ac_func ();
80318 /* The GNU C library defines this for functions which it implements
80319     to always fail with ENOSYS.  Some functions are actually named
80320     something starting with __ and the normal name is an alias.  */
80321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80322 choke me
80323 #else
80324 char (*f) () = $ac_func;
80325 #endif
80326 #ifdef __cplusplus
80327 }
80328 #endif
80329
80330 int
80331 main ()
80332 {
80333 return f != $ac_func;
80334   ;
80335   return 0;
80336 }
80337 _ACEOF
80338 rm -f conftest.$ac_objext conftest$ac_exeext
80339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80340   (eval $ac_link) 2>conftest.er1
80341   ac_status=$?
80342   grep -v '^ *+' conftest.er1 >conftest.err
80343   rm -f conftest.er1
80344   cat conftest.err >&5
80345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80346   (exit $ac_status); } &&
80347          { ac_try='test -z "$ac_c_werror_flag"
80348                          || test ! -s conftest.err'
80349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80350   (eval $ac_try) 2>&5
80351   ac_status=$?
80352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80353   (exit $ac_status); }; } &&
80354          { ac_try='test -s conftest$ac_exeext'
80355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80356   (eval $ac_try) 2>&5
80357   ac_status=$?
80358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80359   (exit $ac_status); }; }; then
80360   eval "$as_ac_var=yes"
80361 else
80362   echo "$as_me: failed program was:" >&5
80363 sed 's/^/| /' conftest.$ac_ext >&5
80364
80365 eval "$as_ac_var=no"
80366 fi
80367 rm -f conftest.err conftest.$ac_objext \
80368       conftest$ac_exeext conftest.$ac_ext
80369 fi
80370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80372 if test `eval echo '${'$as_ac_var'}'` = yes; then
80373   cat >>confdefs.h <<_ACEOF
80374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80375 _ACEOF
80376
80377 else
80378   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80379 fi
80380 done
80381
80382   fi
80383
80384   # Used in libmath/Makefile.am.
80385   if test -n "$LIBMATHOBJS"; then
80386     need_libmath=yes
80387   fi
80388
80389
80390     cat >>confdefs.h <<\_ACEOF
80391 #define HAVE_COPYSIGN 1
80392 _ACEOF
80393
80394     cat >>confdefs.h <<\_ACEOF
80395 #define HAVE_COPYSIGNF 1
80396 _ACEOF
80397
80398     cat >>confdefs.h <<\_ACEOF
80399 #define HAVE_FREXPF 1
80400 _ACEOF
80401
80402     cat >>confdefs.h <<\_ACEOF
80403 #define HAVE_HYPOT 1
80404 _ACEOF
80405
80406     case "$target" in
80407       *-hpux10*)
80408         cat >>confdefs.h <<\_ACEOF
80409 #define HAVE_FINITE 1
80410 _ACEOF
80411
80412         cat >>confdefs.h <<\_ACEOF
80413 #define HAVE_FINITEF 1
80414 _ACEOF
80415
80416         cat >>confdefs.h <<\_ACEOF
80417 #define HAVE_ISINF 1
80418 _ACEOF
80419
80420         cat >>confdefs.h <<\_ACEOF
80421 #define HAVE_ISINFF 1
80422 _ACEOF
80423
80424         cat >>confdefs.h <<\_ACEOF
80425 #define HAVE_ISNAN 1
80426 _ACEOF
80427
80428         cat >>confdefs.h <<\_ACEOF
80429 #define HAVE_ISNANF 1
80430 _ACEOF
80431
80432         ;;
80433     esac
80434     ;;
80435   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
80436     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80437
80438
80439   # All these tests are for C++; save the language and the compiler flags.
80440   # The CXXFLAGS thing is suspicious, but based on similar bits previously
80441   # found in GLIBCXX_CONFIGURE.
80442
80443
80444   ac_ext=cc
80445 ac_cpp='$CXXCPP $CPPFLAGS'
80446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80449
80450   ac_test_CXXFLAGS="${CXXFLAGS+set}"
80451   ac_save_CXXFLAGS="$CXXFLAGS"
80452
80453   # Check for maintainer-mode bits.
80454   if test x"$USE_MAINTAINER_MODE" = xno; then
80455     WERROR=''
80456   else
80457     WERROR='-Werror'
80458   fi
80459
80460   # Check for -ffunction-sections -fdata-sections
80461   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
80462 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
80463   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
80464   cat >conftest.$ac_ext <<_ACEOF
80465 /* confdefs.h.  */
80466 _ACEOF
80467 cat confdefs.h >>conftest.$ac_ext
80468 cat >>conftest.$ac_ext <<_ACEOF
80469 /* end confdefs.h.  */
80470 int foo; void bar() { };
80471 int
80472 main ()
80473 {
80474
80475   ;
80476   return 0;
80477 }
80478 _ACEOF
80479 rm -f conftest.$ac_objext
80480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80481   (eval $ac_compile) 2>conftest.er1
80482   ac_status=$?
80483   grep -v '^ *+' conftest.er1 >conftest.err
80484   rm -f conftest.er1
80485   cat conftest.err >&5
80486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487   (exit $ac_status); } &&
80488          { ac_try='test -z "$ac_cxx_werror_flag"
80489                          || test ! -s conftest.err'
80490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491   (eval $ac_try) 2>&5
80492   ac_status=$?
80493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494   (exit $ac_status); }; } &&
80495          { ac_try='test -s conftest.$ac_objext'
80496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80497   (eval $ac_try) 2>&5
80498   ac_status=$?
80499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80500   (exit $ac_status); }; }; then
80501   ac_fdsections=yes
80502 else
80503   echo "$as_me: failed program was:" >&5
80504 sed 's/^/| /' conftest.$ac_ext >&5
80505
80506 ac_fdsections=no
80507 fi
80508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80509   if test "$ac_test_CXXFLAGS" = set; then
80510     CXXFLAGS="$ac_save_CXXFLAGS"
80511   else
80512     # this is the suspicious part
80513     CXXFLAGS=''
80514   fi
80515   if test x"$ac_fdsections" = x"yes"; then
80516     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80517   fi
80518   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
80519 echo "${ECHO_T}$ac_fdsections" >&6
80520
80521   ac_ext=c
80522 ac_cpp='$CPP $CPPFLAGS'
80523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80526
80527
80528
80529
80530
80531   # If we're not using GNU ld, then there's no point in even trying these
80532   # tests.  Check for that first.  We should have already tested for gld
80533   # by now (in libtool), but require it now just to be safe...
80534   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80535   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80536
80537
80538
80539   # The name set by libtool depends on the version of libtool.  Shame on us
80540   # for depending on an impl detail, but c'est la vie.  Older versions used
80541   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80542   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80543   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80544   # set (hence we're using an older libtool), then set it.
80545   if test x${with_gnu_ld+set} != xset; then
80546     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80547       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80548       with_gnu_ld=no
80549     else
80550       with_gnu_ld=$ac_cv_prog_gnu_ld
80551     fi
80552   fi
80553
80554   # Start by getting the version number.  I think the libtool test already
80555   # does some of this, but throws away the result.
80556   glibcxx_ld_is_gold=no
80557   if test x"$with_gnu_ld" = x"yes"; then
80558     echo "$as_me:$LINENO: checking for ld version" >&5
80559 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80560
80561     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
80562       glibcxx_ld_is_gold=yes
80563     fi
80564     ldver=`$LD --version 2>/dev/null | head -1 | \
80565            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
80566
80567     glibcxx_gnu_ld_version=`echo $ldver | \
80568            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80569     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80570 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80571   fi
80572
80573   # Set --gc-sections.
80574   glibcxx_have_gc_sections=no
80575   if test "$glibcxx_ld_is_gold" = "yes"; then
80576     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
80577       glibcxx_have_gc_sections=yes
80578     fi
80579   else
80580     glibcxx_gcsections_min_ld=21602
80581     if test x"$with_gnu_ld" = x"yes" &&
80582         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80583       glibcxx_have_gc_sections=yes
80584     fi
80585   fi
80586   if test "$glibcxx_have_gc_sections" = "yes"; then
80587     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
80588     # NB: This flag only works reliably after 2.16.1. Configure tests
80589     # for this are difficult, so hard wire a value that should work.
80590
80591     ac_test_CFLAGS="${CFLAGS+set}"
80592     ac_save_CFLAGS="$CFLAGS"
80593     CFLAGS='-Wl,--gc-sections'
80594
80595     # Check for -Wl,--gc-sections
80596     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80598     if test x$gcc_no_link = xyes; then
80599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80601    { (exit 1); exit 1; }; }
80602 fi
80603 cat >conftest.$ac_ext <<_ACEOF
80604 /* confdefs.h.  */
80605 _ACEOF
80606 cat confdefs.h >>conftest.$ac_ext
80607 cat >>conftest.$ac_ext <<_ACEOF
80608 /* end confdefs.h.  */
80609  int one(void) { return 1; }
80610      int two(void) { return 2; }
80611
80612 int
80613 main ()
80614 {
80615  two();
80616   ;
80617   return 0;
80618 }
80619 _ACEOF
80620 rm -f conftest.$ac_objext conftest$ac_exeext
80621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80622   (eval $ac_link) 2>conftest.er1
80623   ac_status=$?
80624   grep -v '^ *+' conftest.er1 >conftest.err
80625   rm -f conftest.er1
80626   cat conftest.err >&5
80627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80628   (exit $ac_status); } &&
80629          { ac_try='test -z "$ac_c_werror_flag"
80630                          || test ! -s conftest.err'
80631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80632   (eval $ac_try) 2>&5
80633   ac_status=$?
80634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80635   (exit $ac_status); }; } &&
80636          { ac_try='test -s conftest$ac_exeext'
80637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80638   (eval $ac_try) 2>&5
80639   ac_status=$?
80640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80641   (exit $ac_status); }; }; then
80642   ac_gcsections=yes
80643 else
80644   echo "$as_me: failed program was:" >&5
80645 sed 's/^/| /' conftest.$ac_ext >&5
80646
80647 ac_gcsections=no
80648 fi
80649 rm -f conftest.err conftest.$ac_objext \
80650       conftest$ac_exeext conftest.$ac_ext
80651     if test "$ac_gcsections" = "yes"; then
80652       rm -f conftest.c
80653       touch conftest.c
80654       if $CC -c conftest.c; then
80655         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80656            grep "Warning: gc-sections option ignored" > /dev/null; then
80657           ac_gcsections=no
80658         fi
80659       fi
80660       rm -f conftest.c conftest.o conftest
80661     fi
80662     if test "$ac_gcsections" = "yes"; then
80663       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80664     fi
80665     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80666 echo "${ECHO_T}$ac_gcsections" >&6
80667
80668     if test "$ac_test_CFLAGS" = set; then
80669       CFLAGS="$ac_save_CFLAGS"
80670     else
80671       # this is the suspicious part
80672       CFLAGS=''
80673     fi
80674   fi
80675
80676   # Set -z,relro.
80677   # Note this is only for shared objects.
80678   ac_ld_relro=no
80679   if test x"$with_gnu_ld" = x"yes"; then
80680     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80681 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80682     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80683     if test -n "$cxx_z_relo"; then
80684       OPT_LDFLAGS="-Wl,-z,relro"
80685       ac_ld_relro=yes
80686     fi
80687     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80688 echo "${ECHO_T}$ac_ld_relro" >&6
80689   fi
80690
80691   # Set linker optimization flags.
80692   if test x"$with_gnu_ld" = x"yes"; then
80693     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80694   fi
80695
80696
80697
80698
80699
80700   ac_test_CXXFLAGS="${CXXFLAGS+set}"
80701   ac_save_CXXFLAGS="$CXXFLAGS"
80702   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
80703
80704     echo "$as_me:$LINENO: checking for sin in -lm" >&5
80705 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
80706 if test "${ac_cv_lib_m_sin+set}" = set; then
80707   echo $ECHO_N "(cached) $ECHO_C" >&6
80708 else
80709   ac_check_lib_save_LIBS=$LIBS
80710 LIBS="-lm  $LIBS"
80711 if test x$gcc_no_link = xyes; then
80712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80714    { (exit 1); exit 1; }; }
80715 fi
80716 cat >conftest.$ac_ext <<_ACEOF
80717 /* confdefs.h.  */
80718 _ACEOF
80719 cat confdefs.h >>conftest.$ac_ext
80720 cat >>conftest.$ac_ext <<_ACEOF
80721 /* end confdefs.h.  */
80722
80723 /* Override any gcc2 internal prototype to avoid an error.  */
80724 #ifdef __cplusplus
80725 extern "C"
80726 #endif
80727 /* We use char because int might match the return type of a gcc2
80728    builtin and then its argument prototype would still apply.  */
80729 char sin ();
80730 int
80731 main ()
80732 {
80733 sin ();
80734   ;
80735   return 0;
80736 }
80737 _ACEOF
80738 rm -f conftest.$ac_objext conftest$ac_exeext
80739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80740   (eval $ac_link) 2>conftest.er1
80741   ac_status=$?
80742   grep -v '^ *+' conftest.er1 >conftest.err
80743   rm -f conftest.er1
80744   cat conftest.err >&5
80745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80746   (exit $ac_status); } &&
80747          { ac_try='test -z "$ac_c_werror_flag"
80748                          || test ! -s conftest.err'
80749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80750   (eval $ac_try) 2>&5
80751   ac_status=$?
80752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80753   (exit $ac_status); }; } &&
80754          { ac_try='test -s conftest$ac_exeext'
80755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80756   (eval $ac_try) 2>&5
80757   ac_status=$?
80758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80759   (exit $ac_status); }; }; then
80760   ac_cv_lib_m_sin=yes
80761 else
80762   echo "$as_me: failed program was:" >&5
80763 sed 's/^/| /' conftest.$ac_ext >&5
80764
80765 ac_cv_lib_m_sin=no
80766 fi
80767 rm -f conftest.err conftest.$ac_objext \
80768       conftest$ac_exeext conftest.$ac_ext
80769 LIBS=$ac_check_lib_save_LIBS
80770 fi
80771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
80772 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
80773 if test $ac_cv_lib_m_sin = yes; then
80774   libm="-lm"
80775 fi
80776
80777   ac_save_LIBS="$LIBS"
80778   LIBS="$LIBS $libm"
80779
80780
80781
80782   echo "$as_me:$LINENO: checking for isinf declaration" >&5
80783 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
80784   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
80785     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
80786   echo $ECHO_N "(cached) $ECHO_C" >&6
80787 else
80788
80789
80790
80791       ac_ext=cc
80792 ac_cpp='$CXXCPP $CPPFLAGS'
80793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80796
80797       cat >conftest.$ac_ext <<_ACEOF
80798 /* confdefs.h.  */
80799 _ACEOF
80800 cat confdefs.h >>conftest.$ac_ext
80801 cat >>conftest.$ac_ext <<_ACEOF
80802 /* end confdefs.h.  */
80803 #include <math.h>
80804                       #ifdef HAVE_IEEEFP_H
80805                       #include <ieeefp.h>
80806                       #endif
80807
80808 int
80809 main ()
80810 {
80811  isinf(0);
80812   ;
80813   return 0;
80814 }
80815 _ACEOF
80816 rm -f conftest.$ac_objext
80817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80818   (eval $ac_compile) 2>conftest.er1
80819   ac_status=$?
80820   grep -v '^ *+' conftest.er1 >conftest.err
80821   rm -f conftest.er1
80822   cat conftest.err >&5
80823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80824   (exit $ac_status); } &&
80825          { ac_try='test -z "$ac_cxx_werror_flag"
80826                          || test ! -s conftest.err'
80827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80828   (eval $ac_try) 2>&5
80829   ac_status=$?
80830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80831   (exit $ac_status); }; } &&
80832          { ac_try='test -s conftest.$ac_objext'
80833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80834   (eval $ac_try) 2>&5
80835   ac_status=$?
80836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80837   (exit $ac_status); }; }; then
80838   glibcxx_cv_func_isinf_use=yes
80839 else
80840   echo "$as_me: failed program was:" >&5
80841 sed 's/^/| /' conftest.$ac_ext >&5
80842
80843 glibcxx_cv_func_isinf_use=no
80844 fi
80845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80846       ac_ext=c
80847 ac_cpp='$CPP $CPPFLAGS'
80848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80851
80852
80853 fi
80854
80855   fi
80856   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
80857 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
80858
80859   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
80860
80861 for ac_func in isinf
80862 do
80863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80864 echo "$as_me:$LINENO: checking for $ac_func" >&5
80865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80866 if eval "test \"\${$as_ac_var+set}\" = set"; then
80867   echo $ECHO_N "(cached) $ECHO_C" >&6
80868 else
80869   if test x$gcc_no_link = xyes; then
80870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80872    { (exit 1); exit 1; }; }
80873 fi
80874 cat >conftest.$ac_ext <<_ACEOF
80875 /* confdefs.h.  */
80876 _ACEOF
80877 cat confdefs.h >>conftest.$ac_ext
80878 cat >>conftest.$ac_ext <<_ACEOF
80879 /* end confdefs.h.  */
80880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80882 #define $ac_func innocuous_$ac_func
80883
80884 /* System header to define __stub macros and hopefully few prototypes,
80885     which can conflict with char $ac_func (); below.
80886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80887     <limits.h> exists even on freestanding compilers.  */
80888
80889 #ifdef __STDC__
80890 # include <limits.h>
80891 #else
80892 # include <assert.h>
80893 #endif
80894
80895 #undef $ac_func
80896
80897 /* Override any gcc2 internal prototype to avoid an error.  */
80898 #ifdef __cplusplus
80899 extern "C"
80900 {
80901 #endif
80902 /* We use char because int might match the return type of a gcc2
80903    builtin and then its argument prototype would still apply.  */
80904 char $ac_func ();
80905 /* The GNU C library defines this for functions which it implements
80906     to always fail with ENOSYS.  Some functions are actually named
80907     something starting with __ and the normal name is an alias.  */
80908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80909 choke me
80910 #else
80911 char (*f) () = $ac_func;
80912 #endif
80913 #ifdef __cplusplus
80914 }
80915 #endif
80916
80917 int
80918 main ()
80919 {
80920 return f != $ac_func;
80921   ;
80922   return 0;
80923 }
80924 _ACEOF
80925 rm -f conftest.$ac_objext conftest$ac_exeext
80926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80927   (eval $ac_link) 2>conftest.er1
80928   ac_status=$?
80929   grep -v '^ *+' conftest.er1 >conftest.err
80930   rm -f conftest.er1
80931   cat conftest.err >&5
80932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80933   (exit $ac_status); } &&
80934          { ac_try='test -z "$ac_c_werror_flag"
80935                          || test ! -s conftest.err'
80936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80937   (eval $ac_try) 2>&5
80938   ac_status=$?
80939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80940   (exit $ac_status); }; } &&
80941          { ac_try='test -s conftest$ac_exeext'
80942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80943   (eval $ac_try) 2>&5
80944   ac_status=$?
80945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80946   (exit $ac_status); }; }; then
80947   eval "$as_ac_var=yes"
80948 else
80949   echo "$as_me: failed program was:" >&5
80950 sed 's/^/| /' conftest.$ac_ext >&5
80951
80952 eval "$as_ac_var=no"
80953 fi
80954 rm -f conftest.err conftest.$ac_objext \
80955       conftest$ac_exeext conftest.$ac_ext
80956 fi
80957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80959 if test `eval echo '${'$as_ac_var'}'` = yes; then
80960   cat >>confdefs.h <<_ACEOF
80961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80962 _ACEOF
80963
80964 fi
80965 done
80966
80967   else
80968
80969   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
80970 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
80971   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
80972     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
80973   echo $ECHO_N "(cached) $ECHO_C" >&6
80974 else
80975
80976
80977
80978       ac_ext=cc
80979 ac_cpp='$CXXCPP $CPPFLAGS'
80980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80983
80984       cat >conftest.$ac_ext <<_ACEOF
80985 /* confdefs.h.  */
80986 _ACEOF
80987 cat confdefs.h >>conftest.$ac_ext
80988 cat >>conftest.$ac_ext <<_ACEOF
80989 /* end confdefs.h.  */
80990 #include <math.h>
80991                       #ifdef HAVE_IEEEFP_H
80992                       #include <ieeefp.h>
80993                       #endif
80994
80995 int
80996 main ()
80997 {
80998  _isinf(0);
80999   ;
81000   return 0;
81001 }
81002 _ACEOF
81003 rm -f conftest.$ac_objext
81004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81005   (eval $ac_compile) 2>conftest.er1
81006   ac_status=$?
81007   grep -v '^ *+' conftest.er1 >conftest.err
81008   rm -f conftest.er1
81009   cat conftest.err >&5
81010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81011   (exit $ac_status); } &&
81012          { ac_try='test -z "$ac_cxx_werror_flag"
81013                          || test ! -s conftest.err'
81014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81015   (eval $ac_try) 2>&5
81016   ac_status=$?
81017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018   (exit $ac_status); }; } &&
81019          { ac_try='test -s conftest.$ac_objext'
81020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81021   (eval $ac_try) 2>&5
81022   ac_status=$?
81023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024   (exit $ac_status); }; }; then
81025   glibcxx_cv_func__isinf_use=yes
81026 else
81027   echo "$as_me: failed program was:" >&5
81028 sed 's/^/| /' conftest.$ac_ext >&5
81029
81030 glibcxx_cv_func__isinf_use=no
81031 fi
81032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81033       ac_ext=c
81034 ac_cpp='$CPP $CPPFLAGS'
81035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81038
81039
81040 fi
81041
81042   fi
81043   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
81044 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
81045
81046     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
81047
81048 for ac_func in _isinf
81049 do
81050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81051 echo "$as_me:$LINENO: checking for $ac_func" >&5
81052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81053 if eval "test \"\${$as_ac_var+set}\" = set"; then
81054   echo $ECHO_N "(cached) $ECHO_C" >&6
81055 else
81056   if test x$gcc_no_link = xyes; then
81057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81059    { (exit 1); exit 1; }; }
81060 fi
81061 cat >conftest.$ac_ext <<_ACEOF
81062 /* confdefs.h.  */
81063 _ACEOF
81064 cat confdefs.h >>conftest.$ac_ext
81065 cat >>conftest.$ac_ext <<_ACEOF
81066 /* end confdefs.h.  */
81067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81069 #define $ac_func innocuous_$ac_func
81070
81071 /* System header to define __stub macros and hopefully few prototypes,
81072     which can conflict with char $ac_func (); below.
81073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81074     <limits.h> exists even on freestanding compilers.  */
81075
81076 #ifdef __STDC__
81077 # include <limits.h>
81078 #else
81079 # include <assert.h>
81080 #endif
81081
81082 #undef $ac_func
81083
81084 /* Override any gcc2 internal prototype to avoid an error.  */
81085 #ifdef __cplusplus
81086 extern "C"
81087 {
81088 #endif
81089 /* We use char because int might match the return type of a gcc2
81090    builtin and then its argument prototype would still apply.  */
81091 char $ac_func ();
81092 /* The GNU C library defines this for functions which it implements
81093     to always fail with ENOSYS.  Some functions are actually named
81094     something starting with __ and the normal name is an alias.  */
81095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81096 choke me
81097 #else
81098 char (*f) () = $ac_func;
81099 #endif
81100 #ifdef __cplusplus
81101 }
81102 #endif
81103
81104 int
81105 main ()
81106 {
81107 return f != $ac_func;
81108   ;
81109   return 0;
81110 }
81111 _ACEOF
81112 rm -f conftest.$ac_objext conftest$ac_exeext
81113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81114   (eval $ac_link) 2>conftest.er1
81115   ac_status=$?
81116   grep -v '^ *+' conftest.er1 >conftest.err
81117   rm -f conftest.er1
81118   cat conftest.err >&5
81119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81120   (exit $ac_status); } &&
81121          { ac_try='test -z "$ac_c_werror_flag"
81122                          || test ! -s conftest.err'
81123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81124   (eval $ac_try) 2>&5
81125   ac_status=$?
81126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81127   (exit $ac_status); }; } &&
81128          { ac_try='test -s conftest$ac_exeext'
81129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81130   (eval $ac_try) 2>&5
81131   ac_status=$?
81132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81133   (exit $ac_status); }; }; then
81134   eval "$as_ac_var=yes"
81135 else
81136   echo "$as_me: failed program was:" >&5
81137 sed 's/^/| /' conftest.$ac_ext >&5
81138
81139 eval "$as_ac_var=no"
81140 fi
81141 rm -f conftest.err conftest.$ac_objext \
81142       conftest$ac_exeext conftest.$ac_ext
81143 fi
81144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81146 if test `eval echo '${'$as_ac_var'}'` = yes; then
81147   cat >>confdefs.h <<_ACEOF
81148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81149 _ACEOF
81150
81151 fi
81152 done
81153
81154     fi
81155   fi
81156
81157
81158
81159
81160
81161
81162   echo "$as_me:$LINENO: checking for isnan declaration" >&5
81163 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
81164   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
81165     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
81166   echo $ECHO_N "(cached) $ECHO_C" >&6
81167 else
81168
81169
81170
81171       ac_ext=cc
81172 ac_cpp='$CXXCPP $CPPFLAGS'
81173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81176
81177       cat >conftest.$ac_ext <<_ACEOF
81178 /* confdefs.h.  */
81179 _ACEOF
81180 cat confdefs.h >>conftest.$ac_ext
81181 cat >>conftest.$ac_ext <<_ACEOF
81182 /* end confdefs.h.  */
81183 #include <math.h>
81184                       #ifdef HAVE_IEEEFP_H
81185                       #include <ieeefp.h>
81186                       #endif
81187
81188 int
81189 main ()
81190 {
81191  isnan(0);
81192   ;
81193   return 0;
81194 }
81195 _ACEOF
81196 rm -f conftest.$ac_objext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81198   (eval $ac_compile) 2>conftest.er1
81199   ac_status=$?
81200   grep -v '^ *+' conftest.er1 >conftest.err
81201   rm -f conftest.er1
81202   cat conftest.err >&5
81203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204   (exit $ac_status); } &&
81205          { ac_try='test -z "$ac_cxx_werror_flag"
81206                          || test ! -s conftest.err'
81207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81208   (eval $ac_try) 2>&5
81209   ac_status=$?
81210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211   (exit $ac_status); }; } &&
81212          { ac_try='test -s conftest.$ac_objext'
81213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81214   (eval $ac_try) 2>&5
81215   ac_status=$?
81216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217   (exit $ac_status); }; }; then
81218   glibcxx_cv_func_isnan_use=yes
81219 else
81220   echo "$as_me: failed program was:" >&5
81221 sed 's/^/| /' conftest.$ac_ext >&5
81222
81223 glibcxx_cv_func_isnan_use=no
81224 fi
81225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81226       ac_ext=c
81227 ac_cpp='$CPP $CPPFLAGS'
81228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81231
81232
81233 fi
81234
81235   fi
81236   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
81237 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
81238
81239   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
81240
81241 for ac_func in isnan
81242 do
81243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81244 echo "$as_me:$LINENO: checking for $ac_func" >&5
81245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81246 if eval "test \"\${$as_ac_var+set}\" = set"; then
81247   echo $ECHO_N "(cached) $ECHO_C" >&6
81248 else
81249   if test x$gcc_no_link = xyes; then
81250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81252    { (exit 1); exit 1; }; }
81253 fi
81254 cat >conftest.$ac_ext <<_ACEOF
81255 /* confdefs.h.  */
81256 _ACEOF
81257 cat confdefs.h >>conftest.$ac_ext
81258 cat >>conftest.$ac_ext <<_ACEOF
81259 /* end confdefs.h.  */
81260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81262 #define $ac_func innocuous_$ac_func
81263
81264 /* System header to define __stub macros and hopefully few prototypes,
81265     which can conflict with char $ac_func (); below.
81266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81267     <limits.h> exists even on freestanding compilers.  */
81268
81269 #ifdef __STDC__
81270 # include <limits.h>
81271 #else
81272 # include <assert.h>
81273 #endif
81274
81275 #undef $ac_func
81276
81277 /* Override any gcc2 internal prototype to avoid an error.  */
81278 #ifdef __cplusplus
81279 extern "C"
81280 {
81281 #endif
81282 /* We use char because int might match the return type of a gcc2
81283    builtin and then its argument prototype would still apply.  */
81284 char $ac_func ();
81285 /* The GNU C library defines this for functions which it implements
81286     to always fail with ENOSYS.  Some functions are actually named
81287     something starting with __ and the normal name is an alias.  */
81288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81289 choke me
81290 #else
81291 char (*f) () = $ac_func;
81292 #endif
81293 #ifdef __cplusplus
81294 }
81295 #endif
81296
81297 int
81298 main ()
81299 {
81300 return f != $ac_func;
81301   ;
81302   return 0;
81303 }
81304 _ACEOF
81305 rm -f conftest.$ac_objext conftest$ac_exeext
81306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81307   (eval $ac_link) 2>conftest.er1
81308   ac_status=$?
81309   grep -v '^ *+' conftest.er1 >conftest.err
81310   rm -f conftest.er1
81311   cat conftest.err >&5
81312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81313   (exit $ac_status); } &&
81314          { ac_try='test -z "$ac_c_werror_flag"
81315                          || test ! -s conftest.err'
81316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81317   (eval $ac_try) 2>&5
81318   ac_status=$?
81319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320   (exit $ac_status); }; } &&
81321          { ac_try='test -s conftest$ac_exeext'
81322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81323   (eval $ac_try) 2>&5
81324   ac_status=$?
81325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81326   (exit $ac_status); }; }; then
81327   eval "$as_ac_var=yes"
81328 else
81329   echo "$as_me: failed program was:" >&5
81330 sed 's/^/| /' conftest.$ac_ext >&5
81331
81332 eval "$as_ac_var=no"
81333 fi
81334 rm -f conftest.err conftest.$ac_objext \
81335       conftest$ac_exeext conftest.$ac_ext
81336 fi
81337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81339 if test `eval echo '${'$as_ac_var'}'` = yes; then
81340   cat >>confdefs.h <<_ACEOF
81341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81342 _ACEOF
81343
81344 fi
81345 done
81346
81347   else
81348
81349   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
81350 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
81351   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
81352     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
81353   echo $ECHO_N "(cached) $ECHO_C" >&6
81354 else
81355
81356
81357
81358       ac_ext=cc
81359 ac_cpp='$CXXCPP $CPPFLAGS'
81360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81363
81364       cat >conftest.$ac_ext <<_ACEOF
81365 /* confdefs.h.  */
81366 _ACEOF
81367 cat confdefs.h >>conftest.$ac_ext
81368 cat >>conftest.$ac_ext <<_ACEOF
81369 /* end confdefs.h.  */
81370 #include <math.h>
81371                       #ifdef HAVE_IEEEFP_H
81372                       #include <ieeefp.h>
81373                       #endif
81374
81375 int
81376 main ()
81377 {
81378  _isnan(0);
81379   ;
81380   return 0;
81381 }
81382 _ACEOF
81383 rm -f conftest.$ac_objext
81384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81385   (eval $ac_compile) 2>conftest.er1
81386   ac_status=$?
81387   grep -v '^ *+' conftest.er1 >conftest.err
81388   rm -f conftest.er1
81389   cat conftest.err >&5
81390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81391   (exit $ac_status); } &&
81392          { ac_try='test -z "$ac_cxx_werror_flag"
81393                          || test ! -s conftest.err'
81394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81395   (eval $ac_try) 2>&5
81396   ac_status=$?
81397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398   (exit $ac_status); }; } &&
81399          { ac_try='test -s conftest.$ac_objext'
81400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81401   (eval $ac_try) 2>&5
81402   ac_status=$?
81403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81404   (exit $ac_status); }; }; then
81405   glibcxx_cv_func__isnan_use=yes
81406 else
81407   echo "$as_me: failed program was:" >&5
81408 sed 's/^/| /' conftest.$ac_ext >&5
81409
81410 glibcxx_cv_func__isnan_use=no
81411 fi
81412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81413       ac_ext=c
81414 ac_cpp='$CPP $CPPFLAGS'
81415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81418
81419
81420 fi
81421
81422   fi
81423   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
81424 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
81425
81426     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
81427
81428 for ac_func in _isnan
81429 do
81430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81431 echo "$as_me:$LINENO: checking for $ac_func" >&5
81432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81433 if eval "test \"\${$as_ac_var+set}\" = set"; then
81434   echo $ECHO_N "(cached) $ECHO_C" >&6
81435 else
81436   if test x$gcc_no_link = xyes; then
81437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81439    { (exit 1); exit 1; }; }
81440 fi
81441 cat >conftest.$ac_ext <<_ACEOF
81442 /* confdefs.h.  */
81443 _ACEOF
81444 cat confdefs.h >>conftest.$ac_ext
81445 cat >>conftest.$ac_ext <<_ACEOF
81446 /* end confdefs.h.  */
81447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81449 #define $ac_func innocuous_$ac_func
81450
81451 /* System header to define __stub macros and hopefully few prototypes,
81452     which can conflict with char $ac_func (); below.
81453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81454     <limits.h> exists even on freestanding compilers.  */
81455
81456 #ifdef __STDC__
81457 # include <limits.h>
81458 #else
81459 # include <assert.h>
81460 #endif
81461
81462 #undef $ac_func
81463
81464 /* Override any gcc2 internal prototype to avoid an error.  */
81465 #ifdef __cplusplus
81466 extern "C"
81467 {
81468 #endif
81469 /* We use char because int might match the return type of a gcc2
81470    builtin and then its argument prototype would still apply.  */
81471 char $ac_func ();
81472 /* The GNU C library defines this for functions which it implements
81473     to always fail with ENOSYS.  Some functions are actually named
81474     something starting with __ and the normal name is an alias.  */
81475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81476 choke me
81477 #else
81478 char (*f) () = $ac_func;
81479 #endif
81480 #ifdef __cplusplus
81481 }
81482 #endif
81483
81484 int
81485 main ()
81486 {
81487 return f != $ac_func;
81488   ;
81489   return 0;
81490 }
81491 _ACEOF
81492 rm -f conftest.$ac_objext conftest$ac_exeext
81493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81494   (eval $ac_link) 2>conftest.er1
81495   ac_status=$?
81496   grep -v '^ *+' conftest.er1 >conftest.err
81497   rm -f conftest.er1
81498   cat conftest.err >&5
81499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81500   (exit $ac_status); } &&
81501          { ac_try='test -z "$ac_c_werror_flag"
81502                          || test ! -s conftest.err'
81503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81504   (eval $ac_try) 2>&5
81505   ac_status=$?
81506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81507   (exit $ac_status); }; } &&
81508          { ac_try='test -s conftest$ac_exeext'
81509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81510   (eval $ac_try) 2>&5
81511   ac_status=$?
81512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81513   (exit $ac_status); }; }; then
81514   eval "$as_ac_var=yes"
81515 else
81516   echo "$as_me: failed program was:" >&5
81517 sed 's/^/| /' conftest.$ac_ext >&5
81518
81519 eval "$as_ac_var=no"
81520 fi
81521 rm -f conftest.err conftest.$ac_objext \
81522       conftest$ac_exeext conftest.$ac_ext
81523 fi
81524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81526 if test `eval echo '${'$as_ac_var'}'` = yes; then
81527   cat >>confdefs.h <<_ACEOF
81528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81529 _ACEOF
81530
81531 fi
81532 done
81533
81534     fi
81535   fi
81536
81537
81538
81539
81540
81541
81542   echo "$as_me:$LINENO: checking for finite declaration" >&5
81543 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
81544   if test x${glibcxx_cv_func_finite_use+set} != xset; then
81545     if test "${glibcxx_cv_func_finite_use+set}" = set; then
81546   echo $ECHO_N "(cached) $ECHO_C" >&6
81547 else
81548
81549
81550
81551       ac_ext=cc
81552 ac_cpp='$CXXCPP $CPPFLAGS'
81553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81556
81557       cat >conftest.$ac_ext <<_ACEOF
81558 /* confdefs.h.  */
81559 _ACEOF
81560 cat confdefs.h >>conftest.$ac_ext
81561 cat >>conftest.$ac_ext <<_ACEOF
81562 /* end confdefs.h.  */
81563 #include <math.h>
81564                       #ifdef HAVE_IEEEFP_H
81565                       #include <ieeefp.h>
81566                       #endif
81567
81568 int
81569 main ()
81570 {
81571  finite(0);
81572   ;
81573   return 0;
81574 }
81575 _ACEOF
81576 rm -f conftest.$ac_objext
81577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81578   (eval $ac_compile) 2>conftest.er1
81579   ac_status=$?
81580   grep -v '^ *+' conftest.er1 >conftest.err
81581   rm -f conftest.er1
81582   cat conftest.err >&5
81583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81584   (exit $ac_status); } &&
81585          { ac_try='test -z "$ac_cxx_werror_flag"
81586                          || test ! -s conftest.err'
81587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81588   (eval $ac_try) 2>&5
81589   ac_status=$?
81590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81591   (exit $ac_status); }; } &&
81592          { ac_try='test -s conftest.$ac_objext'
81593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81594   (eval $ac_try) 2>&5
81595   ac_status=$?
81596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81597   (exit $ac_status); }; }; then
81598   glibcxx_cv_func_finite_use=yes
81599 else
81600   echo "$as_me: failed program was:" >&5
81601 sed 's/^/| /' conftest.$ac_ext >&5
81602
81603 glibcxx_cv_func_finite_use=no
81604 fi
81605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81606       ac_ext=c
81607 ac_cpp='$CPP $CPPFLAGS'
81608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81611
81612
81613 fi
81614
81615   fi
81616   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
81617 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
81618
81619   if test x$glibcxx_cv_func_finite_use = x"yes"; then
81620
81621 for ac_func in finite
81622 do
81623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81624 echo "$as_me:$LINENO: checking for $ac_func" >&5
81625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81626 if eval "test \"\${$as_ac_var+set}\" = set"; then
81627   echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81629   if test x$gcc_no_link = xyes; then
81630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81632    { (exit 1); exit 1; }; }
81633 fi
81634 cat >conftest.$ac_ext <<_ACEOF
81635 /* confdefs.h.  */
81636 _ACEOF
81637 cat confdefs.h >>conftest.$ac_ext
81638 cat >>conftest.$ac_ext <<_ACEOF
81639 /* end confdefs.h.  */
81640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81642 #define $ac_func innocuous_$ac_func
81643
81644 /* System header to define __stub macros and hopefully few prototypes,
81645     which can conflict with char $ac_func (); below.
81646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81647     <limits.h> exists even on freestanding compilers.  */
81648
81649 #ifdef __STDC__
81650 # include <limits.h>
81651 #else
81652 # include <assert.h>
81653 #endif
81654
81655 #undef $ac_func
81656
81657 /* Override any gcc2 internal prototype to avoid an error.  */
81658 #ifdef __cplusplus
81659 extern "C"
81660 {
81661 #endif
81662 /* We use char because int might match the return type of a gcc2
81663    builtin and then its argument prototype would still apply.  */
81664 char $ac_func ();
81665 /* The GNU C library defines this for functions which it implements
81666     to always fail with ENOSYS.  Some functions are actually named
81667     something starting with __ and the normal name is an alias.  */
81668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81669 choke me
81670 #else
81671 char (*f) () = $ac_func;
81672 #endif
81673 #ifdef __cplusplus
81674 }
81675 #endif
81676
81677 int
81678 main ()
81679 {
81680 return f != $ac_func;
81681   ;
81682   return 0;
81683 }
81684 _ACEOF
81685 rm -f conftest.$ac_objext conftest$ac_exeext
81686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81687   (eval $ac_link) 2>conftest.er1
81688   ac_status=$?
81689   grep -v '^ *+' conftest.er1 >conftest.err
81690   rm -f conftest.er1
81691   cat conftest.err >&5
81692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81693   (exit $ac_status); } &&
81694          { ac_try='test -z "$ac_c_werror_flag"
81695                          || test ! -s conftest.err'
81696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81697   (eval $ac_try) 2>&5
81698   ac_status=$?
81699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81700   (exit $ac_status); }; } &&
81701          { ac_try='test -s conftest$ac_exeext'
81702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81703   (eval $ac_try) 2>&5
81704   ac_status=$?
81705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81706   (exit $ac_status); }; }; then
81707   eval "$as_ac_var=yes"
81708 else
81709   echo "$as_me: failed program was:" >&5
81710 sed 's/^/| /' conftest.$ac_ext >&5
81711
81712 eval "$as_ac_var=no"
81713 fi
81714 rm -f conftest.err conftest.$ac_objext \
81715       conftest$ac_exeext conftest.$ac_ext
81716 fi
81717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81719 if test `eval echo '${'$as_ac_var'}'` = yes; then
81720   cat >>confdefs.h <<_ACEOF
81721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81722 _ACEOF
81723
81724 fi
81725 done
81726
81727   else
81728
81729   echo "$as_me:$LINENO: checking for _finite declaration" >&5
81730 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
81731   if test x${glibcxx_cv_func__finite_use+set} != xset; then
81732     if test "${glibcxx_cv_func__finite_use+set}" = set; then
81733   echo $ECHO_N "(cached) $ECHO_C" >&6
81734 else
81735
81736
81737
81738       ac_ext=cc
81739 ac_cpp='$CXXCPP $CPPFLAGS'
81740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81743
81744       cat >conftest.$ac_ext <<_ACEOF
81745 /* confdefs.h.  */
81746 _ACEOF
81747 cat confdefs.h >>conftest.$ac_ext
81748 cat >>conftest.$ac_ext <<_ACEOF
81749 /* end confdefs.h.  */
81750 #include <math.h>
81751                       #ifdef HAVE_IEEEFP_H
81752                       #include <ieeefp.h>
81753                       #endif
81754
81755 int
81756 main ()
81757 {
81758  _finite(0);
81759   ;
81760   return 0;
81761 }
81762 _ACEOF
81763 rm -f conftest.$ac_objext
81764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81765   (eval $ac_compile) 2>conftest.er1
81766   ac_status=$?
81767   grep -v '^ *+' conftest.er1 >conftest.err
81768   rm -f conftest.er1
81769   cat conftest.err >&5
81770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81771   (exit $ac_status); } &&
81772          { ac_try='test -z "$ac_cxx_werror_flag"
81773                          || test ! -s conftest.err'
81774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81775   (eval $ac_try) 2>&5
81776   ac_status=$?
81777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81778   (exit $ac_status); }; } &&
81779          { ac_try='test -s conftest.$ac_objext'
81780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81781   (eval $ac_try) 2>&5
81782   ac_status=$?
81783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81784   (exit $ac_status); }; }; then
81785   glibcxx_cv_func__finite_use=yes
81786 else
81787   echo "$as_me: failed program was:" >&5
81788 sed 's/^/| /' conftest.$ac_ext >&5
81789
81790 glibcxx_cv_func__finite_use=no
81791 fi
81792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81793       ac_ext=c
81794 ac_cpp='$CPP $CPPFLAGS'
81795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81798
81799
81800 fi
81801
81802   fi
81803   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
81804 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
81805
81806     if test x$glibcxx_cv_func__finite_use = x"yes"; then
81807
81808 for ac_func in _finite
81809 do
81810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81811 echo "$as_me:$LINENO: checking for $ac_func" >&5
81812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81813 if eval "test \"\${$as_ac_var+set}\" = set"; then
81814   echo $ECHO_N "(cached) $ECHO_C" >&6
81815 else
81816   if test x$gcc_no_link = xyes; then
81817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81819    { (exit 1); exit 1; }; }
81820 fi
81821 cat >conftest.$ac_ext <<_ACEOF
81822 /* confdefs.h.  */
81823 _ACEOF
81824 cat confdefs.h >>conftest.$ac_ext
81825 cat >>conftest.$ac_ext <<_ACEOF
81826 /* end confdefs.h.  */
81827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81829 #define $ac_func innocuous_$ac_func
81830
81831 /* System header to define __stub macros and hopefully few prototypes,
81832     which can conflict with char $ac_func (); below.
81833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81834     <limits.h> exists even on freestanding compilers.  */
81835
81836 #ifdef __STDC__
81837 # include <limits.h>
81838 #else
81839 # include <assert.h>
81840 #endif
81841
81842 #undef $ac_func
81843
81844 /* Override any gcc2 internal prototype to avoid an error.  */
81845 #ifdef __cplusplus
81846 extern "C"
81847 {
81848 #endif
81849 /* We use char because int might match the return type of a gcc2
81850    builtin and then its argument prototype would still apply.  */
81851 char $ac_func ();
81852 /* The GNU C library defines this for functions which it implements
81853     to always fail with ENOSYS.  Some functions are actually named
81854     something starting with __ and the normal name is an alias.  */
81855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81856 choke me
81857 #else
81858 char (*f) () = $ac_func;
81859 #endif
81860 #ifdef __cplusplus
81861 }
81862 #endif
81863
81864 int
81865 main ()
81866 {
81867 return f != $ac_func;
81868   ;
81869   return 0;
81870 }
81871 _ACEOF
81872 rm -f conftest.$ac_objext conftest$ac_exeext
81873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81874   (eval $ac_link) 2>conftest.er1
81875   ac_status=$?
81876   grep -v '^ *+' conftest.er1 >conftest.err
81877   rm -f conftest.er1
81878   cat conftest.err >&5
81879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81880   (exit $ac_status); } &&
81881          { ac_try='test -z "$ac_c_werror_flag"
81882                          || test ! -s conftest.err'
81883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81884   (eval $ac_try) 2>&5
81885   ac_status=$?
81886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81887   (exit $ac_status); }; } &&
81888          { ac_try='test -s conftest$ac_exeext'
81889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81890   (eval $ac_try) 2>&5
81891   ac_status=$?
81892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81893   (exit $ac_status); }; }; then
81894   eval "$as_ac_var=yes"
81895 else
81896   echo "$as_me: failed program was:" >&5
81897 sed 's/^/| /' conftest.$ac_ext >&5
81898
81899 eval "$as_ac_var=no"
81900 fi
81901 rm -f conftest.err conftest.$ac_objext \
81902       conftest$ac_exeext conftest.$ac_ext
81903 fi
81904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81906 if test `eval echo '${'$as_ac_var'}'` = yes; then
81907   cat >>confdefs.h <<_ACEOF
81908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81909 _ACEOF
81910
81911 fi
81912 done
81913
81914     fi
81915   fi
81916
81917
81918
81919
81920
81921
81922   echo "$as_me:$LINENO: checking for copysign declaration" >&5
81923 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
81924   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
81925     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
81926   echo $ECHO_N "(cached) $ECHO_C" >&6
81927 else
81928
81929
81930
81931       ac_ext=cc
81932 ac_cpp='$CXXCPP $CPPFLAGS'
81933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81936
81937       cat >conftest.$ac_ext <<_ACEOF
81938 /* confdefs.h.  */
81939 _ACEOF
81940 cat confdefs.h >>conftest.$ac_ext
81941 cat >>conftest.$ac_ext <<_ACEOF
81942 /* end confdefs.h.  */
81943 #include <math.h>
81944 int
81945 main ()
81946 {
81947  copysign(0, 0);
81948   ;
81949   return 0;
81950 }
81951 _ACEOF
81952 rm -f conftest.$ac_objext
81953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81954   (eval $ac_compile) 2>conftest.er1
81955   ac_status=$?
81956   grep -v '^ *+' conftest.er1 >conftest.err
81957   rm -f conftest.er1
81958   cat conftest.err >&5
81959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81960   (exit $ac_status); } &&
81961          { ac_try='test -z "$ac_cxx_werror_flag"
81962                          || test ! -s conftest.err'
81963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81964   (eval $ac_try) 2>&5
81965   ac_status=$?
81966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81967   (exit $ac_status); }; } &&
81968          { ac_try='test -s conftest.$ac_objext'
81969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81970   (eval $ac_try) 2>&5
81971   ac_status=$?
81972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81973   (exit $ac_status); }; }; then
81974   glibcxx_cv_func_copysign_use=yes
81975 else
81976   echo "$as_me: failed program was:" >&5
81977 sed 's/^/| /' conftest.$ac_ext >&5
81978
81979 glibcxx_cv_func_copysign_use=no
81980 fi
81981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81982       ac_ext=c
81983 ac_cpp='$CPP $CPPFLAGS'
81984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81987
81988
81989 fi
81990
81991   fi
81992   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
81993 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
81994
81995   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
81996
81997 for ac_func in copysign
81998 do
81999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82000 echo "$as_me:$LINENO: checking for $ac_func" >&5
82001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82002 if eval "test \"\${$as_ac_var+set}\" = set"; then
82003   echo $ECHO_N "(cached) $ECHO_C" >&6
82004 else
82005   if test x$gcc_no_link = xyes; then
82006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82008    { (exit 1); exit 1; }; }
82009 fi
82010 cat >conftest.$ac_ext <<_ACEOF
82011 /* confdefs.h.  */
82012 _ACEOF
82013 cat confdefs.h >>conftest.$ac_ext
82014 cat >>conftest.$ac_ext <<_ACEOF
82015 /* end confdefs.h.  */
82016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82018 #define $ac_func innocuous_$ac_func
82019
82020 /* System header to define __stub macros and hopefully few prototypes,
82021     which can conflict with char $ac_func (); below.
82022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82023     <limits.h> exists even on freestanding compilers.  */
82024
82025 #ifdef __STDC__
82026 # include <limits.h>
82027 #else
82028 # include <assert.h>
82029 #endif
82030
82031 #undef $ac_func
82032
82033 /* Override any gcc2 internal prototype to avoid an error.  */
82034 #ifdef __cplusplus
82035 extern "C"
82036 {
82037 #endif
82038 /* We use char because int might match the return type of a gcc2
82039    builtin and then its argument prototype would still apply.  */
82040 char $ac_func ();
82041 /* The GNU C library defines this for functions which it implements
82042     to always fail with ENOSYS.  Some functions are actually named
82043     something starting with __ and the normal name is an alias.  */
82044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82045 choke me
82046 #else
82047 char (*f) () = $ac_func;
82048 #endif
82049 #ifdef __cplusplus
82050 }
82051 #endif
82052
82053 int
82054 main ()
82055 {
82056 return f != $ac_func;
82057   ;
82058   return 0;
82059 }
82060 _ACEOF
82061 rm -f conftest.$ac_objext conftest$ac_exeext
82062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82063   (eval $ac_link) 2>conftest.er1
82064   ac_status=$?
82065   grep -v '^ *+' conftest.er1 >conftest.err
82066   rm -f conftest.er1
82067   cat conftest.err >&5
82068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82069   (exit $ac_status); } &&
82070          { ac_try='test -z "$ac_c_werror_flag"
82071                          || test ! -s conftest.err'
82072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82073   (eval $ac_try) 2>&5
82074   ac_status=$?
82075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82076   (exit $ac_status); }; } &&
82077          { ac_try='test -s conftest$ac_exeext'
82078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82079   (eval $ac_try) 2>&5
82080   ac_status=$?
82081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82082   (exit $ac_status); }; }; then
82083   eval "$as_ac_var=yes"
82084 else
82085   echo "$as_me: failed program was:" >&5
82086 sed 's/^/| /' conftest.$ac_ext >&5
82087
82088 eval "$as_ac_var=no"
82089 fi
82090 rm -f conftest.err conftest.$ac_objext \
82091       conftest$ac_exeext conftest.$ac_ext
82092 fi
82093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82095 if test `eval echo '${'$as_ac_var'}'` = yes; then
82096   cat >>confdefs.h <<_ACEOF
82097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82098 _ACEOF
82099
82100 fi
82101 done
82102
82103   else
82104
82105   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
82106 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
82107   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
82108     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
82109   echo $ECHO_N "(cached) $ECHO_C" >&6
82110 else
82111
82112
82113
82114       ac_ext=cc
82115 ac_cpp='$CXXCPP $CPPFLAGS'
82116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82119
82120       cat >conftest.$ac_ext <<_ACEOF
82121 /* confdefs.h.  */
82122 _ACEOF
82123 cat confdefs.h >>conftest.$ac_ext
82124 cat >>conftest.$ac_ext <<_ACEOF
82125 /* end confdefs.h.  */
82126 #include <math.h>
82127 int
82128 main ()
82129 {
82130  _copysign(0, 0);
82131   ;
82132   return 0;
82133 }
82134 _ACEOF
82135 rm -f conftest.$ac_objext
82136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82137   (eval $ac_compile) 2>conftest.er1
82138   ac_status=$?
82139   grep -v '^ *+' conftest.er1 >conftest.err
82140   rm -f conftest.er1
82141   cat conftest.err >&5
82142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82143   (exit $ac_status); } &&
82144          { ac_try='test -z "$ac_cxx_werror_flag"
82145                          || test ! -s conftest.err'
82146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82147   (eval $ac_try) 2>&5
82148   ac_status=$?
82149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82150   (exit $ac_status); }; } &&
82151          { ac_try='test -s conftest.$ac_objext'
82152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82153   (eval $ac_try) 2>&5
82154   ac_status=$?
82155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82156   (exit $ac_status); }; }; then
82157   glibcxx_cv_func__copysign_use=yes
82158 else
82159   echo "$as_me: failed program was:" >&5
82160 sed 's/^/| /' conftest.$ac_ext >&5
82161
82162 glibcxx_cv_func__copysign_use=no
82163 fi
82164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82165       ac_ext=c
82166 ac_cpp='$CPP $CPPFLAGS'
82167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82170
82171
82172 fi
82173
82174   fi
82175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
82176 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
82177
82178     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
82179
82180 for ac_func in _copysign
82181 do
82182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82183 echo "$as_me:$LINENO: checking for $ac_func" >&5
82184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82185 if eval "test \"\${$as_ac_var+set}\" = set"; then
82186   echo $ECHO_N "(cached) $ECHO_C" >&6
82187 else
82188   if test x$gcc_no_link = xyes; then
82189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82191    { (exit 1); exit 1; }; }
82192 fi
82193 cat >conftest.$ac_ext <<_ACEOF
82194 /* confdefs.h.  */
82195 _ACEOF
82196 cat confdefs.h >>conftest.$ac_ext
82197 cat >>conftest.$ac_ext <<_ACEOF
82198 /* end confdefs.h.  */
82199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82201 #define $ac_func innocuous_$ac_func
82202
82203 /* System header to define __stub macros and hopefully few prototypes,
82204     which can conflict with char $ac_func (); below.
82205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82206     <limits.h> exists even on freestanding compilers.  */
82207
82208 #ifdef __STDC__
82209 # include <limits.h>
82210 #else
82211 # include <assert.h>
82212 #endif
82213
82214 #undef $ac_func
82215
82216 /* Override any gcc2 internal prototype to avoid an error.  */
82217 #ifdef __cplusplus
82218 extern "C"
82219 {
82220 #endif
82221 /* We use char because int might match the return type of a gcc2
82222    builtin and then its argument prototype would still apply.  */
82223 char $ac_func ();
82224 /* The GNU C library defines this for functions which it implements
82225     to always fail with ENOSYS.  Some functions are actually named
82226     something starting with __ and the normal name is an alias.  */
82227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82228 choke me
82229 #else
82230 char (*f) () = $ac_func;
82231 #endif
82232 #ifdef __cplusplus
82233 }
82234 #endif
82235
82236 int
82237 main ()
82238 {
82239 return f != $ac_func;
82240   ;
82241   return 0;
82242 }
82243 _ACEOF
82244 rm -f conftest.$ac_objext conftest$ac_exeext
82245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82246   (eval $ac_link) 2>conftest.er1
82247   ac_status=$?
82248   grep -v '^ *+' conftest.er1 >conftest.err
82249   rm -f conftest.er1
82250   cat conftest.err >&5
82251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82252   (exit $ac_status); } &&
82253          { ac_try='test -z "$ac_c_werror_flag"
82254                          || test ! -s conftest.err'
82255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82256   (eval $ac_try) 2>&5
82257   ac_status=$?
82258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82259   (exit $ac_status); }; } &&
82260          { ac_try='test -s conftest$ac_exeext'
82261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82262   (eval $ac_try) 2>&5
82263   ac_status=$?
82264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82265   (exit $ac_status); }; }; then
82266   eval "$as_ac_var=yes"
82267 else
82268   echo "$as_me: failed program was:" >&5
82269 sed 's/^/| /' conftest.$ac_ext >&5
82270
82271 eval "$as_ac_var=no"
82272 fi
82273 rm -f conftest.err conftest.$ac_objext \
82274       conftest$ac_exeext conftest.$ac_ext
82275 fi
82276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82278 if test `eval echo '${'$as_ac_var'}'` = yes; then
82279   cat >>confdefs.h <<_ACEOF
82280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82281 _ACEOF
82282
82283 fi
82284 done
82285
82286     fi
82287   fi
82288
82289
82290
82291
82292
82293
82294   echo "$as_me:$LINENO: checking for sincos declaration" >&5
82295 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
82296   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
82297     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
82298   echo $ECHO_N "(cached) $ECHO_C" >&6
82299 else
82300
82301
82302
82303       ac_ext=cc
82304 ac_cpp='$CXXCPP $CPPFLAGS'
82305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82308
82309       cat >conftest.$ac_ext <<_ACEOF
82310 /* confdefs.h.  */
82311 _ACEOF
82312 cat confdefs.h >>conftest.$ac_ext
82313 cat >>conftest.$ac_ext <<_ACEOF
82314 /* end confdefs.h.  */
82315 #include <math.h>
82316 int
82317 main ()
82318 {
82319  sincos(0, 0, 0);
82320   ;
82321   return 0;
82322 }
82323 _ACEOF
82324 rm -f conftest.$ac_objext
82325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82326   (eval $ac_compile) 2>conftest.er1
82327   ac_status=$?
82328   grep -v '^ *+' conftest.er1 >conftest.err
82329   rm -f conftest.er1
82330   cat conftest.err >&5
82331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82332   (exit $ac_status); } &&
82333          { ac_try='test -z "$ac_cxx_werror_flag"
82334                          || test ! -s conftest.err'
82335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82336   (eval $ac_try) 2>&5
82337   ac_status=$?
82338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82339   (exit $ac_status); }; } &&
82340          { ac_try='test -s conftest.$ac_objext'
82341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82342   (eval $ac_try) 2>&5
82343   ac_status=$?
82344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82345   (exit $ac_status); }; }; then
82346   glibcxx_cv_func_sincos_use=yes
82347 else
82348   echo "$as_me: failed program was:" >&5
82349 sed 's/^/| /' conftest.$ac_ext >&5
82350
82351 glibcxx_cv_func_sincos_use=no
82352 fi
82353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82354       ac_ext=c
82355 ac_cpp='$CPP $CPPFLAGS'
82356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82359
82360
82361 fi
82362
82363   fi
82364   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
82365 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
82366
82367   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
82368
82369 for ac_func in sincos
82370 do
82371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82372 echo "$as_me:$LINENO: checking for $ac_func" >&5
82373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82374 if eval "test \"\${$as_ac_var+set}\" = set"; then
82375   echo $ECHO_N "(cached) $ECHO_C" >&6
82376 else
82377   if test x$gcc_no_link = xyes; then
82378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82380    { (exit 1); exit 1; }; }
82381 fi
82382 cat >conftest.$ac_ext <<_ACEOF
82383 /* confdefs.h.  */
82384 _ACEOF
82385 cat confdefs.h >>conftest.$ac_ext
82386 cat >>conftest.$ac_ext <<_ACEOF
82387 /* end confdefs.h.  */
82388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82390 #define $ac_func innocuous_$ac_func
82391
82392 /* System header to define __stub macros and hopefully few prototypes,
82393     which can conflict with char $ac_func (); below.
82394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82395     <limits.h> exists even on freestanding compilers.  */
82396
82397 #ifdef __STDC__
82398 # include <limits.h>
82399 #else
82400 # include <assert.h>
82401 #endif
82402
82403 #undef $ac_func
82404
82405 /* Override any gcc2 internal prototype to avoid an error.  */
82406 #ifdef __cplusplus
82407 extern "C"
82408 {
82409 #endif
82410 /* We use char because int might match the return type of a gcc2
82411    builtin and then its argument prototype would still apply.  */
82412 char $ac_func ();
82413 /* The GNU C library defines this for functions which it implements
82414     to always fail with ENOSYS.  Some functions are actually named
82415     something starting with __ and the normal name is an alias.  */
82416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82417 choke me
82418 #else
82419 char (*f) () = $ac_func;
82420 #endif
82421 #ifdef __cplusplus
82422 }
82423 #endif
82424
82425 int
82426 main ()
82427 {
82428 return f != $ac_func;
82429   ;
82430   return 0;
82431 }
82432 _ACEOF
82433 rm -f conftest.$ac_objext conftest$ac_exeext
82434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82435   (eval $ac_link) 2>conftest.er1
82436   ac_status=$?
82437   grep -v '^ *+' conftest.er1 >conftest.err
82438   rm -f conftest.er1
82439   cat conftest.err >&5
82440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82441   (exit $ac_status); } &&
82442          { ac_try='test -z "$ac_c_werror_flag"
82443                          || test ! -s conftest.err'
82444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82445   (eval $ac_try) 2>&5
82446   ac_status=$?
82447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82448   (exit $ac_status); }; } &&
82449          { ac_try='test -s conftest$ac_exeext'
82450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82451   (eval $ac_try) 2>&5
82452   ac_status=$?
82453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454   (exit $ac_status); }; }; then
82455   eval "$as_ac_var=yes"
82456 else
82457   echo "$as_me: failed program was:" >&5
82458 sed 's/^/| /' conftest.$ac_ext >&5
82459
82460 eval "$as_ac_var=no"
82461 fi
82462 rm -f conftest.err conftest.$ac_objext \
82463       conftest$ac_exeext conftest.$ac_ext
82464 fi
82465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82467 if test `eval echo '${'$as_ac_var'}'` = yes; then
82468   cat >>confdefs.h <<_ACEOF
82469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82470 _ACEOF
82471
82472 fi
82473 done
82474
82475   else
82476
82477   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
82478 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
82479   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
82480     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
82481   echo $ECHO_N "(cached) $ECHO_C" >&6
82482 else
82483
82484
82485
82486       ac_ext=cc
82487 ac_cpp='$CXXCPP $CPPFLAGS'
82488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82491
82492       cat >conftest.$ac_ext <<_ACEOF
82493 /* confdefs.h.  */
82494 _ACEOF
82495 cat confdefs.h >>conftest.$ac_ext
82496 cat >>conftest.$ac_ext <<_ACEOF
82497 /* end confdefs.h.  */
82498 #include <math.h>
82499 int
82500 main ()
82501 {
82502  _sincos(0, 0, 0);
82503   ;
82504   return 0;
82505 }
82506 _ACEOF
82507 rm -f conftest.$ac_objext
82508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82509   (eval $ac_compile) 2>conftest.er1
82510   ac_status=$?
82511   grep -v '^ *+' conftest.er1 >conftest.err
82512   rm -f conftest.er1
82513   cat conftest.err >&5
82514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515   (exit $ac_status); } &&
82516          { ac_try='test -z "$ac_cxx_werror_flag"
82517                          || test ! -s conftest.err'
82518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82519   (eval $ac_try) 2>&5
82520   ac_status=$?
82521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82522   (exit $ac_status); }; } &&
82523          { ac_try='test -s conftest.$ac_objext'
82524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82525   (eval $ac_try) 2>&5
82526   ac_status=$?
82527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82528   (exit $ac_status); }; }; then
82529   glibcxx_cv_func__sincos_use=yes
82530 else
82531   echo "$as_me: failed program was:" >&5
82532 sed 's/^/| /' conftest.$ac_ext >&5
82533
82534 glibcxx_cv_func__sincos_use=no
82535 fi
82536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82537       ac_ext=c
82538 ac_cpp='$CPP $CPPFLAGS'
82539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82542
82543
82544 fi
82545
82546   fi
82547   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
82548 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
82549
82550     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
82551
82552 for ac_func in _sincos
82553 do
82554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82555 echo "$as_me:$LINENO: checking for $ac_func" >&5
82556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82557 if eval "test \"\${$as_ac_var+set}\" = set"; then
82558   echo $ECHO_N "(cached) $ECHO_C" >&6
82559 else
82560   if test x$gcc_no_link = xyes; then
82561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82563    { (exit 1); exit 1; }; }
82564 fi
82565 cat >conftest.$ac_ext <<_ACEOF
82566 /* confdefs.h.  */
82567 _ACEOF
82568 cat confdefs.h >>conftest.$ac_ext
82569 cat >>conftest.$ac_ext <<_ACEOF
82570 /* end confdefs.h.  */
82571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82573 #define $ac_func innocuous_$ac_func
82574
82575 /* System header to define __stub macros and hopefully few prototypes,
82576     which can conflict with char $ac_func (); below.
82577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82578     <limits.h> exists even on freestanding compilers.  */
82579
82580 #ifdef __STDC__
82581 # include <limits.h>
82582 #else
82583 # include <assert.h>
82584 #endif
82585
82586 #undef $ac_func
82587
82588 /* Override any gcc2 internal prototype to avoid an error.  */
82589 #ifdef __cplusplus
82590 extern "C"
82591 {
82592 #endif
82593 /* We use char because int might match the return type of a gcc2
82594    builtin and then its argument prototype would still apply.  */
82595 char $ac_func ();
82596 /* The GNU C library defines this for functions which it implements
82597     to always fail with ENOSYS.  Some functions are actually named
82598     something starting with __ and the normal name is an alias.  */
82599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82600 choke me
82601 #else
82602 char (*f) () = $ac_func;
82603 #endif
82604 #ifdef __cplusplus
82605 }
82606 #endif
82607
82608 int
82609 main ()
82610 {
82611 return f != $ac_func;
82612   ;
82613   return 0;
82614 }
82615 _ACEOF
82616 rm -f conftest.$ac_objext conftest$ac_exeext
82617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82618   (eval $ac_link) 2>conftest.er1
82619   ac_status=$?
82620   grep -v '^ *+' conftest.er1 >conftest.err
82621   rm -f conftest.er1
82622   cat conftest.err >&5
82623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82624   (exit $ac_status); } &&
82625          { ac_try='test -z "$ac_c_werror_flag"
82626                          || test ! -s conftest.err'
82627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82628   (eval $ac_try) 2>&5
82629   ac_status=$?
82630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631   (exit $ac_status); }; } &&
82632          { ac_try='test -s conftest$ac_exeext'
82633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82634   (eval $ac_try) 2>&5
82635   ac_status=$?
82636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82637   (exit $ac_status); }; }; then
82638   eval "$as_ac_var=yes"
82639 else
82640   echo "$as_me: failed program was:" >&5
82641 sed 's/^/| /' conftest.$ac_ext >&5
82642
82643 eval "$as_ac_var=no"
82644 fi
82645 rm -f conftest.err conftest.$ac_objext \
82646       conftest$ac_exeext conftest.$ac_ext
82647 fi
82648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82650 if test `eval echo '${'$as_ac_var'}'` = yes; then
82651   cat >>confdefs.h <<_ACEOF
82652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82653 _ACEOF
82654
82655 fi
82656 done
82657
82658     fi
82659   fi
82660
82661
82662
82663
82664
82665
82666   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
82667 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
82668   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
82669     if test "${glibcxx_cv_func_fpclass_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                       #ifdef HAVE_IEEEFP_H
82689                       #include <ieeefp.h>
82690                       #endif
82691
82692 int
82693 main ()
82694 {
82695  fpclass(0);
82696   ;
82697   return 0;
82698 }
82699 _ACEOF
82700 rm -f conftest.$ac_objext
82701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82702   (eval $ac_compile) 2>conftest.er1
82703   ac_status=$?
82704   grep -v '^ *+' conftest.er1 >conftest.err
82705   rm -f conftest.er1
82706   cat conftest.err >&5
82707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82708   (exit $ac_status); } &&
82709          { ac_try='test -z "$ac_cxx_werror_flag"
82710                          || test ! -s conftest.err'
82711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82712   (eval $ac_try) 2>&5
82713   ac_status=$?
82714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82715   (exit $ac_status); }; } &&
82716          { ac_try='test -s conftest.$ac_objext'
82717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718   (eval $ac_try) 2>&5
82719   ac_status=$?
82720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721   (exit $ac_status); }; }; then
82722   glibcxx_cv_func_fpclass_use=yes
82723 else
82724   echo "$as_me: failed program was:" >&5
82725 sed 's/^/| /' conftest.$ac_ext >&5
82726
82727 glibcxx_cv_func_fpclass_use=no
82728 fi
82729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82730       ac_ext=c
82731 ac_cpp='$CPP $CPPFLAGS'
82732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82735
82736
82737 fi
82738
82739   fi
82740   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
82741 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
82742
82743   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
82744
82745 for ac_func in fpclass
82746 do
82747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82748 echo "$as_me:$LINENO: checking for $ac_func" >&5
82749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82750 if eval "test \"\${$as_ac_var+set}\" = set"; then
82751   echo $ECHO_N "(cached) $ECHO_C" >&6
82752 else
82753   if test x$gcc_no_link = xyes; then
82754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82756    { (exit 1); exit 1; }; }
82757 fi
82758 cat >conftest.$ac_ext <<_ACEOF
82759 /* confdefs.h.  */
82760 _ACEOF
82761 cat confdefs.h >>conftest.$ac_ext
82762 cat >>conftest.$ac_ext <<_ACEOF
82763 /* end confdefs.h.  */
82764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82766 #define $ac_func innocuous_$ac_func
82767
82768 /* System header to define __stub macros and hopefully few prototypes,
82769     which can conflict with char $ac_func (); below.
82770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82771     <limits.h> exists even on freestanding compilers.  */
82772
82773 #ifdef __STDC__
82774 # include <limits.h>
82775 #else
82776 # include <assert.h>
82777 #endif
82778
82779 #undef $ac_func
82780
82781 /* Override any gcc2 internal prototype to avoid an error.  */
82782 #ifdef __cplusplus
82783 extern "C"
82784 {
82785 #endif
82786 /* We use char because int might match the return type of a gcc2
82787    builtin and then its argument prototype would still apply.  */
82788 char $ac_func ();
82789 /* The GNU C library defines this for functions which it implements
82790     to always fail with ENOSYS.  Some functions are actually named
82791     something starting with __ and the normal name is an alias.  */
82792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82793 choke me
82794 #else
82795 char (*f) () = $ac_func;
82796 #endif
82797 #ifdef __cplusplus
82798 }
82799 #endif
82800
82801 int
82802 main ()
82803 {
82804 return f != $ac_func;
82805   ;
82806   return 0;
82807 }
82808 _ACEOF
82809 rm -f conftest.$ac_objext conftest$ac_exeext
82810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82811   (eval $ac_link) 2>conftest.er1
82812   ac_status=$?
82813   grep -v '^ *+' conftest.er1 >conftest.err
82814   rm -f conftest.er1
82815   cat conftest.err >&5
82816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82817   (exit $ac_status); } &&
82818          { ac_try='test -z "$ac_c_werror_flag"
82819                          || test ! -s conftest.err'
82820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82821   (eval $ac_try) 2>&5
82822   ac_status=$?
82823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82824   (exit $ac_status); }; } &&
82825          { ac_try='test -s conftest$ac_exeext'
82826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82827   (eval $ac_try) 2>&5
82828   ac_status=$?
82829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82830   (exit $ac_status); }; }; then
82831   eval "$as_ac_var=yes"
82832 else
82833   echo "$as_me: failed program was:" >&5
82834 sed 's/^/| /' conftest.$ac_ext >&5
82835
82836 eval "$as_ac_var=no"
82837 fi
82838 rm -f conftest.err conftest.$ac_objext \
82839       conftest$ac_exeext conftest.$ac_ext
82840 fi
82841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82843 if test `eval echo '${'$as_ac_var'}'` = yes; then
82844   cat >>confdefs.h <<_ACEOF
82845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82846 _ACEOF
82847
82848 fi
82849 done
82850
82851   else
82852
82853   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
82854 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
82855   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
82856     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
82857   echo $ECHO_N "(cached) $ECHO_C" >&6
82858 else
82859
82860
82861
82862       ac_ext=cc
82863 ac_cpp='$CXXCPP $CPPFLAGS'
82864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82867
82868       cat >conftest.$ac_ext <<_ACEOF
82869 /* confdefs.h.  */
82870 _ACEOF
82871 cat confdefs.h >>conftest.$ac_ext
82872 cat >>conftest.$ac_ext <<_ACEOF
82873 /* end confdefs.h.  */
82874 #include <math.h>
82875                       #ifdef HAVE_IEEEFP_H
82876                       #include <ieeefp.h>
82877                       #endif
82878
82879 int
82880 main ()
82881 {
82882  _fpclass(0);
82883   ;
82884   return 0;
82885 }
82886 _ACEOF
82887 rm -f conftest.$ac_objext
82888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82889   (eval $ac_compile) 2>conftest.er1
82890   ac_status=$?
82891   grep -v '^ *+' conftest.er1 >conftest.err
82892   rm -f conftest.er1
82893   cat conftest.err >&5
82894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895   (exit $ac_status); } &&
82896          { ac_try='test -z "$ac_cxx_werror_flag"
82897                          || test ! -s conftest.err'
82898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82899   (eval $ac_try) 2>&5
82900   ac_status=$?
82901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902   (exit $ac_status); }; } &&
82903          { ac_try='test -s conftest.$ac_objext'
82904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82905   (eval $ac_try) 2>&5
82906   ac_status=$?
82907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82908   (exit $ac_status); }; }; then
82909   glibcxx_cv_func__fpclass_use=yes
82910 else
82911   echo "$as_me: failed program was:" >&5
82912 sed 's/^/| /' conftest.$ac_ext >&5
82913
82914 glibcxx_cv_func__fpclass_use=no
82915 fi
82916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82917       ac_ext=c
82918 ac_cpp='$CPP $CPPFLAGS'
82919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82922
82923
82924 fi
82925
82926   fi
82927   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
82928 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
82929
82930     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
82931
82932 for ac_func in _fpclass
82933 do
82934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82935 echo "$as_me:$LINENO: checking for $ac_func" >&5
82936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82937 if eval "test \"\${$as_ac_var+set}\" = set"; then
82938   echo $ECHO_N "(cached) $ECHO_C" >&6
82939 else
82940   if test x$gcc_no_link = xyes; then
82941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82943    { (exit 1); exit 1; }; }
82944 fi
82945 cat >conftest.$ac_ext <<_ACEOF
82946 /* confdefs.h.  */
82947 _ACEOF
82948 cat confdefs.h >>conftest.$ac_ext
82949 cat >>conftest.$ac_ext <<_ACEOF
82950 /* end confdefs.h.  */
82951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82953 #define $ac_func innocuous_$ac_func
82954
82955 /* System header to define __stub macros and hopefully few prototypes,
82956     which can conflict with char $ac_func (); below.
82957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82958     <limits.h> exists even on freestanding compilers.  */
82959
82960 #ifdef __STDC__
82961 # include <limits.h>
82962 #else
82963 # include <assert.h>
82964 #endif
82965
82966 #undef $ac_func
82967
82968 /* Override any gcc2 internal prototype to avoid an error.  */
82969 #ifdef __cplusplus
82970 extern "C"
82971 {
82972 #endif
82973 /* We use char because int might match the return type of a gcc2
82974    builtin and then its argument prototype would still apply.  */
82975 char $ac_func ();
82976 /* The GNU C library defines this for functions which it implements
82977     to always fail with ENOSYS.  Some functions are actually named
82978     something starting with __ and the normal name is an alias.  */
82979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82980 choke me
82981 #else
82982 char (*f) () = $ac_func;
82983 #endif
82984 #ifdef __cplusplus
82985 }
82986 #endif
82987
82988 int
82989 main ()
82990 {
82991 return f != $ac_func;
82992   ;
82993   return 0;
82994 }
82995 _ACEOF
82996 rm -f conftest.$ac_objext conftest$ac_exeext
82997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82998   (eval $ac_link) 2>conftest.er1
82999   ac_status=$?
83000   grep -v '^ *+' conftest.er1 >conftest.err
83001   rm -f conftest.er1
83002   cat conftest.err >&5
83003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83004   (exit $ac_status); } &&
83005          { ac_try='test -z "$ac_c_werror_flag"
83006                          || test ! -s conftest.err'
83007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83008   (eval $ac_try) 2>&5
83009   ac_status=$?
83010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011   (exit $ac_status); }; } &&
83012          { ac_try='test -s conftest$ac_exeext'
83013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83014   (eval $ac_try) 2>&5
83015   ac_status=$?
83016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83017   (exit $ac_status); }; }; then
83018   eval "$as_ac_var=yes"
83019 else
83020   echo "$as_me: failed program was:" >&5
83021 sed 's/^/| /' conftest.$ac_ext >&5
83022
83023 eval "$as_ac_var=no"
83024 fi
83025 rm -f conftest.err conftest.$ac_objext \
83026       conftest$ac_exeext conftest.$ac_ext
83027 fi
83028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83030 if test `eval echo '${'$as_ac_var'}'` = yes; then
83031   cat >>confdefs.h <<_ACEOF
83032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83033 _ACEOF
83034
83035 fi
83036 done
83037
83038     fi
83039   fi
83040
83041
83042
83043
83044
83045
83046   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
83047 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
83048   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
83049     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
83050   echo $ECHO_N "(cached) $ECHO_C" >&6
83051 else
83052
83053
83054
83055       ac_ext=cc
83056 ac_cpp='$CXXCPP $CPPFLAGS'
83057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83060
83061       cat >conftest.$ac_ext <<_ACEOF
83062 /* confdefs.h.  */
83063 _ACEOF
83064 cat confdefs.h >>conftest.$ac_ext
83065 cat >>conftest.$ac_ext <<_ACEOF
83066 /* end confdefs.h.  */
83067 #include <math.h>
83068                       #ifdef HAVE_IEEEFP_H
83069                       #include <ieeefp.h>
83070                       #endif
83071
83072 int
83073 main ()
83074 {
83075  qfpclass(0);
83076   ;
83077   return 0;
83078 }
83079 _ACEOF
83080 rm -f conftest.$ac_objext
83081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83082   (eval $ac_compile) 2>conftest.er1
83083   ac_status=$?
83084   grep -v '^ *+' conftest.er1 >conftest.err
83085   rm -f conftest.er1
83086   cat conftest.err >&5
83087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83088   (exit $ac_status); } &&
83089          { ac_try='test -z "$ac_cxx_werror_flag"
83090                          || test ! -s conftest.err'
83091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83092   (eval $ac_try) 2>&5
83093   ac_status=$?
83094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83095   (exit $ac_status); }; } &&
83096          { ac_try='test -s conftest.$ac_objext'
83097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83098   (eval $ac_try) 2>&5
83099   ac_status=$?
83100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83101   (exit $ac_status); }; }; then
83102   glibcxx_cv_func_qfpclass_use=yes
83103 else
83104   echo "$as_me: failed program was:" >&5
83105 sed 's/^/| /' conftest.$ac_ext >&5
83106
83107 glibcxx_cv_func_qfpclass_use=no
83108 fi
83109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83110       ac_ext=c
83111 ac_cpp='$CPP $CPPFLAGS'
83112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83115
83116
83117 fi
83118
83119   fi
83120   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
83121 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
83122
83123   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
83124
83125 for ac_func in qfpclass
83126 do
83127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83128 echo "$as_me:$LINENO: checking for $ac_func" >&5
83129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83130 if eval "test \"\${$as_ac_var+set}\" = set"; then
83131   echo $ECHO_N "(cached) $ECHO_C" >&6
83132 else
83133   if test x$gcc_no_link = xyes; then
83134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83136    { (exit 1); exit 1; }; }
83137 fi
83138 cat >conftest.$ac_ext <<_ACEOF
83139 /* confdefs.h.  */
83140 _ACEOF
83141 cat confdefs.h >>conftest.$ac_ext
83142 cat >>conftest.$ac_ext <<_ACEOF
83143 /* end confdefs.h.  */
83144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83146 #define $ac_func innocuous_$ac_func
83147
83148 /* System header to define __stub macros and hopefully few prototypes,
83149     which can conflict with char $ac_func (); below.
83150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83151     <limits.h> exists even on freestanding compilers.  */
83152
83153 #ifdef __STDC__
83154 # include <limits.h>
83155 #else
83156 # include <assert.h>
83157 #endif
83158
83159 #undef $ac_func
83160
83161 /* Override any gcc2 internal prototype to avoid an error.  */
83162 #ifdef __cplusplus
83163 extern "C"
83164 {
83165 #endif
83166 /* We use char because int might match the return type of a gcc2
83167    builtin and then its argument prototype would still apply.  */
83168 char $ac_func ();
83169 /* The GNU C library defines this for functions which it implements
83170     to always fail with ENOSYS.  Some functions are actually named
83171     something starting with __ and the normal name is an alias.  */
83172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83173 choke me
83174 #else
83175 char (*f) () = $ac_func;
83176 #endif
83177 #ifdef __cplusplus
83178 }
83179 #endif
83180
83181 int
83182 main ()
83183 {
83184 return f != $ac_func;
83185   ;
83186   return 0;
83187 }
83188 _ACEOF
83189 rm -f conftest.$ac_objext conftest$ac_exeext
83190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83191   (eval $ac_link) 2>conftest.er1
83192   ac_status=$?
83193   grep -v '^ *+' conftest.er1 >conftest.err
83194   rm -f conftest.er1
83195   cat conftest.err >&5
83196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83197   (exit $ac_status); } &&
83198          { ac_try='test -z "$ac_c_werror_flag"
83199                          || test ! -s conftest.err'
83200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83201   (eval $ac_try) 2>&5
83202   ac_status=$?
83203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83204   (exit $ac_status); }; } &&
83205          { ac_try='test -s conftest$ac_exeext'
83206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83207   (eval $ac_try) 2>&5
83208   ac_status=$?
83209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83210   (exit $ac_status); }; }; then
83211   eval "$as_ac_var=yes"
83212 else
83213   echo "$as_me: failed program was:" >&5
83214 sed 's/^/| /' conftest.$ac_ext >&5
83215
83216 eval "$as_ac_var=no"
83217 fi
83218 rm -f conftest.err conftest.$ac_objext \
83219       conftest$ac_exeext conftest.$ac_ext
83220 fi
83221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83223 if test `eval echo '${'$as_ac_var'}'` = yes; then
83224   cat >>confdefs.h <<_ACEOF
83225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83226 _ACEOF
83227
83228 fi
83229 done
83230
83231   else
83232
83233   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
83234 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
83235   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
83236     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
83237   echo $ECHO_N "(cached) $ECHO_C" >&6
83238 else
83239
83240
83241
83242       ac_ext=cc
83243 ac_cpp='$CXXCPP $CPPFLAGS'
83244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83247
83248       cat >conftest.$ac_ext <<_ACEOF
83249 /* confdefs.h.  */
83250 _ACEOF
83251 cat confdefs.h >>conftest.$ac_ext
83252 cat >>conftest.$ac_ext <<_ACEOF
83253 /* end confdefs.h.  */
83254 #include <math.h>
83255                       #ifdef HAVE_IEEEFP_H
83256                       #include <ieeefp.h>
83257                       #endif
83258
83259 int
83260 main ()
83261 {
83262  _qfpclass(0);
83263   ;
83264   return 0;
83265 }
83266 _ACEOF
83267 rm -f conftest.$ac_objext
83268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83269   (eval $ac_compile) 2>conftest.er1
83270   ac_status=$?
83271   grep -v '^ *+' conftest.er1 >conftest.err
83272   rm -f conftest.er1
83273   cat conftest.err >&5
83274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83275   (exit $ac_status); } &&
83276          { ac_try='test -z "$ac_cxx_werror_flag"
83277                          || test ! -s conftest.err'
83278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83279   (eval $ac_try) 2>&5
83280   ac_status=$?
83281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83282   (exit $ac_status); }; } &&
83283          { ac_try='test -s conftest.$ac_objext'
83284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83285   (eval $ac_try) 2>&5
83286   ac_status=$?
83287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83288   (exit $ac_status); }; }; then
83289   glibcxx_cv_func__qfpclass_use=yes
83290 else
83291   echo "$as_me: failed program was:" >&5
83292 sed 's/^/| /' conftest.$ac_ext >&5
83293
83294 glibcxx_cv_func__qfpclass_use=no
83295 fi
83296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83297       ac_ext=c
83298 ac_cpp='$CPP $CPPFLAGS'
83299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83302
83303
83304 fi
83305
83306   fi
83307   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
83308 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
83309
83310     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
83311
83312 for ac_func in _qfpclass
83313 do
83314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83315 echo "$as_me:$LINENO: checking for $ac_func" >&5
83316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83317 if eval "test \"\${$as_ac_var+set}\" = set"; then
83318   echo $ECHO_N "(cached) $ECHO_C" >&6
83319 else
83320   if test x$gcc_no_link = xyes; then
83321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83323    { (exit 1); exit 1; }; }
83324 fi
83325 cat >conftest.$ac_ext <<_ACEOF
83326 /* confdefs.h.  */
83327 _ACEOF
83328 cat confdefs.h >>conftest.$ac_ext
83329 cat >>conftest.$ac_ext <<_ACEOF
83330 /* end confdefs.h.  */
83331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83333 #define $ac_func innocuous_$ac_func
83334
83335 /* System header to define __stub macros and hopefully few prototypes,
83336     which can conflict with char $ac_func (); below.
83337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83338     <limits.h> exists even on freestanding compilers.  */
83339
83340 #ifdef __STDC__
83341 # include <limits.h>
83342 #else
83343 # include <assert.h>
83344 #endif
83345
83346 #undef $ac_func
83347
83348 /* Override any gcc2 internal prototype to avoid an error.  */
83349 #ifdef __cplusplus
83350 extern "C"
83351 {
83352 #endif
83353 /* We use char because int might match the return type of a gcc2
83354    builtin and then its argument prototype would still apply.  */
83355 char $ac_func ();
83356 /* The GNU C library defines this for functions which it implements
83357     to always fail with ENOSYS.  Some functions are actually named
83358     something starting with __ and the normal name is an alias.  */
83359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83360 choke me
83361 #else
83362 char (*f) () = $ac_func;
83363 #endif
83364 #ifdef __cplusplus
83365 }
83366 #endif
83367
83368 int
83369 main ()
83370 {
83371 return f != $ac_func;
83372   ;
83373   return 0;
83374 }
83375 _ACEOF
83376 rm -f conftest.$ac_objext conftest$ac_exeext
83377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83378   (eval $ac_link) 2>conftest.er1
83379   ac_status=$?
83380   grep -v '^ *+' conftest.er1 >conftest.err
83381   rm -f conftest.er1
83382   cat conftest.err >&5
83383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83384   (exit $ac_status); } &&
83385          { ac_try='test -z "$ac_c_werror_flag"
83386                          || test ! -s conftest.err'
83387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83388   (eval $ac_try) 2>&5
83389   ac_status=$?
83390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83391   (exit $ac_status); }; } &&
83392          { ac_try='test -s conftest$ac_exeext'
83393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83394   (eval $ac_try) 2>&5
83395   ac_status=$?
83396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83397   (exit $ac_status); }; }; then
83398   eval "$as_ac_var=yes"
83399 else
83400   echo "$as_me: failed program was:" >&5
83401 sed 's/^/| /' conftest.$ac_ext >&5
83402
83403 eval "$as_ac_var=no"
83404 fi
83405 rm -f conftest.err conftest.$ac_objext \
83406       conftest$ac_exeext conftest.$ac_ext
83407 fi
83408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83410 if test `eval echo '${'$as_ac_var'}'` = yes; then
83411   cat >>confdefs.h <<_ACEOF
83412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83413 _ACEOF
83414
83415 fi
83416 done
83417
83418     fi
83419   fi
83420
83421
83422
83423
83424
83425
83426   echo "$as_me:$LINENO: checking for hypot declaration" >&5
83427 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
83428   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
83429     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
83430   echo $ECHO_N "(cached) $ECHO_C" >&6
83431 else
83432
83433
83434
83435       ac_ext=cc
83436 ac_cpp='$CXXCPP $CPPFLAGS'
83437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83440
83441       cat >conftest.$ac_ext <<_ACEOF
83442 /* confdefs.h.  */
83443 _ACEOF
83444 cat confdefs.h >>conftest.$ac_ext
83445 cat >>conftest.$ac_ext <<_ACEOF
83446 /* end confdefs.h.  */
83447 #include <math.h>
83448 int
83449 main ()
83450 {
83451  hypot(0, 0);
83452   ;
83453   return 0;
83454 }
83455 _ACEOF
83456 rm -f conftest.$ac_objext
83457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83458   (eval $ac_compile) 2>conftest.er1
83459   ac_status=$?
83460   grep -v '^ *+' conftest.er1 >conftest.err
83461   rm -f conftest.er1
83462   cat conftest.err >&5
83463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83464   (exit $ac_status); } &&
83465          { ac_try='test -z "$ac_cxx_werror_flag"
83466                          || test ! -s conftest.err'
83467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83468   (eval $ac_try) 2>&5
83469   ac_status=$?
83470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83471   (exit $ac_status); }; } &&
83472          { ac_try='test -s conftest.$ac_objext'
83473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83474   (eval $ac_try) 2>&5
83475   ac_status=$?
83476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83477   (exit $ac_status); }; }; then
83478   glibcxx_cv_func_hypot_use=yes
83479 else
83480   echo "$as_me: failed program was:" >&5
83481 sed 's/^/| /' conftest.$ac_ext >&5
83482
83483 glibcxx_cv_func_hypot_use=no
83484 fi
83485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83486       ac_ext=c
83487 ac_cpp='$CPP $CPPFLAGS'
83488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83491
83492
83493 fi
83494
83495   fi
83496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
83497 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
83498
83499   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
83500
83501 for ac_func in hypot
83502 do
83503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83504 echo "$as_me:$LINENO: checking for $ac_func" >&5
83505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83506 if eval "test \"\${$as_ac_var+set}\" = set"; then
83507   echo $ECHO_N "(cached) $ECHO_C" >&6
83508 else
83509   if test x$gcc_no_link = xyes; then
83510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83512    { (exit 1); exit 1; }; }
83513 fi
83514 cat >conftest.$ac_ext <<_ACEOF
83515 /* confdefs.h.  */
83516 _ACEOF
83517 cat confdefs.h >>conftest.$ac_ext
83518 cat >>conftest.$ac_ext <<_ACEOF
83519 /* end confdefs.h.  */
83520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83522 #define $ac_func innocuous_$ac_func
83523
83524 /* System header to define __stub macros and hopefully few prototypes,
83525     which can conflict with char $ac_func (); below.
83526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83527     <limits.h> exists even on freestanding compilers.  */
83528
83529 #ifdef __STDC__
83530 # include <limits.h>
83531 #else
83532 # include <assert.h>
83533 #endif
83534
83535 #undef $ac_func
83536
83537 /* Override any gcc2 internal prototype to avoid an error.  */
83538 #ifdef __cplusplus
83539 extern "C"
83540 {
83541 #endif
83542 /* We use char because int might match the return type of a gcc2
83543    builtin and then its argument prototype would still apply.  */
83544 char $ac_func ();
83545 /* The GNU C library defines this for functions which it implements
83546     to always fail with ENOSYS.  Some functions are actually named
83547     something starting with __ and the normal name is an alias.  */
83548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83549 choke me
83550 #else
83551 char (*f) () = $ac_func;
83552 #endif
83553 #ifdef __cplusplus
83554 }
83555 #endif
83556
83557 int
83558 main ()
83559 {
83560 return f != $ac_func;
83561   ;
83562   return 0;
83563 }
83564 _ACEOF
83565 rm -f conftest.$ac_objext conftest$ac_exeext
83566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83567   (eval $ac_link) 2>conftest.er1
83568   ac_status=$?
83569   grep -v '^ *+' conftest.er1 >conftest.err
83570   rm -f conftest.er1
83571   cat conftest.err >&5
83572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83573   (exit $ac_status); } &&
83574          { ac_try='test -z "$ac_c_werror_flag"
83575                          || test ! -s conftest.err'
83576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83577   (eval $ac_try) 2>&5
83578   ac_status=$?
83579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83580   (exit $ac_status); }; } &&
83581          { ac_try='test -s conftest$ac_exeext'
83582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83583   (eval $ac_try) 2>&5
83584   ac_status=$?
83585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83586   (exit $ac_status); }; }; then
83587   eval "$as_ac_var=yes"
83588 else
83589   echo "$as_me: failed program was:" >&5
83590 sed 's/^/| /' conftest.$ac_ext >&5
83591
83592 eval "$as_ac_var=no"
83593 fi
83594 rm -f conftest.err conftest.$ac_objext \
83595       conftest$ac_exeext conftest.$ac_ext
83596 fi
83597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83599 if test `eval echo '${'$as_ac_var'}'` = yes; then
83600   cat >>confdefs.h <<_ACEOF
83601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83602 _ACEOF
83603
83604 fi
83605 done
83606
83607   else
83608
83609   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
83610 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
83611   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
83612     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
83613   echo $ECHO_N "(cached) $ECHO_C" >&6
83614 else
83615
83616
83617
83618       ac_ext=cc
83619 ac_cpp='$CXXCPP $CPPFLAGS'
83620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83623
83624       cat >conftest.$ac_ext <<_ACEOF
83625 /* confdefs.h.  */
83626 _ACEOF
83627 cat confdefs.h >>conftest.$ac_ext
83628 cat >>conftest.$ac_ext <<_ACEOF
83629 /* end confdefs.h.  */
83630 #include <math.h>
83631 int
83632 main ()
83633 {
83634  _hypot(0, 0);
83635   ;
83636   return 0;
83637 }
83638 _ACEOF
83639 rm -f conftest.$ac_objext
83640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83641   (eval $ac_compile) 2>conftest.er1
83642   ac_status=$?
83643   grep -v '^ *+' conftest.er1 >conftest.err
83644   rm -f conftest.er1
83645   cat conftest.err >&5
83646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83647   (exit $ac_status); } &&
83648          { ac_try='test -z "$ac_cxx_werror_flag"
83649                          || test ! -s conftest.err'
83650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83651   (eval $ac_try) 2>&5
83652   ac_status=$?
83653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83654   (exit $ac_status); }; } &&
83655          { ac_try='test -s conftest.$ac_objext'
83656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83657   (eval $ac_try) 2>&5
83658   ac_status=$?
83659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83660   (exit $ac_status); }; }; then
83661   glibcxx_cv_func__hypot_use=yes
83662 else
83663   echo "$as_me: failed program was:" >&5
83664 sed 's/^/| /' conftest.$ac_ext >&5
83665
83666 glibcxx_cv_func__hypot_use=no
83667 fi
83668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83669       ac_ext=c
83670 ac_cpp='$CPP $CPPFLAGS'
83671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83674
83675
83676 fi
83677
83678   fi
83679   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
83680 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
83681
83682     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
83683
83684 for ac_func in _hypot
83685 do
83686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83687 echo "$as_me:$LINENO: checking for $ac_func" >&5
83688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83689 if eval "test \"\${$as_ac_var+set}\" = set"; then
83690   echo $ECHO_N "(cached) $ECHO_C" >&6
83691 else
83692   if test x$gcc_no_link = xyes; then
83693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83695    { (exit 1); exit 1; }; }
83696 fi
83697 cat >conftest.$ac_ext <<_ACEOF
83698 /* confdefs.h.  */
83699 _ACEOF
83700 cat confdefs.h >>conftest.$ac_ext
83701 cat >>conftest.$ac_ext <<_ACEOF
83702 /* end confdefs.h.  */
83703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83705 #define $ac_func innocuous_$ac_func
83706
83707 /* System header to define __stub macros and hopefully few prototypes,
83708     which can conflict with char $ac_func (); below.
83709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83710     <limits.h> exists even on freestanding compilers.  */
83711
83712 #ifdef __STDC__
83713 # include <limits.h>
83714 #else
83715 # include <assert.h>
83716 #endif
83717
83718 #undef $ac_func
83719
83720 /* Override any gcc2 internal prototype to avoid an error.  */
83721 #ifdef __cplusplus
83722 extern "C"
83723 {
83724 #endif
83725 /* We use char because int might match the return type of a gcc2
83726    builtin and then its argument prototype would still apply.  */
83727 char $ac_func ();
83728 /* The GNU C library defines this for functions which it implements
83729     to always fail with ENOSYS.  Some functions are actually named
83730     something starting with __ and the normal name is an alias.  */
83731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83732 choke me
83733 #else
83734 char (*f) () = $ac_func;
83735 #endif
83736 #ifdef __cplusplus
83737 }
83738 #endif
83739
83740 int
83741 main ()
83742 {
83743 return f != $ac_func;
83744   ;
83745   return 0;
83746 }
83747 _ACEOF
83748 rm -f conftest.$ac_objext conftest$ac_exeext
83749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83750   (eval $ac_link) 2>conftest.er1
83751   ac_status=$?
83752   grep -v '^ *+' conftest.er1 >conftest.err
83753   rm -f conftest.er1
83754   cat conftest.err >&5
83755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83756   (exit $ac_status); } &&
83757          { ac_try='test -z "$ac_c_werror_flag"
83758                          || test ! -s conftest.err'
83759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83760   (eval $ac_try) 2>&5
83761   ac_status=$?
83762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83763   (exit $ac_status); }; } &&
83764          { ac_try='test -s conftest$ac_exeext'
83765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83766   (eval $ac_try) 2>&5
83767   ac_status=$?
83768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83769   (exit $ac_status); }; }; then
83770   eval "$as_ac_var=yes"
83771 else
83772   echo "$as_me: failed program was:" >&5
83773 sed 's/^/| /' conftest.$ac_ext >&5
83774
83775 eval "$as_ac_var=no"
83776 fi
83777 rm -f conftest.err conftest.$ac_objext \
83778       conftest$ac_exeext conftest.$ac_ext
83779 fi
83780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83782 if test `eval echo '${'$as_ac_var'}'` = yes; then
83783   cat >>confdefs.h <<_ACEOF
83784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83785 _ACEOF
83786
83787 fi
83788 done
83789
83790     fi
83791   fi
83792
83793
83794
83795
83796
83797
83798     echo "$as_me:$LINENO: checking for float trig functions" >&5
83799 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
83800   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
83801   echo $ECHO_N "(cached) $ECHO_C" >&6
83802 else
83803
83804
83805
83806     ac_ext=cc
83807 ac_cpp='$CXXCPP $CPPFLAGS'
83808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83811
83812     cat >conftest.$ac_ext <<_ACEOF
83813 /* confdefs.h.  */
83814 _ACEOF
83815 cat confdefs.h >>conftest.$ac_ext
83816 cat >>conftest.$ac_ext <<_ACEOF
83817 /* end confdefs.h.  */
83818 #include <math.h>
83819 int
83820 main ()
83821 {
83822 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
83823   ;
83824   return 0;
83825 }
83826 _ACEOF
83827 rm -f conftest.$ac_objext
83828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83829   (eval $ac_compile) 2>conftest.er1
83830   ac_status=$?
83831   grep -v '^ *+' conftest.er1 >conftest.err
83832   rm -f conftest.er1
83833   cat conftest.err >&5
83834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83835   (exit $ac_status); } &&
83836          { ac_try='test -z "$ac_cxx_werror_flag"
83837                          || test ! -s conftest.err'
83838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83839   (eval $ac_try) 2>&5
83840   ac_status=$?
83841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83842   (exit $ac_status); }; } &&
83843          { ac_try='test -s conftest.$ac_objext'
83844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83845   (eval $ac_try) 2>&5
83846   ac_status=$?
83847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83848   (exit $ac_status); }; }; then
83849   glibcxx_cv_func_float_trig_use=yes
83850 else
83851   echo "$as_me: failed program was:" >&5
83852 sed 's/^/| /' conftest.$ac_ext >&5
83853
83854 glibcxx_cv_func_float_trig_use=no
83855 fi
83856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83857     ac_ext=c
83858 ac_cpp='$CPP $CPPFLAGS'
83859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83862
83863 fi
83864
83865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
83866 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
83867   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
83868
83869
83870
83871
83872
83873
83874
83875
83876
83877 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
83878 do
83879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83880 echo "$as_me:$LINENO: checking for $ac_func" >&5
83881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83882 if eval "test \"\${$as_ac_var+set}\" = set"; then
83883   echo $ECHO_N "(cached) $ECHO_C" >&6
83884 else
83885   if test x$gcc_no_link = xyes; then
83886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83888    { (exit 1); exit 1; }; }
83889 fi
83890 cat >conftest.$ac_ext <<_ACEOF
83891 /* confdefs.h.  */
83892 _ACEOF
83893 cat confdefs.h >>conftest.$ac_ext
83894 cat >>conftest.$ac_ext <<_ACEOF
83895 /* end confdefs.h.  */
83896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83898 #define $ac_func innocuous_$ac_func
83899
83900 /* System header to define __stub macros and hopefully few prototypes,
83901     which can conflict with char $ac_func (); below.
83902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83903     <limits.h> exists even on freestanding compilers.  */
83904
83905 #ifdef __STDC__
83906 # include <limits.h>
83907 #else
83908 # include <assert.h>
83909 #endif
83910
83911 #undef $ac_func
83912
83913 /* Override any gcc2 internal prototype to avoid an error.  */
83914 #ifdef __cplusplus
83915 extern "C"
83916 {
83917 #endif
83918 /* We use char because int might match the return type of a gcc2
83919    builtin and then its argument prototype would still apply.  */
83920 char $ac_func ();
83921 /* The GNU C library defines this for functions which it implements
83922     to always fail with ENOSYS.  Some functions are actually named
83923     something starting with __ and the normal name is an alias.  */
83924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83925 choke me
83926 #else
83927 char (*f) () = $ac_func;
83928 #endif
83929 #ifdef __cplusplus
83930 }
83931 #endif
83932
83933 int
83934 main ()
83935 {
83936 return f != $ac_func;
83937   ;
83938   return 0;
83939 }
83940 _ACEOF
83941 rm -f conftest.$ac_objext conftest$ac_exeext
83942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83943   (eval $ac_link) 2>conftest.er1
83944   ac_status=$?
83945   grep -v '^ *+' conftest.er1 >conftest.err
83946   rm -f conftest.er1
83947   cat conftest.err >&5
83948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83949   (exit $ac_status); } &&
83950          { ac_try='test -z "$ac_c_werror_flag"
83951                          || test ! -s conftest.err'
83952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83953   (eval $ac_try) 2>&5
83954   ac_status=$?
83955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83956   (exit $ac_status); }; } &&
83957          { ac_try='test -s conftest$ac_exeext'
83958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83959   (eval $ac_try) 2>&5
83960   ac_status=$?
83961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962   (exit $ac_status); }; }; then
83963   eval "$as_ac_var=yes"
83964 else
83965   echo "$as_me: failed program was:" >&5
83966 sed 's/^/| /' conftest.$ac_ext >&5
83967
83968 eval "$as_ac_var=no"
83969 fi
83970 rm -f conftest.err conftest.$ac_objext \
83971       conftest$ac_exeext conftest.$ac_ext
83972 fi
83973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83975 if test `eval echo '${'$as_ac_var'}'` = yes; then
83976   cat >>confdefs.h <<_ACEOF
83977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83978 _ACEOF
83979
83980 fi
83981 done
83982
83983   else
83984     echo "$as_me:$LINENO: checking for _float trig functions" >&5
83985 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
83986     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
83987   echo $ECHO_N "(cached) $ECHO_C" >&6
83988 else
83989
83990
83991
83992       ac_ext=cc
83993 ac_cpp='$CXXCPP $CPPFLAGS'
83994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83997
83998       cat >conftest.$ac_ext <<_ACEOF
83999 /* confdefs.h.  */
84000 _ACEOF
84001 cat confdefs.h >>conftest.$ac_ext
84002 cat >>conftest.$ac_ext <<_ACEOF
84003 /* end confdefs.h.  */
84004 #include <math.h>
84005 int
84006 main ()
84007 {
84008 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
84009   ;
84010   return 0;
84011 }
84012 _ACEOF
84013 rm -f conftest.$ac_objext
84014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84015   (eval $ac_compile) 2>conftest.er1
84016   ac_status=$?
84017   grep -v '^ *+' conftest.er1 >conftest.err
84018   rm -f conftest.er1
84019   cat conftest.err >&5
84020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84021   (exit $ac_status); } &&
84022          { ac_try='test -z "$ac_cxx_werror_flag"
84023                          || test ! -s conftest.err'
84024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84025   (eval $ac_try) 2>&5
84026   ac_status=$?
84027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84028   (exit $ac_status); }; } &&
84029          { ac_try='test -s conftest.$ac_objext'
84030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84031   (eval $ac_try) 2>&5
84032   ac_status=$?
84033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84034   (exit $ac_status); }; }; then
84035   glibcxx_cv_func__float_trig_use=yes
84036 else
84037   echo "$as_me: failed program was:" >&5
84038 sed 's/^/| /' conftest.$ac_ext >&5
84039
84040 glibcxx_cv_func__float_trig_use=no
84041 fi
84042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84043       ac_ext=c
84044 ac_cpp='$CPP $CPPFLAGS'
84045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84048
84049 fi
84050
84051     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
84052 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
84053     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
84054
84055
84056
84057
84058
84059
84060
84061
84062
84063 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
84064 do
84065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84066 echo "$as_me:$LINENO: checking for $ac_func" >&5
84067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84068 if eval "test \"\${$as_ac_var+set}\" = set"; then
84069   echo $ECHO_N "(cached) $ECHO_C" >&6
84070 else
84071   if test x$gcc_no_link = xyes; then
84072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84074    { (exit 1); exit 1; }; }
84075 fi
84076 cat >conftest.$ac_ext <<_ACEOF
84077 /* confdefs.h.  */
84078 _ACEOF
84079 cat confdefs.h >>conftest.$ac_ext
84080 cat >>conftest.$ac_ext <<_ACEOF
84081 /* end confdefs.h.  */
84082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84084 #define $ac_func innocuous_$ac_func
84085
84086 /* System header to define __stub macros and hopefully few prototypes,
84087     which can conflict with char $ac_func (); below.
84088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84089     <limits.h> exists even on freestanding compilers.  */
84090
84091 #ifdef __STDC__
84092 # include <limits.h>
84093 #else
84094 # include <assert.h>
84095 #endif
84096
84097 #undef $ac_func
84098
84099 /* Override any gcc2 internal prototype to avoid an error.  */
84100 #ifdef __cplusplus
84101 extern "C"
84102 {
84103 #endif
84104 /* We use char because int might match the return type of a gcc2
84105    builtin and then its argument prototype would still apply.  */
84106 char $ac_func ();
84107 /* The GNU C library defines this for functions which it implements
84108     to always fail with ENOSYS.  Some functions are actually named
84109     something starting with __ and the normal name is an alias.  */
84110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84111 choke me
84112 #else
84113 char (*f) () = $ac_func;
84114 #endif
84115 #ifdef __cplusplus
84116 }
84117 #endif
84118
84119 int
84120 main ()
84121 {
84122 return f != $ac_func;
84123   ;
84124   return 0;
84125 }
84126 _ACEOF
84127 rm -f conftest.$ac_objext conftest$ac_exeext
84128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84129   (eval $ac_link) 2>conftest.er1
84130   ac_status=$?
84131   grep -v '^ *+' conftest.er1 >conftest.err
84132   rm -f conftest.er1
84133   cat conftest.err >&5
84134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84135   (exit $ac_status); } &&
84136          { ac_try='test -z "$ac_c_werror_flag"
84137                          || test ! -s conftest.err'
84138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84139   (eval $ac_try) 2>&5
84140   ac_status=$?
84141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84142   (exit $ac_status); }; } &&
84143          { ac_try='test -s conftest$ac_exeext'
84144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84145   (eval $ac_try) 2>&5
84146   ac_status=$?
84147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84148   (exit $ac_status); }; }; then
84149   eval "$as_ac_var=yes"
84150 else
84151   echo "$as_me: failed program was:" >&5
84152 sed 's/^/| /' conftest.$ac_ext >&5
84153
84154 eval "$as_ac_var=no"
84155 fi
84156 rm -f conftest.err conftest.$ac_objext \
84157       conftest$ac_exeext conftest.$ac_ext
84158 fi
84159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84161 if test `eval echo '${'$as_ac_var'}'` = yes; then
84162   cat >>confdefs.h <<_ACEOF
84163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84164 _ACEOF
84165
84166 fi
84167 done
84168
84169     fi
84170   fi
84171
84172
84173
84174
84175
84176
84177
84178
84179
84180
84181
84182
84183
84184
84185     echo "$as_me:$LINENO: checking for float round functions" >&5
84186 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
84187   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
84188   echo $ECHO_N "(cached) $ECHO_C" >&6
84189 else
84190
84191
84192
84193     ac_ext=cc
84194 ac_cpp='$CXXCPP $CPPFLAGS'
84195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84198
84199     cat >conftest.$ac_ext <<_ACEOF
84200 /* confdefs.h.  */
84201 _ACEOF
84202 cat confdefs.h >>conftest.$ac_ext
84203 cat >>conftest.$ac_ext <<_ACEOF
84204 /* end confdefs.h.  */
84205 #include <math.h>
84206 int
84207 main ()
84208 {
84209 ceilf (0); floorf (0);
84210   ;
84211   return 0;
84212 }
84213 _ACEOF
84214 rm -f conftest.$ac_objext
84215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84216   (eval $ac_compile) 2>conftest.er1
84217   ac_status=$?
84218   grep -v '^ *+' conftest.er1 >conftest.err
84219   rm -f conftest.er1
84220   cat conftest.err >&5
84221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84222   (exit $ac_status); } &&
84223          { ac_try='test -z "$ac_cxx_werror_flag"
84224                          || test ! -s conftest.err'
84225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84226   (eval $ac_try) 2>&5
84227   ac_status=$?
84228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84229   (exit $ac_status); }; } &&
84230          { ac_try='test -s conftest.$ac_objext'
84231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84232   (eval $ac_try) 2>&5
84233   ac_status=$?
84234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84235   (exit $ac_status); }; }; then
84236   glibcxx_cv_func_float_round_use=yes
84237 else
84238   echo "$as_me: failed program was:" >&5
84239 sed 's/^/| /' conftest.$ac_ext >&5
84240
84241 glibcxx_cv_func_float_round_use=no
84242 fi
84243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84244     ac_ext=c
84245 ac_cpp='$CPP $CPPFLAGS'
84246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84249
84250 fi
84251
84252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
84253 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
84254   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
84255
84256
84257 for ac_func in ceilf floorf
84258 do
84259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84260 echo "$as_me:$LINENO: checking for $ac_func" >&5
84261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84262 if eval "test \"\${$as_ac_var+set}\" = set"; then
84263   echo $ECHO_N "(cached) $ECHO_C" >&6
84264 else
84265   if test x$gcc_no_link = xyes; then
84266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84268    { (exit 1); exit 1; }; }
84269 fi
84270 cat >conftest.$ac_ext <<_ACEOF
84271 /* confdefs.h.  */
84272 _ACEOF
84273 cat confdefs.h >>conftest.$ac_ext
84274 cat >>conftest.$ac_ext <<_ACEOF
84275 /* end confdefs.h.  */
84276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84278 #define $ac_func innocuous_$ac_func
84279
84280 /* System header to define __stub macros and hopefully few prototypes,
84281     which can conflict with char $ac_func (); below.
84282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84283     <limits.h> exists even on freestanding compilers.  */
84284
84285 #ifdef __STDC__
84286 # include <limits.h>
84287 #else
84288 # include <assert.h>
84289 #endif
84290
84291 #undef $ac_func
84292
84293 /* Override any gcc2 internal prototype to avoid an error.  */
84294 #ifdef __cplusplus
84295 extern "C"
84296 {
84297 #endif
84298 /* We use char because int might match the return type of a gcc2
84299    builtin and then its argument prototype would still apply.  */
84300 char $ac_func ();
84301 /* The GNU C library defines this for functions which it implements
84302     to always fail with ENOSYS.  Some functions are actually named
84303     something starting with __ and the normal name is an alias.  */
84304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84305 choke me
84306 #else
84307 char (*f) () = $ac_func;
84308 #endif
84309 #ifdef __cplusplus
84310 }
84311 #endif
84312
84313 int
84314 main ()
84315 {
84316 return f != $ac_func;
84317   ;
84318   return 0;
84319 }
84320 _ACEOF
84321 rm -f conftest.$ac_objext conftest$ac_exeext
84322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84323   (eval $ac_link) 2>conftest.er1
84324   ac_status=$?
84325   grep -v '^ *+' conftest.er1 >conftest.err
84326   rm -f conftest.er1
84327   cat conftest.err >&5
84328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84329   (exit $ac_status); } &&
84330          { ac_try='test -z "$ac_c_werror_flag"
84331                          || test ! -s conftest.err'
84332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84333   (eval $ac_try) 2>&5
84334   ac_status=$?
84335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84336   (exit $ac_status); }; } &&
84337          { ac_try='test -s conftest$ac_exeext'
84338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84339   (eval $ac_try) 2>&5
84340   ac_status=$?
84341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84342   (exit $ac_status); }; }; then
84343   eval "$as_ac_var=yes"
84344 else
84345   echo "$as_me: failed program was:" >&5
84346 sed 's/^/| /' conftest.$ac_ext >&5
84347
84348 eval "$as_ac_var=no"
84349 fi
84350 rm -f conftest.err conftest.$ac_objext \
84351       conftest$ac_exeext conftest.$ac_ext
84352 fi
84353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84355 if test `eval echo '${'$as_ac_var'}'` = yes; then
84356   cat >>confdefs.h <<_ACEOF
84357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84358 _ACEOF
84359
84360 fi
84361 done
84362
84363   else
84364     echo "$as_me:$LINENO: checking for _float round functions" >&5
84365 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
84366     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
84367   echo $ECHO_N "(cached) $ECHO_C" >&6
84368 else
84369
84370
84371
84372       ac_ext=cc
84373 ac_cpp='$CXXCPP $CPPFLAGS'
84374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84377
84378       cat >conftest.$ac_ext <<_ACEOF
84379 /* confdefs.h.  */
84380 _ACEOF
84381 cat confdefs.h >>conftest.$ac_ext
84382 cat >>conftest.$ac_ext <<_ACEOF
84383 /* end confdefs.h.  */
84384 #include <math.h>
84385 int
84386 main ()
84387 {
84388 _ceilf (0); _floorf (0);
84389   ;
84390   return 0;
84391 }
84392 _ACEOF
84393 rm -f conftest.$ac_objext
84394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84395   (eval $ac_compile) 2>conftest.er1
84396   ac_status=$?
84397   grep -v '^ *+' conftest.er1 >conftest.err
84398   rm -f conftest.er1
84399   cat conftest.err >&5
84400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84401   (exit $ac_status); } &&
84402          { ac_try='test -z "$ac_cxx_werror_flag"
84403                          || test ! -s conftest.err'
84404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84405   (eval $ac_try) 2>&5
84406   ac_status=$?
84407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84408   (exit $ac_status); }; } &&
84409          { ac_try='test -s conftest.$ac_objext'
84410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84411   (eval $ac_try) 2>&5
84412   ac_status=$?
84413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84414   (exit $ac_status); }; }; then
84415   glibcxx_cv_func__float_round_use=yes
84416 else
84417   echo "$as_me: failed program was:" >&5
84418 sed 's/^/| /' conftest.$ac_ext >&5
84419
84420 glibcxx_cv_func__float_round_use=no
84421 fi
84422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84423       ac_ext=c
84424 ac_cpp='$CPP $CPPFLAGS'
84425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84428
84429 fi
84430
84431     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
84432 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
84433     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
84434
84435
84436 for ac_func in _ceilf _floorf
84437 do
84438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84439 echo "$as_me:$LINENO: checking for $ac_func" >&5
84440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84441 if eval "test \"\${$as_ac_var+set}\" = set"; then
84442   echo $ECHO_N "(cached) $ECHO_C" >&6
84443 else
84444   if test x$gcc_no_link = xyes; then
84445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84447    { (exit 1); exit 1; }; }
84448 fi
84449 cat >conftest.$ac_ext <<_ACEOF
84450 /* confdefs.h.  */
84451 _ACEOF
84452 cat confdefs.h >>conftest.$ac_ext
84453 cat >>conftest.$ac_ext <<_ACEOF
84454 /* end confdefs.h.  */
84455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84457 #define $ac_func innocuous_$ac_func
84458
84459 /* System header to define __stub macros and hopefully few prototypes,
84460     which can conflict with char $ac_func (); below.
84461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84462     <limits.h> exists even on freestanding compilers.  */
84463
84464 #ifdef __STDC__
84465 # include <limits.h>
84466 #else
84467 # include <assert.h>
84468 #endif
84469
84470 #undef $ac_func
84471
84472 /* Override any gcc2 internal prototype to avoid an error.  */
84473 #ifdef __cplusplus
84474 extern "C"
84475 {
84476 #endif
84477 /* We use char because int might match the return type of a gcc2
84478    builtin and then its argument prototype would still apply.  */
84479 char $ac_func ();
84480 /* The GNU C library defines this for functions which it implements
84481     to always fail with ENOSYS.  Some functions are actually named
84482     something starting with __ and the normal name is an alias.  */
84483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84484 choke me
84485 #else
84486 char (*f) () = $ac_func;
84487 #endif
84488 #ifdef __cplusplus
84489 }
84490 #endif
84491
84492 int
84493 main ()
84494 {
84495 return f != $ac_func;
84496   ;
84497   return 0;
84498 }
84499 _ACEOF
84500 rm -f conftest.$ac_objext conftest$ac_exeext
84501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84502   (eval $ac_link) 2>conftest.er1
84503   ac_status=$?
84504   grep -v '^ *+' conftest.er1 >conftest.err
84505   rm -f conftest.er1
84506   cat conftest.err >&5
84507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84508   (exit $ac_status); } &&
84509          { ac_try='test -z "$ac_c_werror_flag"
84510                          || test ! -s conftest.err'
84511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84512   (eval $ac_try) 2>&5
84513   ac_status=$?
84514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84515   (exit $ac_status); }; } &&
84516          { ac_try='test -s conftest$ac_exeext'
84517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84518   (eval $ac_try) 2>&5
84519   ac_status=$?
84520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84521   (exit $ac_status); }; }; then
84522   eval "$as_ac_var=yes"
84523 else
84524   echo "$as_me: failed program was:" >&5
84525 sed 's/^/| /' conftest.$ac_ext >&5
84526
84527 eval "$as_ac_var=no"
84528 fi
84529 rm -f conftest.err conftest.$ac_objext \
84530       conftest$ac_exeext conftest.$ac_ext
84531 fi
84532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84534 if test `eval echo '${'$as_ac_var'}'` = yes; then
84535   cat >>confdefs.h <<_ACEOF
84536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84537 _ACEOF
84538
84539 fi
84540 done
84541
84542     fi
84543   fi
84544
84545
84546
84547
84548
84549
84550
84551
84552   echo "$as_me:$LINENO: checking for expf declaration" >&5
84553 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
84554   if test x${glibcxx_cv_func_expf_use+set} != xset; then
84555     if test "${glibcxx_cv_func_expf_use+set}" = set; then
84556   echo $ECHO_N "(cached) $ECHO_C" >&6
84557 else
84558
84559
84560
84561       ac_ext=cc
84562 ac_cpp='$CXXCPP $CPPFLAGS'
84563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84566
84567       cat >conftest.$ac_ext <<_ACEOF
84568 /* confdefs.h.  */
84569 _ACEOF
84570 cat confdefs.h >>conftest.$ac_ext
84571 cat >>conftest.$ac_ext <<_ACEOF
84572 /* end confdefs.h.  */
84573 #include <math.h>
84574                       #ifdef HAVE_IEEEFP_H
84575                       #include <ieeefp.h>
84576                       #endif
84577
84578 int
84579 main ()
84580 {
84581  expf(0);
84582   ;
84583   return 0;
84584 }
84585 _ACEOF
84586 rm -f conftest.$ac_objext
84587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84588   (eval $ac_compile) 2>conftest.er1
84589   ac_status=$?
84590   grep -v '^ *+' conftest.er1 >conftest.err
84591   rm -f conftest.er1
84592   cat conftest.err >&5
84593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84594   (exit $ac_status); } &&
84595          { ac_try='test -z "$ac_cxx_werror_flag"
84596                          || test ! -s conftest.err'
84597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84598   (eval $ac_try) 2>&5
84599   ac_status=$?
84600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84601   (exit $ac_status); }; } &&
84602          { ac_try='test -s conftest.$ac_objext'
84603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84604   (eval $ac_try) 2>&5
84605   ac_status=$?
84606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84607   (exit $ac_status); }; }; then
84608   glibcxx_cv_func_expf_use=yes
84609 else
84610   echo "$as_me: failed program was:" >&5
84611 sed 's/^/| /' conftest.$ac_ext >&5
84612
84613 glibcxx_cv_func_expf_use=no
84614 fi
84615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84616       ac_ext=c
84617 ac_cpp='$CPP $CPPFLAGS'
84618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84621
84622
84623 fi
84624
84625   fi
84626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
84627 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
84628
84629   if test x$glibcxx_cv_func_expf_use = x"yes"; then
84630
84631 for ac_func in expf
84632 do
84633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84634 echo "$as_me:$LINENO: checking for $ac_func" >&5
84635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84636 if eval "test \"\${$as_ac_var+set}\" = set"; then
84637   echo $ECHO_N "(cached) $ECHO_C" >&6
84638 else
84639   if test x$gcc_no_link = xyes; then
84640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84642    { (exit 1); exit 1; }; }
84643 fi
84644 cat >conftest.$ac_ext <<_ACEOF
84645 /* confdefs.h.  */
84646 _ACEOF
84647 cat confdefs.h >>conftest.$ac_ext
84648 cat >>conftest.$ac_ext <<_ACEOF
84649 /* end confdefs.h.  */
84650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84652 #define $ac_func innocuous_$ac_func
84653
84654 /* System header to define __stub macros and hopefully few prototypes,
84655     which can conflict with char $ac_func (); below.
84656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84657     <limits.h> exists even on freestanding compilers.  */
84658
84659 #ifdef __STDC__
84660 # include <limits.h>
84661 #else
84662 # include <assert.h>
84663 #endif
84664
84665 #undef $ac_func
84666
84667 /* Override any gcc2 internal prototype to avoid an error.  */
84668 #ifdef __cplusplus
84669 extern "C"
84670 {
84671 #endif
84672 /* We use char because int might match the return type of a gcc2
84673    builtin and then its argument prototype would still apply.  */
84674 char $ac_func ();
84675 /* The GNU C library defines this for functions which it implements
84676     to always fail with ENOSYS.  Some functions are actually named
84677     something starting with __ and the normal name is an alias.  */
84678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84679 choke me
84680 #else
84681 char (*f) () = $ac_func;
84682 #endif
84683 #ifdef __cplusplus
84684 }
84685 #endif
84686
84687 int
84688 main ()
84689 {
84690 return f != $ac_func;
84691   ;
84692   return 0;
84693 }
84694 _ACEOF
84695 rm -f conftest.$ac_objext conftest$ac_exeext
84696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84697   (eval $ac_link) 2>conftest.er1
84698   ac_status=$?
84699   grep -v '^ *+' conftest.er1 >conftest.err
84700   rm -f conftest.er1
84701   cat conftest.err >&5
84702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84703   (exit $ac_status); } &&
84704          { ac_try='test -z "$ac_c_werror_flag"
84705                          || test ! -s conftest.err'
84706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84707   (eval $ac_try) 2>&5
84708   ac_status=$?
84709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84710   (exit $ac_status); }; } &&
84711          { ac_try='test -s conftest$ac_exeext'
84712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84713   (eval $ac_try) 2>&5
84714   ac_status=$?
84715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84716   (exit $ac_status); }; }; then
84717   eval "$as_ac_var=yes"
84718 else
84719   echo "$as_me: failed program was:" >&5
84720 sed 's/^/| /' conftest.$ac_ext >&5
84721
84722 eval "$as_ac_var=no"
84723 fi
84724 rm -f conftest.err conftest.$ac_objext \
84725       conftest$ac_exeext conftest.$ac_ext
84726 fi
84727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84729 if test `eval echo '${'$as_ac_var'}'` = yes; then
84730   cat >>confdefs.h <<_ACEOF
84731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84732 _ACEOF
84733
84734 fi
84735 done
84736
84737   else
84738
84739   echo "$as_me:$LINENO: checking for _expf declaration" >&5
84740 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
84741   if test x${glibcxx_cv_func__expf_use+set} != xset; then
84742     if test "${glibcxx_cv_func__expf_use+set}" = set; then
84743   echo $ECHO_N "(cached) $ECHO_C" >&6
84744 else
84745
84746
84747
84748       ac_ext=cc
84749 ac_cpp='$CXXCPP $CPPFLAGS'
84750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84753
84754       cat >conftest.$ac_ext <<_ACEOF
84755 /* confdefs.h.  */
84756 _ACEOF
84757 cat confdefs.h >>conftest.$ac_ext
84758 cat >>conftest.$ac_ext <<_ACEOF
84759 /* end confdefs.h.  */
84760 #include <math.h>
84761                       #ifdef HAVE_IEEEFP_H
84762                       #include <ieeefp.h>
84763                       #endif
84764
84765 int
84766 main ()
84767 {
84768  _expf(0);
84769   ;
84770   return 0;
84771 }
84772 _ACEOF
84773 rm -f conftest.$ac_objext
84774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84775   (eval $ac_compile) 2>conftest.er1
84776   ac_status=$?
84777   grep -v '^ *+' conftest.er1 >conftest.err
84778   rm -f conftest.er1
84779   cat conftest.err >&5
84780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84781   (exit $ac_status); } &&
84782          { ac_try='test -z "$ac_cxx_werror_flag"
84783                          || test ! -s conftest.err'
84784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84785   (eval $ac_try) 2>&5
84786   ac_status=$?
84787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84788   (exit $ac_status); }; } &&
84789          { ac_try='test -s conftest.$ac_objext'
84790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84791   (eval $ac_try) 2>&5
84792   ac_status=$?
84793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84794   (exit $ac_status); }; }; then
84795   glibcxx_cv_func__expf_use=yes
84796 else
84797   echo "$as_me: failed program was:" >&5
84798 sed 's/^/| /' conftest.$ac_ext >&5
84799
84800 glibcxx_cv_func__expf_use=no
84801 fi
84802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84803       ac_ext=c
84804 ac_cpp='$CPP $CPPFLAGS'
84805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84808
84809
84810 fi
84811
84812   fi
84813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
84814 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
84815
84816     if test x$glibcxx_cv_func__expf_use = x"yes"; then
84817
84818 for ac_func in _expf
84819 do
84820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84821 echo "$as_me:$LINENO: checking for $ac_func" >&5
84822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84823 if eval "test \"\${$as_ac_var+set}\" = set"; then
84824   echo $ECHO_N "(cached) $ECHO_C" >&6
84825 else
84826   if test x$gcc_no_link = xyes; then
84827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84829    { (exit 1); exit 1; }; }
84830 fi
84831 cat >conftest.$ac_ext <<_ACEOF
84832 /* confdefs.h.  */
84833 _ACEOF
84834 cat confdefs.h >>conftest.$ac_ext
84835 cat >>conftest.$ac_ext <<_ACEOF
84836 /* end confdefs.h.  */
84837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84839 #define $ac_func innocuous_$ac_func
84840
84841 /* System header to define __stub macros and hopefully few prototypes,
84842     which can conflict with char $ac_func (); below.
84843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84844     <limits.h> exists even on freestanding compilers.  */
84845
84846 #ifdef __STDC__
84847 # include <limits.h>
84848 #else
84849 # include <assert.h>
84850 #endif
84851
84852 #undef $ac_func
84853
84854 /* Override any gcc2 internal prototype to avoid an error.  */
84855 #ifdef __cplusplus
84856 extern "C"
84857 {
84858 #endif
84859 /* We use char because int might match the return type of a gcc2
84860    builtin and then its argument prototype would still apply.  */
84861 char $ac_func ();
84862 /* The GNU C library defines this for functions which it implements
84863     to always fail with ENOSYS.  Some functions are actually named
84864     something starting with __ and the normal name is an alias.  */
84865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84866 choke me
84867 #else
84868 char (*f) () = $ac_func;
84869 #endif
84870 #ifdef __cplusplus
84871 }
84872 #endif
84873
84874 int
84875 main ()
84876 {
84877 return f != $ac_func;
84878   ;
84879   return 0;
84880 }
84881 _ACEOF
84882 rm -f conftest.$ac_objext conftest$ac_exeext
84883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84884   (eval $ac_link) 2>conftest.er1
84885   ac_status=$?
84886   grep -v '^ *+' conftest.er1 >conftest.err
84887   rm -f conftest.er1
84888   cat conftest.err >&5
84889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84890   (exit $ac_status); } &&
84891          { ac_try='test -z "$ac_c_werror_flag"
84892                          || test ! -s conftest.err'
84893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84894   (eval $ac_try) 2>&5
84895   ac_status=$?
84896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84897   (exit $ac_status); }; } &&
84898          { ac_try='test -s conftest$ac_exeext'
84899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84900   (eval $ac_try) 2>&5
84901   ac_status=$?
84902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84903   (exit $ac_status); }; }; then
84904   eval "$as_ac_var=yes"
84905 else
84906   echo "$as_me: failed program was:" >&5
84907 sed 's/^/| /' conftest.$ac_ext >&5
84908
84909 eval "$as_ac_var=no"
84910 fi
84911 rm -f conftest.err conftest.$ac_objext \
84912       conftest$ac_exeext conftest.$ac_ext
84913 fi
84914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84916 if test `eval echo '${'$as_ac_var'}'` = yes; then
84917   cat >>confdefs.h <<_ACEOF
84918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84919 _ACEOF
84920
84921 fi
84922 done
84923
84924     fi
84925   fi
84926
84927
84928
84929
84930
84931
84932   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
84933 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
84934   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
84935     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
84936   echo $ECHO_N "(cached) $ECHO_C" >&6
84937 else
84938
84939
84940
84941       ac_ext=cc
84942 ac_cpp='$CXXCPP $CPPFLAGS'
84943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84946
84947       cat >conftest.$ac_ext <<_ACEOF
84948 /* confdefs.h.  */
84949 _ACEOF
84950 cat confdefs.h >>conftest.$ac_ext
84951 cat >>conftest.$ac_ext <<_ACEOF
84952 /* end confdefs.h.  */
84953 #include <math.h>
84954                       #ifdef HAVE_IEEEFP_H
84955                       #include <ieeefp.h>
84956                       #endif
84957
84958 int
84959 main ()
84960 {
84961  isnanf(0);
84962   ;
84963   return 0;
84964 }
84965 _ACEOF
84966 rm -f conftest.$ac_objext
84967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84968   (eval $ac_compile) 2>conftest.er1
84969   ac_status=$?
84970   grep -v '^ *+' conftest.er1 >conftest.err
84971   rm -f conftest.er1
84972   cat conftest.err >&5
84973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84974   (exit $ac_status); } &&
84975          { ac_try='test -z "$ac_cxx_werror_flag"
84976                          || test ! -s conftest.err'
84977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84978   (eval $ac_try) 2>&5
84979   ac_status=$?
84980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84981   (exit $ac_status); }; } &&
84982          { ac_try='test -s conftest.$ac_objext'
84983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84984   (eval $ac_try) 2>&5
84985   ac_status=$?
84986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84987   (exit $ac_status); }; }; then
84988   glibcxx_cv_func_isnanf_use=yes
84989 else
84990   echo "$as_me: failed program was:" >&5
84991 sed 's/^/| /' conftest.$ac_ext >&5
84992
84993 glibcxx_cv_func_isnanf_use=no
84994 fi
84995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84996       ac_ext=c
84997 ac_cpp='$CPP $CPPFLAGS'
84998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85001
85002
85003 fi
85004
85005   fi
85006   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
85007 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
85008
85009   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
85010
85011 for ac_func in isnanf
85012 do
85013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85014 echo "$as_me:$LINENO: checking for $ac_func" >&5
85015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85016 if eval "test \"\${$as_ac_var+set}\" = set"; then
85017   echo $ECHO_N "(cached) $ECHO_C" >&6
85018 else
85019   if test x$gcc_no_link = xyes; then
85020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85022    { (exit 1); exit 1; }; }
85023 fi
85024 cat >conftest.$ac_ext <<_ACEOF
85025 /* confdefs.h.  */
85026 _ACEOF
85027 cat confdefs.h >>conftest.$ac_ext
85028 cat >>conftest.$ac_ext <<_ACEOF
85029 /* end confdefs.h.  */
85030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85032 #define $ac_func innocuous_$ac_func
85033
85034 /* System header to define __stub macros and hopefully few prototypes,
85035     which can conflict with char $ac_func (); below.
85036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85037     <limits.h> exists even on freestanding compilers.  */
85038
85039 #ifdef __STDC__
85040 # include <limits.h>
85041 #else
85042 # include <assert.h>
85043 #endif
85044
85045 #undef $ac_func
85046
85047 /* Override any gcc2 internal prototype to avoid an error.  */
85048 #ifdef __cplusplus
85049 extern "C"
85050 {
85051 #endif
85052 /* We use char because int might match the return type of a gcc2
85053    builtin and then its argument prototype would still apply.  */
85054 char $ac_func ();
85055 /* The GNU C library defines this for functions which it implements
85056     to always fail with ENOSYS.  Some functions are actually named
85057     something starting with __ and the normal name is an alias.  */
85058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85059 choke me
85060 #else
85061 char (*f) () = $ac_func;
85062 #endif
85063 #ifdef __cplusplus
85064 }
85065 #endif
85066
85067 int
85068 main ()
85069 {
85070 return f != $ac_func;
85071   ;
85072   return 0;
85073 }
85074 _ACEOF
85075 rm -f conftest.$ac_objext conftest$ac_exeext
85076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85077   (eval $ac_link) 2>conftest.er1
85078   ac_status=$?
85079   grep -v '^ *+' conftest.er1 >conftest.err
85080   rm -f conftest.er1
85081   cat conftest.err >&5
85082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85083   (exit $ac_status); } &&
85084          { ac_try='test -z "$ac_c_werror_flag"
85085                          || test ! -s conftest.err'
85086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85087   (eval $ac_try) 2>&5
85088   ac_status=$?
85089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85090   (exit $ac_status); }; } &&
85091          { ac_try='test -s conftest$ac_exeext'
85092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85093   (eval $ac_try) 2>&5
85094   ac_status=$?
85095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85096   (exit $ac_status); }; }; then
85097   eval "$as_ac_var=yes"
85098 else
85099   echo "$as_me: failed program was:" >&5
85100 sed 's/^/| /' conftest.$ac_ext >&5
85101
85102 eval "$as_ac_var=no"
85103 fi
85104 rm -f conftest.err conftest.$ac_objext \
85105       conftest$ac_exeext conftest.$ac_ext
85106 fi
85107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85109 if test `eval echo '${'$as_ac_var'}'` = yes; then
85110   cat >>confdefs.h <<_ACEOF
85111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85112 _ACEOF
85113
85114 fi
85115 done
85116
85117   else
85118
85119   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
85120 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
85121   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
85122     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
85123   echo $ECHO_N "(cached) $ECHO_C" >&6
85124 else
85125
85126
85127
85128       ac_ext=cc
85129 ac_cpp='$CXXCPP $CPPFLAGS'
85130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85133
85134       cat >conftest.$ac_ext <<_ACEOF
85135 /* confdefs.h.  */
85136 _ACEOF
85137 cat confdefs.h >>conftest.$ac_ext
85138 cat >>conftest.$ac_ext <<_ACEOF
85139 /* end confdefs.h.  */
85140 #include <math.h>
85141                       #ifdef HAVE_IEEEFP_H
85142                       #include <ieeefp.h>
85143                       #endif
85144
85145 int
85146 main ()
85147 {
85148  _isnanf(0);
85149   ;
85150   return 0;
85151 }
85152 _ACEOF
85153 rm -f conftest.$ac_objext
85154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85155   (eval $ac_compile) 2>conftest.er1
85156   ac_status=$?
85157   grep -v '^ *+' conftest.er1 >conftest.err
85158   rm -f conftest.er1
85159   cat conftest.err >&5
85160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85161   (exit $ac_status); } &&
85162          { ac_try='test -z "$ac_cxx_werror_flag"
85163                          || test ! -s conftest.err'
85164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85165   (eval $ac_try) 2>&5
85166   ac_status=$?
85167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85168   (exit $ac_status); }; } &&
85169          { ac_try='test -s conftest.$ac_objext'
85170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85171   (eval $ac_try) 2>&5
85172   ac_status=$?
85173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85174   (exit $ac_status); }; }; then
85175   glibcxx_cv_func__isnanf_use=yes
85176 else
85177   echo "$as_me: failed program was:" >&5
85178 sed 's/^/| /' conftest.$ac_ext >&5
85179
85180 glibcxx_cv_func__isnanf_use=no
85181 fi
85182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85183       ac_ext=c
85184 ac_cpp='$CPP $CPPFLAGS'
85185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85188
85189
85190 fi
85191
85192   fi
85193   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
85194 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
85195
85196     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
85197
85198 for ac_func in _isnanf
85199 do
85200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85201 echo "$as_me:$LINENO: checking for $ac_func" >&5
85202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85203 if eval "test \"\${$as_ac_var+set}\" = set"; then
85204   echo $ECHO_N "(cached) $ECHO_C" >&6
85205 else
85206   if test x$gcc_no_link = xyes; then
85207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85209    { (exit 1); exit 1; }; }
85210 fi
85211 cat >conftest.$ac_ext <<_ACEOF
85212 /* confdefs.h.  */
85213 _ACEOF
85214 cat confdefs.h >>conftest.$ac_ext
85215 cat >>conftest.$ac_ext <<_ACEOF
85216 /* end confdefs.h.  */
85217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85219 #define $ac_func innocuous_$ac_func
85220
85221 /* System header to define __stub macros and hopefully few prototypes,
85222     which can conflict with char $ac_func (); below.
85223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85224     <limits.h> exists even on freestanding compilers.  */
85225
85226 #ifdef __STDC__
85227 # include <limits.h>
85228 #else
85229 # include <assert.h>
85230 #endif
85231
85232 #undef $ac_func
85233
85234 /* Override any gcc2 internal prototype to avoid an error.  */
85235 #ifdef __cplusplus
85236 extern "C"
85237 {
85238 #endif
85239 /* We use char because int might match the return type of a gcc2
85240    builtin and then its argument prototype would still apply.  */
85241 char $ac_func ();
85242 /* The GNU C library defines this for functions which it implements
85243     to always fail with ENOSYS.  Some functions are actually named
85244     something starting with __ and the normal name is an alias.  */
85245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85246 choke me
85247 #else
85248 char (*f) () = $ac_func;
85249 #endif
85250 #ifdef __cplusplus
85251 }
85252 #endif
85253
85254 int
85255 main ()
85256 {
85257 return f != $ac_func;
85258   ;
85259   return 0;
85260 }
85261 _ACEOF
85262 rm -f conftest.$ac_objext conftest$ac_exeext
85263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85264   (eval $ac_link) 2>conftest.er1
85265   ac_status=$?
85266   grep -v '^ *+' conftest.er1 >conftest.err
85267   rm -f conftest.er1
85268   cat conftest.err >&5
85269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85270   (exit $ac_status); } &&
85271          { ac_try='test -z "$ac_c_werror_flag"
85272                          || test ! -s conftest.err'
85273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85274   (eval $ac_try) 2>&5
85275   ac_status=$?
85276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85277   (exit $ac_status); }; } &&
85278          { ac_try='test -s conftest$ac_exeext'
85279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85280   (eval $ac_try) 2>&5
85281   ac_status=$?
85282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85283   (exit $ac_status); }; }; then
85284   eval "$as_ac_var=yes"
85285 else
85286   echo "$as_me: failed program was:" >&5
85287 sed 's/^/| /' conftest.$ac_ext >&5
85288
85289 eval "$as_ac_var=no"
85290 fi
85291 rm -f conftest.err conftest.$ac_objext \
85292       conftest$ac_exeext conftest.$ac_ext
85293 fi
85294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85296 if test `eval echo '${'$as_ac_var'}'` = yes; then
85297   cat >>confdefs.h <<_ACEOF
85298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85299 _ACEOF
85300
85301 fi
85302 done
85303
85304     fi
85305   fi
85306
85307
85308
85309
85310
85311
85312   echo "$as_me:$LINENO: checking for isinff declaration" >&5
85313 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
85314   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
85315     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
85316   echo $ECHO_N "(cached) $ECHO_C" >&6
85317 else
85318
85319
85320
85321       ac_ext=cc
85322 ac_cpp='$CXXCPP $CPPFLAGS'
85323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85326
85327       cat >conftest.$ac_ext <<_ACEOF
85328 /* confdefs.h.  */
85329 _ACEOF
85330 cat confdefs.h >>conftest.$ac_ext
85331 cat >>conftest.$ac_ext <<_ACEOF
85332 /* end confdefs.h.  */
85333 #include <math.h>
85334                       #ifdef HAVE_IEEEFP_H
85335                       #include <ieeefp.h>
85336                       #endif
85337
85338 int
85339 main ()
85340 {
85341  isinff(0);
85342   ;
85343   return 0;
85344 }
85345 _ACEOF
85346 rm -f conftest.$ac_objext
85347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85348   (eval $ac_compile) 2>conftest.er1
85349   ac_status=$?
85350   grep -v '^ *+' conftest.er1 >conftest.err
85351   rm -f conftest.er1
85352   cat conftest.err >&5
85353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85354   (exit $ac_status); } &&
85355          { ac_try='test -z "$ac_cxx_werror_flag"
85356                          || test ! -s conftest.err'
85357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85358   (eval $ac_try) 2>&5
85359   ac_status=$?
85360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85361   (exit $ac_status); }; } &&
85362          { ac_try='test -s conftest.$ac_objext'
85363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85364   (eval $ac_try) 2>&5
85365   ac_status=$?
85366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85367   (exit $ac_status); }; }; then
85368   glibcxx_cv_func_isinff_use=yes
85369 else
85370   echo "$as_me: failed program was:" >&5
85371 sed 's/^/| /' conftest.$ac_ext >&5
85372
85373 glibcxx_cv_func_isinff_use=no
85374 fi
85375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85376       ac_ext=c
85377 ac_cpp='$CPP $CPPFLAGS'
85378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85381
85382
85383 fi
85384
85385   fi
85386   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
85387 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
85388
85389   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
85390
85391 for ac_func in isinff
85392 do
85393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85394 echo "$as_me:$LINENO: checking for $ac_func" >&5
85395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85396 if eval "test \"\${$as_ac_var+set}\" = set"; then
85397   echo $ECHO_N "(cached) $ECHO_C" >&6
85398 else
85399   if test x$gcc_no_link = xyes; then
85400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85402    { (exit 1); exit 1; }; }
85403 fi
85404 cat >conftest.$ac_ext <<_ACEOF
85405 /* confdefs.h.  */
85406 _ACEOF
85407 cat confdefs.h >>conftest.$ac_ext
85408 cat >>conftest.$ac_ext <<_ACEOF
85409 /* end confdefs.h.  */
85410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85412 #define $ac_func innocuous_$ac_func
85413
85414 /* System header to define __stub macros and hopefully few prototypes,
85415     which can conflict with char $ac_func (); below.
85416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85417     <limits.h> exists even on freestanding compilers.  */
85418
85419 #ifdef __STDC__
85420 # include <limits.h>
85421 #else
85422 # include <assert.h>
85423 #endif
85424
85425 #undef $ac_func
85426
85427 /* Override any gcc2 internal prototype to avoid an error.  */
85428 #ifdef __cplusplus
85429 extern "C"
85430 {
85431 #endif
85432 /* We use char because int might match the return type of a gcc2
85433    builtin and then its argument prototype would still apply.  */
85434 char $ac_func ();
85435 /* The GNU C library defines this for functions which it implements
85436     to always fail with ENOSYS.  Some functions are actually named
85437     something starting with __ and the normal name is an alias.  */
85438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85439 choke me
85440 #else
85441 char (*f) () = $ac_func;
85442 #endif
85443 #ifdef __cplusplus
85444 }
85445 #endif
85446
85447 int
85448 main ()
85449 {
85450 return f != $ac_func;
85451   ;
85452   return 0;
85453 }
85454 _ACEOF
85455 rm -f conftest.$ac_objext conftest$ac_exeext
85456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85457   (eval $ac_link) 2>conftest.er1
85458   ac_status=$?
85459   grep -v '^ *+' conftest.er1 >conftest.err
85460   rm -f conftest.er1
85461   cat conftest.err >&5
85462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85463   (exit $ac_status); } &&
85464          { ac_try='test -z "$ac_c_werror_flag"
85465                          || test ! -s conftest.err'
85466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85467   (eval $ac_try) 2>&5
85468   ac_status=$?
85469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85470   (exit $ac_status); }; } &&
85471          { ac_try='test -s conftest$ac_exeext'
85472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85473   (eval $ac_try) 2>&5
85474   ac_status=$?
85475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85476   (exit $ac_status); }; }; then
85477   eval "$as_ac_var=yes"
85478 else
85479   echo "$as_me: failed program was:" >&5
85480 sed 's/^/| /' conftest.$ac_ext >&5
85481
85482 eval "$as_ac_var=no"
85483 fi
85484 rm -f conftest.err conftest.$ac_objext \
85485       conftest$ac_exeext conftest.$ac_ext
85486 fi
85487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85489 if test `eval echo '${'$as_ac_var'}'` = yes; then
85490   cat >>confdefs.h <<_ACEOF
85491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85492 _ACEOF
85493
85494 fi
85495 done
85496
85497   else
85498
85499   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
85500 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
85501   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
85502     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
85503   echo $ECHO_N "(cached) $ECHO_C" >&6
85504 else
85505
85506
85507
85508       ac_ext=cc
85509 ac_cpp='$CXXCPP $CPPFLAGS'
85510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85513
85514       cat >conftest.$ac_ext <<_ACEOF
85515 /* confdefs.h.  */
85516 _ACEOF
85517 cat confdefs.h >>conftest.$ac_ext
85518 cat >>conftest.$ac_ext <<_ACEOF
85519 /* end confdefs.h.  */
85520 #include <math.h>
85521                       #ifdef HAVE_IEEEFP_H
85522                       #include <ieeefp.h>
85523                       #endif
85524
85525 int
85526 main ()
85527 {
85528  _isinff(0);
85529   ;
85530   return 0;
85531 }
85532 _ACEOF
85533 rm -f conftest.$ac_objext
85534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85535   (eval $ac_compile) 2>conftest.er1
85536   ac_status=$?
85537   grep -v '^ *+' conftest.er1 >conftest.err
85538   rm -f conftest.er1
85539   cat conftest.err >&5
85540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85541   (exit $ac_status); } &&
85542          { ac_try='test -z "$ac_cxx_werror_flag"
85543                          || test ! -s conftest.err'
85544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85545   (eval $ac_try) 2>&5
85546   ac_status=$?
85547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85548   (exit $ac_status); }; } &&
85549          { ac_try='test -s conftest.$ac_objext'
85550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85551   (eval $ac_try) 2>&5
85552   ac_status=$?
85553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85554   (exit $ac_status); }; }; then
85555   glibcxx_cv_func__isinff_use=yes
85556 else
85557   echo "$as_me: failed program was:" >&5
85558 sed 's/^/| /' conftest.$ac_ext >&5
85559
85560 glibcxx_cv_func__isinff_use=no
85561 fi
85562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85563       ac_ext=c
85564 ac_cpp='$CPP $CPPFLAGS'
85565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85568
85569
85570 fi
85571
85572   fi
85573   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
85574 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
85575
85576     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
85577
85578 for ac_func in _isinff
85579 do
85580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85581 echo "$as_me:$LINENO: checking for $ac_func" >&5
85582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85583 if eval "test \"\${$as_ac_var+set}\" = set"; then
85584   echo $ECHO_N "(cached) $ECHO_C" >&6
85585 else
85586   if test x$gcc_no_link = xyes; then
85587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85589    { (exit 1); exit 1; }; }
85590 fi
85591 cat >conftest.$ac_ext <<_ACEOF
85592 /* confdefs.h.  */
85593 _ACEOF
85594 cat confdefs.h >>conftest.$ac_ext
85595 cat >>conftest.$ac_ext <<_ACEOF
85596 /* end confdefs.h.  */
85597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85599 #define $ac_func innocuous_$ac_func
85600
85601 /* System header to define __stub macros and hopefully few prototypes,
85602     which can conflict with char $ac_func (); below.
85603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85604     <limits.h> exists even on freestanding compilers.  */
85605
85606 #ifdef __STDC__
85607 # include <limits.h>
85608 #else
85609 # include <assert.h>
85610 #endif
85611
85612 #undef $ac_func
85613
85614 /* Override any gcc2 internal prototype to avoid an error.  */
85615 #ifdef __cplusplus
85616 extern "C"
85617 {
85618 #endif
85619 /* We use char because int might match the return type of a gcc2
85620    builtin and then its argument prototype would still apply.  */
85621 char $ac_func ();
85622 /* The GNU C library defines this for functions which it implements
85623     to always fail with ENOSYS.  Some functions are actually named
85624     something starting with __ and the normal name is an alias.  */
85625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85626 choke me
85627 #else
85628 char (*f) () = $ac_func;
85629 #endif
85630 #ifdef __cplusplus
85631 }
85632 #endif
85633
85634 int
85635 main ()
85636 {
85637 return f != $ac_func;
85638   ;
85639   return 0;
85640 }
85641 _ACEOF
85642 rm -f conftest.$ac_objext conftest$ac_exeext
85643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85644   (eval $ac_link) 2>conftest.er1
85645   ac_status=$?
85646   grep -v '^ *+' conftest.er1 >conftest.err
85647   rm -f conftest.er1
85648   cat conftest.err >&5
85649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85650   (exit $ac_status); } &&
85651          { ac_try='test -z "$ac_c_werror_flag"
85652                          || test ! -s conftest.err'
85653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85654   (eval $ac_try) 2>&5
85655   ac_status=$?
85656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85657   (exit $ac_status); }; } &&
85658          { ac_try='test -s conftest$ac_exeext'
85659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85660   (eval $ac_try) 2>&5
85661   ac_status=$?
85662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85663   (exit $ac_status); }; }; then
85664   eval "$as_ac_var=yes"
85665 else
85666   echo "$as_me: failed program was:" >&5
85667 sed 's/^/| /' conftest.$ac_ext >&5
85668
85669 eval "$as_ac_var=no"
85670 fi
85671 rm -f conftest.err conftest.$ac_objext \
85672       conftest$ac_exeext conftest.$ac_ext
85673 fi
85674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85676 if test `eval echo '${'$as_ac_var'}'` = yes; then
85677   cat >>confdefs.h <<_ACEOF
85678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85679 _ACEOF
85680
85681 fi
85682 done
85683
85684     fi
85685   fi
85686
85687
85688
85689
85690
85691
85692   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
85693 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
85694   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
85695     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
85696   echo $ECHO_N "(cached) $ECHO_C" >&6
85697 else
85698
85699
85700
85701       ac_ext=cc
85702 ac_cpp='$CXXCPP $CPPFLAGS'
85703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85706
85707       cat >conftest.$ac_ext <<_ACEOF
85708 /* confdefs.h.  */
85709 _ACEOF
85710 cat confdefs.h >>conftest.$ac_ext
85711 cat >>conftest.$ac_ext <<_ACEOF
85712 /* end confdefs.h.  */
85713 #include <math.h>
85714 int
85715 main ()
85716 {
85717  atan2f(0, 0);
85718   ;
85719   return 0;
85720 }
85721 _ACEOF
85722 rm -f conftest.$ac_objext
85723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85724   (eval $ac_compile) 2>conftest.er1
85725   ac_status=$?
85726   grep -v '^ *+' conftest.er1 >conftest.err
85727   rm -f conftest.er1
85728   cat conftest.err >&5
85729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85730   (exit $ac_status); } &&
85731          { ac_try='test -z "$ac_cxx_werror_flag"
85732                          || test ! -s conftest.err'
85733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85734   (eval $ac_try) 2>&5
85735   ac_status=$?
85736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85737   (exit $ac_status); }; } &&
85738          { ac_try='test -s conftest.$ac_objext'
85739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85740   (eval $ac_try) 2>&5
85741   ac_status=$?
85742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85743   (exit $ac_status); }; }; then
85744   glibcxx_cv_func_atan2f_use=yes
85745 else
85746   echo "$as_me: failed program was:" >&5
85747 sed 's/^/| /' conftest.$ac_ext >&5
85748
85749 glibcxx_cv_func_atan2f_use=no
85750 fi
85751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85752       ac_ext=c
85753 ac_cpp='$CPP $CPPFLAGS'
85754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85757
85758
85759 fi
85760
85761   fi
85762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
85763 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
85764
85765   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
85766
85767 for ac_func in atan2f
85768 do
85769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85770 echo "$as_me:$LINENO: checking for $ac_func" >&5
85771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85772 if eval "test \"\${$as_ac_var+set}\" = set"; then
85773   echo $ECHO_N "(cached) $ECHO_C" >&6
85774 else
85775   if test x$gcc_no_link = xyes; then
85776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85778    { (exit 1); exit 1; }; }
85779 fi
85780 cat >conftest.$ac_ext <<_ACEOF
85781 /* confdefs.h.  */
85782 _ACEOF
85783 cat confdefs.h >>conftest.$ac_ext
85784 cat >>conftest.$ac_ext <<_ACEOF
85785 /* end confdefs.h.  */
85786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85788 #define $ac_func innocuous_$ac_func
85789
85790 /* System header to define __stub macros and hopefully few prototypes,
85791     which can conflict with char $ac_func (); below.
85792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85793     <limits.h> exists even on freestanding compilers.  */
85794
85795 #ifdef __STDC__
85796 # include <limits.h>
85797 #else
85798 # include <assert.h>
85799 #endif
85800
85801 #undef $ac_func
85802
85803 /* Override any gcc2 internal prototype to avoid an error.  */
85804 #ifdef __cplusplus
85805 extern "C"
85806 {
85807 #endif
85808 /* We use char because int might match the return type of a gcc2
85809    builtin and then its argument prototype would still apply.  */
85810 char $ac_func ();
85811 /* The GNU C library defines this for functions which it implements
85812     to always fail with ENOSYS.  Some functions are actually named
85813     something starting with __ and the normal name is an alias.  */
85814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85815 choke me
85816 #else
85817 char (*f) () = $ac_func;
85818 #endif
85819 #ifdef __cplusplus
85820 }
85821 #endif
85822
85823 int
85824 main ()
85825 {
85826 return f != $ac_func;
85827   ;
85828   return 0;
85829 }
85830 _ACEOF
85831 rm -f conftest.$ac_objext conftest$ac_exeext
85832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85833   (eval $ac_link) 2>conftest.er1
85834   ac_status=$?
85835   grep -v '^ *+' conftest.er1 >conftest.err
85836   rm -f conftest.er1
85837   cat conftest.err >&5
85838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85839   (exit $ac_status); } &&
85840          { ac_try='test -z "$ac_c_werror_flag"
85841                          || test ! -s conftest.err'
85842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85843   (eval $ac_try) 2>&5
85844   ac_status=$?
85845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85846   (exit $ac_status); }; } &&
85847          { ac_try='test -s conftest$ac_exeext'
85848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85849   (eval $ac_try) 2>&5
85850   ac_status=$?
85851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85852   (exit $ac_status); }; }; then
85853   eval "$as_ac_var=yes"
85854 else
85855   echo "$as_me: failed program was:" >&5
85856 sed 's/^/| /' conftest.$ac_ext >&5
85857
85858 eval "$as_ac_var=no"
85859 fi
85860 rm -f conftest.err conftest.$ac_objext \
85861       conftest$ac_exeext conftest.$ac_ext
85862 fi
85863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85865 if test `eval echo '${'$as_ac_var'}'` = yes; then
85866   cat >>confdefs.h <<_ACEOF
85867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85868 _ACEOF
85869
85870 fi
85871 done
85872
85873   else
85874
85875   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
85876 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
85877   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
85878     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
85879   echo $ECHO_N "(cached) $ECHO_C" >&6
85880 else
85881
85882
85883
85884       ac_ext=cc
85885 ac_cpp='$CXXCPP $CPPFLAGS'
85886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85889
85890       cat >conftest.$ac_ext <<_ACEOF
85891 /* confdefs.h.  */
85892 _ACEOF
85893 cat confdefs.h >>conftest.$ac_ext
85894 cat >>conftest.$ac_ext <<_ACEOF
85895 /* end confdefs.h.  */
85896 #include <math.h>
85897 int
85898 main ()
85899 {
85900  _atan2f(0, 0);
85901   ;
85902   return 0;
85903 }
85904 _ACEOF
85905 rm -f conftest.$ac_objext
85906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85907   (eval $ac_compile) 2>conftest.er1
85908   ac_status=$?
85909   grep -v '^ *+' conftest.er1 >conftest.err
85910   rm -f conftest.er1
85911   cat conftest.err >&5
85912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85913   (exit $ac_status); } &&
85914          { ac_try='test -z "$ac_cxx_werror_flag"
85915                          || test ! -s conftest.err'
85916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85917   (eval $ac_try) 2>&5
85918   ac_status=$?
85919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85920   (exit $ac_status); }; } &&
85921          { ac_try='test -s conftest.$ac_objext'
85922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85923   (eval $ac_try) 2>&5
85924   ac_status=$?
85925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85926   (exit $ac_status); }; }; then
85927   glibcxx_cv_func__atan2f_use=yes
85928 else
85929   echo "$as_me: failed program was:" >&5
85930 sed 's/^/| /' conftest.$ac_ext >&5
85931
85932 glibcxx_cv_func__atan2f_use=no
85933 fi
85934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85935       ac_ext=c
85936 ac_cpp='$CPP $CPPFLAGS'
85937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85940
85941
85942 fi
85943
85944   fi
85945   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
85946 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
85947
85948     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
85949
85950 for ac_func in _atan2f
85951 do
85952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85953 echo "$as_me:$LINENO: checking for $ac_func" >&5
85954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85955 if eval "test \"\${$as_ac_var+set}\" = set"; then
85956   echo $ECHO_N "(cached) $ECHO_C" >&6
85957 else
85958   if test x$gcc_no_link = xyes; then
85959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85961    { (exit 1); exit 1; }; }
85962 fi
85963 cat >conftest.$ac_ext <<_ACEOF
85964 /* confdefs.h.  */
85965 _ACEOF
85966 cat confdefs.h >>conftest.$ac_ext
85967 cat >>conftest.$ac_ext <<_ACEOF
85968 /* end confdefs.h.  */
85969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85971 #define $ac_func innocuous_$ac_func
85972
85973 /* System header to define __stub macros and hopefully few prototypes,
85974     which can conflict with char $ac_func (); below.
85975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85976     <limits.h> exists even on freestanding compilers.  */
85977
85978 #ifdef __STDC__
85979 # include <limits.h>
85980 #else
85981 # include <assert.h>
85982 #endif
85983
85984 #undef $ac_func
85985
85986 /* Override any gcc2 internal prototype to avoid an error.  */
85987 #ifdef __cplusplus
85988 extern "C"
85989 {
85990 #endif
85991 /* We use char because int might match the return type of a gcc2
85992    builtin and then its argument prototype would still apply.  */
85993 char $ac_func ();
85994 /* The GNU C library defines this for functions which it implements
85995     to always fail with ENOSYS.  Some functions are actually named
85996     something starting with __ and the normal name is an alias.  */
85997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85998 choke me
85999 #else
86000 char (*f) () = $ac_func;
86001 #endif
86002 #ifdef __cplusplus
86003 }
86004 #endif
86005
86006 int
86007 main ()
86008 {
86009 return f != $ac_func;
86010   ;
86011   return 0;
86012 }
86013 _ACEOF
86014 rm -f conftest.$ac_objext conftest$ac_exeext
86015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86016   (eval $ac_link) 2>conftest.er1
86017   ac_status=$?
86018   grep -v '^ *+' conftest.er1 >conftest.err
86019   rm -f conftest.er1
86020   cat conftest.err >&5
86021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86022   (exit $ac_status); } &&
86023          { ac_try='test -z "$ac_c_werror_flag"
86024                          || test ! -s conftest.err'
86025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86026   (eval $ac_try) 2>&5
86027   ac_status=$?
86028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86029   (exit $ac_status); }; } &&
86030          { ac_try='test -s conftest$ac_exeext'
86031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86032   (eval $ac_try) 2>&5
86033   ac_status=$?
86034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86035   (exit $ac_status); }; }; then
86036   eval "$as_ac_var=yes"
86037 else
86038   echo "$as_me: failed program was:" >&5
86039 sed 's/^/| /' conftest.$ac_ext >&5
86040
86041 eval "$as_ac_var=no"
86042 fi
86043 rm -f conftest.err conftest.$ac_objext \
86044       conftest$ac_exeext conftest.$ac_ext
86045 fi
86046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86048 if test `eval echo '${'$as_ac_var'}'` = yes; then
86049   cat >>confdefs.h <<_ACEOF
86050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86051 _ACEOF
86052
86053 fi
86054 done
86055
86056     fi
86057   fi
86058
86059
86060
86061
86062
86063
86064   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
86065 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
86066   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
86067     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
86068   echo $ECHO_N "(cached) $ECHO_C" >&6
86069 else
86070
86071
86072
86073       ac_ext=cc
86074 ac_cpp='$CXXCPP $CPPFLAGS'
86075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86078
86079       cat >conftest.$ac_ext <<_ACEOF
86080 /* confdefs.h.  */
86081 _ACEOF
86082 cat confdefs.h >>conftest.$ac_ext
86083 cat >>conftest.$ac_ext <<_ACEOF
86084 /* end confdefs.h.  */
86085 #include <math.h>
86086                       #ifdef HAVE_IEEEFP_H
86087                       #include <ieeefp.h>
86088                       #endif
86089
86090 int
86091 main ()
86092 {
86093  fabsf(0);
86094   ;
86095   return 0;
86096 }
86097 _ACEOF
86098 rm -f conftest.$ac_objext
86099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86100   (eval $ac_compile) 2>conftest.er1
86101   ac_status=$?
86102   grep -v '^ *+' conftest.er1 >conftest.err
86103   rm -f conftest.er1
86104   cat conftest.err >&5
86105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86106   (exit $ac_status); } &&
86107          { ac_try='test -z "$ac_cxx_werror_flag"
86108                          || test ! -s conftest.err'
86109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86110   (eval $ac_try) 2>&5
86111   ac_status=$?
86112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86113   (exit $ac_status); }; } &&
86114          { ac_try='test -s conftest.$ac_objext'
86115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86116   (eval $ac_try) 2>&5
86117   ac_status=$?
86118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86119   (exit $ac_status); }; }; then
86120   glibcxx_cv_func_fabsf_use=yes
86121 else
86122   echo "$as_me: failed program was:" >&5
86123 sed 's/^/| /' conftest.$ac_ext >&5
86124
86125 glibcxx_cv_func_fabsf_use=no
86126 fi
86127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86128       ac_ext=c
86129 ac_cpp='$CPP $CPPFLAGS'
86130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86133
86134
86135 fi
86136
86137   fi
86138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
86139 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
86140
86141   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
86142
86143 for ac_func in fabsf
86144 do
86145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86146 echo "$as_me:$LINENO: checking for $ac_func" >&5
86147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86148 if eval "test \"\${$as_ac_var+set}\" = set"; then
86149   echo $ECHO_N "(cached) $ECHO_C" >&6
86150 else
86151   if test x$gcc_no_link = xyes; then
86152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86154    { (exit 1); exit 1; }; }
86155 fi
86156 cat >conftest.$ac_ext <<_ACEOF
86157 /* confdefs.h.  */
86158 _ACEOF
86159 cat confdefs.h >>conftest.$ac_ext
86160 cat >>conftest.$ac_ext <<_ACEOF
86161 /* end confdefs.h.  */
86162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86164 #define $ac_func innocuous_$ac_func
86165
86166 /* System header to define __stub macros and hopefully few prototypes,
86167     which can conflict with char $ac_func (); below.
86168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86169     <limits.h> exists even on freestanding compilers.  */
86170
86171 #ifdef __STDC__
86172 # include <limits.h>
86173 #else
86174 # include <assert.h>
86175 #endif
86176
86177 #undef $ac_func
86178
86179 /* Override any gcc2 internal prototype to avoid an error.  */
86180 #ifdef __cplusplus
86181 extern "C"
86182 {
86183 #endif
86184 /* We use char because int might match the return type of a gcc2
86185    builtin and then its argument prototype would still apply.  */
86186 char $ac_func ();
86187 /* The GNU C library defines this for functions which it implements
86188     to always fail with ENOSYS.  Some functions are actually named
86189     something starting with __ and the normal name is an alias.  */
86190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86191 choke me
86192 #else
86193 char (*f) () = $ac_func;
86194 #endif
86195 #ifdef __cplusplus
86196 }
86197 #endif
86198
86199 int
86200 main ()
86201 {
86202 return f != $ac_func;
86203   ;
86204   return 0;
86205 }
86206 _ACEOF
86207 rm -f conftest.$ac_objext conftest$ac_exeext
86208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86209   (eval $ac_link) 2>conftest.er1
86210   ac_status=$?
86211   grep -v '^ *+' conftest.er1 >conftest.err
86212   rm -f conftest.er1
86213   cat conftest.err >&5
86214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86215   (exit $ac_status); } &&
86216          { ac_try='test -z "$ac_c_werror_flag"
86217                          || test ! -s conftest.err'
86218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86219   (eval $ac_try) 2>&5
86220   ac_status=$?
86221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86222   (exit $ac_status); }; } &&
86223          { ac_try='test -s conftest$ac_exeext'
86224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86225   (eval $ac_try) 2>&5
86226   ac_status=$?
86227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86228   (exit $ac_status); }; }; then
86229   eval "$as_ac_var=yes"
86230 else
86231   echo "$as_me: failed program was:" >&5
86232 sed 's/^/| /' conftest.$ac_ext >&5
86233
86234 eval "$as_ac_var=no"
86235 fi
86236 rm -f conftest.err conftest.$ac_objext \
86237       conftest$ac_exeext conftest.$ac_ext
86238 fi
86239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86241 if test `eval echo '${'$as_ac_var'}'` = yes; then
86242   cat >>confdefs.h <<_ACEOF
86243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86244 _ACEOF
86245
86246 fi
86247 done
86248
86249   else
86250
86251   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
86252 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
86253   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
86254     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
86255   echo $ECHO_N "(cached) $ECHO_C" >&6
86256 else
86257
86258
86259
86260       ac_ext=cc
86261 ac_cpp='$CXXCPP $CPPFLAGS'
86262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86265
86266       cat >conftest.$ac_ext <<_ACEOF
86267 /* confdefs.h.  */
86268 _ACEOF
86269 cat confdefs.h >>conftest.$ac_ext
86270 cat >>conftest.$ac_ext <<_ACEOF
86271 /* end confdefs.h.  */
86272 #include <math.h>
86273                       #ifdef HAVE_IEEEFP_H
86274                       #include <ieeefp.h>
86275                       #endif
86276
86277 int
86278 main ()
86279 {
86280  _fabsf(0);
86281   ;
86282   return 0;
86283 }
86284 _ACEOF
86285 rm -f conftest.$ac_objext
86286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86287   (eval $ac_compile) 2>conftest.er1
86288   ac_status=$?
86289   grep -v '^ *+' conftest.er1 >conftest.err
86290   rm -f conftest.er1
86291   cat conftest.err >&5
86292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86293   (exit $ac_status); } &&
86294          { ac_try='test -z "$ac_cxx_werror_flag"
86295                          || test ! -s conftest.err'
86296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86297   (eval $ac_try) 2>&5
86298   ac_status=$?
86299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86300   (exit $ac_status); }; } &&
86301          { ac_try='test -s conftest.$ac_objext'
86302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86303   (eval $ac_try) 2>&5
86304   ac_status=$?
86305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86306   (exit $ac_status); }; }; then
86307   glibcxx_cv_func__fabsf_use=yes
86308 else
86309   echo "$as_me: failed program was:" >&5
86310 sed 's/^/| /' conftest.$ac_ext >&5
86311
86312 glibcxx_cv_func__fabsf_use=no
86313 fi
86314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86315       ac_ext=c
86316 ac_cpp='$CPP $CPPFLAGS'
86317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86320
86321
86322 fi
86323
86324   fi
86325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
86326 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
86327
86328     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
86329
86330 for ac_func in _fabsf
86331 do
86332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86333 echo "$as_me:$LINENO: checking for $ac_func" >&5
86334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86335 if eval "test \"\${$as_ac_var+set}\" = set"; then
86336   echo $ECHO_N "(cached) $ECHO_C" >&6
86337 else
86338   if test x$gcc_no_link = xyes; then
86339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86341    { (exit 1); exit 1; }; }
86342 fi
86343 cat >conftest.$ac_ext <<_ACEOF
86344 /* confdefs.h.  */
86345 _ACEOF
86346 cat confdefs.h >>conftest.$ac_ext
86347 cat >>conftest.$ac_ext <<_ACEOF
86348 /* end confdefs.h.  */
86349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86351 #define $ac_func innocuous_$ac_func
86352
86353 /* System header to define __stub macros and hopefully few prototypes,
86354     which can conflict with char $ac_func (); below.
86355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86356     <limits.h> exists even on freestanding compilers.  */
86357
86358 #ifdef __STDC__
86359 # include <limits.h>
86360 #else
86361 # include <assert.h>
86362 #endif
86363
86364 #undef $ac_func
86365
86366 /* Override any gcc2 internal prototype to avoid an error.  */
86367 #ifdef __cplusplus
86368 extern "C"
86369 {
86370 #endif
86371 /* We use char because int might match the return type of a gcc2
86372    builtin and then its argument prototype would still apply.  */
86373 char $ac_func ();
86374 /* The GNU C library defines this for functions which it implements
86375     to always fail with ENOSYS.  Some functions are actually named
86376     something starting with __ and the normal name is an alias.  */
86377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86378 choke me
86379 #else
86380 char (*f) () = $ac_func;
86381 #endif
86382 #ifdef __cplusplus
86383 }
86384 #endif
86385
86386 int
86387 main ()
86388 {
86389 return f != $ac_func;
86390   ;
86391   return 0;
86392 }
86393 _ACEOF
86394 rm -f conftest.$ac_objext conftest$ac_exeext
86395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86396   (eval $ac_link) 2>conftest.er1
86397   ac_status=$?
86398   grep -v '^ *+' conftest.er1 >conftest.err
86399   rm -f conftest.er1
86400   cat conftest.err >&5
86401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86402   (exit $ac_status); } &&
86403          { ac_try='test -z "$ac_c_werror_flag"
86404                          || test ! -s conftest.err'
86405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86406   (eval $ac_try) 2>&5
86407   ac_status=$?
86408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86409   (exit $ac_status); }; } &&
86410          { ac_try='test -s conftest$ac_exeext'
86411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86412   (eval $ac_try) 2>&5
86413   ac_status=$?
86414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86415   (exit $ac_status); }; }; then
86416   eval "$as_ac_var=yes"
86417 else
86418   echo "$as_me: failed program was:" >&5
86419 sed 's/^/| /' conftest.$ac_ext >&5
86420
86421 eval "$as_ac_var=no"
86422 fi
86423 rm -f conftest.err conftest.$ac_objext \
86424       conftest$ac_exeext conftest.$ac_ext
86425 fi
86426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86428 if test `eval echo '${'$as_ac_var'}'` = yes; then
86429   cat >>confdefs.h <<_ACEOF
86430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86431 _ACEOF
86432
86433 fi
86434 done
86435
86436     fi
86437   fi
86438
86439
86440
86441
86442
86443
86444   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
86445 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
86446   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
86447     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
86448   echo $ECHO_N "(cached) $ECHO_C" >&6
86449 else
86450
86451
86452
86453       ac_ext=cc
86454 ac_cpp='$CXXCPP $CPPFLAGS'
86455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86458
86459       cat >conftest.$ac_ext <<_ACEOF
86460 /* confdefs.h.  */
86461 _ACEOF
86462 cat confdefs.h >>conftest.$ac_ext
86463 cat >>conftest.$ac_ext <<_ACEOF
86464 /* end confdefs.h.  */
86465 #include <math.h>
86466 int
86467 main ()
86468 {
86469  fmodf(0, 0);
86470   ;
86471   return 0;
86472 }
86473 _ACEOF
86474 rm -f conftest.$ac_objext
86475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86476   (eval $ac_compile) 2>conftest.er1
86477   ac_status=$?
86478   grep -v '^ *+' conftest.er1 >conftest.err
86479   rm -f conftest.er1
86480   cat conftest.err >&5
86481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86482   (exit $ac_status); } &&
86483          { ac_try='test -z "$ac_cxx_werror_flag"
86484                          || test ! -s conftest.err'
86485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86486   (eval $ac_try) 2>&5
86487   ac_status=$?
86488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86489   (exit $ac_status); }; } &&
86490          { ac_try='test -s conftest.$ac_objext'
86491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86492   (eval $ac_try) 2>&5
86493   ac_status=$?
86494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86495   (exit $ac_status); }; }; then
86496   glibcxx_cv_func_fmodf_use=yes
86497 else
86498   echo "$as_me: failed program was:" >&5
86499 sed 's/^/| /' conftest.$ac_ext >&5
86500
86501 glibcxx_cv_func_fmodf_use=no
86502 fi
86503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86504       ac_ext=c
86505 ac_cpp='$CPP $CPPFLAGS'
86506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86509
86510
86511 fi
86512
86513   fi
86514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
86515 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
86516
86517   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
86518
86519 for ac_func in fmodf
86520 do
86521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86522 echo "$as_me:$LINENO: checking for $ac_func" >&5
86523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86524 if eval "test \"\${$as_ac_var+set}\" = set"; then
86525   echo $ECHO_N "(cached) $ECHO_C" >&6
86526 else
86527   if test x$gcc_no_link = xyes; then
86528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86530    { (exit 1); exit 1; }; }
86531 fi
86532 cat >conftest.$ac_ext <<_ACEOF
86533 /* confdefs.h.  */
86534 _ACEOF
86535 cat confdefs.h >>conftest.$ac_ext
86536 cat >>conftest.$ac_ext <<_ACEOF
86537 /* end confdefs.h.  */
86538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86540 #define $ac_func innocuous_$ac_func
86541
86542 /* System header to define __stub macros and hopefully few prototypes,
86543     which can conflict with char $ac_func (); below.
86544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86545     <limits.h> exists even on freestanding compilers.  */
86546
86547 #ifdef __STDC__
86548 # include <limits.h>
86549 #else
86550 # include <assert.h>
86551 #endif
86552
86553 #undef $ac_func
86554
86555 /* Override any gcc2 internal prototype to avoid an error.  */
86556 #ifdef __cplusplus
86557 extern "C"
86558 {
86559 #endif
86560 /* We use char because int might match the return type of a gcc2
86561    builtin and then its argument prototype would still apply.  */
86562 char $ac_func ();
86563 /* The GNU C library defines this for functions which it implements
86564     to always fail with ENOSYS.  Some functions are actually named
86565     something starting with __ and the normal name is an alias.  */
86566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86567 choke me
86568 #else
86569 char (*f) () = $ac_func;
86570 #endif
86571 #ifdef __cplusplus
86572 }
86573 #endif
86574
86575 int
86576 main ()
86577 {
86578 return f != $ac_func;
86579   ;
86580   return 0;
86581 }
86582 _ACEOF
86583 rm -f conftest.$ac_objext conftest$ac_exeext
86584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86585   (eval $ac_link) 2>conftest.er1
86586   ac_status=$?
86587   grep -v '^ *+' conftest.er1 >conftest.err
86588   rm -f conftest.er1
86589   cat conftest.err >&5
86590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86591   (exit $ac_status); } &&
86592          { ac_try='test -z "$ac_c_werror_flag"
86593                          || test ! -s conftest.err'
86594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86595   (eval $ac_try) 2>&5
86596   ac_status=$?
86597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86598   (exit $ac_status); }; } &&
86599          { ac_try='test -s conftest$ac_exeext'
86600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86601   (eval $ac_try) 2>&5
86602   ac_status=$?
86603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86604   (exit $ac_status); }; }; then
86605   eval "$as_ac_var=yes"
86606 else
86607   echo "$as_me: failed program was:" >&5
86608 sed 's/^/| /' conftest.$ac_ext >&5
86609
86610 eval "$as_ac_var=no"
86611 fi
86612 rm -f conftest.err conftest.$ac_objext \
86613       conftest$ac_exeext conftest.$ac_ext
86614 fi
86615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86617 if test `eval echo '${'$as_ac_var'}'` = yes; then
86618   cat >>confdefs.h <<_ACEOF
86619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86620 _ACEOF
86621
86622 fi
86623 done
86624
86625   else
86626
86627   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
86628 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
86629   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
86630     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
86631   echo $ECHO_N "(cached) $ECHO_C" >&6
86632 else
86633
86634
86635
86636       ac_ext=cc
86637 ac_cpp='$CXXCPP $CPPFLAGS'
86638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86641
86642       cat >conftest.$ac_ext <<_ACEOF
86643 /* confdefs.h.  */
86644 _ACEOF
86645 cat confdefs.h >>conftest.$ac_ext
86646 cat >>conftest.$ac_ext <<_ACEOF
86647 /* end confdefs.h.  */
86648 #include <math.h>
86649 int
86650 main ()
86651 {
86652  _fmodf(0, 0);
86653   ;
86654   return 0;
86655 }
86656 _ACEOF
86657 rm -f conftest.$ac_objext
86658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86659   (eval $ac_compile) 2>conftest.er1
86660   ac_status=$?
86661   grep -v '^ *+' conftest.er1 >conftest.err
86662   rm -f conftest.er1
86663   cat conftest.err >&5
86664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86665   (exit $ac_status); } &&
86666          { ac_try='test -z "$ac_cxx_werror_flag"
86667                          || test ! -s conftest.err'
86668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86669   (eval $ac_try) 2>&5
86670   ac_status=$?
86671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86672   (exit $ac_status); }; } &&
86673          { ac_try='test -s conftest.$ac_objext'
86674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86675   (eval $ac_try) 2>&5
86676   ac_status=$?
86677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86678   (exit $ac_status); }; }; then
86679   glibcxx_cv_func__fmodf_use=yes
86680 else
86681   echo "$as_me: failed program was:" >&5
86682 sed 's/^/| /' conftest.$ac_ext >&5
86683
86684 glibcxx_cv_func__fmodf_use=no
86685 fi
86686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86687       ac_ext=c
86688 ac_cpp='$CPP $CPPFLAGS'
86689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86692
86693
86694 fi
86695
86696   fi
86697   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
86698 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
86699
86700     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
86701
86702 for ac_func in _fmodf
86703 do
86704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86705 echo "$as_me:$LINENO: checking for $ac_func" >&5
86706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86707 if eval "test \"\${$as_ac_var+set}\" = set"; then
86708   echo $ECHO_N "(cached) $ECHO_C" >&6
86709 else
86710   if test x$gcc_no_link = xyes; then
86711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86713    { (exit 1); exit 1; }; }
86714 fi
86715 cat >conftest.$ac_ext <<_ACEOF
86716 /* confdefs.h.  */
86717 _ACEOF
86718 cat confdefs.h >>conftest.$ac_ext
86719 cat >>conftest.$ac_ext <<_ACEOF
86720 /* end confdefs.h.  */
86721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86723 #define $ac_func innocuous_$ac_func
86724
86725 /* System header to define __stub macros and hopefully few prototypes,
86726     which can conflict with char $ac_func (); below.
86727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86728     <limits.h> exists even on freestanding compilers.  */
86729
86730 #ifdef __STDC__
86731 # include <limits.h>
86732 #else
86733 # include <assert.h>
86734 #endif
86735
86736 #undef $ac_func
86737
86738 /* Override any gcc2 internal prototype to avoid an error.  */
86739 #ifdef __cplusplus
86740 extern "C"
86741 {
86742 #endif
86743 /* We use char because int might match the return type of a gcc2
86744    builtin and then its argument prototype would still apply.  */
86745 char $ac_func ();
86746 /* The GNU C library defines this for functions which it implements
86747     to always fail with ENOSYS.  Some functions are actually named
86748     something starting with __ and the normal name is an alias.  */
86749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86750 choke me
86751 #else
86752 char (*f) () = $ac_func;
86753 #endif
86754 #ifdef __cplusplus
86755 }
86756 #endif
86757
86758 int
86759 main ()
86760 {
86761 return f != $ac_func;
86762   ;
86763   return 0;
86764 }
86765 _ACEOF
86766 rm -f conftest.$ac_objext conftest$ac_exeext
86767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86768   (eval $ac_link) 2>conftest.er1
86769   ac_status=$?
86770   grep -v '^ *+' conftest.er1 >conftest.err
86771   rm -f conftest.er1
86772   cat conftest.err >&5
86773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86774   (exit $ac_status); } &&
86775          { ac_try='test -z "$ac_c_werror_flag"
86776                          || test ! -s conftest.err'
86777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86778   (eval $ac_try) 2>&5
86779   ac_status=$?
86780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86781   (exit $ac_status); }; } &&
86782          { ac_try='test -s conftest$ac_exeext'
86783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86784   (eval $ac_try) 2>&5
86785   ac_status=$?
86786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86787   (exit $ac_status); }; }; then
86788   eval "$as_ac_var=yes"
86789 else
86790   echo "$as_me: failed program was:" >&5
86791 sed 's/^/| /' conftest.$ac_ext >&5
86792
86793 eval "$as_ac_var=no"
86794 fi
86795 rm -f conftest.err conftest.$ac_objext \
86796       conftest$ac_exeext conftest.$ac_ext
86797 fi
86798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86800 if test `eval echo '${'$as_ac_var'}'` = yes; then
86801   cat >>confdefs.h <<_ACEOF
86802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86803 _ACEOF
86804
86805 fi
86806 done
86807
86808     fi
86809   fi
86810
86811
86812
86813
86814
86815
86816   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
86817 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
86818   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
86819     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
86820   echo $ECHO_N "(cached) $ECHO_C" >&6
86821 else
86822
86823
86824
86825       ac_ext=cc
86826 ac_cpp='$CXXCPP $CPPFLAGS'
86827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86830
86831       cat >conftest.$ac_ext <<_ACEOF
86832 /* confdefs.h.  */
86833 _ACEOF
86834 cat confdefs.h >>conftest.$ac_ext
86835 cat >>conftest.$ac_ext <<_ACEOF
86836 /* end confdefs.h.  */
86837 #include <math.h>
86838 int
86839 main ()
86840 {
86841  frexpf(0, 0);
86842   ;
86843   return 0;
86844 }
86845 _ACEOF
86846 rm -f conftest.$ac_objext
86847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86848   (eval $ac_compile) 2>conftest.er1
86849   ac_status=$?
86850   grep -v '^ *+' conftest.er1 >conftest.err
86851   rm -f conftest.er1
86852   cat conftest.err >&5
86853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86854   (exit $ac_status); } &&
86855          { ac_try='test -z "$ac_cxx_werror_flag"
86856                          || test ! -s conftest.err'
86857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86858   (eval $ac_try) 2>&5
86859   ac_status=$?
86860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86861   (exit $ac_status); }; } &&
86862          { ac_try='test -s conftest.$ac_objext'
86863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86864   (eval $ac_try) 2>&5
86865   ac_status=$?
86866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86867   (exit $ac_status); }; }; then
86868   glibcxx_cv_func_frexpf_use=yes
86869 else
86870   echo "$as_me: failed program was:" >&5
86871 sed 's/^/| /' conftest.$ac_ext >&5
86872
86873 glibcxx_cv_func_frexpf_use=no
86874 fi
86875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86876       ac_ext=c
86877 ac_cpp='$CPP $CPPFLAGS'
86878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86881
86882
86883 fi
86884
86885   fi
86886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
86887 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
86888
86889   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
86890
86891 for ac_func in frexpf
86892 do
86893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86894 echo "$as_me:$LINENO: checking for $ac_func" >&5
86895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86896 if eval "test \"\${$as_ac_var+set}\" = set"; then
86897   echo $ECHO_N "(cached) $ECHO_C" >&6
86898 else
86899   if test x$gcc_no_link = xyes; then
86900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86902    { (exit 1); exit 1; }; }
86903 fi
86904 cat >conftest.$ac_ext <<_ACEOF
86905 /* confdefs.h.  */
86906 _ACEOF
86907 cat confdefs.h >>conftest.$ac_ext
86908 cat >>conftest.$ac_ext <<_ACEOF
86909 /* end confdefs.h.  */
86910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86912 #define $ac_func innocuous_$ac_func
86913
86914 /* System header to define __stub macros and hopefully few prototypes,
86915     which can conflict with char $ac_func (); below.
86916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86917     <limits.h> exists even on freestanding compilers.  */
86918
86919 #ifdef __STDC__
86920 # include <limits.h>
86921 #else
86922 # include <assert.h>
86923 #endif
86924
86925 #undef $ac_func
86926
86927 /* Override any gcc2 internal prototype to avoid an error.  */
86928 #ifdef __cplusplus
86929 extern "C"
86930 {
86931 #endif
86932 /* We use char because int might match the return type of a gcc2
86933    builtin and then its argument prototype would still apply.  */
86934 char $ac_func ();
86935 /* The GNU C library defines this for functions which it implements
86936     to always fail with ENOSYS.  Some functions are actually named
86937     something starting with __ and the normal name is an alias.  */
86938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86939 choke me
86940 #else
86941 char (*f) () = $ac_func;
86942 #endif
86943 #ifdef __cplusplus
86944 }
86945 #endif
86946
86947 int
86948 main ()
86949 {
86950 return f != $ac_func;
86951   ;
86952   return 0;
86953 }
86954 _ACEOF
86955 rm -f conftest.$ac_objext conftest$ac_exeext
86956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86957   (eval $ac_link) 2>conftest.er1
86958   ac_status=$?
86959   grep -v '^ *+' conftest.er1 >conftest.err
86960   rm -f conftest.er1
86961   cat conftest.err >&5
86962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86963   (exit $ac_status); } &&
86964          { ac_try='test -z "$ac_c_werror_flag"
86965                          || test ! -s conftest.err'
86966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86967   (eval $ac_try) 2>&5
86968   ac_status=$?
86969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86970   (exit $ac_status); }; } &&
86971          { ac_try='test -s conftest$ac_exeext'
86972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86973   (eval $ac_try) 2>&5
86974   ac_status=$?
86975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86976   (exit $ac_status); }; }; then
86977   eval "$as_ac_var=yes"
86978 else
86979   echo "$as_me: failed program was:" >&5
86980 sed 's/^/| /' conftest.$ac_ext >&5
86981
86982 eval "$as_ac_var=no"
86983 fi
86984 rm -f conftest.err conftest.$ac_objext \
86985       conftest$ac_exeext conftest.$ac_ext
86986 fi
86987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86989 if test `eval echo '${'$as_ac_var'}'` = yes; then
86990   cat >>confdefs.h <<_ACEOF
86991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86992 _ACEOF
86993
86994 fi
86995 done
86996
86997   else
86998
86999   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
87000 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
87001   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
87002     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
87003   echo $ECHO_N "(cached) $ECHO_C" >&6
87004 else
87005
87006
87007
87008       ac_ext=cc
87009 ac_cpp='$CXXCPP $CPPFLAGS'
87010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87013
87014       cat >conftest.$ac_ext <<_ACEOF
87015 /* confdefs.h.  */
87016 _ACEOF
87017 cat confdefs.h >>conftest.$ac_ext
87018 cat >>conftest.$ac_ext <<_ACEOF
87019 /* end confdefs.h.  */
87020 #include <math.h>
87021 int
87022 main ()
87023 {
87024  _frexpf(0, 0);
87025   ;
87026   return 0;
87027 }
87028 _ACEOF
87029 rm -f conftest.$ac_objext
87030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87031   (eval $ac_compile) 2>conftest.er1
87032   ac_status=$?
87033   grep -v '^ *+' conftest.er1 >conftest.err
87034   rm -f conftest.er1
87035   cat conftest.err >&5
87036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87037   (exit $ac_status); } &&
87038          { ac_try='test -z "$ac_cxx_werror_flag"
87039                          || test ! -s conftest.err'
87040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87041   (eval $ac_try) 2>&5
87042   ac_status=$?
87043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87044   (exit $ac_status); }; } &&
87045          { ac_try='test -s conftest.$ac_objext'
87046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87047   (eval $ac_try) 2>&5
87048   ac_status=$?
87049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87050   (exit $ac_status); }; }; then
87051   glibcxx_cv_func__frexpf_use=yes
87052 else
87053   echo "$as_me: failed program was:" >&5
87054 sed 's/^/| /' conftest.$ac_ext >&5
87055
87056 glibcxx_cv_func__frexpf_use=no
87057 fi
87058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87059       ac_ext=c
87060 ac_cpp='$CPP $CPPFLAGS'
87061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87064
87065
87066 fi
87067
87068   fi
87069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
87070 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
87071
87072     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
87073
87074 for ac_func in _frexpf
87075 do
87076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87077 echo "$as_me:$LINENO: checking for $ac_func" >&5
87078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87079 if eval "test \"\${$as_ac_var+set}\" = set"; then
87080   echo $ECHO_N "(cached) $ECHO_C" >&6
87081 else
87082   if test x$gcc_no_link = xyes; then
87083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87085    { (exit 1); exit 1; }; }
87086 fi
87087 cat >conftest.$ac_ext <<_ACEOF
87088 /* confdefs.h.  */
87089 _ACEOF
87090 cat confdefs.h >>conftest.$ac_ext
87091 cat >>conftest.$ac_ext <<_ACEOF
87092 /* end confdefs.h.  */
87093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87095 #define $ac_func innocuous_$ac_func
87096
87097 /* System header to define __stub macros and hopefully few prototypes,
87098     which can conflict with char $ac_func (); below.
87099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87100     <limits.h> exists even on freestanding compilers.  */
87101
87102 #ifdef __STDC__
87103 # include <limits.h>
87104 #else
87105 # include <assert.h>
87106 #endif
87107
87108 #undef $ac_func
87109
87110 /* Override any gcc2 internal prototype to avoid an error.  */
87111 #ifdef __cplusplus
87112 extern "C"
87113 {
87114 #endif
87115 /* We use char because int might match the return type of a gcc2
87116    builtin and then its argument prototype would still apply.  */
87117 char $ac_func ();
87118 /* The GNU C library defines this for functions which it implements
87119     to always fail with ENOSYS.  Some functions are actually named
87120     something starting with __ and the normal name is an alias.  */
87121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87122 choke me
87123 #else
87124 char (*f) () = $ac_func;
87125 #endif
87126 #ifdef __cplusplus
87127 }
87128 #endif
87129
87130 int
87131 main ()
87132 {
87133 return f != $ac_func;
87134   ;
87135   return 0;
87136 }
87137 _ACEOF
87138 rm -f conftest.$ac_objext conftest$ac_exeext
87139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87140   (eval $ac_link) 2>conftest.er1
87141   ac_status=$?
87142   grep -v '^ *+' conftest.er1 >conftest.err
87143   rm -f conftest.er1
87144   cat conftest.err >&5
87145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87146   (exit $ac_status); } &&
87147          { ac_try='test -z "$ac_c_werror_flag"
87148                          || test ! -s conftest.err'
87149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87150   (eval $ac_try) 2>&5
87151   ac_status=$?
87152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87153   (exit $ac_status); }; } &&
87154          { ac_try='test -s conftest$ac_exeext'
87155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87156   (eval $ac_try) 2>&5
87157   ac_status=$?
87158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87159   (exit $ac_status); }; }; then
87160   eval "$as_ac_var=yes"
87161 else
87162   echo "$as_me: failed program was:" >&5
87163 sed 's/^/| /' conftest.$ac_ext >&5
87164
87165 eval "$as_ac_var=no"
87166 fi
87167 rm -f conftest.err conftest.$ac_objext \
87168       conftest$ac_exeext conftest.$ac_ext
87169 fi
87170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87172 if test `eval echo '${'$as_ac_var'}'` = yes; then
87173   cat >>confdefs.h <<_ACEOF
87174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87175 _ACEOF
87176
87177 fi
87178 done
87179
87180     fi
87181   fi
87182
87183
87184
87185
87186
87187
87188   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
87189 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
87190   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
87191     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
87192   echo $ECHO_N "(cached) $ECHO_C" >&6
87193 else
87194
87195
87196
87197       ac_ext=cc
87198 ac_cpp='$CXXCPP $CPPFLAGS'
87199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87202
87203       cat >conftest.$ac_ext <<_ACEOF
87204 /* confdefs.h.  */
87205 _ACEOF
87206 cat confdefs.h >>conftest.$ac_ext
87207 cat >>conftest.$ac_ext <<_ACEOF
87208 /* end confdefs.h.  */
87209 #include <math.h>
87210 int
87211 main ()
87212 {
87213  hypotf(0, 0);
87214   ;
87215   return 0;
87216 }
87217 _ACEOF
87218 rm -f conftest.$ac_objext
87219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87220   (eval $ac_compile) 2>conftest.er1
87221   ac_status=$?
87222   grep -v '^ *+' conftest.er1 >conftest.err
87223   rm -f conftest.er1
87224   cat conftest.err >&5
87225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87226   (exit $ac_status); } &&
87227          { ac_try='test -z "$ac_cxx_werror_flag"
87228                          || test ! -s conftest.err'
87229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87230   (eval $ac_try) 2>&5
87231   ac_status=$?
87232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87233   (exit $ac_status); }; } &&
87234          { ac_try='test -s conftest.$ac_objext'
87235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87236   (eval $ac_try) 2>&5
87237   ac_status=$?
87238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87239   (exit $ac_status); }; }; then
87240   glibcxx_cv_func_hypotf_use=yes
87241 else
87242   echo "$as_me: failed program was:" >&5
87243 sed 's/^/| /' conftest.$ac_ext >&5
87244
87245 glibcxx_cv_func_hypotf_use=no
87246 fi
87247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87248       ac_ext=c
87249 ac_cpp='$CPP $CPPFLAGS'
87250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87253
87254
87255 fi
87256
87257   fi
87258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
87259 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
87260
87261   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
87262
87263 for ac_func in hypotf
87264 do
87265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87266 echo "$as_me:$LINENO: checking for $ac_func" >&5
87267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87268 if eval "test \"\${$as_ac_var+set}\" = set"; then
87269   echo $ECHO_N "(cached) $ECHO_C" >&6
87270 else
87271   if test x$gcc_no_link = xyes; then
87272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87274    { (exit 1); exit 1; }; }
87275 fi
87276 cat >conftest.$ac_ext <<_ACEOF
87277 /* confdefs.h.  */
87278 _ACEOF
87279 cat confdefs.h >>conftest.$ac_ext
87280 cat >>conftest.$ac_ext <<_ACEOF
87281 /* end confdefs.h.  */
87282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87284 #define $ac_func innocuous_$ac_func
87285
87286 /* System header to define __stub macros and hopefully few prototypes,
87287     which can conflict with char $ac_func (); below.
87288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87289     <limits.h> exists even on freestanding compilers.  */
87290
87291 #ifdef __STDC__
87292 # include <limits.h>
87293 #else
87294 # include <assert.h>
87295 #endif
87296
87297 #undef $ac_func
87298
87299 /* Override any gcc2 internal prototype to avoid an error.  */
87300 #ifdef __cplusplus
87301 extern "C"
87302 {
87303 #endif
87304 /* We use char because int might match the return type of a gcc2
87305    builtin and then its argument prototype would still apply.  */
87306 char $ac_func ();
87307 /* The GNU C library defines this for functions which it implements
87308     to always fail with ENOSYS.  Some functions are actually named
87309     something starting with __ and the normal name is an alias.  */
87310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87311 choke me
87312 #else
87313 char (*f) () = $ac_func;
87314 #endif
87315 #ifdef __cplusplus
87316 }
87317 #endif
87318
87319 int
87320 main ()
87321 {
87322 return f != $ac_func;
87323   ;
87324   return 0;
87325 }
87326 _ACEOF
87327 rm -f conftest.$ac_objext conftest$ac_exeext
87328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87329   (eval $ac_link) 2>conftest.er1
87330   ac_status=$?
87331   grep -v '^ *+' conftest.er1 >conftest.err
87332   rm -f conftest.er1
87333   cat conftest.err >&5
87334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87335   (exit $ac_status); } &&
87336          { ac_try='test -z "$ac_c_werror_flag"
87337                          || test ! -s conftest.err'
87338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87339   (eval $ac_try) 2>&5
87340   ac_status=$?
87341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87342   (exit $ac_status); }; } &&
87343          { ac_try='test -s conftest$ac_exeext'
87344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87345   (eval $ac_try) 2>&5
87346   ac_status=$?
87347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87348   (exit $ac_status); }; }; then
87349   eval "$as_ac_var=yes"
87350 else
87351   echo "$as_me: failed program was:" >&5
87352 sed 's/^/| /' conftest.$ac_ext >&5
87353
87354 eval "$as_ac_var=no"
87355 fi
87356 rm -f conftest.err conftest.$ac_objext \
87357       conftest$ac_exeext conftest.$ac_ext
87358 fi
87359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87361 if test `eval echo '${'$as_ac_var'}'` = yes; then
87362   cat >>confdefs.h <<_ACEOF
87363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87364 _ACEOF
87365
87366 fi
87367 done
87368
87369   else
87370
87371   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
87372 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
87373   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
87374     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
87375   echo $ECHO_N "(cached) $ECHO_C" >&6
87376 else
87377
87378
87379
87380       ac_ext=cc
87381 ac_cpp='$CXXCPP $CPPFLAGS'
87382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87385
87386       cat >conftest.$ac_ext <<_ACEOF
87387 /* confdefs.h.  */
87388 _ACEOF
87389 cat confdefs.h >>conftest.$ac_ext
87390 cat >>conftest.$ac_ext <<_ACEOF
87391 /* end confdefs.h.  */
87392 #include <math.h>
87393 int
87394 main ()
87395 {
87396  _hypotf(0, 0);
87397   ;
87398   return 0;
87399 }
87400 _ACEOF
87401 rm -f conftest.$ac_objext
87402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87403   (eval $ac_compile) 2>conftest.er1
87404   ac_status=$?
87405   grep -v '^ *+' conftest.er1 >conftest.err
87406   rm -f conftest.er1
87407   cat conftest.err >&5
87408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87409   (exit $ac_status); } &&
87410          { ac_try='test -z "$ac_cxx_werror_flag"
87411                          || test ! -s conftest.err'
87412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87413   (eval $ac_try) 2>&5
87414   ac_status=$?
87415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87416   (exit $ac_status); }; } &&
87417          { ac_try='test -s conftest.$ac_objext'
87418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87419   (eval $ac_try) 2>&5
87420   ac_status=$?
87421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87422   (exit $ac_status); }; }; then
87423   glibcxx_cv_func__hypotf_use=yes
87424 else
87425   echo "$as_me: failed program was:" >&5
87426 sed 's/^/| /' conftest.$ac_ext >&5
87427
87428 glibcxx_cv_func__hypotf_use=no
87429 fi
87430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87431       ac_ext=c
87432 ac_cpp='$CPP $CPPFLAGS'
87433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87436
87437
87438 fi
87439
87440   fi
87441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
87442 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
87443
87444     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
87445
87446 for ac_func in _hypotf
87447 do
87448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87449 echo "$as_me:$LINENO: checking for $ac_func" >&5
87450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87451 if eval "test \"\${$as_ac_var+set}\" = set"; then
87452   echo $ECHO_N "(cached) $ECHO_C" >&6
87453 else
87454   if test x$gcc_no_link = xyes; then
87455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87457    { (exit 1); exit 1; }; }
87458 fi
87459 cat >conftest.$ac_ext <<_ACEOF
87460 /* confdefs.h.  */
87461 _ACEOF
87462 cat confdefs.h >>conftest.$ac_ext
87463 cat >>conftest.$ac_ext <<_ACEOF
87464 /* end confdefs.h.  */
87465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87467 #define $ac_func innocuous_$ac_func
87468
87469 /* System header to define __stub macros and hopefully few prototypes,
87470     which can conflict with char $ac_func (); below.
87471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87472     <limits.h> exists even on freestanding compilers.  */
87473
87474 #ifdef __STDC__
87475 # include <limits.h>
87476 #else
87477 # include <assert.h>
87478 #endif
87479
87480 #undef $ac_func
87481
87482 /* Override any gcc2 internal prototype to avoid an error.  */
87483 #ifdef __cplusplus
87484 extern "C"
87485 {
87486 #endif
87487 /* We use char because int might match the return type of a gcc2
87488    builtin and then its argument prototype would still apply.  */
87489 char $ac_func ();
87490 /* The GNU C library defines this for functions which it implements
87491     to always fail with ENOSYS.  Some functions are actually named
87492     something starting with __ and the normal name is an alias.  */
87493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87494 choke me
87495 #else
87496 char (*f) () = $ac_func;
87497 #endif
87498 #ifdef __cplusplus
87499 }
87500 #endif
87501
87502 int
87503 main ()
87504 {
87505 return f != $ac_func;
87506   ;
87507   return 0;
87508 }
87509 _ACEOF
87510 rm -f conftest.$ac_objext conftest$ac_exeext
87511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87512   (eval $ac_link) 2>conftest.er1
87513   ac_status=$?
87514   grep -v '^ *+' conftest.er1 >conftest.err
87515   rm -f conftest.er1
87516   cat conftest.err >&5
87517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87518   (exit $ac_status); } &&
87519          { ac_try='test -z "$ac_c_werror_flag"
87520                          || test ! -s conftest.err'
87521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87522   (eval $ac_try) 2>&5
87523   ac_status=$?
87524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87525   (exit $ac_status); }; } &&
87526          { ac_try='test -s conftest$ac_exeext'
87527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87528   (eval $ac_try) 2>&5
87529   ac_status=$?
87530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87531   (exit $ac_status); }; }; then
87532   eval "$as_ac_var=yes"
87533 else
87534   echo "$as_me: failed program was:" >&5
87535 sed 's/^/| /' conftest.$ac_ext >&5
87536
87537 eval "$as_ac_var=no"
87538 fi
87539 rm -f conftest.err conftest.$ac_objext \
87540       conftest$ac_exeext conftest.$ac_ext
87541 fi
87542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87544 if test `eval echo '${'$as_ac_var'}'` = yes; then
87545   cat >>confdefs.h <<_ACEOF
87546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87547 _ACEOF
87548
87549 fi
87550 done
87551
87552     fi
87553   fi
87554
87555
87556
87557
87558
87559
87560   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
87561 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
87562   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
87563     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
87564   echo $ECHO_N "(cached) $ECHO_C" >&6
87565 else
87566
87567
87568
87569       ac_ext=cc
87570 ac_cpp='$CXXCPP $CPPFLAGS'
87571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87574
87575       cat >conftest.$ac_ext <<_ACEOF
87576 /* confdefs.h.  */
87577 _ACEOF
87578 cat confdefs.h >>conftest.$ac_ext
87579 cat >>conftest.$ac_ext <<_ACEOF
87580 /* end confdefs.h.  */
87581 #include <math.h>
87582 int
87583 main ()
87584 {
87585  ldexpf(0, 0);
87586   ;
87587   return 0;
87588 }
87589 _ACEOF
87590 rm -f conftest.$ac_objext
87591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87592   (eval $ac_compile) 2>conftest.er1
87593   ac_status=$?
87594   grep -v '^ *+' conftest.er1 >conftest.err
87595   rm -f conftest.er1
87596   cat conftest.err >&5
87597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87598   (exit $ac_status); } &&
87599          { ac_try='test -z "$ac_cxx_werror_flag"
87600                          || test ! -s conftest.err'
87601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87602   (eval $ac_try) 2>&5
87603   ac_status=$?
87604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87605   (exit $ac_status); }; } &&
87606          { ac_try='test -s conftest.$ac_objext'
87607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87608   (eval $ac_try) 2>&5
87609   ac_status=$?
87610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87611   (exit $ac_status); }; }; then
87612   glibcxx_cv_func_ldexpf_use=yes
87613 else
87614   echo "$as_me: failed program was:" >&5
87615 sed 's/^/| /' conftest.$ac_ext >&5
87616
87617 glibcxx_cv_func_ldexpf_use=no
87618 fi
87619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87620       ac_ext=c
87621 ac_cpp='$CPP $CPPFLAGS'
87622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87625
87626
87627 fi
87628
87629   fi
87630   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
87631 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
87632
87633   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
87634
87635 for ac_func in ldexpf
87636 do
87637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87638 echo "$as_me:$LINENO: checking for $ac_func" >&5
87639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87640 if eval "test \"\${$as_ac_var+set}\" = set"; then
87641   echo $ECHO_N "(cached) $ECHO_C" >&6
87642 else
87643   if test x$gcc_no_link = xyes; then
87644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87646    { (exit 1); exit 1; }; }
87647 fi
87648 cat >conftest.$ac_ext <<_ACEOF
87649 /* confdefs.h.  */
87650 _ACEOF
87651 cat confdefs.h >>conftest.$ac_ext
87652 cat >>conftest.$ac_ext <<_ACEOF
87653 /* end confdefs.h.  */
87654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87656 #define $ac_func innocuous_$ac_func
87657
87658 /* System header to define __stub macros and hopefully few prototypes,
87659     which can conflict with char $ac_func (); below.
87660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87661     <limits.h> exists even on freestanding compilers.  */
87662
87663 #ifdef __STDC__
87664 # include <limits.h>
87665 #else
87666 # include <assert.h>
87667 #endif
87668
87669 #undef $ac_func
87670
87671 /* Override any gcc2 internal prototype to avoid an error.  */
87672 #ifdef __cplusplus
87673 extern "C"
87674 {
87675 #endif
87676 /* We use char because int might match the return type of a gcc2
87677    builtin and then its argument prototype would still apply.  */
87678 char $ac_func ();
87679 /* The GNU C library defines this for functions which it implements
87680     to always fail with ENOSYS.  Some functions are actually named
87681     something starting with __ and the normal name is an alias.  */
87682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87683 choke me
87684 #else
87685 char (*f) () = $ac_func;
87686 #endif
87687 #ifdef __cplusplus
87688 }
87689 #endif
87690
87691 int
87692 main ()
87693 {
87694 return f != $ac_func;
87695   ;
87696   return 0;
87697 }
87698 _ACEOF
87699 rm -f conftest.$ac_objext conftest$ac_exeext
87700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87701   (eval $ac_link) 2>conftest.er1
87702   ac_status=$?
87703   grep -v '^ *+' conftest.er1 >conftest.err
87704   rm -f conftest.er1
87705   cat conftest.err >&5
87706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87707   (exit $ac_status); } &&
87708          { ac_try='test -z "$ac_c_werror_flag"
87709                          || test ! -s conftest.err'
87710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87711   (eval $ac_try) 2>&5
87712   ac_status=$?
87713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87714   (exit $ac_status); }; } &&
87715          { ac_try='test -s conftest$ac_exeext'
87716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87717   (eval $ac_try) 2>&5
87718   ac_status=$?
87719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87720   (exit $ac_status); }; }; then
87721   eval "$as_ac_var=yes"
87722 else
87723   echo "$as_me: failed program was:" >&5
87724 sed 's/^/| /' conftest.$ac_ext >&5
87725
87726 eval "$as_ac_var=no"
87727 fi
87728 rm -f conftest.err conftest.$ac_objext \
87729       conftest$ac_exeext conftest.$ac_ext
87730 fi
87731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87733 if test `eval echo '${'$as_ac_var'}'` = yes; then
87734   cat >>confdefs.h <<_ACEOF
87735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87736 _ACEOF
87737
87738 fi
87739 done
87740
87741   else
87742
87743   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
87744 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
87745   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
87746     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
87747   echo $ECHO_N "(cached) $ECHO_C" >&6
87748 else
87749
87750
87751
87752       ac_ext=cc
87753 ac_cpp='$CXXCPP $CPPFLAGS'
87754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87757
87758       cat >conftest.$ac_ext <<_ACEOF
87759 /* confdefs.h.  */
87760 _ACEOF
87761 cat confdefs.h >>conftest.$ac_ext
87762 cat >>conftest.$ac_ext <<_ACEOF
87763 /* end confdefs.h.  */
87764 #include <math.h>
87765 int
87766 main ()
87767 {
87768  _ldexpf(0, 0);
87769   ;
87770   return 0;
87771 }
87772 _ACEOF
87773 rm -f conftest.$ac_objext
87774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87775   (eval $ac_compile) 2>conftest.er1
87776   ac_status=$?
87777   grep -v '^ *+' conftest.er1 >conftest.err
87778   rm -f conftest.er1
87779   cat conftest.err >&5
87780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87781   (exit $ac_status); } &&
87782          { ac_try='test -z "$ac_cxx_werror_flag"
87783                          || test ! -s conftest.err'
87784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87785   (eval $ac_try) 2>&5
87786   ac_status=$?
87787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87788   (exit $ac_status); }; } &&
87789          { ac_try='test -s conftest.$ac_objext'
87790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87791   (eval $ac_try) 2>&5
87792   ac_status=$?
87793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87794   (exit $ac_status); }; }; then
87795   glibcxx_cv_func__ldexpf_use=yes
87796 else
87797   echo "$as_me: failed program was:" >&5
87798 sed 's/^/| /' conftest.$ac_ext >&5
87799
87800 glibcxx_cv_func__ldexpf_use=no
87801 fi
87802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87803       ac_ext=c
87804 ac_cpp='$CPP $CPPFLAGS'
87805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87808
87809
87810 fi
87811
87812   fi
87813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
87814 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
87815
87816     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
87817
87818 for ac_func in _ldexpf
87819 do
87820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87821 echo "$as_me:$LINENO: checking for $ac_func" >&5
87822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87823 if eval "test \"\${$as_ac_var+set}\" = set"; then
87824   echo $ECHO_N "(cached) $ECHO_C" >&6
87825 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87839 #define $ac_func innocuous_$ac_func
87840
87841 /* System header to define __stub macros and hopefully few prototypes,
87842     which can conflict with char $ac_func (); below.
87843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87844     <limits.h> exists even on freestanding compilers.  */
87845
87846 #ifdef __STDC__
87847 # include <limits.h>
87848 #else
87849 # include <assert.h>
87850 #endif
87851
87852 #undef $ac_func
87853
87854 /* Override any gcc2 internal prototype to avoid an error.  */
87855 #ifdef __cplusplus
87856 extern "C"
87857 {
87858 #endif
87859 /* We use char because int might match the return type of a gcc2
87860    builtin and then its argument prototype would still apply.  */
87861 char $ac_func ();
87862 /* The GNU C library defines this for functions which it implements
87863     to always fail with ENOSYS.  Some functions are actually named
87864     something starting with __ and the normal name is an alias.  */
87865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87866 choke me
87867 #else
87868 char (*f) () = $ac_func;
87869 #endif
87870 #ifdef __cplusplus
87871 }
87872 #endif
87873
87874 int
87875 main ()
87876 {
87877 return f != $ac_func;
87878   ;
87879   return 0;
87880 }
87881 _ACEOF
87882 rm -f conftest.$ac_objext conftest$ac_exeext
87883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87884   (eval $ac_link) 2>conftest.er1
87885   ac_status=$?
87886   grep -v '^ *+' conftest.er1 >conftest.err
87887   rm -f conftest.er1
87888   cat conftest.err >&5
87889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87890   (exit $ac_status); } &&
87891          { ac_try='test -z "$ac_c_werror_flag"
87892                          || test ! -s conftest.err'
87893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87894   (eval $ac_try) 2>&5
87895   ac_status=$?
87896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87897   (exit $ac_status); }; } &&
87898          { ac_try='test -s conftest$ac_exeext'
87899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87900   (eval $ac_try) 2>&5
87901   ac_status=$?
87902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87903   (exit $ac_status); }; }; then
87904   eval "$as_ac_var=yes"
87905 else
87906   echo "$as_me: failed program was:" >&5
87907 sed 's/^/| /' conftest.$ac_ext >&5
87908
87909 eval "$as_ac_var=no"
87910 fi
87911 rm -f conftest.err conftest.$ac_objext \
87912       conftest$ac_exeext conftest.$ac_ext
87913 fi
87914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87916 if test `eval echo '${'$as_ac_var'}'` = yes; then
87917   cat >>confdefs.h <<_ACEOF
87918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87919 _ACEOF
87920
87921 fi
87922 done
87923
87924     fi
87925   fi
87926
87927
87928
87929
87930
87931
87932   echo "$as_me:$LINENO: checking for logf declaration" >&5
87933 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
87934   if test x${glibcxx_cv_func_logf_use+set} != xset; then
87935     if test "${glibcxx_cv_func_logf_use+set}" = set; then
87936   echo $ECHO_N "(cached) $ECHO_C" >&6
87937 else
87938
87939
87940
87941       ac_ext=cc
87942 ac_cpp='$CXXCPP $CPPFLAGS'
87943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87946
87947       cat >conftest.$ac_ext <<_ACEOF
87948 /* confdefs.h.  */
87949 _ACEOF
87950 cat confdefs.h >>conftest.$ac_ext
87951 cat >>conftest.$ac_ext <<_ACEOF
87952 /* end confdefs.h.  */
87953 #include <math.h>
87954                       #ifdef HAVE_IEEEFP_H
87955                       #include <ieeefp.h>
87956                       #endif
87957
87958 int
87959 main ()
87960 {
87961  logf(0);
87962   ;
87963   return 0;
87964 }
87965 _ACEOF
87966 rm -f conftest.$ac_objext
87967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87968   (eval $ac_compile) 2>conftest.er1
87969   ac_status=$?
87970   grep -v '^ *+' conftest.er1 >conftest.err
87971   rm -f conftest.er1
87972   cat conftest.err >&5
87973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87974   (exit $ac_status); } &&
87975          { ac_try='test -z "$ac_cxx_werror_flag"
87976                          || test ! -s conftest.err'
87977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87978   (eval $ac_try) 2>&5
87979   ac_status=$?
87980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87981   (exit $ac_status); }; } &&
87982          { ac_try='test -s conftest.$ac_objext'
87983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87984   (eval $ac_try) 2>&5
87985   ac_status=$?
87986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87987   (exit $ac_status); }; }; then
87988   glibcxx_cv_func_logf_use=yes
87989 else
87990   echo "$as_me: failed program was:" >&5
87991 sed 's/^/| /' conftest.$ac_ext >&5
87992
87993 glibcxx_cv_func_logf_use=no
87994 fi
87995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87996       ac_ext=c
87997 ac_cpp='$CPP $CPPFLAGS'
87998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88001
88002
88003 fi
88004
88005   fi
88006   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
88007 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
88008
88009   if test x$glibcxx_cv_func_logf_use = x"yes"; then
88010
88011 for ac_func in logf
88012 do
88013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88014 echo "$as_me:$LINENO: checking for $ac_func" >&5
88015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88016 if eval "test \"\${$as_ac_var+set}\" = set"; then
88017   echo $ECHO_N "(cached) $ECHO_C" >&6
88018 else
88019   if test x$gcc_no_link = xyes; then
88020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88022    { (exit 1); exit 1; }; }
88023 fi
88024 cat >conftest.$ac_ext <<_ACEOF
88025 /* confdefs.h.  */
88026 _ACEOF
88027 cat confdefs.h >>conftest.$ac_ext
88028 cat >>conftest.$ac_ext <<_ACEOF
88029 /* end confdefs.h.  */
88030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88032 #define $ac_func innocuous_$ac_func
88033
88034 /* System header to define __stub macros and hopefully few prototypes,
88035     which can conflict with char $ac_func (); below.
88036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88037     <limits.h> exists even on freestanding compilers.  */
88038
88039 #ifdef __STDC__
88040 # include <limits.h>
88041 #else
88042 # include <assert.h>
88043 #endif
88044
88045 #undef $ac_func
88046
88047 /* Override any gcc2 internal prototype to avoid an error.  */
88048 #ifdef __cplusplus
88049 extern "C"
88050 {
88051 #endif
88052 /* We use char because int might match the return type of a gcc2
88053    builtin and then its argument prototype would still apply.  */
88054 char $ac_func ();
88055 /* The GNU C library defines this for functions which it implements
88056     to always fail with ENOSYS.  Some functions are actually named
88057     something starting with __ and the normal name is an alias.  */
88058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88059 choke me
88060 #else
88061 char (*f) () = $ac_func;
88062 #endif
88063 #ifdef __cplusplus
88064 }
88065 #endif
88066
88067 int
88068 main ()
88069 {
88070 return f != $ac_func;
88071   ;
88072   return 0;
88073 }
88074 _ACEOF
88075 rm -f conftest.$ac_objext conftest$ac_exeext
88076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88077   (eval $ac_link) 2>conftest.er1
88078   ac_status=$?
88079   grep -v '^ *+' conftest.er1 >conftest.err
88080   rm -f conftest.er1
88081   cat conftest.err >&5
88082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88083   (exit $ac_status); } &&
88084          { ac_try='test -z "$ac_c_werror_flag"
88085                          || test ! -s conftest.err'
88086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88087   (eval $ac_try) 2>&5
88088   ac_status=$?
88089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88090   (exit $ac_status); }; } &&
88091          { ac_try='test -s conftest$ac_exeext'
88092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88093   (eval $ac_try) 2>&5
88094   ac_status=$?
88095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88096   (exit $ac_status); }; }; then
88097   eval "$as_ac_var=yes"
88098 else
88099   echo "$as_me: failed program was:" >&5
88100 sed 's/^/| /' conftest.$ac_ext >&5
88101
88102 eval "$as_ac_var=no"
88103 fi
88104 rm -f conftest.err conftest.$ac_objext \
88105       conftest$ac_exeext conftest.$ac_ext
88106 fi
88107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88109 if test `eval echo '${'$as_ac_var'}'` = yes; then
88110   cat >>confdefs.h <<_ACEOF
88111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88112 _ACEOF
88113
88114 fi
88115 done
88116
88117   else
88118
88119   echo "$as_me:$LINENO: checking for _logf declaration" >&5
88120 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
88121   if test x${glibcxx_cv_func__logf_use+set} != xset; then
88122     if test "${glibcxx_cv_func__logf_use+set}" = set; then
88123   echo $ECHO_N "(cached) $ECHO_C" >&6
88124 else
88125
88126
88127
88128       ac_ext=cc
88129 ac_cpp='$CXXCPP $CPPFLAGS'
88130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88133
88134       cat >conftest.$ac_ext <<_ACEOF
88135 /* confdefs.h.  */
88136 _ACEOF
88137 cat confdefs.h >>conftest.$ac_ext
88138 cat >>conftest.$ac_ext <<_ACEOF
88139 /* end confdefs.h.  */
88140 #include <math.h>
88141                       #ifdef HAVE_IEEEFP_H
88142                       #include <ieeefp.h>
88143                       #endif
88144
88145 int
88146 main ()
88147 {
88148  _logf(0);
88149   ;
88150   return 0;
88151 }
88152 _ACEOF
88153 rm -f conftest.$ac_objext
88154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88155   (eval $ac_compile) 2>conftest.er1
88156   ac_status=$?
88157   grep -v '^ *+' conftest.er1 >conftest.err
88158   rm -f conftest.er1
88159   cat conftest.err >&5
88160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88161   (exit $ac_status); } &&
88162          { ac_try='test -z "$ac_cxx_werror_flag"
88163                          || test ! -s conftest.err'
88164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88165   (eval $ac_try) 2>&5
88166   ac_status=$?
88167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88168   (exit $ac_status); }; } &&
88169          { ac_try='test -s conftest.$ac_objext'
88170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88171   (eval $ac_try) 2>&5
88172   ac_status=$?
88173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88174   (exit $ac_status); }; }; then
88175   glibcxx_cv_func__logf_use=yes
88176 else
88177   echo "$as_me: failed program was:" >&5
88178 sed 's/^/| /' conftest.$ac_ext >&5
88179
88180 glibcxx_cv_func__logf_use=no
88181 fi
88182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88183       ac_ext=c
88184 ac_cpp='$CPP $CPPFLAGS'
88185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88188
88189
88190 fi
88191
88192   fi
88193   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
88194 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
88195
88196     if test x$glibcxx_cv_func__logf_use = x"yes"; then
88197
88198 for ac_func in _logf
88199 do
88200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88201 echo "$as_me:$LINENO: checking for $ac_func" >&5
88202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88203 if eval "test \"\${$as_ac_var+set}\" = set"; then
88204   echo $ECHO_N "(cached) $ECHO_C" >&6
88205 else
88206   if test x$gcc_no_link = xyes; then
88207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88209    { (exit 1); exit 1; }; }
88210 fi
88211 cat >conftest.$ac_ext <<_ACEOF
88212 /* confdefs.h.  */
88213 _ACEOF
88214 cat confdefs.h >>conftest.$ac_ext
88215 cat >>conftest.$ac_ext <<_ACEOF
88216 /* end confdefs.h.  */
88217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88219 #define $ac_func innocuous_$ac_func
88220
88221 /* System header to define __stub macros and hopefully few prototypes,
88222     which can conflict with char $ac_func (); below.
88223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88224     <limits.h> exists even on freestanding compilers.  */
88225
88226 #ifdef __STDC__
88227 # include <limits.h>
88228 #else
88229 # include <assert.h>
88230 #endif
88231
88232 #undef $ac_func
88233
88234 /* Override any gcc2 internal prototype to avoid an error.  */
88235 #ifdef __cplusplus
88236 extern "C"
88237 {
88238 #endif
88239 /* We use char because int might match the return type of a gcc2
88240    builtin and then its argument prototype would still apply.  */
88241 char $ac_func ();
88242 /* The GNU C library defines this for functions which it implements
88243     to always fail with ENOSYS.  Some functions are actually named
88244     something starting with __ and the normal name is an alias.  */
88245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88246 choke me
88247 #else
88248 char (*f) () = $ac_func;
88249 #endif
88250 #ifdef __cplusplus
88251 }
88252 #endif
88253
88254 int
88255 main ()
88256 {
88257 return f != $ac_func;
88258   ;
88259   return 0;
88260 }
88261 _ACEOF
88262 rm -f conftest.$ac_objext conftest$ac_exeext
88263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88264   (eval $ac_link) 2>conftest.er1
88265   ac_status=$?
88266   grep -v '^ *+' conftest.er1 >conftest.err
88267   rm -f conftest.er1
88268   cat conftest.err >&5
88269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88270   (exit $ac_status); } &&
88271          { ac_try='test -z "$ac_c_werror_flag"
88272                          || test ! -s conftest.err'
88273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88274   (eval $ac_try) 2>&5
88275   ac_status=$?
88276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88277   (exit $ac_status); }; } &&
88278          { ac_try='test -s conftest$ac_exeext'
88279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88280   (eval $ac_try) 2>&5
88281   ac_status=$?
88282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88283   (exit $ac_status); }; }; then
88284   eval "$as_ac_var=yes"
88285 else
88286   echo "$as_me: failed program was:" >&5
88287 sed 's/^/| /' conftest.$ac_ext >&5
88288
88289 eval "$as_ac_var=no"
88290 fi
88291 rm -f conftest.err conftest.$ac_objext \
88292       conftest$ac_exeext conftest.$ac_ext
88293 fi
88294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88296 if test `eval echo '${'$as_ac_var'}'` = yes; then
88297   cat >>confdefs.h <<_ACEOF
88298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88299 _ACEOF
88300
88301 fi
88302 done
88303
88304     fi
88305   fi
88306
88307
88308
88309
88310
88311
88312   echo "$as_me:$LINENO: checking for log10f declaration" >&5
88313 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
88314   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
88315     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
88316   echo $ECHO_N "(cached) $ECHO_C" >&6
88317 else
88318
88319
88320
88321       ac_ext=cc
88322 ac_cpp='$CXXCPP $CPPFLAGS'
88323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88326
88327       cat >conftest.$ac_ext <<_ACEOF
88328 /* confdefs.h.  */
88329 _ACEOF
88330 cat confdefs.h >>conftest.$ac_ext
88331 cat >>conftest.$ac_ext <<_ACEOF
88332 /* end confdefs.h.  */
88333 #include <math.h>
88334                       #ifdef HAVE_IEEEFP_H
88335                       #include <ieeefp.h>
88336                       #endif
88337
88338 int
88339 main ()
88340 {
88341  log10f(0);
88342   ;
88343   return 0;
88344 }
88345 _ACEOF
88346 rm -f conftest.$ac_objext
88347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88348   (eval $ac_compile) 2>conftest.er1
88349   ac_status=$?
88350   grep -v '^ *+' conftest.er1 >conftest.err
88351   rm -f conftest.er1
88352   cat conftest.err >&5
88353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88354   (exit $ac_status); } &&
88355          { ac_try='test -z "$ac_cxx_werror_flag"
88356                          || test ! -s conftest.err'
88357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88358   (eval $ac_try) 2>&5
88359   ac_status=$?
88360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88361   (exit $ac_status); }; } &&
88362          { ac_try='test -s conftest.$ac_objext'
88363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88364   (eval $ac_try) 2>&5
88365   ac_status=$?
88366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88367   (exit $ac_status); }; }; then
88368   glibcxx_cv_func_log10f_use=yes
88369 else
88370   echo "$as_me: failed program was:" >&5
88371 sed 's/^/| /' conftest.$ac_ext >&5
88372
88373 glibcxx_cv_func_log10f_use=no
88374 fi
88375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88376       ac_ext=c
88377 ac_cpp='$CPP $CPPFLAGS'
88378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88381
88382
88383 fi
88384
88385   fi
88386   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
88387 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
88388
88389   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
88390
88391 for ac_func in log10f
88392 do
88393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88394 echo "$as_me:$LINENO: checking for $ac_func" >&5
88395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88396 if eval "test \"\${$as_ac_var+set}\" = set"; then
88397   echo $ECHO_N "(cached) $ECHO_C" >&6
88398 else
88399   if test x$gcc_no_link = xyes; then
88400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88402    { (exit 1); exit 1; }; }
88403 fi
88404 cat >conftest.$ac_ext <<_ACEOF
88405 /* confdefs.h.  */
88406 _ACEOF
88407 cat confdefs.h >>conftest.$ac_ext
88408 cat >>conftest.$ac_ext <<_ACEOF
88409 /* end confdefs.h.  */
88410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88412 #define $ac_func innocuous_$ac_func
88413
88414 /* System header to define __stub macros and hopefully few prototypes,
88415     which can conflict with char $ac_func (); below.
88416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88417     <limits.h> exists even on freestanding compilers.  */
88418
88419 #ifdef __STDC__
88420 # include <limits.h>
88421 #else
88422 # include <assert.h>
88423 #endif
88424
88425 #undef $ac_func
88426
88427 /* Override any gcc2 internal prototype to avoid an error.  */
88428 #ifdef __cplusplus
88429 extern "C"
88430 {
88431 #endif
88432 /* We use char because int might match the return type of a gcc2
88433    builtin and then its argument prototype would still apply.  */
88434 char $ac_func ();
88435 /* The GNU C library defines this for functions which it implements
88436     to always fail with ENOSYS.  Some functions are actually named
88437     something starting with __ and the normal name is an alias.  */
88438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88439 choke me
88440 #else
88441 char (*f) () = $ac_func;
88442 #endif
88443 #ifdef __cplusplus
88444 }
88445 #endif
88446
88447 int
88448 main ()
88449 {
88450 return f != $ac_func;
88451   ;
88452   return 0;
88453 }
88454 _ACEOF
88455 rm -f conftest.$ac_objext conftest$ac_exeext
88456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88457   (eval $ac_link) 2>conftest.er1
88458   ac_status=$?
88459   grep -v '^ *+' conftest.er1 >conftest.err
88460   rm -f conftest.er1
88461   cat conftest.err >&5
88462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88463   (exit $ac_status); } &&
88464          { ac_try='test -z "$ac_c_werror_flag"
88465                          || test ! -s conftest.err'
88466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88467   (eval $ac_try) 2>&5
88468   ac_status=$?
88469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88470   (exit $ac_status); }; } &&
88471          { ac_try='test -s conftest$ac_exeext'
88472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88473   (eval $ac_try) 2>&5
88474   ac_status=$?
88475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88476   (exit $ac_status); }; }; then
88477   eval "$as_ac_var=yes"
88478 else
88479   echo "$as_me: failed program was:" >&5
88480 sed 's/^/| /' conftest.$ac_ext >&5
88481
88482 eval "$as_ac_var=no"
88483 fi
88484 rm -f conftest.err conftest.$ac_objext \
88485       conftest$ac_exeext conftest.$ac_ext
88486 fi
88487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88489 if test `eval echo '${'$as_ac_var'}'` = yes; then
88490   cat >>confdefs.h <<_ACEOF
88491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88492 _ACEOF
88493
88494 fi
88495 done
88496
88497   else
88498
88499   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
88500 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
88501   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
88502     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
88503   echo $ECHO_N "(cached) $ECHO_C" >&6
88504 else
88505
88506
88507
88508       ac_ext=cc
88509 ac_cpp='$CXXCPP $CPPFLAGS'
88510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88513
88514       cat >conftest.$ac_ext <<_ACEOF
88515 /* confdefs.h.  */
88516 _ACEOF
88517 cat confdefs.h >>conftest.$ac_ext
88518 cat >>conftest.$ac_ext <<_ACEOF
88519 /* end confdefs.h.  */
88520 #include <math.h>
88521                       #ifdef HAVE_IEEEFP_H
88522                       #include <ieeefp.h>
88523                       #endif
88524
88525 int
88526 main ()
88527 {
88528  _log10f(0);
88529   ;
88530   return 0;
88531 }
88532 _ACEOF
88533 rm -f conftest.$ac_objext
88534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88535   (eval $ac_compile) 2>conftest.er1
88536   ac_status=$?
88537   grep -v '^ *+' conftest.er1 >conftest.err
88538   rm -f conftest.er1
88539   cat conftest.err >&5
88540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88541   (exit $ac_status); } &&
88542          { ac_try='test -z "$ac_cxx_werror_flag"
88543                          || test ! -s conftest.err'
88544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88545   (eval $ac_try) 2>&5
88546   ac_status=$?
88547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88548   (exit $ac_status); }; } &&
88549          { ac_try='test -s conftest.$ac_objext'
88550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88551   (eval $ac_try) 2>&5
88552   ac_status=$?
88553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88554   (exit $ac_status); }; }; then
88555   glibcxx_cv_func__log10f_use=yes
88556 else
88557   echo "$as_me: failed program was:" >&5
88558 sed 's/^/| /' conftest.$ac_ext >&5
88559
88560 glibcxx_cv_func__log10f_use=no
88561 fi
88562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88563       ac_ext=c
88564 ac_cpp='$CPP $CPPFLAGS'
88565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88568
88569
88570 fi
88571
88572   fi
88573   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
88574 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
88575
88576     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
88577
88578 for ac_func in _log10f
88579 do
88580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88581 echo "$as_me:$LINENO: checking for $ac_func" >&5
88582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88583 if eval "test \"\${$as_ac_var+set}\" = set"; then
88584   echo $ECHO_N "(cached) $ECHO_C" >&6
88585 else
88586   if test x$gcc_no_link = xyes; then
88587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88589    { (exit 1); exit 1; }; }
88590 fi
88591 cat >conftest.$ac_ext <<_ACEOF
88592 /* confdefs.h.  */
88593 _ACEOF
88594 cat confdefs.h >>conftest.$ac_ext
88595 cat >>conftest.$ac_ext <<_ACEOF
88596 /* end confdefs.h.  */
88597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88599 #define $ac_func innocuous_$ac_func
88600
88601 /* System header to define __stub macros and hopefully few prototypes,
88602     which can conflict with char $ac_func (); below.
88603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88604     <limits.h> exists even on freestanding compilers.  */
88605
88606 #ifdef __STDC__
88607 # include <limits.h>
88608 #else
88609 # include <assert.h>
88610 #endif
88611
88612 #undef $ac_func
88613
88614 /* Override any gcc2 internal prototype to avoid an error.  */
88615 #ifdef __cplusplus
88616 extern "C"
88617 {
88618 #endif
88619 /* We use char because int might match the return type of a gcc2
88620    builtin and then its argument prototype would still apply.  */
88621 char $ac_func ();
88622 /* The GNU C library defines this for functions which it implements
88623     to always fail with ENOSYS.  Some functions are actually named
88624     something starting with __ and the normal name is an alias.  */
88625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88626 choke me
88627 #else
88628 char (*f) () = $ac_func;
88629 #endif
88630 #ifdef __cplusplus
88631 }
88632 #endif
88633
88634 int
88635 main ()
88636 {
88637 return f != $ac_func;
88638   ;
88639   return 0;
88640 }
88641 _ACEOF
88642 rm -f conftest.$ac_objext conftest$ac_exeext
88643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88644   (eval $ac_link) 2>conftest.er1
88645   ac_status=$?
88646   grep -v '^ *+' conftest.er1 >conftest.err
88647   rm -f conftest.er1
88648   cat conftest.err >&5
88649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88650   (exit $ac_status); } &&
88651          { ac_try='test -z "$ac_c_werror_flag"
88652                          || test ! -s conftest.err'
88653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88654   (eval $ac_try) 2>&5
88655   ac_status=$?
88656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88657   (exit $ac_status); }; } &&
88658          { ac_try='test -s conftest$ac_exeext'
88659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88660   (eval $ac_try) 2>&5
88661   ac_status=$?
88662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88663   (exit $ac_status); }; }; then
88664   eval "$as_ac_var=yes"
88665 else
88666   echo "$as_me: failed program was:" >&5
88667 sed 's/^/| /' conftest.$ac_ext >&5
88668
88669 eval "$as_ac_var=no"
88670 fi
88671 rm -f conftest.err conftest.$ac_objext \
88672       conftest$ac_exeext conftest.$ac_ext
88673 fi
88674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88676 if test `eval echo '${'$as_ac_var'}'` = yes; then
88677   cat >>confdefs.h <<_ACEOF
88678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88679 _ACEOF
88680
88681 fi
88682 done
88683
88684     fi
88685   fi
88686
88687
88688
88689
88690
88691
88692   echo "$as_me:$LINENO: checking for modff declaration" >&5
88693 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
88694   if test x${glibcxx_cv_func_modff_use+set} != xset; then
88695     if test "${glibcxx_cv_func_modff_use+set}" = set; then
88696   echo $ECHO_N "(cached) $ECHO_C" >&6
88697 else
88698
88699
88700
88701       ac_ext=cc
88702 ac_cpp='$CXXCPP $CPPFLAGS'
88703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88706
88707       cat >conftest.$ac_ext <<_ACEOF
88708 /* confdefs.h.  */
88709 _ACEOF
88710 cat confdefs.h >>conftest.$ac_ext
88711 cat >>conftest.$ac_ext <<_ACEOF
88712 /* end confdefs.h.  */
88713 #include <math.h>
88714 int
88715 main ()
88716 {
88717  modff(0, 0);
88718   ;
88719   return 0;
88720 }
88721 _ACEOF
88722 rm -f conftest.$ac_objext
88723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88724   (eval $ac_compile) 2>conftest.er1
88725   ac_status=$?
88726   grep -v '^ *+' conftest.er1 >conftest.err
88727   rm -f conftest.er1
88728   cat conftest.err >&5
88729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88730   (exit $ac_status); } &&
88731          { ac_try='test -z "$ac_cxx_werror_flag"
88732                          || test ! -s conftest.err'
88733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88734   (eval $ac_try) 2>&5
88735   ac_status=$?
88736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88737   (exit $ac_status); }; } &&
88738          { ac_try='test -s conftest.$ac_objext'
88739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88740   (eval $ac_try) 2>&5
88741   ac_status=$?
88742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88743   (exit $ac_status); }; }; then
88744   glibcxx_cv_func_modff_use=yes
88745 else
88746   echo "$as_me: failed program was:" >&5
88747 sed 's/^/| /' conftest.$ac_ext >&5
88748
88749 glibcxx_cv_func_modff_use=no
88750 fi
88751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88752       ac_ext=c
88753 ac_cpp='$CPP $CPPFLAGS'
88754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88757
88758
88759 fi
88760
88761   fi
88762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
88763 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
88764
88765   if test x$glibcxx_cv_func_modff_use = x"yes"; then
88766
88767 for ac_func in modff
88768 do
88769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88770 echo "$as_me:$LINENO: checking for $ac_func" >&5
88771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88772 if eval "test \"\${$as_ac_var+set}\" = set"; then
88773   echo $ECHO_N "(cached) $ECHO_C" >&6
88774 else
88775   if test x$gcc_no_link = xyes; then
88776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88778    { (exit 1); exit 1; }; }
88779 fi
88780 cat >conftest.$ac_ext <<_ACEOF
88781 /* confdefs.h.  */
88782 _ACEOF
88783 cat confdefs.h >>conftest.$ac_ext
88784 cat >>conftest.$ac_ext <<_ACEOF
88785 /* end confdefs.h.  */
88786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88788 #define $ac_func innocuous_$ac_func
88789
88790 /* System header to define __stub macros and hopefully few prototypes,
88791     which can conflict with char $ac_func (); below.
88792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88793     <limits.h> exists even on freestanding compilers.  */
88794
88795 #ifdef __STDC__
88796 # include <limits.h>
88797 #else
88798 # include <assert.h>
88799 #endif
88800
88801 #undef $ac_func
88802
88803 /* Override any gcc2 internal prototype to avoid an error.  */
88804 #ifdef __cplusplus
88805 extern "C"
88806 {
88807 #endif
88808 /* We use char because int might match the return type of a gcc2
88809    builtin and then its argument prototype would still apply.  */
88810 char $ac_func ();
88811 /* The GNU C library defines this for functions which it implements
88812     to always fail with ENOSYS.  Some functions are actually named
88813     something starting with __ and the normal name is an alias.  */
88814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88815 choke me
88816 #else
88817 char (*f) () = $ac_func;
88818 #endif
88819 #ifdef __cplusplus
88820 }
88821 #endif
88822
88823 int
88824 main ()
88825 {
88826 return f != $ac_func;
88827   ;
88828   return 0;
88829 }
88830 _ACEOF
88831 rm -f conftest.$ac_objext conftest$ac_exeext
88832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88833   (eval $ac_link) 2>conftest.er1
88834   ac_status=$?
88835   grep -v '^ *+' conftest.er1 >conftest.err
88836   rm -f conftest.er1
88837   cat conftest.err >&5
88838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88839   (exit $ac_status); } &&
88840          { ac_try='test -z "$ac_c_werror_flag"
88841                          || test ! -s conftest.err'
88842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88843   (eval $ac_try) 2>&5
88844   ac_status=$?
88845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88846   (exit $ac_status); }; } &&
88847          { ac_try='test -s conftest$ac_exeext'
88848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88849   (eval $ac_try) 2>&5
88850   ac_status=$?
88851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88852   (exit $ac_status); }; }; then
88853   eval "$as_ac_var=yes"
88854 else
88855   echo "$as_me: failed program was:" >&5
88856 sed 's/^/| /' conftest.$ac_ext >&5
88857
88858 eval "$as_ac_var=no"
88859 fi
88860 rm -f conftest.err conftest.$ac_objext \
88861       conftest$ac_exeext conftest.$ac_ext
88862 fi
88863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88865 if test `eval echo '${'$as_ac_var'}'` = yes; then
88866   cat >>confdefs.h <<_ACEOF
88867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88868 _ACEOF
88869
88870 fi
88871 done
88872
88873   else
88874
88875   echo "$as_me:$LINENO: checking for _modff declaration" >&5
88876 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
88877   if test x${glibcxx_cv_func__modff_use+set} != xset; then
88878     if test "${glibcxx_cv_func__modff_use+set}" = set; then
88879   echo $ECHO_N "(cached) $ECHO_C" >&6
88880 else
88881
88882
88883
88884       ac_ext=cc
88885 ac_cpp='$CXXCPP $CPPFLAGS'
88886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88889
88890       cat >conftest.$ac_ext <<_ACEOF
88891 /* confdefs.h.  */
88892 _ACEOF
88893 cat confdefs.h >>conftest.$ac_ext
88894 cat >>conftest.$ac_ext <<_ACEOF
88895 /* end confdefs.h.  */
88896 #include <math.h>
88897 int
88898 main ()
88899 {
88900  _modff(0, 0);
88901   ;
88902   return 0;
88903 }
88904 _ACEOF
88905 rm -f conftest.$ac_objext
88906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88907   (eval $ac_compile) 2>conftest.er1
88908   ac_status=$?
88909   grep -v '^ *+' conftest.er1 >conftest.err
88910   rm -f conftest.er1
88911   cat conftest.err >&5
88912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88913   (exit $ac_status); } &&
88914          { ac_try='test -z "$ac_cxx_werror_flag"
88915                          || test ! -s conftest.err'
88916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88917   (eval $ac_try) 2>&5
88918   ac_status=$?
88919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88920   (exit $ac_status); }; } &&
88921          { ac_try='test -s conftest.$ac_objext'
88922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88923   (eval $ac_try) 2>&5
88924   ac_status=$?
88925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88926   (exit $ac_status); }; }; then
88927   glibcxx_cv_func__modff_use=yes
88928 else
88929   echo "$as_me: failed program was:" >&5
88930 sed 's/^/| /' conftest.$ac_ext >&5
88931
88932 glibcxx_cv_func__modff_use=no
88933 fi
88934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88935       ac_ext=c
88936 ac_cpp='$CPP $CPPFLAGS'
88937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88940
88941
88942 fi
88943
88944   fi
88945   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
88946 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
88947
88948     if test x$glibcxx_cv_func__modff_use = x"yes"; then
88949
88950 for ac_func in _modff
88951 do
88952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88953 echo "$as_me:$LINENO: checking for $ac_func" >&5
88954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88955 if eval "test \"\${$as_ac_var+set}\" = set"; then
88956   echo $ECHO_N "(cached) $ECHO_C" >&6
88957 else
88958   if test x$gcc_no_link = xyes; then
88959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88961    { (exit 1); exit 1; }; }
88962 fi
88963 cat >conftest.$ac_ext <<_ACEOF
88964 /* confdefs.h.  */
88965 _ACEOF
88966 cat confdefs.h >>conftest.$ac_ext
88967 cat >>conftest.$ac_ext <<_ACEOF
88968 /* end confdefs.h.  */
88969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88971 #define $ac_func innocuous_$ac_func
88972
88973 /* System header to define __stub macros and hopefully few prototypes,
88974     which can conflict with char $ac_func (); below.
88975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88976     <limits.h> exists even on freestanding compilers.  */
88977
88978 #ifdef __STDC__
88979 # include <limits.h>
88980 #else
88981 # include <assert.h>
88982 #endif
88983
88984 #undef $ac_func
88985
88986 /* Override any gcc2 internal prototype to avoid an error.  */
88987 #ifdef __cplusplus
88988 extern "C"
88989 {
88990 #endif
88991 /* We use char because int might match the return type of a gcc2
88992    builtin and then its argument prototype would still apply.  */
88993 char $ac_func ();
88994 /* The GNU C library defines this for functions which it implements
88995     to always fail with ENOSYS.  Some functions are actually named
88996     something starting with __ and the normal name is an alias.  */
88997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88998 choke me
88999 #else
89000 char (*f) () = $ac_func;
89001 #endif
89002 #ifdef __cplusplus
89003 }
89004 #endif
89005
89006 int
89007 main ()
89008 {
89009 return f != $ac_func;
89010   ;
89011   return 0;
89012 }
89013 _ACEOF
89014 rm -f conftest.$ac_objext conftest$ac_exeext
89015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89016   (eval $ac_link) 2>conftest.er1
89017   ac_status=$?
89018   grep -v '^ *+' conftest.er1 >conftest.err
89019   rm -f conftest.er1
89020   cat conftest.err >&5
89021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89022   (exit $ac_status); } &&
89023          { ac_try='test -z "$ac_c_werror_flag"
89024                          || test ! -s conftest.err'
89025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89026   (eval $ac_try) 2>&5
89027   ac_status=$?
89028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89029   (exit $ac_status); }; } &&
89030          { ac_try='test -s conftest$ac_exeext'
89031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89032   (eval $ac_try) 2>&5
89033   ac_status=$?
89034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89035   (exit $ac_status); }; }; then
89036   eval "$as_ac_var=yes"
89037 else
89038   echo "$as_me: failed program was:" >&5
89039 sed 's/^/| /' conftest.$ac_ext >&5
89040
89041 eval "$as_ac_var=no"
89042 fi
89043 rm -f conftest.err conftest.$ac_objext \
89044       conftest$ac_exeext conftest.$ac_ext
89045 fi
89046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89048 if test `eval echo '${'$as_ac_var'}'` = yes; then
89049   cat >>confdefs.h <<_ACEOF
89050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89051 _ACEOF
89052
89053 fi
89054 done
89055
89056     fi
89057   fi
89058
89059
89060
89061
89062
89063
89064   echo "$as_me:$LINENO: checking for modf declaration" >&5
89065 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
89066   if test x${glibcxx_cv_func_modf_use+set} != xset; then
89067     if test "${glibcxx_cv_func_modf_use+set}" = set; then
89068   echo $ECHO_N "(cached) $ECHO_C" >&6
89069 else
89070
89071
89072
89073       ac_ext=cc
89074 ac_cpp='$CXXCPP $CPPFLAGS'
89075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89078
89079       cat >conftest.$ac_ext <<_ACEOF
89080 /* confdefs.h.  */
89081 _ACEOF
89082 cat confdefs.h >>conftest.$ac_ext
89083 cat >>conftest.$ac_ext <<_ACEOF
89084 /* end confdefs.h.  */
89085 #include <math.h>
89086 int
89087 main ()
89088 {
89089  modf(0, 0);
89090   ;
89091   return 0;
89092 }
89093 _ACEOF
89094 rm -f conftest.$ac_objext
89095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89096   (eval $ac_compile) 2>conftest.er1
89097   ac_status=$?
89098   grep -v '^ *+' conftest.er1 >conftest.err
89099   rm -f conftest.er1
89100   cat conftest.err >&5
89101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89102   (exit $ac_status); } &&
89103          { ac_try='test -z "$ac_cxx_werror_flag"
89104                          || test ! -s conftest.err'
89105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89106   (eval $ac_try) 2>&5
89107   ac_status=$?
89108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89109   (exit $ac_status); }; } &&
89110          { ac_try='test -s conftest.$ac_objext'
89111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89112   (eval $ac_try) 2>&5
89113   ac_status=$?
89114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89115   (exit $ac_status); }; }; then
89116   glibcxx_cv_func_modf_use=yes
89117 else
89118   echo "$as_me: failed program was:" >&5
89119 sed 's/^/| /' conftest.$ac_ext >&5
89120
89121 glibcxx_cv_func_modf_use=no
89122 fi
89123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89124       ac_ext=c
89125 ac_cpp='$CPP $CPPFLAGS'
89126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89129
89130
89131 fi
89132
89133   fi
89134   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
89135 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
89136
89137   if test x$glibcxx_cv_func_modf_use = x"yes"; then
89138
89139 for ac_func in modf
89140 do
89141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89142 echo "$as_me:$LINENO: checking for $ac_func" >&5
89143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89144 if eval "test \"\${$as_ac_var+set}\" = set"; then
89145   echo $ECHO_N "(cached) $ECHO_C" >&6
89146 else
89147   if test x$gcc_no_link = xyes; then
89148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89150    { (exit 1); exit 1; }; }
89151 fi
89152 cat >conftest.$ac_ext <<_ACEOF
89153 /* confdefs.h.  */
89154 _ACEOF
89155 cat confdefs.h >>conftest.$ac_ext
89156 cat >>conftest.$ac_ext <<_ACEOF
89157 /* end confdefs.h.  */
89158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89160 #define $ac_func innocuous_$ac_func
89161
89162 /* System header to define __stub macros and hopefully few prototypes,
89163     which can conflict with char $ac_func (); below.
89164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89165     <limits.h> exists even on freestanding compilers.  */
89166
89167 #ifdef __STDC__
89168 # include <limits.h>
89169 #else
89170 # include <assert.h>
89171 #endif
89172
89173 #undef $ac_func
89174
89175 /* Override any gcc2 internal prototype to avoid an error.  */
89176 #ifdef __cplusplus
89177 extern "C"
89178 {
89179 #endif
89180 /* We use char because int might match the return type of a gcc2
89181    builtin and then its argument prototype would still apply.  */
89182 char $ac_func ();
89183 /* The GNU C library defines this for functions which it implements
89184     to always fail with ENOSYS.  Some functions are actually named
89185     something starting with __ and the normal name is an alias.  */
89186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89187 choke me
89188 #else
89189 char (*f) () = $ac_func;
89190 #endif
89191 #ifdef __cplusplus
89192 }
89193 #endif
89194
89195 int
89196 main ()
89197 {
89198 return f != $ac_func;
89199   ;
89200   return 0;
89201 }
89202 _ACEOF
89203 rm -f conftest.$ac_objext conftest$ac_exeext
89204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89205   (eval $ac_link) 2>conftest.er1
89206   ac_status=$?
89207   grep -v '^ *+' conftest.er1 >conftest.err
89208   rm -f conftest.er1
89209   cat conftest.err >&5
89210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89211   (exit $ac_status); } &&
89212          { ac_try='test -z "$ac_c_werror_flag"
89213                          || test ! -s conftest.err'
89214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89215   (eval $ac_try) 2>&5
89216   ac_status=$?
89217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89218   (exit $ac_status); }; } &&
89219          { ac_try='test -s conftest$ac_exeext'
89220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89221   (eval $ac_try) 2>&5
89222   ac_status=$?
89223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89224   (exit $ac_status); }; }; then
89225   eval "$as_ac_var=yes"
89226 else
89227   echo "$as_me: failed program was:" >&5
89228 sed 's/^/| /' conftest.$ac_ext >&5
89229
89230 eval "$as_ac_var=no"
89231 fi
89232 rm -f conftest.err conftest.$ac_objext \
89233       conftest$ac_exeext conftest.$ac_ext
89234 fi
89235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89237 if test `eval echo '${'$as_ac_var'}'` = yes; then
89238   cat >>confdefs.h <<_ACEOF
89239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89240 _ACEOF
89241
89242 fi
89243 done
89244
89245   else
89246
89247   echo "$as_me:$LINENO: checking for _modf declaration" >&5
89248 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
89249   if test x${glibcxx_cv_func__modf_use+set} != xset; then
89250     if test "${glibcxx_cv_func__modf_use+set}" = set; then
89251   echo $ECHO_N "(cached) $ECHO_C" >&6
89252 else
89253
89254
89255
89256       ac_ext=cc
89257 ac_cpp='$CXXCPP $CPPFLAGS'
89258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89261
89262       cat >conftest.$ac_ext <<_ACEOF
89263 /* confdefs.h.  */
89264 _ACEOF
89265 cat confdefs.h >>conftest.$ac_ext
89266 cat >>conftest.$ac_ext <<_ACEOF
89267 /* end confdefs.h.  */
89268 #include <math.h>
89269 int
89270 main ()
89271 {
89272  _modf(0, 0);
89273   ;
89274   return 0;
89275 }
89276 _ACEOF
89277 rm -f conftest.$ac_objext
89278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89279   (eval $ac_compile) 2>conftest.er1
89280   ac_status=$?
89281   grep -v '^ *+' conftest.er1 >conftest.err
89282   rm -f conftest.er1
89283   cat conftest.err >&5
89284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89285   (exit $ac_status); } &&
89286          { ac_try='test -z "$ac_cxx_werror_flag"
89287                          || test ! -s conftest.err'
89288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89289   (eval $ac_try) 2>&5
89290   ac_status=$?
89291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89292   (exit $ac_status); }; } &&
89293          { ac_try='test -s conftest.$ac_objext'
89294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89295   (eval $ac_try) 2>&5
89296   ac_status=$?
89297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89298   (exit $ac_status); }; }; then
89299   glibcxx_cv_func__modf_use=yes
89300 else
89301   echo "$as_me: failed program was:" >&5
89302 sed 's/^/| /' conftest.$ac_ext >&5
89303
89304 glibcxx_cv_func__modf_use=no
89305 fi
89306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89307       ac_ext=c
89308 ac_cpp='$CPP $CPPFLAGS'
89309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89312
89313
89314 fi
89315
89316   fi
89317   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
89318 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
89319
89320     if test x$glibcxx_cv_func__modf_use = x"yes"; then
89321
89322 for ac_func in _modf
89323 do
89324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89325 echo "$as_me:$LINENO: checking for $ac_func" >&5
89326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89327 if eval "test \"\${$as_ac_var+set}\" = set"; then
89328   echo $ECHO_N "(cached) $ECHO_C" >&6
89329 else
89330   if test x$gcc_no_link = xyes; then
89331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89333    { (exit 1); exit 1; }; }
89334 fi
89335 cat >conftest.$ac_ext <<_ACEOF
89336 /* confdefs.h.  */
89337 _ACEOF
89338 cat confdefs.h >>conftest.$ac_ext
89339 cat >>conftest.$ac_ext <<_ACEOF
89340 /* end confdefs.h.  */
89341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89343 #define $ac_func innocuous_$ac_func
89344
89345 /* System header to define __stub macros and hopefully few prototypes,
89346     which can conflict with char $ac_func (); below.
89347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89348     <limits.h> exists even on freestanding compilers.  */
89349
89350 #ifdef __STDC__
89351 # include <limits.h>
89352 #else
89353 # include <assert.h>
89354 #endif
89355
89356 #undef $ac_func
89357
89358 /* Override any gcc2 internal prototype to avoid an error.  */
89359 #ifdef __cplusplus
89360 extern "C"
89361 {
89362 #endif
89363 /* We use char because int might match the return type of a gcc2
89364    builtin and then its argument prototype would still apply.  */
89365 char $ac_func ();
89366 /* The GNU C library defines this for functions which it implements
89367     to always fail with ENOSYS.  Some functions are actually named
89368     something starting with __ and the normal name is an alias.  */
89369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89370 choke me
89371 #else
89372 char (*f) () = $ac_func;
89373 #endif
89374 #ifdef __cplusplus
89375 }
89376 #endif
89377
89378 int
89379 main ()
89380 {
89381 return f != $ac_func;
89382   ;
89383   return 0;
89384 }
89385 _ACEOF
89386 rm -f conftest.$ac_objext conftest$ac_exeext
89387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89388   (eval $ac_link) 2>conftest.er1
89389   ac_status=$?
89390   grep -v '^ *+' conftest.er1 >conftest.err
89391   rm -f conftest.er1
89392   cat conftest.err >&5
89393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89394   (exit $ac_status); } &&
89395          { ac_try='test -z "$ac_c_werror_flag"
89396                          || test ! -s conftest.err'
89397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89398   (eval $ac_try) 2>&5
89399   ac_status=$?
89400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89401   (exit $ac_status); }; } &&
89402          { ac_try='test -s conftest$ac_exeext'
89403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89404   (eval $ac_try) 2>&5
89405   ac_status=$?
89406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89407   (exit $ac_status); }; }; then
89408   eval "$as_ac_var=yes"
89409 else
89410   echo "$as_me: failed program was:" >&5
89411 sed 's/^/| /' conftest.$ac_ext >&5
89412
89413 eval "$as_ac_var=no"
89414 fi
89415 rm -f conftest.err conftest.$ac_objext \
89416       conftest$ac_exeext conftest.$ac_ext
89417 fi
89418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89420 if test `eval echo '${'$as_ac_var'}'` = yes; then
89421   cat >>confdefs.h <<_ACEOF
89422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89423 _ACEOF
89424
89425 fi
89426 done
89427
89428     fi
89429   fi
89430
89431
89432
89433
89434
89435
89436   echo "$as_me:$LINENO: checking for powf declaration" >&5
89437 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
89438   if test x${glibcxx_cv_func_powf_use+set} != xset; then
89439     if test "${glibcxx_cv_func_powf_use+set}" = set; then
89440   echo $ECHO_N "(cached) $ECHO_C" >&6
89441 else
89442
89443
89444
89445       ac_ext=cc
89446 ac_cpp='$CXXCPP $CPPFLAGS'
89447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89450
89451       cat >conftest.$ac_ext <<_ACEOF
89452 /* confdefs.h.  */
89453 _ACEOF
89454 cat confdefs.h >>conftest.$ac_ext
89455 cat >>conftest.$ac_ext <<_ACEOF
89456 /* end confdefs.h.  */
89457 #include <math.h>
89458 int
89459 main ()
89460 {
89461  powf(0, 0);
89462   ;
89463   return 0;
89464 }
89465 _ACEOF
89466 rm -f conftest.$ac_objext
89467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89468   (eval $ac_compile) 2>conftest.er1
89469   ac_status=$?
89470   grep -v '^ *+' conftest.er1 >conftest.err
89471   rm -f conftest.er1
89472   cat conftest.err >&5
89473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89474   (exit $ac_status); } &&
89475          { ac_try='test -z "$ac_cxx_werror_flag"
89476                          || test ! -s conftest.err'
89477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89478   (eval $ac_try) 2>&5
89479   ac_status=$?
89480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89481   (exit $ac_status); }; } &&
89482          { ac_try='test -s conftest.$ac_objext'
89483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89484   (eval $ac_try) 2>&5
89485   ac_status=$?
89486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89487   (exit $ac_status); }; }; then
89488   glibcxx_cv_func_powf_use=yes
89489 else
89490   echo "$as_me: failed program was:" >&5
89491 sed 's/^/| /' conftest.$ac_ext >&5
89492
89493 glibcxx_cv_func_powf_use=no
89494 fi
89495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89496       ac_ext=c
89497 ac_cpp='$CPP $CPPFLAGS'
89498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89501
89502
89503 fi
89504
89505   fi
89506   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
89507 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
89508
89509   if test x$glibcxx_cv_func_powf_use = x"yes"; then
89510
89511 for ac_func in powf
89512 do
89513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89514 echo "$as_me:$LINENO: checking for $ac_func" >&5
89515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89516 if eval "test \"\${$as_ac_var+set}\" = set"; then
89517   echo $ECHO_N "(cached) $ECHO_C" >&6
89518 else
89519   if test x$gcc_no_link = xyes; then
89520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89522    { (exit 1); exit 1; }; }
89523 fi
89524 cat >conftest.$ac_ext <<_ACEOF
89525 /* confdefs.h.  */
89526 _ACEOF
89527 cat confdefs.h >>conftest.$ac_ext
89528 cat >>conftest.$ac_ext <<_ACEOF
89529 /* end confdefs.h.  */
89530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89532 #define $ac_func innocuous_$ac_func
89533
89534 /* System header to define __stub macros and hopefully few prototypes,
89535     which can conflict with char $ac_func (); below.
89536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89537     <limits.h> exists even on freestanding compilers.  */
89538
89539 #ifdef __STDC__
89540 # include <limits.h>
89541 #else
89542 # include <assert.h>
89543 #endif
89544
89545 #undef $ac_func
89546
89547 /* Override any gcc2 internal prototype to avoid an error.  */
89548 #ifdef __cplusplus
89549 extern "C"
89550 {
89551 #endif
89552 /* We use char because int might match the return type of a gcc2
89553    builtin and then its argument prototype would still apply.  */
89554 char $ac_func ();
89555 /* The GNU C library defines this for functions which it implements
89556     to always fail with ENOSYS.  Some functions are actually named
89557     something starting with __ and the normal name is an alias.  */
89558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89559 choke me
89560 #else
89561 char (*f) () = $ac_func;
89562 #endif
89563 #ifdef __cplusplus
89564 }
89565 #endif
89566
89567 int
89568 main ()
89569 {
89570 return f != $ac_func;
89571   ;
89572   return 0;
89573 }
89574 _ACEOF
89575 rm -f conftest.$ac_objext conftest$ac_exeext
89576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89577   (eval $ac_link) 2>conftest.er1
89578   ac_status=$?
89579   grep -v '^ *+' conftest.er1 >conftest.err
89580   rm -f conftest.er1
89581   cat conftest.err >&5
89582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89583   (exit $ac_status); } &&
89584          { ac_try='test -z "$ac_c_werror_flag"
89585                          || test ! -s conftest.err'
89586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89587   (eval $ac_try) 2>&5
89588   ac_status=$?
89589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89590   (exit $ac_status); }; } &&
89591          { ac_try='test -s conftest$ac_exeext'
89592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89593   (eval $ac_try) 2>&5
89594   ac_status=$?
89595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596   (exit $ac_status); }; }; then
89597   eval "$as_ac_var=yes"
89598 else
89599   echo "$as_me: failed program was:" >&5
89600 sed 's/^/| /' conftest.$ac_ext >&5
89601
89602 eval "$as_ac_var=no"
89603 fi
89604 rm -f conftest.err conftest.$ac_objext \
89605       conftest$ac_exeext conftest.$ac_ext
89606 fi
89607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89609 if test `eval echo '${'$as_ac_var'}'` = yes; then
89610   cat >>confdefs.h <<_ACEOF
89611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89612 _ACEOF
89613
89614 fi
89615 done
89616
89617   else
89618
89619   echo "$as_me:$LINENO: checking for _powf declaration" >&5
89620 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
89621   if test x${glibcxx_cv_func__powf_use+set} != xset; then
89622     if test "${glibcxx_cv_func__powf_use+set}" = set; then
89623   echo $ECHO_N "(cached) $ECHO_C" >&6
89624 else
89625
89626
89627
89628       ac_ext=cc
89629 ac_cpp='$CXXCPP $CPPFLAGS'
89630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89633
89634       cat >conftest.$ac_ext <<_ACEOF
89635 /* confdefs.h.  */
89636 _ACEOF
89637 cat confdefs.h >>conftest.$ac_ext
89638 cat >>conftest.$ac_ext <<_ACEOF
89639 /* end confdefs.h.  */
89640 #include <math.h>
89641 int
89642 main ()
89643 {
89644  _powf(0, 0);
89645   ;
89646   return 0;
89647 }
89648 _ACEOF
89649 rm -f conftest.$ac_objext
89650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89651   (eval $ac_compile) 2>conftest.er1
89652   ac_status=$?
89653   grep -v '^ *+' conftest.er1 >conftest.err
89654   rm -f conftest.er1
89655   cat conftest.err >&5
89656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89657   (exit $ac_status); } &&
89658          { ac_try='test -z "$ac_cxx_werror_flag"
89659                          || test ! -s conftest.err'
89660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89661   (eval $ac_try) 2>&5
89662   ac_status=$?
89663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89664   (exit $ac_status); }; } &&
89665          { ac_try='test -s conftest.$ac_objext'
89666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89667   (eval $ac_try) 2>&5
89668   ac_status=$?
89669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89670   (exit $ac_status); }; }; then
89671   glibcxx_cv_func__powf_use=yes
89672 else
89673   echo "$as_me: failed program was:" >&5
89674 sed 's/^/| /' conftest.$ac_ext >&5
89675
89676 glibcxx_cv_func__powf_use=no
89677 fi
89678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89679       ac_ext=c
89680 ac_cpp='$CPP $CPPFLAGS'
89681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89684
89685
89686 fi
89687
89688   fi
89689   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
89690 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
89691
89692     if test x$glibcxx_cv_func__powf_use = x"yes"; then
89693
89694 for ac_func in _powf
89695 do
89696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89697 echo "$as_me:$LINENO: checking for $ac_func" >&5
89698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89699 if eval "test \"\${$as_ac_var+set}\" = set"; then
89700   echo $ECHO_N "(cached) $ECHO_C" >&6
89701 else
89702   if test x$gcc_no_link = xyes; then
89703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89705    { (exit 1); exit 1; }; }
89706 fi
89707 cat >conftest.$ac_ext <<_ACEOF
89708 /* confdefs.h.  */
89709 _ACEOF
89710 cat confdefs.h >>conftest.$ac_ext
89711 cat >>conftest.$ac_ext <<_ACEOF
89712 /* end confdefs.h.  */
89713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89715 #define $ac_func innocuous_$ac_func
89716
89717 /* System header to define __stub macros and hopefully few prototypes,
89718     which can conflict with char $ac_func (); below.
89719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89720     <limits.h> exists even on freestanding compilers.  */
89721
89722 #ifdef __STDC__
89723 # include <limits.h>
89724 #else
89725 # include <assert.h>
89726 #endif
89727
89728 #undef $ac_func
89729
89730 /* Override any gcc2 internal prototype to avoid an error.  */
89731 #ifdef __cplusplus
89732 extern "C"
89733 {
89734 #endif
89735 /* We use char because int might match the return type of a gcc2
89736    builtin and then its argument prototype would still apply.  */
89737 char $ac_func ();
89738 /* The GNU C library defines this for functions which it implements
89739     to always fail with ENOSYS.  Some functions are actually named
89740     something starting with __ and the normal name is an alias.  */
89741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89742 choke me
89743 #else
89744 char (*f) () = $ac_func;
89745 #endif
89746 #ifdef __cplusplus
89747 }
89748 #endif
89749
89750 int
89751 main ()
89752 {
89753 return f != $ac_func;
89754   ;
89755   return 0;
89756 }
89757 _ACEOF
89758 rm -f conftest.$ac_objext conftest$ac_exeext
89759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89760   (eval $ac_link) 2>conftest.er1
89761   ac_status=$?
89762   grep -v '^ *+' conftest.er1 >conftest.err
89763   rm -f conftest.er1
89764   cat conftest.err >&5
89765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89766   (exit $ac_status); } &&
89767          { ac_try='test -z "$ac_c_werror_flag"
89768                          || test ! -s conftest.err'
89769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89770   (eval $ac_try) 2>&5
89771   ac_status=$?
89772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89773   (exit $ac_status); }; } &&
89774          { ac_try='test -s conftest$ac_exeext'
89775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89776   (eval $ac_try) 2>&5
89777   ac_status=$?
89778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89779   (exit $ac_status); }; }; then
89780   eval "$as_ac_var=yes"
89781 else
89782   echo "$as_me: failed program was:" >&5
89783 sed 's/^/| /' conftest.$ac_ext >&5
89784
89785 eval "$as_ac_var=no"
89786 fi
89787 rm -f conftest.err conftest.$ac_objext \
89788       conftest$ac_exeext conftest.$ac_ext
89789 fi
89790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89792 if test `eval echo '${'$as_ac_var'}'` = yes; then
89793   cat >>confdefs.h <<_ACEOF
89794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89795 _ACEOF
89796
89797 fi
89798 done
89799
89800     fi
89801   fi
89802
89803
89804
89805
89806
89807
89808   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
89809 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
89810   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
89811     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
89812   echo $ECHO_N "(cached) $ECHO_C" >&6
89813 else
89814
89815
89816
89817       ac_ext=cc
89818 ac_cpp='$CXXCPP $CPPFLAGS'
89819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89822
89823       cat >conftest.$ac_ext <<_ACEOF
89824 /* confdefs.h.  */
89825 _ACEOF
89826 cat confdefs.h >>conftest.$ac_ext
89827 cat >>conftest.$ac_ext <<_ACEOF
89828 /* end confdefs.h.  */
89829 #include <math.h>
89830                       #ifdef HAVE_IEEEFP_H
89831                       #include <ieeefp.h>
89832                       #endif
89833
89834 int
89835 main ()
89836 {
89837  sqrtf(0);
89838   ;
89839   return 0;
89840 }
89841 _ACEOF
89842 rm -f conftest.$ac_objext
89843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89844   (eval $ac_compile) 2>conftest.er1
89845   ac_status=$?
89846   grep -v '^ *+' conftest.er1 >conftest.err
89847   rm -f conftest.er1
89848   cat conftest.err >&5
89849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89850   (exit $ac_status); } &&
89851          { ac_try='test -z "$ac_cxx_werror_flag"
89852                          || test ! -s conftest.err'
89853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89854   (eval $ac_try) 2>&5
89855   ac_status=$?
89856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89857   (exit $ac_status); }; } &&
89858          { ac_try='test -s conftest.$ac_objext'
89859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89860   (eval $ac_try) 2>&5
89861   ac_status=$?
89862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89863   (exit $ac_status); }; }; then
89864   glibcxx_cv_func_sqrtf_use=yes
89865 else
89866   echo "$as_me: failed program was:" >&5
89867 sed 's/^/| /' conftest.$ac_ext >&5
89868
89869 glibcxx_cv_func_sqrtf_use=no
89870 fi
89871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89872       ac_ext=c
89873 ac_cpp='$CPP $CPPFLAGS'
89874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89877
89878
89879 fi
89880
89881   fi
89882   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
89883 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
89884
89885   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
89886
89887 for ac_func in sqrtf
89888 do
89889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89890 echo "$as_me:$LINENO: checking for $ac_func" >&5
89891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89892 if eval "test \"\${$as_ac_var+set}\" = set"; then
89893   echo $ECHO_N "(cached) $ECHO_C" >&6
89894 else
89895   if test x$gcc_no_link = xyes; then
89896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89898    { (exit 1); exit 1; }; }
89899 fi
89900 cat >conftest.$ac_ext <<_ACEOF
89901 /* confdefs.h.  */
89902 _ACEOF
89903 cat confdefs.h >>conftest.$ac_ext
89904 cat >>conftest.$ac_ext <<_ACEOF
89905 /* end confdefs.h.  */
89906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89908 #define $ac_func innocuous_$ac_func
89909
89910 /* System header to define __stub macros and hopefully few prototypes,
89911     which can conflict with char $ac_func (); below.
89912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89913     <limits.h> exists even on freestanding compilers.  */
89914
89915 #ifdef __STDC__
89916 # include <limits.h>
89917 #else
89918 # include <assert.h>
89919 #endif
89920
89921 #undef $ac_func
89922
89923 /* Override any gcc2 internal prototype to avoid an error.  */
89924 #ifdef __cplusplus
89925 extern "C"
89926 {
89927 #endif
89928 /* We use char because int might match the return type of a gcc2
89929    builtin and then its argument prototype would still apply.  */
89930 char $ac_func ();
89931 /* The GNU C library defines this for functions which it implements
89932     to always fail with ENOSYS.  Some functions are actually named
89933     something starting with __ and the normal name is an alias.  */
89934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89935 choke me
89936 #else
89937 char (*f) () = $ac_func;
89938 #endif
89939 #ifdef __cplusplus
89940 }
89941 #endif
89942
89943 int
89944 main ()
89945 {
89946 return f != $ac_func;
89947   ;
89948   return 0;
89949 }
89950 _ACEOF
89951 rm -f conftest.$ac_objext conftest$ac_exeext
89952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89953   (eval $ac_link) 2>conftest.er1
89954   ac_status=$?
89955   grep -v '^ *+' conftest.er1 >conftest.err
89956   rm -f conftest.er1
89957   cat conftest.err >&5
89958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89959   (exit $ac_status); } &&
89960          { ac_try='test -z "$ac_c_werror_flag"
89961                          || test ! -s conftest.err'
89962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89963   (eval $ac_try) 2>&5
89964   ac_status=$?
89965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89966   (exit $ac_status); }; } &&
89967          { ac_try='test -s conftest$ac_exeext'
89968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89969   (eval $ac_try) 2>&5
89970   ac_status=$?
89971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89972   (exit $ac_status); }; }; then
89973   eval "$as_ac_var=yes"
89974 else
89975   echo "$as_me: failed program was:" >&5
89976 sed 's/^/| /' conftest.$ac_ext >&5
89977
89978 eval "$as_ac_var=no"
89979 fi
89980 rm -f conftest.err conftest.$ac_objext \
89981       conftest$ac_exeext conftest.$ac_ext
89982 fi
89983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89985 if test `eval echo '${'$as_ac_var'}'` = yes; then
89986   cat >>confdefs.h <<_ACEOF
89987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89988 _ACEOF
89989
89990 fi
89991 done
89992
89993   else
89994
89995   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
89996 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
89997   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
89998     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
89999   echo $ECHO_N "(cached) $ECHO_C" >&6
90000 else
90001
90002
90003
90004       ac_ext=cc
90005 ac_cpp='$CXXCPP $CPPFLAGS'
90006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90009
90010       cat >conftest.$ac_ext <<_ACEOF
90011 /* confdefs.h.  */
90012 _ACEOF
90013 cat confdefs.h >>conftest.$ac_ext
90014 cat >>conftest.$ac_ext <<_ACEOF
90015 /* end confdefs.h.  */
90016 #include <math.h>
90017                       #ifdef HAVE_IEEEFP_H
90018                       #include <ieeefp.h>
90019                       #endif
90020
90021 int
90022 main ()
90023 {
90024  _sqrtf(0);
90025   ;
90026   return 0;
90027 }
90028 _ACEOF
90029 rm -f conftest.$ac_objext
90030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90031   (eval $ac_compile) 2>conftest.er1
90032   ac_status=$?
90033   grep -v '^ *+' conftest.er1 >conftest.err
90034   rm -f conftest.er1
90035   cat conftest.err >&5
90036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90037   (exit $ac_status); } &&
90038          { ac_try='test -z "$ac_cxx_werror_flag"
90039                          || test ! -s conftest.err'
90040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90041   (eval $ac_try) 2>&5
90042   ac_status=$?
90043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90044   (exit $ac_status); }; } &&
90045          { ac_try='test -s conftest.$ac_objext'
90046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90047   (eval $ac_try) 2>&5
90048   ac_status=$?
90049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90050   (exit $ac_status); }; }; then
90051   glibcxx_cv_func__sqrtf_use=yes
90052 else
90053   echo "$as_me: failed program was:" >&5
90054 sed 's/^/| /' conftest.$ac_ext >&5
90055
90056 glibcxx_cv_func__sqrtf_use=no
90057 fi
90058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90059       ac_ext=c
90060 ac_cpp='$CPP $CPPFLAGS'
90061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90064
90065
90066 fi
90067
90068   fi
90069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
90070 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
90071
90072     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
90073
90074 for ac_func in _sqrtf
90075 do
90076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90077 echo "$as_me:$LINENO: checking for $ac_func" >&5
90078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90079 if eval "test \"\${$as_ac_var+set}\" = set"; then
90080   echo $ECHO_N "(cached) $ECHO_C" >&6
90081 else
90082   if test x$gcc_no_link = xyes; then
90083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90085    { (exit 1); exit 1; }; }
90086 fi
90087 cat >conftest.$ac_ext <<_ACEOF
90088 /* confdefs.h.  */
90089 _ACEOF
90090 cat confdefs.h >>conftest.$ac_ext
90091 cat >>conftest.$ac_ext <<_ACEOF
90092 /* end confdefs.h.  */
90093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90095 #define $ac_func innocuous_$ac_func
90096
90097 /* System header to define __stub macros and hopefully few prototypes,
90098     which can conflict with char $ac_func (); below.
90099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90100     <limits.h> exists even on freestanding compilers.  */
90101
90102 #ifdef __STDC__
90103 # include <limits.h>
90104 #else
90105 # include <assert.h>
90106 #endif
90107
90108 #undef $ac_func
90109
90110 /* Override any gcc2 internal prototype to avoid an error.  */
90111 #ifdef __cplusplus
90112 extern "C"
90113 {
90114 #endif
90115 /* We use char because int might match the return type of a gcc2
90116    builtin and then its argument prototype would still apply.  */
90117 char $ac_func ();
90118 /* The GNU C library defines this for functions which it implements
90119     to always fail with ENOSYS.  Some functions are actually named
90120     something starting with __ and the normal name is an alias.  */
90121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90122 choke me
90123 #else
90124 char (*f) () = $ac_func;
90125 #endif
90126 #ifdef __cplusplus
90127 }
90128 #endif
90129
90130 int
90131 main ()
90132 {
90133 return f != $ac_func;
90134   ;
90135   return 0;
90136 }
90137 _ACEOF
90138 rm -f conftest.$ac_objext conftest$ac_exeext
90139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90140   (eval $ac_link) 2>conftest.er1
90141   ac_status=$?
90142   grep -v '^ *+' conftest.er1 >conftest.err
90143   rm -f conftest.er1
90144   cat conftest.err >&5
90145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90146   (exit $ac_status); } &&
90147          { ac_try='test -z "$ac_c_werror_flag"
90148                          || test ! -s conftest.err'
90149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90150   (eval $ac_try) 2>&5
90151   ac_status=$?
90152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90153   (exit $ac_status); }; } &&
90154          { ac_try='test -s conftest$ac_exeext'
90155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90156   (eval $ac_try) 2>&5
90157   ac_status=$?
90158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90159   (exit $ac_status); }; }; then
90160   eval "$as_ac_var=yes"
90161 else
90162   echo "$as_me: failed program was:" >&5
90163 sed 's/^/| /' conftest.$ac_ext >&5
90164
90165 eval "$as_ac_var=no"
90166 fi
90167 rm -f conftest.err conftest.$ac_objext \
90168       conftest$ac_exeext conftest.$ac_ext
90169 fi
90170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90172 if test `eval echo '${'$as_ac_var'}'` = yes; then
90173   cat >>confdefs.h <<_ACEOF
90174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90175 _ACEOF
90176
90177 fi
90178 done
90179
90180     fi
90181   fi
90182
90183
90184
90185
90186
90187
90188   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
90189 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
90190   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
90191     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
90192   echo $ECHO_N "(cached) $ECHO_C" >&6
90193 else
90194
90195
90196
90197       ac_ext=cc
90198 ac_cpp='$CXXCPP $CPPFLAGS'
90199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90202
90203       cat >conftest.$ac_ext <<_ACEOF
90204 /* confdefs.h.  */
90205 _ACEOF
90206 cat confdefs.h >>conftest.$ac_ext
90207 cat >>conftest.$ac_ext <<_ACEOF
90208 /* end confdefs.h.  */
90209 #include <math.h>
90210 int
90211 main ()
90212 {
90213  sincosf(0, 0, 0);
90214   ;
90215   return 0;
90216 }
90217 _ACEOF
90218 rm -f conftest.$ac_objext
90219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90220   (eval $ac_compile) 2>conftest.er1
90221   ac_status=$?
90222   grep -v '^ *+' conftest.er1 >conftest.err
90223   rm -f conftest.er1
90224   cat conftest.err >&5
90225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90226   (exit $ac_status); } &&
90227          { ac_try='test -z "$ac_cxx_werror_flag"
90228                          || test ! -s conftest.err'
90229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90230   (eval $ac_try) 2>&5
90231   ac_status=$?
90232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90233   (exit $ac_status); }; } &&
90234          { ac_try='test -s conftest.$ac_objext'
90235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90236   (eval $ac_try) 2>&5
90237   ac_status=$?
90238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90239   (exit $ac_status); }; }; then
90240   glibcxx_cv_func_sincosf_use=yes
90241 else
90242   echo "$as_me: failed program was:" >&5
90243 sed 's/^/| /' conftest.$ac_ext >&5
90244
90245 glibcxx_cv_func_sincosf_use=no
90246 fi
90247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90248       ac_ext=c
90249 ac_cpp='$CPP $CPPFLAGS'
90250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90253
90254
90255 fi
90256
90257   fi
90258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
90259 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
90260
90261   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
90262
90263 for ac_func in sincosf
90264 do
90265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90266 echo "$as_me:$LINENO: checking for $ac_func" >&5
90267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90268 if eval "test \"\${$as_ac_var+set}\" = set"; then
90269   echo $ECHO_N "(cached) $ECHO_C" >&6
90270 else
90271   if test x$gcc_no_link = xyes; then
90272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90274    { (exit 1); exit 1; }; }
90275 fi
90276 cat >conftest.$ac_ext <<_ACEOF
90277 /* confdefs.h.  */
90278 _ACEOF
90279 cat confdefs.h >>conftest.$ac_ext
90280 cat >>conftest.$ac_ext <<_ACEOF
90281 /* end confdefs.h.  */
90282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90284 #define $ac_func innocuous_$ac_func
90285
90286 /* System header to define __stub macros and hopefully few prototypes,
90287     which can conflict with char $ac_func (); below.
90288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90289     <limits.h> exists even on freestanding compilers.  */
90290
90291 #ifdef __STDC__
90292 # include <limits.h>
90293 #else
90294 # include <assert.h>
90295 #endif
90296
90297 #undef $ac_func
90298
90299 /* Override any gcc2 internal prototype to avoid an error.  */
90300 #ifdef __cplusplus
90301 extern "C"
90302 {
90303 #endif
90304 /* We use char because int might match the return type of a gcc2
90305    builtin and then its argument prototype would still apply.  */
90306 char $ac_func ();
90307 /* The GNU C library defines this for functions which it implements
90308     to always fail with ENOSYS.  Some functions are actually named
90309     something starting with __ and the normal name is an alias.  */
90310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90311 choke me
90312 #else
90313 char (*f) () = $ac_func;
90314 #endif
90315 #ifdef __cplusplus
90316 }
90317 #endif
90318
90319 int
90320 main ()
90321 {
90322 return f != $ac_func;
90323   ;
90324   return 0;
90325 }
90326 _ACEOF
90327 rm -f conftest.$ac_objext conftest$ac_exeext
90328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90329   (eval $ac_link) 2>conftest.er1
90330   ac_status=$?
90331   grep -v '^ *+' conftest.er1 >conftest.err
90332   rm -f conftest.er1
90333   cat conftest.err >&5
90334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90335   (exit $ac_status); } &&
90336          { ac_try='test -z "$ac_c_werror_flag"
90337                          || test ! -s conftest.err'
90338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90339   (eval $ac_try) 2>&5
90340   ac_status=$?
90341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90342   (exit $ac_status); }; } &&
90343          { ac_try='test -s conftest$ac_exeext'
90344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90345   (eval $ac_try) 2>&5
90346   ac_status=$?
90347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90348   (exit $ac_status); }; }; then
90349   eval "$as_ac_var=yes"
90350 else
90351   echo "$as_me: failed program was:" >&5
90352 sed 's/^/| /' conftest.$ac_ext >&5
90353
90354 eval "$as_ac_var=no"
90355 fi
90356 rm -f conftest.err conftest.$ac_objext \
90357       conftest$ac_exeext conftest.$ac_ext
90358 fi
90359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90361 if test `eval echo '${'$as_ac_var'}'` = yes; then
90362   cat >>confdefs.h <<_ACEOF
90363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90364 _ACEOF
90365
90366 fi
90367 done
90368
90369   else
90370
90371   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
90372 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
90373   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
90374     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
90375   echo $ECHO_N "(cached) $ECHO_C" >&6
90376 else
90377
90378
90379
90380       ac_ext=cc
90381 ac_cpp='$CXXCPP $CPPFLAGS'
90382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90385
90386       cat >conftest.$ac_ext <<_ACEOF
90387 /* confdefs.h.  */
90388 _ACEOF
90389 cat confdefs.h >>conftest.$ac_ext
90390 cat >>conftest.$ac_ext <<_ACEOF
90391 /* end confdefs.h.  */
90392 #include <math.h>
90393 int
90394 main ()
90395 {
90396  _sincosf(0, 0, 0);
90397   ;
90398   return 0;
90399 }
90400 _ACEOF
90401 rm -f conftest.$ac_objext
90402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90403   (eval $ac_compile) 2>conftest.er1
90404   ac_status=$?
90405   grep -v '^ *+' conftest.er1 >conftest.err
90406   rm -f conftest.er1
90407   cat conftest.err >&5
90408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90409   (exit $ac_status); } &&
90410          { ac_try='test -z "$ac_cxx_werror_flag"
90411                          || test ! -s conftest.err'
90412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90413   (eval $ac_try) 2>&5
90414   ac_status=$?
90415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90416   (exit $ac_status); }; } &&
90417          { ac_try='test -s conftest.$ac_objext'
90418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90419   (eval $ac_try) 2>&5
90420   ac_status=$?
90421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90422   (exit $ac_status); }; }; then
90423   glibcxx_cv_func__sincosf_use=yes
90424 else
90425   echo "$as_me: failed program was:" >&5
90426 sed 's/^/| /' conftest.$ac_ext >&5
90427
90428 glibcxx_cv_func__sincosf_use=no
90429 fi
90430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90431       ac_ext=c
90432 ac_cpp='$CPP $CPPFLAGS'
90433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90436
90437
90438 fi
90439
90440   fi
90441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
90442 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
90443
90444     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
90445
90446 for ac_func in _sincosf
90447 do
90448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90449 echo "$as_me:$LINENO: checking for $ac_func" >&5
90450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90451 if eval "test \"\${$as_ac_var+set}\" = set"; then
90452   echo $ECHO_N "(cached) $ECHO_C" >&6
90453 else
90454   if test x$gcc_no_link = xyes; then
90455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90457    { (exit 1); exit 1; }; }
90458 fi
90459 cat >conftest.$ac_ext <<_ACEOF
90460 /* confdefs.h.  */
90461 _ACEOF
90462 cat confdefs.h >>conftest.$ac_ext
90463 cat >>conftest.$ac_ext <<_ACEOF
90464 /* end confdefs.h.  */
90465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90467 #define $ac_func innocuous_$ac_func
90468
90469 /* System header to define __stub macros and hopefully few prototypes,
90470     which can conflict with char $ac_func (); below.
90471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90472     <limits.h> exists even on freestanding compilers.  */
90473
90474 #ifdef __STDC__
90475 # include <limits.h>
90476 #else
90477 # include <assert.h>
90478 #endif
90479
90480 #undef $ac_func
90481
90482 /* Override any gcc2 internal prototype to avoid an error.  */
90483 #ifdef __cplusplus
90484 extern "C"
90485 {
90486 #endif
90487 /* We use char because int might match the return type of a gcc2
90488    builtin and then its argument prototype would still apply.  */
90489 char $ac_func ();
90490 /* The GNU C library defines this for functions which it implements
90491     to always fail with ENOSYS.  Some functions are actually named
90492     something starting with __ and the normal name is an alias.  */
90493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90494 choke me
90495 #else
90496 char (*f) () = $ac_func;
90497 #endif
90498 #ifdef __cplusplus
90499 }
90500 #endif
90501
90502 int
90503 main ()
90504 {
90505 return f != $ac_func;
90506   ;
90507   return 0;
90508 }
90509 _ACEOF
90510 rm -f conftest.$ac_objext conftest$ac_exeext
90511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90512   (eval $ac_link) 2>conftest.er1
90513   ac_status=$?
90514   grep -v '^ *+' conftest.er1 >conftest.err
90515   rm -f conftest.er1
90516   cat conftest.err >&5
90517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90518   (exit $ac_status); } &&
90519          { ac_try='test -z "$ac_c_werror_flag"
90520                          || test ! -s conftest.err'
90521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90522   (eval $ac_try) 2>&5
90523   ac_status=$?
90524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90525   (exit $ac_status); }; } &&
90526          { ac_try='test -s conftest$ac_exeext'
90527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90528   (eval $ac_try) 2>&5
90529   ac_status=$?
90530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90531   (exit $ac_status); }; }; then
90532   eval "$as_ac_var=yes"
90533 else
90534   echo "$as_me: failed program was:" >&5
90535 sed 's/^/| /' conftest.$ac_ext >&5
90536
90537 eval "$as_ac_var=no"
90538 fi
90539 rm -f conftest.err conftest.$ac_objext \
90540       conftest$ac_exeext conftest.$ac_ext
90541 fi
90542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90544 if test `eval echo '${'$as_ac_var'}'` = yes; then
90545   cat >>confdefs.h <<_ACEOF
90546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90547 _ACEOF
90548
90549 fi
90550 done
90551
90552     fi
90553   fi
90554
90555
90556
90557
90558
90559
90560   echo "$as_me:$LINENO: checking for finitef declaration" >&5
90561 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
90562   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
90563     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
90564   echo $ECHO_N "(cached) $ECHO_C" >&6
90565 else
90566
90567
90568
90569       ac_ext=cc
90570 ac_cpp='$CXXCPP $CPPFLAGS'
90571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90574
90575       cat >conftest.$ac_ext <<_ACEOF
90576 /* confdefs.h.  */
90577 _ACEOF
90578 cat confdefs.h >>conftest.$ac_ext
90579 cat >>conftest.$ac_ext <<_ACEOF
90580 /* end confdefs.h.  */
90581 #include <math.h>
90582                       #ifdef HAVE_IEEEFP_H
90583                       #include <ieeefp.h>
90584                       #endif
90585
90586 int
90587 main ()
90588 {
90589  finitef(0);
90590   ;
90591   return 0;
90592 }
90593 _ACEOF
90594 rm -f conftest.$ac_objext
90595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90596   (eval $ac_compile) 2>conftest.er1
90597   ac_status=$?
90598   grep -v '^ *+' conftest.er1 >conftest.err
90599   rm -f conftest.er1
90600   cat conftest.err >&5
90601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90602   (exit $ac_status); } &&
90603          { ac_try='test -z "$ac_cxx_werror_flag"
90604                          || test ! -s conftest.err'
90605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90606   (eval $ac_try) 2>&5
90607   ac_status=$?
90608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90609   (exit $ac_status); }; } &&
90610          { ac_try='test -s conftest.$ac_objext'
90611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90612   (eval $ac_try) 2>&5
90613   ac_status=$?
90614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90615   (exit $ac_status); }; }; then
90616   glibcxx_cv_func_finitef_use=yes
90617 else
90618   echo "$as_me: failed program was:" >&5
90619 sed 's/^/| /' conftest.$ac_ext >&5
90620
90621 glibcxx_cv_func_finitef_use=no
90622 fi
90623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90624       ac_ext=c
90625 ac_cpp='$CPP $CPPFLAGS'
90626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90629
90630
90631 fi
90632
90633   fi
90634   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
90635 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
90636
90637   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
90638
90639 for ac_func in finitef
90640 do
90641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90642 echo "$as_me:$LINENO: checking for $ac_func" >&5
90643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90644 if eval "test \"\${$as_ac_var+set}\" = set"; then
90645   echo $ECHO_N "(cached) $ECHO_C" >&6
90646 else
90647   if test x$gcc_no_link = xyes; then
90648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90650    { (exit 1); exit 1; }; }
90651 fi
90652 cat >conftest.$ac_ext <<_ACEOF
90653 /* confdefs.h.  */
90654 _ACEOF
90655 cat confdefs.h >>conftest.$ac_ext
90656 cat >>conftest.$ac_ext <<_ACEOF
90657 /* end confdefs.h.  */
90658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90660 #define $ac_func innocuous_$ac_func
90661
90662 /* System header to define __stub macros and hopefully few prototypes,
90663     which can conflict with char $ac_func (); below.
90664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90665     <limits.h> exists even on freestanding compilers.  */
90666
90667 #ifdef __STDC__
90668 # include <limits.h>
90669 #else
90670 # include <assert.h>
90671 #endif
90672
90673 #undef $ac_func
90674
90675 /* Override any gcc2 internal prototype to avoid an error.  */
90676 #ifdef __cplusplus
90677 extern "C"
90678 {
90679 #endif
90680 /* We use char because int might match the return type of a gcc2
90681    builtin and then its argument prototype would still apply.  */
90682 char $ac_func ();
90683 /* The GNU C library defines this for functions which it implements
90684     to always fail with ENOSYS.  Some functions are actually named
90685     something starting with __ and the normal name is an alias.  */
90686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90687 choke me
90688 #else
90689 char (*f) () = $ac_func;
90690 #endif
90691 #ifdef __cplusplus
90692 }
90693 #endif
90694
90695 int
90696 main ()
90697 {
90698 return f != $ac_func;
90699   ;
90700   return 0;
90701 }
90702 _ACEOF
90703 rm -f conftest.$ac_objext conftest$ac_exeext
90704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90705   (eval $ac_link) 2>conftest.er1
90706   ac_status=$?
90707   grep -v '^ *+' conftest.er1 >conftest.err
90708   rm -f conftest.er1
90709   cat conftest.err >&5
90710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90711   (exit $ac_status); } &&
90712          { ac_try='test -z "$ac_c_werror_flag"
90713                          || test ! -s conftest.err'
90714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90715   (eval $ac_try) 2>&5
90716   ac_status=$?
90717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90718   (exit $ac_status); }; } &&
90719          { ac_try='test -s conftest$ac_exeext'
90720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90721   (eval $ac_try) 2>&5
90722   ac_status=$?
90723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90724   (exit $ac_status); }; }; then
90725   eval "$as_ac_var=yes"
90726 else
90727   echo "$as_me: failed program was:" >&5
90728 sed 's/^/| /' conftest.$ac_ext >&5
90729
90730 eval "$as_ac_var=no"
90731 fi
90732 rm -f conftest.err conftest.$ac_objext \
90733       conftest$ac_exeext conftest.$ac_ext
90734 fi
90735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90737 if test `eval echo '${'$as_ac_var'}'` = yes; then
90738   cat >>confdefs.h <<_ACEOF
90739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90740 _ACEOF
90741
90742 fi
90743 done
90744
90745   else
90746
90747   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
90748 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
90749   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
90750     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
90751   echo $ECHO_N "(cached) $ECHO_C" >&6
90752 else
90753
90754
90755
90756       ac_ext=cc
90757 ac_cpp='$CXXCPP $CPPFLAGS'
90758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90761
90762       cat >conftest.$ac_ext <<_ACEOF
90763 /* confdefs.h.  */
90764 _ACEOF
90765 cat confdefs.h >>conftest.$ac_ext
90766 cat >>conftest.$ac_ext <<_ACEOF
90767 /* end confdefs.h.  */
90768 #include <math.h>
90769                       #ifdef HAVE_IEEEFP_H
90770                       #include <ieeefp.h>
90771                       #endif
90772
90773 int
90774 main ()
90775 {
90776  _finitef(0);
90777   ;
90778   return 0;
90779 }
90780 _ACEOF
90781 rm -f conftest.$ac_objext
90782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90783   (eval $ac_compile) 2>conftest.er1
90784   ac_status=$?
90785   grep -v '^ *+' conftest.er1 >conftest.err
90786   rm -f conftest.er1
90787   cat conftest.err >&5
90788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90789   (exit $ac_status); } &&
90790          { ac_try='test -z "$ac_cxx_werror_flag"
90791                          || test ! -s conftest.err'
90792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90793   (eval $ac_try) 2>&5
90794   ac_status=$?
90795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90796   (exit $ac_status); }; } &&
90797          { ac_try='test -s conftest.$ac_objext'
90798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90799   (eval $ac_try) 2>&5
90800   ac_status=$?
90801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90802   (exit $ac_status); }; }; then
90803   glibcxx_cv_func__finitef_use=yes
90804 else
90805   echo "$as_me: failed program was:" >&5
90806 sed 's/^/| /' conftest.$ac_ext >&5
90807
90808 glibcxx_cv_func__finitef_use=no
90809 fi
90810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90811       ac_ext=c
90812 ac_cpp='$CPP $CPPFLAGS'
90813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90816
90817
90818 fi
90819
90820   fi
90821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
90822 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
90823
90824     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
90825
90826 for ac_func in _finitef
90827 do
90828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90829 echo "$as_me:$LINENO: checking for $ac_func" >&5
90830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90831 if eval "test \"\${$as_ac_var+set}\" = set"; then
90832   echo $ECHO_N "(cached) $ECHO_C" >&6
90833 else
90834   if test x$gcc_no_link = xyes; then
90835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90837    { (exit 1); exit 1; }; }
90838 fi
90839 cat >conftest.$ac_ext <<_ACEOF
90840 /* confdefs.h.  */
90841 _ACEOF
90842 cat confdefs.h >>conftest.$ac_ext
90843 cat >>conftest.$ac_ext <<_ACEOF
90844 /* end confdefs.h.  */
90845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90847 #define $ac_func innocuous_$ac_func
90848
90849 /* System header to define __stub macros and hopefully few prototypes,
90850     which can conflict with char $ac_func (); below.
90851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90852     <limits.h> exists even on freestanding compilers.  */
90853
90854 #ifdef __STDC__
90855 # include <limits.h>
90856 #else
90857 # include <assert.h>
90858 #endif
90859
90860 #undef $ac_func
90861
90862 /* Override any gcc2 internal prototype to avoid an error.  */
90863 #ifdef __cplusplus
90864 extern "C"
90865 {
90866 #endif
90867 /* We use char because int might match the return type of a gcc2
90868    builtin and then its argument prototype would still apply.  */
90869 char $ac_func ();
90870 /* The GNU C library defines this for functions which it implements
90871     to always fail with ENOSYS.  Some functions are actually named
90872     something starting with __ and the normal name is an alias.  */
90873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90874 choke me
90875 #else
90876 char (*f) () = $ac_func;
90877 #endif
90878 #ifdef __cplusplus
90879 }
90880 #endif
90881
90882 int
90883 main ()
90884 {
90885 return f != $ac_func;
90886   ;
90887   return 0;
90888 }
90889 _ACEOF
90890 rm -f conftest.$ac_objext conftest$ac_exeext
90891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90892   (eval $ac_link) 2>conftest.er1
90893   ac_status=$?
90894   grep -v '^ *+' conftest.er1 >conftest.err
90895   rm -f conftest.er1
90896   cat conftest.err >&5
90897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90898   (exit $ac_status); } &&
90899          { ac_try='test -z "$ac_c_werror_flag"
90900                          || test ! -s conftest.err'
90901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90902   (eval $ac_try) 2>&5
90903   ac_status=$?
90904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90905   (exit $ac_status); }; } &&
90906          { ac_try='test -s conftest$ac_exeext'
90907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90908   (eval $ac_try) 2>&5
90909   ac_status=$?
90910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90911   (exit $ac_status); }; }; then
90912   eval "$as_ac_var=yes"
90913 else
90914   echo "$as_me: failed program was:" >&5
90915 sed 's/^/| /' conftest.$ac_ext >&5
90916
90917 eval "$as_ac_var=no"
90918 fi
90919 rm -f conftest.err conftest.$ac_objext \
90920       conftest$ac_exeext conftest.$ac_ext
90921 fi
90922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90924 if test `eval echo '${'$as_ac_var'}'` = yes; then
90925   cat >>confdefs.h <<_ACEOF
90926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90927 _ACEOF
90928
90929 fi
90930 done
90931
90932     fi
90933   fi
90934
90935
90936
90937
90938
90939
90940     echo "$as_me:$LINENO: checking for long double trig functions" >&5
90941 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
90942   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
90943   echo $ECHO_N "(cached) $ECHO_C" >&6
90944 else
90945
90946
90947
90948     ac_ext=cc
90949 ac_cpp='$CXXCPP $CPPFLAGS'
90950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90953
90954     cat >conftest.$ac_ext <<_ACEOF
90955 /* confdefs.h.  */
90956 _ACEOF
90957 cat confdefs.h >>conftest.$ac_ext
90958 cat >>conftest.$ac_ext <<_ACEOF
90959 /* end confdefs.h.  */
90960 #include <math.h>
90961 int
90962 main ()
90963 {
90964 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
90965   ;
90966   return 0;
90967 }
90968 _ACEOF
90969 rm -f conftest.$ac_objext
90970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90971   (eval $ac_compile) 2>conftest.er1
90972   ac_status=$?
90973   grep -v '^ *+' conftest.er1 >conftest.err
90974   rm -f conftest.er1
90975   cat conftest.err >&5
90976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90977   (exit $ac_status); } &&
90978          { ac_try='test -z "$ac_cxx_werror_flag"
90979                          || test ! -s conftest.err'
90980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90981   (eval $ac_try) 2>&5
90982   ac_status=$?
90983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90984   (exit $ac_status); }; } &&
90985          { ac_try='test -s conftest.$ac_objext'
90986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90987   (eval $ac_try) 2>&5
90988   ac_status=$?
90989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90990   (exit $ac_status); }; }; then
90991   glibcxx_cv_func_long_double_trig_use=yes
90992 else
90993   echo "$as_me: failed program was:" >&5
90994 sed 's/^/| /' conftest.$ac_ext >&5
90995
90996 glibcxx_cv_func_long_double_trig_use=no
90997 fi
90998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90999     ac_ext=c
91000 ac_cpp='$CPP $CPPFLAGS'
91001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91004
91005 fi
91006
91007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
91008 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
91009   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
91010
91011
91012
91013
91014
91015
91016
91017
91018
91019 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
91020 do
91021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91022 echo "$as_me:$LINENO: checking for $ac_func" >&5
91023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91024 if eval "test \"\${$as_ac_var+set}\" = set"; then
91025   echo $ECHO_N "(cached) $ECHO_C" >&6
91026 else
91027   if test x$gcc_no_link = xyes; then
91028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91030    { (exit 1); exit 1; }; }
91031 fi
91032 cat >conftest.$ac_ext <<_ACEOF
91033 /* confdefs.h.  */
91034 _ACEOF
91035 cat confdefs.h >>conftest.$ac_ext
91036 cat >>conftest.$ac_ext <<_ACEOF
91037 /* end confdefs.h.  */
91038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91040 #define $ac_func innocuous_$ac_func
91041
91042 /* System header to define __stub macros and hopefully few prototypes,
91043     which can conflict with char $ac_func (); below.
91044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91045     <limits.h> exists even on freestanding compilers.  */
91046
91047 #ifdef __STDC__
91048 # include <limits.h>
91049 #else
91050 # include <assert.h>
91051 #endif
91052
91053 #undef $ac_func
91054
91055 /* Override any gcc2 internal prototype to avoid an error.  */
91056 #ifdef __cplusplus
91057 extern "C"
91058 {
91059 #endif
91060 /* We use char because int might match the return type of a gcc2
91061    builtin and then its argument prototype would still apply.  */
91062 char $ac_func ();
91063 /* The GNU C library defines this for functions which it implements
91064     to always fail with ENOSYS.  Some functions are actually named
91065     something starting with __ and the normal name is an alias.  */
91066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91067 choke me
91068 #else
91069 char (*f) () = $ac_func;
91070 #endif
91071 #ifdef __cplusplus
91072 }
91073 #endif
91074
91075 int
91076 main ()
91077 {
91078 return f != $ac_func;
91079   ;
91080   return 0;
91081 }
91082 _ACEOF
91083 rm -f conftest.$ac_objext conftest$ac_exeext
91084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91085   (eval $ac_link) 2>conftest.er1
91086   ac_status=$?
91087   grep -v '^ *+' conftest.er1 >conftest.err
91088   rm -f conftest.er1
91089   cat conftest.err >&5
91090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91091   (exit $ac_status); } &&
91092          { ac_try='test -z "$ac_c_werror_flag"
91093                          || test ! -s conftest.err'
91094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91095   (eval $ac_try) 2>&5
91096   ac_status=$?
91097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91098   (exit $ac_status); }; } &&
91099          { ac_try='test -s conftest$ac_exeext'
91100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91101   (eval $ac_try) 2>&5
91102   ac_status=$?
91103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91104   (exit $ac_status); }; }; then
91105   eval "$as_ac_var=yes"
91106 else
91107   echo "$as_me: failed program was:" >&5
91108 sed 's/^/| /' conftest.$ac_ext >&5
91109
91110 eval "$as_ac_var=no"
91111 fi
91112 rm -f conftest.err conftest.$ac_objext \
91113       conftest$ac_exeext conftest.$ac_ext
91114 fi
91115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91117 if test `eval echo '${'$as_ac_var'}'` = yes; then
91118   cat >>confdefs.h <<_ACEOF
91119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91120 _ACEOF
91121
91122 fi
91123 done
91124
91125   else
91126     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
91127 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
91128     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
91129   echo $ECHO_N "(cached) $ECHO_C" >&6
91130 else
91131
91132
91133
91134       ac_ext=cc
91135 ac_cpp='$CXXCPP $CPPFLAGS'
91136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91139
91140       cat >conftest.$ac_ext <<_ACEOF
91141 /* confdefs.h.  */
91142 _ACEOF
91143 cat confdefs.h >>conftest.$ac_ext
91144 cat >>conftest.$ac_ext <<_ACEOF
91145 /* end confdefs.h.  */
91146 #include <math.h>
91147 int
91148 main ()
91149 {
91150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
91151   ;
91152   return 0;
91153 }
91154 _ACEOF
91155 rm -f conftest.$ac_objext
91156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91157   (eval $ac_compile) 2>conftest.er1
91158   ac_status=$?
91159   grep -v '^ *+' conftest.er1 >conftest.err
91160   rm -f conftest.er1
91161   cat conftest.err >&5
91162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91163   (exit $ac_status); } &&
91164          { ac_try='test -z "$ac_cxx_werror_flag"
91165                          || test ! -s conftest.err'
91166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91167   (eval $ac_try) 2>&5
91168   ac_status=$?
91169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91170   (exit $ac_status); }; } &&
91171          { ac_try='test -s conftest.$ac_objext'
91172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91173   (eval $ac_try) 2>&5
91174   ac_status=$?
91175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91176   (exit $ac_status); }; }; then
91177   glibcxx_cv_func__long_double_trig_use=yes
91178 else
91179   echo "$as_me: failed program was:" >&5
91180 sed 's/^/| /' conftest.$ac_ext >&5
91181
91182 glibcxx_cv_func__long_double_trig_use=no
91183 fi
91184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91185       ac_ext=c
91186 ac_cpp='$CPP $CPPFLAGS'
91187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91190
91191 fi
91192
91193     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
91194 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
91195     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
91196
91197
91198
91199
91200
91201
91202
91203
91204
91205 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
91206 do
91207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91208 echo "$as_me:$LINENO: checking for $ac_func" >&5
91209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91210 if eval "test \"\${$as_ac_var+set}\" = set"; then
91211   echo $ECHO_N "(cached) $ECHO_C" >&6
91212 else
91213   if test x$gcc_no_link = xyes; then
91214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91216    { (exit 1); exit 1; }; }
91217 fi
91218 cat >conftest.$ac_ext <<_ACEOF
91219 /* confdefs.h.  */
91220 _ACEOF
91221 cat confdefs.h >>conftest.$ac_ext
91222 cat >>conftest.$ac_ext <<_ACEOF
91223 /* end confdefs.h.  */
91224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91226 #define $ac_func innocuous_$ac_func
91227
91228 /* System header to define __stub macros and hopefully few prototypes,
91229     which can conflict with char $ac_func (); below.
91230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91231     <limits.h> exists even on freestanding compilers.  */
91232
91233 #ifdef __STDC__
91234 # include <limits.h>
91235 #else
91236 # include <assert.h>
91237 #endif
91238
91239 #undef $ac_func
91240
91241 /* Override any gcc2 internal prototype to avoid an error.  */
91242 #ifdef __cplusplus
91243 extern "C"
91244 {
91245 #endif
91246 /* We use char because int might match the return type of a gcc2
91247    builtin and then its argument prototype would still apply.  */
91248 char $ac_func ();
91249 /* The GNU C library defines this for functions which it implements
91250     to always fail with ENOSYS.  Some functions are actually named
91251     something starting with __ and the normal name is an alias.  */
91252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91253 choke me
91254 #else
91255 char (*f) () = $ac_func;
91256 #endif
91257 #ifdef __cplusplus
91258 }
91259 #endif
91260
91261 int
91262 main ()
91263 {
91264 return f != $ac_func;
91265   ;
91266   return 0;
91267 }
91268 _ACEOF
91269 rm -f conftest.$ac_objext conftest$ac_exeext
91270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91271   (eval $ac_link) 2>conftest.er1
91272   ac_status=$?
91273   grep -v '^ *+' conftest.er1 >conftest.err
91274   rm -f conftest.er1
91275   cat conftest.err >&5
91276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91277   (exit $ac_status); } &&
91278          { ac_try='test -z "$ac_c_werror_flag"
91279                          || test ! -s conftest.err'
91280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91281   (eval $ac_try) 2>&5
91282   ac_status=$?
91283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91284   (exit $ac_status); }; } &&
91285          { ac_try='test -s conftest$ac_exeext'
91286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91287   (eval $ac_try) 2>&5
91288   ac_status=$?
91289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91290   (exit $ac_status); }; }; then
91291   eval "$as_ac_var=yes"
91292 else
91293   echo "$as_me: failed program was:" >&5
91294 sed 's/^/| /' conftest.$ac_ext >&5
91295
91296 eval "$as_ac_var=no"
91297 fi
91298 rm -f conftest.err conftest.$ac_objext \
91299       conftest$ac_exeext conftest.$ac_ext
91300 fi
91301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91303 if test `eval echo '${'$as_ac_var'}'` = yes; then
91304   cat >>confdefs.h <<_ACEOF
91305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91306 _ACEOF
91307
91308 fi
91309 done
91310
91311     fi
91312   fi
91313
91314
91315
91316
91317
91318
91319
91320
91321
91322
91323
91324
91325
91326
91327     echo "$as_me:$LINENO: checking for long double round functions" >&5
91328 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
91329   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
91330   echo $ECHO_N "(cached) $ECHO_C" >&6
91331 else
91332
91333
91334
91335     ac_ext=cc
91336 ac_cpp='$CXXCPP $CPPFLAGS'
91337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91340
91341     cat >conftest.$ac_ext <<_ACEOF
91342 /* confdefs.h.  */
91343 _ACEOF
91344 cat confdefs.h >>conftest.$ac_ext
91345 cat >>conftest.$ac_ext <<_ACEOF
91346 /* end confdefs.h.  */
91347 #include <math.h>
91348 int
91349 main ()
91350 {
91351 ceill (0); floorl (0);
91352   ;
91353   return 0;
91354 }
91355 _ACEOF
91356 rm -f conftest.$ac_objext
91357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91358   (eval $ac_compile) 2>conftest.er1
91359   ac_status=$?
91360   grep -v '^ *+' conftest.er1 >conftest.err
91361   rm -f conftest.er1
91362   cat conftest.err >&5
91363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91364   (exit $ac_status); } &&
91365          { ac_try='test -z "$ac_cxx_werror_flag"
91366                          || test ! -s conftest.err'
91367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91368   (eval $ac_try) 2>&5
91369   ac_status=$?
91370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91371   (exit $ac_status); }; } &&
91372          { ac_try='test -s conftest.$ac_objext'
91373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91374   (eval $ac_try) 2>&5
91375   ac_status=$?
91376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91377   (exit $ac_status); }; }; then
91378   glibcxx_cv_func_long_double_round_use=yes
91379 else
91380   echo "$as_me: failed program was:" >&5
91381 sed 's/^/| /' conftest.$ac_ext >&5
91382
91383 glibcxx_cv_func_long_double_round_use=no
91384 fi
91385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91386     ac_ext=c
91387 ac_cpp='$CPP $CPPFLAGS'
91388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91391
91392 fi
91393
91394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
91395 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
91396   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
91397
91398
91399 for ac_func in ceill floorl
91400 do
91401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91402 echo "$as_me:$LINENO: checking for $ac_func" >&5
91403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91404 if eval "test \"\${$as_ac_var+set}\" = set"; then
91405   echo $ECHO_N "(cached) $ECHO_C" >&6
91406 else
91407   if test x$gcc_no_link = xyes; then
91408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91410    { (exit 1); exit 1; }; }
91411 fi
91412 cat >conftest.$ac_ext <<_ACEOF
91413 /* confdefs.h.  */
91414 _ACEOF
91415 cat confdefs.h >>conftest.$ac_ext
91416 cat >>conftest.$ac_ext <<_ACEOF
91417 /* end confdefs.h.  */
91418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91420 #define $ac_func innocuous_$ac_func
91421
91422 /* System header to define __stub macros and hopefully few prototypes,
91423     which can conflict with char $ac_func (); below.
91424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91425     <limits.h> exists even on freestanding compilers.  */
91426
91427 #ifdef __STDC__
91428 # include <limits.h>
91429 #else
91430 # include <assert.h>
91431 #endif
91432
91433 #undef $ac_func
91434
91435 /* Override any gcc2 internal prototype to avoid an error.  */
91436 #ifdef __cplusplus
91437 extern "C"
91438 {
91439 #endif
91440 /* We use char because int might match the return type of a gcc2
91441    builtin and then its argument prototype would still apply.  */
91442 char $ac_func ();
91443 /* The GNU C library defines this for functions which it implements
91444     to always fail with ENOSYS.  Some functions are actually named
91445     something starting with __ and the normal name is an alias.  */
91446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91447 choke me
91448 #else
91449 char (*f) () = $ac_func;
91450 #endif
91451 #ifdef __cplusplus
91452 }
91453 #endif
91454
91455 int
91456 main ()
91457 {
91458 return f != $ac_func;
91459   ;
91460   return 0;
91461 }
91462 _ACEOF
91463 rm -f conftest.$ac_objext conftest$ac_exeext
91464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91465   (eval $ac_link) 2>conftest.er1
91466   ac_status=$?
91467   grep -v '^ *+' conftest.er1 >conftest.err
91468   rm -f conftest.er1
91469   cat conftest.err >&5
91470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91471   (exit $ac_status); } &&
91472          { ac_try='test -z "$ac_c_werror_flag"
91473                          || test ! -s conftest.err'
91474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91475   (eval $ac_try) 2>&5
91476   ac_status=$?
91477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91478   (exit $ac_status); }; } &&
91479          { ac_try='test -s conftest$ac_exeext'
91480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91481   (eval $ac_try) 2>&5
91482   ac_status=$?
91483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91484   (exit $ac_status); }; }; then
91485   eval "$as_ac_var=yes"
91486 else
91487   echo "$as_me: failed program was:" >&5
91488 sed 's/^/| /' conftest.$ac_ext >&5
91489
91490 eval "$as_ac_var=no"
91491 fi
91492 rm -f conftest.err conftest.$ac_objext \
91493       conftest$ac_exeext conftest.$ac_ext
91494 fi
91495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91497 if test `eval echo '${'$as_ac_var'}'` = yes; then
91498   cat >>confdefs.h <<_ACEOF
91499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91500 _ACEOF
91501
91502 fi
91503 done
91504
91505   else
91506     echo "$as_me:$LINENO: checking for _long double round functions" >&5
91507 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
91508     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
91509   echo $ECHO_N "(cached) $ECHO_C" >&6
91510 else
91511
91512
91513
91514       ac_ext=cc
91515 ac_cpp='$CXXCPP $CPPFLAGS'
91516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91519
91520       cat >conftest.$ac_ext <<_ACEOF
91521 /* confdefs.h.  */
91522 _ACEOF
91523 cat confdefs.h >>conftest.$ac_ext
91524 cat >>conftest.$ac_ext <<_ACEOF
91525 /* end confdefs.h.  */
91526 #include <math.h>
91527 int
91528 main ()
91529 {
91530 _ceill (0); _floorl (0);
91531   ;
91532   return 0;
91533 }
91534 _ACEOF
91535 rm -f conftest.$ac_objext
91536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91537   (eval $ac_compile) 2>conftest.er1
91538   ac_status=$?
91539   grep -v '^ *+' conftest.er1 >conftest.err
91540   rm -f conftest.er1
91541   cat conftest.err >&5
91542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91543   (exit $ac_status); } &&
91544          { ac_try='test -z "$ac_cxx_werror_flag"
91545                          || test ! -s conftest.err'
91546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91547   (eval $ac_try) 2>&5
91548   ac_status=$?
91549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91550   (exit $ac_status); }; } &&
91551          { ac_try='test -s conftest.$ac_objext'
91552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91553   (eval $ac_try) 2>&5
91554   ac_status=$?
91555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91556   (exit $ac_status); }; }; then
91557   glibcxx_cv_func__long_double_round_use=yes
91558 else
91559   echo "$as_me: failed program was:" >&5
91560 sed 's/^/| /' conftest.$ac_ext >&5
91561
91562 glibcxx_cv_func__long_double_round_use=no
91563 fi
91564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91565       ac_ext=c
91566 ac_cpp='$CPP $CPPFLAGS'
91567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91570
91571 fi
91572
91573     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
91574 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
91575     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
91576
91577
91578 for ac_func in _ceill _floorl
91579 do
91580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91581 echo "$as_me:$LINENO: checking for $ac_func" >&5
91582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91583 if eval "test \"\${$as_ac_var+set}\" = set"; then
91584   echo $ECHO_N "(cached) $ECHO_C" >&6
91585 else
91586   if test x$gcc_no_link = xyes; then
91587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91589    { (exit 1); exit 1; }; }
91590 fi
91591 cat >conftest.$ac_ext <<_ACEOF
91592 /* confdefs.h.  */
91593 _ACEOF
91594 cat confdefs.h >>conftest.$ac_ext
91595 cat >>conftest.$ac_ext <<_ACEOF
91596 /* end confdefs.h.  */
91597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91599 #define $ac_func innocuous_$ac_func
91600
91601 /* System header to define __stub macros and hopefully few prototypes,
91602     which can conflict with char $ac_func (); below.
91603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91604     <limits.h> exists even on freestanding compilers.  */
91605
91606 #ifdef __STDC__
91607 # include <limits.h>
91608 #else
91609 # include <assert.h>
91610 #endif
91611
91612 #undef $ac_func
91613
91614 /* Override any gcc2 internal prototype to avoid an error.  */
91615 #ifdef __cplusplus
91616 extern "C"
91617 {
91618 #endif
91619 /* We use char because int might match the return type of a gcc2
91620    builtin and then its argument prototype would still apply.  */
91621 char $ac_func ();
91622 /* The GNU C library defines this for functions which it implements
91623     to always fail with ENOSYS.  Some functions are actually named
91624     something starting with __ and the normal name is an alias.  */
91625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91626 choke me
91627 #else
91628 char (*f) () = $ac_func;
91629 #endif
91630 #ifdef __cplusplus
91631 }
91632 #endif
91633
91634 int
91635 main ()
91636 {
91637 return f != $ac_func;
91638   ;
91639   return 0;
91640 }
91641 _ACEOF
91642 rm -f conftest.$ac_objext conftest$ac_exeext
91643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91644   (eval $ac_link) 2>conftest.er1
91645   ac_status=$?
91646   grep -v '^ *+' conftest.er1 >conftest.err
91647   rm -f conftest.er1
91648   cat conftest.err >&5
91649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91650   (exit $ac_status); } &&
91651          { ac_try='test -z "$ac_c_werror_flag"
91652                          || test ! -s conftest.err'
91653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91654   (eval $ac_try) 2>&5
91655   ac_status=$?
91656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91657   (exit $ac_status); }; } &&
91658          { ac_try='test -s conftest$ac_exeext'
91659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91660   (eval $ac_try) 2>&5
91661   ac_status=$?
91662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91663   (exit $ac_status); }; }; then
91664   eval "$as_ac_var=yes"
91665 else
91666   echo "$as_me: failed program was:" >&5
91667 sed 's/^/| /' conftest.$ac_ext >&5
91668
91669 eval "$as_ac_var=no"
91670 fi
91671 rm -f conftest.err conftest.$ac_objext \
91672       conftest$ac_exeext conftest.$ac_ext
91673 fi
91674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91676 if test `eval echo '${'$as_ac_var'}'` = yes; then
91677   cat >>confdefs.h <<_ACEOF
91678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91679 _ACEOF
91680
91681 fi
91682 done
91683
91684     fi
91685   fi
91686
91687
91688
91689
91690
91691
91692
91693
91694   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
91695 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
91696   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
91697     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
91698   echo $ECHO_N "(cached) $ECHO_C" >&6
91699 else
91700
91701
91702
91703       ac_ext=cc
91704 ac_cpp='$CXXCPP $CPPFLAGS'
91705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91708
91709       cat >conftest.$ac_ext <<_ACEOF
91710 /* confdefs.h.  */
91711 _ACEOF
91712 cat confdefs.h >>conftest.$ac_ext
91713 cat >>conftest.$ac_ext <<_ACEOF
91714 /* end confdefs.h.  */
91715 #include <math.h>
91716                       #ifdef HAVE_IEEEFP_H
91717                       #include <ieeefp.h>
91718                       #endif
91719
91720 int
91721 main ()
91722 {
91723  isnanl(0);
91724   ;
91725   return 0;
91726 }
91727 _ACEOF
91728 rm -f conftest.$ac_objext
91729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91730   (eval $ac_compile) 2>conftest.er1
91731   ac_status=$?
91732   grep -v '^ *+' conftest.er1 >conftest.err
91733   rm -f conftest.er1
91734   cat conftest.err >&5
91735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91736   (exit $ac_status); } &&
91737          { ac_try='test -z "$ac_cxx_werror_flag"
91738                          || test ! -s conftest.err'
91739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91740   (eval $ac_try) 2>&5
91741   ac_status=$?
91742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91743   (exit $ac_status); }; } &&
91744          { ac_try='test -s conftest.$ac_objext'
91745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91746   (eval $ac_try) 2>&5
91747   ac_status=$?
91748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91749   (exit $ac_status); }; }; then
91750   glibcxx_cv_func_isnanl_use=yes
91751 else
91752   echo "$as_me: failed program was:" >&5
91753 sed 's/^/| /' conftest.$ac_ext >&5
91754
91755 glibcxx_cv_func_isnanl_use=no
91756 fi
91757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91758       ac_ext=c
91759 ac_cpp='$CPP $CPPFLAGS'
91760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91763
91764
91765 fi
91766
91767   fi
91768   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
91769 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
91770
91771   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
91772
91773 for ac_func in isnanl
91774 do
91775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91776 echo "$as_me:$LINENO: checking for $ac_func" >&5
91777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91778 if eval "test \"\${$as_ac_var+set}\" = set"; then
91779   echo $ECHO_N "(cached) $ECHO_C" >&6
91780 else
91781   if test x$gcc_no_link = xyes; then
91782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91784    { (exit 1); exit 1; }; }
91785 fi
91786 cat >conftest.$ac_ext <<_ACEOF
91787 /* confdefs.h.  */
91788 _ACEOF
91789 cat confdefs.h >>conftest.$ac_ext
91790 cat >>conftest.$ac_ext <<_ACEOF
91791 /* end confdefs.h.  */
91792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91794 #define $ac_func innocuous_$ac_func
91795
91796 /* System header to define __stub macros and hopefully few prototypes,
91797     which can conflict with char $ac_func (); below.
91798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91799     <limits.h> exists even on freestanding compilers.  */
91800
91801 #ifdef __STDC__
91802 # include <limits.h>
91803 #else
91804 # include <assert.h>
91805 #endif
91806
91807 #undef $ac_func
91808
91809 /* Override any gcc2 internal prototype to avoid an error.  */
91810 #ifdef __cplusplus
91811 extern "C"
91812 {
91813 #endif
91814 /* We use char because int might match the return type of a gcc2
91815    builtin and then its argument prototype would still apply.  */
91816 char $ac_func ();
91817 /* The GNU C library defines this for functions which it implements
91818     to always fail with ENOSYS.  Some functions are actually named
91819     something starting with __ and the normal name is an alias.  */
91820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91821 choke me
91822 #else
91823 char (*f) () = $ac_func;
91824 #endif
91825 #ifdef __cplusplus
91826 }
91827 #endif
91828
91829 int
91830 main ()
91831 {
91832 return f != $ac_func;
91833   ;
91834   return 0;
91835 }
91836 _ACEOF
91837 rm -f conftest.$ac_objext conftest$ac_exeext
91838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91839   (eval $ac_link) 2>conftest.er1
91840   ac_status=$?
91841   grep -v '^ *+' conftest.er1 >conftest.err
91842   rm -f conftest.er1
91843   cat conftest.err >&5
91844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91845   (exit $ac_status); } &&
91846          { ac_try='test -z "$ac_c_werror_flag"
91847                          || test ! -s conftest.err'
91848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91849   (eval $ac_try) 2>&5
91850   ac_status=$?
91851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91852   (exit $ac_status); }; } &&
91853          { ac_try='test -s conftest$ac_exeext'
91854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91855   (eval $ac_try) 2>&5
91856   ac_status=$?
91857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91858   (exit $ac_status); }; }; then
91859   eval "$as_ac_var=yes"
91860 else
91861   echo "$as_me: failed program was:" >&5
91862 sed 's/^/| /' conftest.$ac_ext >&5
91863
91864 eval "$as_ac_var=no"
91865 fi
91866 rm -f conftest.err conftest.$ac_objext \
91867       conftest$ac_exeext conftest.$ac_ext
91868 fi
91869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91871 if test `eval echo '${'$as_ac_var'}'` = yes; then
91872   cat >>confdefs.h <<_ACEOF
91873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91874 _ACEOF
91875
91876 fi
91877 done
91878
91879   else
91880
91881   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
91882 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
91883   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
91884     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
91885   echo $ECHO_N "(cached) $ECHO_C" >&6
91886 else
91887
91888
91889
91890       ac_ext=cc
91891 ac_cpp='$CXXCPP $CPPFLAGS'
91892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91895
91896       cat >conftest.$ac_ext <<_ACEOF
91897 /* confdefs.h.  */
91898 _ACEOF
91899 cat confdefs.h >>conftest.$ac_ext
91900 cat >>conftest.$ac_ext <<_ACEOF
91901 /* end confdefs.h.  */
91902 #include <math.h>
91903                       #ifdef HAVE_IEEEFP_H
91904                       #include <ieeefp.h>
91905                       #endif
91906
91907 int
91908 main ()
91909 {
91910  _isnanl(0);
91911   ;
91912   return 0;
91913 }
91914 _ACEOF
91915 rm -f conftest.$ac_objext
91916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91917   (eval $ac_compile) 2>conftest.er1
91918   ac_status=$?
91919   grep -v '^ *+' conftest.er1 >conftest.err
91920   rm -f conftest.er1
91921   cat conftest.err >&5
91922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91923   (exit $ac_status); } &&
91924          { ac_try='test -z "$ac_cxx_werror_flag"
91925                          || test ! -s conftest.err'
91926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91927   (eval $ac_try) 2>&5
91928   ac_status=$?
91929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91930   (exit $ac_status); }; } &&
91931          { ac_try='test -s conftest.$ac_objext'
91932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91933   (eval $ac_try) 2>&5
91934   ac_status=$?
91935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91936   (exit $ac_status); }; }; then
91937   glibcxx_cv_func__isnanl_use=yes
91938 else
91939   echo "$as_me: failed program was:" >&5
91940 sed 's/^/| /' conftest.$ac_ext >&5
91941
91942 glibcxx_cv_func__isnanl_use=no
91943 fi
91944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91945       ac_ext=c
91946 ac_cpp='$CPP $CPPFLAGS'
91947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91950
91951
91952 fi
91953
91954   fi
91955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
91956 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
91957
91958     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
91959
91960 for ac_func in _isnanl
91961 do
91962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91963 echo "$as_me:$LINENO: checking for $ac_func" >&5
91964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91965 if eval "test \"\${$as_ac_var+set}\" = set"; then
91966   echo $ECHO_N "(cached) $ECHO_C" >&6
91967 else
91968   if test x$gcc_no_link = xyes; then
91969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91971    { (exit 1); exit 1; }; }
91972 fi
91973 cat >conftest.$ac_ext <<_ACEOF
91974 /* confdefs.h.  */
91975 _ACEOF
91976 cat confdefs.h >>conftest.$ac_ext
91977 cat >>conftest.$ac_ext <<_ACEOF
91978 /* end confdefs.h.  */
91979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91981 #define $ac_func innocuous_$ac_func
91982
91983 /* System header to define __stub macros and hopefully few prototypes,
91984     which can conflict with char $ac_func (); below.
91985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91986     <limits.h> exists even on freestanding compilers.  */
91987
91988 #ifdef __STDC__
91989 # include <limits.h>
91990 #else
91991 # include <assert.h>
91992 #endif
91993
91994 #undef $ac_func
91995
91996 /* Override any gcc2 internal prototype to avoid an error.  */
91997 #ifdef __cplusplus
91998 extern "C"
91999 {
92000 #endif
92001 /* We use char because int might match the return type of a gcc2
92002    builtin and then its argument prototype would still apply.  */
92003 char $ac_func ();
92004 /* The GNU C library defines this for functions which it implements
92005     to always fail with ENOSYS.  Some functions are actually named
92006     something starting with __ and the normal name is an alias.  */
92007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92008 choke me
92009 #else
92010 char (*f) () = $ac_func;
92011 #endif
92012 #ifdef __cplusplus
92013 }
92014 #endif
92015
92016 int
92017 main ()
92018 {
92019 return f != $ac_func;
92020   ;
92021   return 0;
92022 }
92023 _ACEOF
92024 rm -f conftest.$ac_objext conftest$ac_exeext
92025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92026   (eval $ac_link) 2>conftest.er1
92027   ac_status=$?
92028   grep -v '^ *+' conftest.er1 >conftest.err
92029   rm -f conftest.er1
92030   cat conftest.err >&5
92031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92032   (exit $ac_status); } &&
92033          { ac_try='test -z "$ac_c_werror_flag"
92034                          || test ! -s conftest.err'
92035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92036   (eval $ac_try) 2>&5
92037   ac_status=$?
92038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92039   (exit $ac_status); }; } &&
92040          { ac_try='test -s conftest$ac_exeext'
92041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92042   (eval $ac_try) 2>&5
92043   ac_status=$?
92044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92045   (exit $ac_status); }; }; then
92046   eval "$as_ac_var=yes"
92047 else
92048   echo "$as_me: failed program was:" >&5
92049 sed 's/^/| /' conftest.$ac_ext >&5
92050
92051 eval "$as_ac_var=no"
92052 fi
92053 rm -f conftest.err conftest.$ac_objext \
92054       conftest$ac_exeext conftest.$ac_ext
92055 fi
92056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92058 if test `eval echo '${'$as_ac_var'}'` = yes; then
92059   cat >>confdefs.h <<_ACEOF
92060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92061 _ACEOF
92062
92063 fi
92064 done
92065
92066     fi
92067   fi
92068
92069
92070
92071
92072
92073
92074   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
92075 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
92076   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
92077     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
92078   echo $ECHO_N "(cached) $ECHO_C" >&6
92079 else
92080
92081
92082
92083       ac_ext=cc
92084 ac_cpp='$CXXCPP $CPPFLAGS'
92085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92088
92089       cat >conftest.$ac_ext <<_ACEOF
92090 /* confdefs.h.  */
92091 _ACEOF
92092 cat confdefs.h >>conftest.$ac_ext
92093 cat >>conftest.$ac_ext <<_ACEOF
92094 /* end confdefs.h.  */
92095 #include <math.h>
92096                       #ifdef HAVE_IEEEFP_H
92097                       #include <ieeefp.h>
92098                       #endif
92099
92100 int
92101 main ()
92102 {
92103  isinfl(0);
92104   ;
92105   return 0;
92106 }
92107 _ACEOF
92108 rm -f conftest.$ac_objext
92109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92110   (eval $ac_compile) 2>conftest.er1
92111   ac_status=$?
92112   grep -v '^ *+' conftest.er1 >conftest.err
92113   rm -f conftest.er1
92114   cat conftest.err >&5
92115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92116   (exit $ac_status); } &&
92117          { ac_try='test -z "$ac_cxx_werror_flag"
92118                          || test ! -s conftest.err'
92119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92120   (eval $ac_try) 2>&5
92121   ac_status=$?
92122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92123   (exit $ac_status); }; } &&
92124          { ac_try='test -s conftest.$ac_objext'
92125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92126   (eval $ac_try) 2>&5
92127   ac_status=$?
92128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92129   (exit $ac_status); }; }; then
92130   glibcxx_cv_func_isinfl_use=yes
92131 else
92132   echo "$as_me: failed program was:" >&5
92133 sed 's/^/| /' conftest.$ac_ext >&5
92134
92135 glibcxx_cv_func_isinfl_use=no
92136 fi
92137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92138       ac_ext=c
92139 ac_cpp='$CPP $CPPFLAGS'
92140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92143
92144
92145 fi
92146
92147   fi
92148   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
92149 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
92150
92151   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
92152
92153 for ac_func in isinfl
92154 do
92155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92156 echo "$as_me:$LINENO: checking for $ac_func" >&5
92157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92158 if eval "test \"\${$as_ac_var+set}\" = set"; then
92159   echo $ECHO_N "(cached) $ECHO_C" >&6
92160 else
92161   if test x$gcc_no_link = xyes; then
92162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92164    { (exit 1); exit 1; }; }
92165 fi
92166 cat >conftest.$ac_ext <<_ACEOF
92167 /* confdefs.h.  */
92168 _ACEOF
92169 cat confdefs.h >>conftest.$ac_ext
92170 cat >>conftest.$ac_ext <<_ACEOF
92171 /* end confdefs.h.  */
92172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92174 #define $ac_func innocuous_$ac_func
92175
92176 /* System header to define __stub macros and hopefully few prototypes,
92177     which can conflict with char $ac_func (); below.
92178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92179     <limits.h> exists even on freestanding compilers.  */
92180
92181 #ifdef __STDC__
92182 # include <limits.h>
92183 #else
92184 # include <assert.h>
92185 #endif
92186
92187 #undef $ac_func
92188
92189 /* Override any gcc2 internal prototype to avoid an error.  */
92190 #ifdef __cplusplus
92191 extern "C"
92192 {
92193 #endif
92194 /* We use char because int might match the return type of a gcc2
92195    builtin and then its argument prototype would still apply.  */
92196 char $ac_func ();
92197 /* The GNU C library defines this for functions which it implements
92198     to always fail with ENOSYS.  Some functions are actually named
92199     something starting with __ and the normal name is an alias.  */
92200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92201 choke me
92202 #else
92203 char (*f) () = $ac_func;
92204 #endif
92205 #ifdef __cplusplus
92206 }
92207 #endif
92208
92209 int
92210 main ()
92211 {
92212 return f != $ac_func;
92213   ;
92214   return 0;
92215 }
92216 _ACEOF
92217 rm -f conftest.$ac_objext conftest$ac_exeext
92218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92219   (eval $ac_link) 2>conftest.er1
92220   ac_status=$?
92221   grep -v '^ *+' conftest.er1 >conftest.err
92222   rm -f conftest.er1
92223   cat conftest.err >&5
92224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92225   (exit $ac_status); } &&
92226          { ac_try='test -z "$ac_c_werror_flag"
92227                          || test ! -s conftest.err'
92228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92229   (eval $ac_try) 2>&5
92230   ac_status=$?
92231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92232   (exit $ac_status); }; } &&
92233          { ac_try='test -s conftest$ac_exeext'
92234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92235   (eval $ac_try) 2>&5
92236   ac_status=$?
92237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92238   (exit $ac_status); }; }; then
92239   eval "$as_ac_var=yes"
92240 else
92241   echo "$as_me: failed program was:" >&5
92242 sed 's/^/| /' conftest.$ac_ext >&5
92243
92244 eval "$as_ac_var=no"
92245 fi
92246 rm -f conftest.err conftest.$ac_objext \
92247       conftest$ac_exeext conftest.$ac_ext
92248 fi
92249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92251 if test `eval echo '${'$as_ac_var'}'` = yes; then
92252   cat >>confdefs.h <<_ACEOF
92253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92254 _ACEOF
92255
92256 fi
92257 done
92258
92259   else
92260
92261   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
92262 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
92263   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
92264     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
92265   echo $ECHO_N "(cached) $ECHO_C" >&6
92266 else
92267
92268
92269
92270       ac_ext=cc
92271 ac_cpp='$CXXCPP $CPPFLAGS'
92272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92275
92276       cat >conftest.$ac_ext <<_ACEOF
92277 /* confdefs.h.  */
92278 _ACEOF
92279 cat confdefs.h >>conftest.$ac_ext
92280 cat >>conftest.$ac_ext <<_ACEOF
92281 /* end confdefs.h.  */
92282 #include <math.h>
92283                       #ifdef HAVE_IEEEFP_H
92284                       #include <ieeefp.h>
92285                       #endif
92286
92287 int
92288 main ()
92289 {
92290  _isinfl(0);
92291   ;
92292   return 0;
92293 }
92294 _ACEOF
92295 rm -f conftest.$ac_objext
92296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92297   (eval $ac_compile) 2>conftest.er1
92298   ac_status=$?
92299   grep -v '^ *+' conftest.er1 >conftest.err
92300   rm -f conftest.er1
92301   cat conftest.err >&5
92302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92303   (exit $ac_status); } &&
92304          { ac_try='test -z "$ac_cxx_werror_flag"
92305                          || test ! -s conftest.err'
92306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92307   (eval $ac_try) 2>&5
92308   ac_status=$?
92309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92310   (exit $ac_status); }; } &&
92311          { ac_try='test -s conftest.$ac_objext'
92312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92313   (eval $ac_try) 2>&5
92314   ac_status=$?
92315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92316   (exit $ac_status); }; }; then
92317   glibcxx_cv_func__isinfl_use=yes
92318 else
92319   echo "$as_me: failed program was:" >&5
92320 sed 's/^/| /' conftest.$ac_ext >&5
92321
92322 glibcxx_cv_func__isinfl_use=no
92323 fi
92324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92325       ac_ext=c
92326 ac_cpp='$CPP $CPPFLAGS'
92327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92330
92331
92332 fi
92333
92334   fi
92335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
92336 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
92337
92338     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
92339
92340 for ac_func in _isinfl
92341 do
92342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92343 echo "$as_me:$LINENO: checking for $ac_func" >&5
92344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92345 if eval "test \"\${$as_ac_var+set}\" = set"; then
92346   echo $ECHO_N "(cached) $ECHO_C" >&6
92347 else
92348   if test x$gcc_no_link = xyes; then
92349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92351    { (exit 1); exit 1; }; }
92352 fi
92353 cat >conftest.$ac_ext <<_ACEOF
92354 /* confdefs.h.  */
92355 _ACEOF
92356 cat confdefs.h >>conftest.$ac_ext
92357 cat >>conftest.$ac_ext <<_ACEOF
92358 /* end confdefs.h.  */
92359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92361 #define $ac_func innocuous_$ac_func
92362
92363 /* System header to define __stub macros and hopefully few prototypes,
92364     which can conflict with char $ac_func (); below.
92365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92366     <limits.h> exists even on freestanding compilers.  */
92367
92368 #ifdef __STDC__
92369 # include <limits.h>
92370 #else
92371 # include <assert.h>
92372 #endif
92373
92374 #undef $ac_func
92375
92376 /* Override any gcc2 internal prototype to avoid an error.  */
92377 #ifdef __cplusplus
92378 extern "C"
92379 {
92380 #endif
92381 /* We use char because int might match the return type of a gcc2
92382    builtin and then its argument prototype would still apply.  */
92383 char $ac_func ();
92384 /* The GNU C library defines this for functions which it implements
92385     to always fail with ENOSYS.  Some functions are actually named
92386     something starting with __ and the normal name is an alias.  */
92387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92388 choke me
92389 #else
92390 char (*f) () = $ac_func;
92391 #endif
92392 #ifdef __cplusplus
92393 }
92394 #endif
92395
92396 int
92397 main ()
92398 {
92399 return f != $ac_func;
92400   ;
92401   return 0;
92402 }
92403 _ACEOF
92404 rm -f conftest.$ac_objext conftest$ac_exeext
92405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92406   (eval $ac_link) 2>conftest.er1
92407   ac_status=$?
92408   grep -v '^ *+' conftest.er1 >conftest.err
92409   rm -f conftest.er1
92410   cat conftest.err >&5
92411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92412   (exit $ac_status); } &&
92413          { ac_try='test -z "$ac_c_werror_flag"
92414                          || test ! -s conftest.err'
92415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92416   (eval $ac_try) 2>&5
92417   ac_status=$?
92418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92419   (exit $ac_status); }; } &&
92420          { ac_try='test -s conftest$ac_exeext'
92421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92422   (eval $ac_try) 2>&5
92423   ac_status=$?
92424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92425   (exit $ac_status); }; }; then
92426   eval "$as_ac_var=yes"
92427 else
92428   echo "$as_me: failed program was:" >&5
92429 sed 's/^/| /' conftest.$ac_ext >&5
92430
92431 eval "$as_ac_var=no"
92432 fi
92433 rm -f conftest.err conftest.$ac_objext \
92434       conftest$ac_exeext conftest.$ac_ext
92435 fi
92436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92438 if test `eval echo '${'$as_ac_var'}'` = yes; then
92439   cat >>confdefs.h <<_ACEOF
92440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92441 _ACEOF
92442
92443 fi
92444 done
92445
92446     fi
92447   fi
92448
92449
92450
92451
92452
92453
92454   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
92455 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
92456   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
92457     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
92458   echo $ECHO_N "(cached) $ECHO_C" >&6
92459 else
92460
92461
92462
92463       ac_ext=cc
92464 ac_cpp='$CXXCPP $CPPFLAGS'
92465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92468
92469       cat >conftest.$ac_ext <<_ACEOF
92470 /* confdefs.h.  */
92471 _ACEOF
92472 cat confdefs.h >>conftest.$ac_ext
92473 cat >>conftest.$ac_ext <<_ACEOF
92474 /* end confdefs.h.  */
92475 #include <math.h>
92476 int
92477 main ()
92478 {
92479  copysignl(0, 0);
92480   ;
92481   return 0;
92482 }
92483 _ACEOF
92484 rm -f conftest.$ac_objext
92485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92486   (eval $ac_compile) 2>conftest.er1
92487   ac_status=$?
92488   grep -v '^ *+' conftest.er1 >conftest.err
92489   rm -f conftest.er1
92490   cat conftest.err >&5
92491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92492   (exit $ac_status); } &&
92493          { ac_try='test -z "$ac_cxx_werror_flag"
92494                          || test ! -s conftest.err'
92495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92496   (eval $ac_try) 2>&5
92497   ac_status=$?
92498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92499   (exit $ac_status); }; } &&
92500          { ac_try='test -s conftest.$ac_objext'
92501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92502   (eval $ac_try) 2>&5
92503   ac_status=$?
92504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92505   (exit $ac_status); }; }; then
92506   glibcxx_cv_func_copysignl_use=yes
92507 else
92508   echo "$as_me: failed program was:" >&5
92509 sed 's/^/| /' conftest.$ac_ext >&5
92510
92511 glibcxx_cv_func_copysignl_use=no
92512 fi
92513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92514       ac_ext=c
92515 ac_cpp='$CPP $CPPFLAGS'
92516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92519
92520
92521 fi
92522
92523   fi
92524   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
92525 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
92526
92527   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
92528
92529 for ac_func in copysignl
92530 do
92531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92532 echo "$as_me:$LINENO: checking for $ac_func" >&5
92533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92534 if eval "test \"\${$as_ac_var+set}\" = set"; then
92535   echo $ECHO_N "(cached) $ECHO_C" >&6
92536 else
92537   if test x$gcc_no_link = xyes; then
92538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92540    { (exit 1); exit 1; }; }
92541 fi
92542 cat >conftest.$ac_ext <<_ACEOF
92543 /* confdefs.h.  */
92544 _ACEOF
92545 cat confdefs.h >>conftest.$ac_ext
92546 cat >>conftest.$ac_ext <<_ACEOF
92547 /* end confdefs.h.  */
92548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92550 #define $ac_func innocuous_$ac_func
92551
92552 /* System header to define __stub macros and hopefully few prototypes,
92553     which can conflict with char $ac_func (); below.
92554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92555     <limits.h> exists even on freestanding compilers.  */
92556
92557 #ifdef __STDC__
92558 # include <limits.h>
92559 #else
92560 # include <assert.h>
92561 #endif
92562
92563 #undef $ac_func
92564
92565 /* Override any gcc2 internal prototype to avoid an error.  */
92566 #ifdef __cplusplus
92567 extern "C"
92568 {
92569 #endif
92570 /* We use char because int might match the return type of a gcc2
92571    builtin and then its argument prototype would still apply.  */
92572 char $ac_func ();
92573 /* The GNU C library defines this for functions which it implements
92574     to always fail with ENOSYS.  Some functions are actually named
92575     something starting with __ and the normal name is an alias.  */
92576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92577 choke me
92578 #else
92579 char (*f) () = $ac_func;
92580 #endif
92581 #ifdef __cplusplus
92582 }
92583 #endif
92584
92585 int
92586 main ()
92587 {
92588 return f != $ac_func;
92589   ;
92590   return 0;
92591 }
92592 _ACEOF
92593 rm -f conftest.$ac_objext conftest$ac_exeext
92594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92595   (eval $ac_link) 2>conftest.er1
92596   ac_status=$?
92597   grep -v '^ *+' conftest.er1 >conftest.err
92598   rm -f conftest.er1
92599   cat conftest.err >&5
92600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92601   (exit $ac_status); } &&
92602          { ac_try='test -z "$ac_c_werror_flag"
92603                          || test ! -s conftest.err'
92604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92605   (eval $ac_try) 2>&5
92606   ac_status=$?
92607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92608   (exit $ac_status); }; } &&
92609          { ac_try='test -s conftest$ac_exeext'
92610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92611   (eval $ac_try) 2>&5
92612   ac_status=$?
92613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92614   (exit $ac_status); }; }; then
92615   eval "$as_ac_var=yes"
92616 else
92617   echo "$as_me: failed program was:" >&5
92618 sed 's/^/| /' conftest.$ac_ext >&5
92619
92620 eval "$as_ac_var=no"
92621 fi
92622 rm -f conftest.err conftest.$ac_objext \
92623       conftest$ac_exeext conftest.$ac_ext
92624 fi
92625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92627 if test `eval echo '${'$as_ac_var'}'` = yes; then
92628   cat >>confdefs.h <<_ACEOF
92629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92630 _ACEOF
92631
92632 fi
92633 done
92634
92635   else
92636
92637   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
92638 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
92639   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
92640     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
92641   echo $ECHO_N "(cached) $ECHO_C" >&6
92642 else
92643
92644
92645
92646       ac_ext=cc
92647 ac_cpp='$CXXCPP $CPPFLAGS'
92648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92651
92652       cat >conftest.$ac_ext <<_ACEOF
92653 /* confdefs.h.  */
92654 _ACEOF
92655 cat confdefs.h >>conftest.$ac_ext
92656 cat >>conftest.$ac_ext <<_ACEOF
92657 /* end confdefs.h.  */
92658 #include <math.h>
92659 int
92660 main ()
92661 {
92662  _copysignl(0, 0);
92663   ;
92664   return 0;
92665 }
92666 _ACEOF
92667 rm -f conftest.$ac_objext
92668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92669   (eval $ac_compile) 2>conftest.er1
92670   ac_status=$?
92671   grep -v '^ *+' conftest.er1 >conftest.err
92672   rm -f conftest.er1
92673   cat conftest.err >&5
92674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92675   (exit $ac_status); } &&
92676          { ac_try='test -z "$ac_cxx_werror_flag"
92677                          || test ! -s conftest.err'
92678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92679   (eval $ac_try) 2>&5
92680   ac_status=$?
92681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92682   (exit $ac_status); }; } &&
92683          { ac_try='test -s conftest.$ac_objext'
92684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92685   (eval $ac_try) 2>&5
92686   ac_status=$?
92687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92688   (exit $ac_status); }; }; then
92689   glibcxx_cv_func__copysignl_use=yes
92690 else
92691   echo "$as_me: failed program was:" >&5
92692 sed 's/^/| /' conftest.$ac_ext >&5
92693
92694 glibcxx_cv_func__copysignl_use=no
92695 fi
92696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92697       ac_ext=c
92698 ac_cpp='$CPP $CPPFLAGS'
92699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92702
92703
92704 fi
92705
92706   fi
92707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
92708 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
92709
92710     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
92711
92712 for ac_func in _copysignl
92713 do
92714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92715 echo "$as_me:$LINENO: checking for $ac_func" >&5
92716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92717 if eval "test \"\${$as_ac_var+set}\" = set"; then
92718   echo $ECHO_N "(cached) $ECHO_C" >&6
92719 else
92720   if test x$gcc_no_link = xyes; then
92721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92723    { (exit 1); exit 1; }; }
92724 fi
92725 cat >conftest.$ac_ext <<_ACEOF
92726 /* confdefs.h.  */
92727 _ACEOF
92728 cat confdefs.h >>conftest.$ac_ext
92729 cat >>conftest.$ac_ext <<_ACEOF
92730 /* end confdefs.h.  */
92731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92733 #define $ac_func innocuous_$ac_func
92734
92735 /* System header to define __stub macros and hopefully few prototypes,
92736     which can conflict with char $ac_func (); below.
92737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92738     <limits.h> exists even on freestanding compilers.  */
92739
92740 #ifdef __STDC__
92741 # include <limits.h>
92742 #else
92743 # include <assert.h>
92744 #endif
92745
92746 #undef $ac_func
92747
92748 /* Override any gcc2 internal prototype to avoid an error.  */
92749 #ifdef __cplusplus
92750 extern "C"
92751 {
92752 #endif
92753 /* We use char because int might match the return type of a gcc2
92754    builtin and then its argument prototype would still apply.  */
92755 char $ac_func ();
92756 /* The GNU C library defines this for functions which it implements
92757     to always fail with ENOSYS.  Some functions are actually named
92758     something starting with __ and the normal name is an alias.  */
92759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92760 choke me
92761 #else
92762 char (*f) () = $ac_func;
92763 #endif
92764 #ifdef __cplusplus
92765 }
92766 #endif
92767
92768 int
92769 main ()
92770 {
92771 return f != $ac_func;
92772   ;
92773   return 0;
92774 }
92775 _ACEOF
92776 rm -f conftest.$ac_objext conftest$ac_exeext
92777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92778   (eval $ac_link) 2>conftest.er1
92779   ac_status=$?
92780   grep -v '^ *+' conftest.er1 >conftest.err
92781   rm -f conftest.er1
92782   cat conftest.err >&5
92783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92784   (exit $ac_status); } &&
92785          { ac_try='test -z "$ac_c_werror_flag"
92786                          || test ! -s conftest.err'
92787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92788   (eval $ac_try) 2>&5
92789   ac_status=$?
92790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92791   (exit $ac_status); }; } &&
92792          { ac_try='test -s conftest$ac_exeext'
92793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92794   (eval $ac_try) 2>&5
92795   ac_status=$?
92796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92797   (exit $ac_status); }; }; then
92798   eval "$as_ac_var=yes"
92799 else
92800   echo "$as_me: failed program was:" >&5
92801 sed 's/^/| /' conftest.$ac_ext >&5
92802
92803 eval "$as_ac_var=no"
92804 fi
92805 rm -f conftest.err conftest.$ac_objext \
92806       conftest$ac_exeext conftest.$ac_ext
92807 fi
92808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92810 if test `eval echo '${'$as_ac_var'}'` = yes; then
92811   cat >>confdefs.h <<_ACEOF
92812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92813 _ACEOF
92814
92815 fi
92816 done
92817
92818     fi
92819   fi
92820
92821
92822
92823
92824
92825
92826   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
92827 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
92828   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
92829     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
92830   echo $ECHO_N "(cached) $ECHO_C" >&6
92831 else
92832
92833
92834
92835       ac_ext=cc
92836 ac_cpp='$CXXCPP $CPPFLAGS'
92837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92840
92841       cat >conftest.$ac_ext <<_ACEOF
92842 /* confdefs.h.  */
92843 _ACEOF
92844 cat confdefs.h >>conftest.$ac_ext
92845 cat >>conftest.$ac_ext <<_ACEOF
92846 /* end confdefs.h.  */
92847 #include <math.h>
92848 int
92849 main ()
92850 {
92851  atan2l(0, 0);
92852   ;
92853   return 0;
92854 }
92855 _ACEOF
92856 rm -f conftest.$ac_objext
92857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92858   (eval $ac_compile) 2>conftest.er1
92859   ac_status=$?
92860   grep -v '^ *+' conftest.er1 >conftest.err
92861   rm -f conftest.er1
92862   cat conftest.err >&5
92863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92864   (exit $ac_status); } &&
92865          { ac_try='test -z "$ac_cxx_werror_flag"
92866                          || test ! -s conftest.err'
92867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92868   (eval $ac_try) 2>&5
92869   ac_status=$?
92870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92871   (exit $ac_status); }; } &&
92872          { ac_try='test -s conftest.$ac_objext'
92873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92874   (eval $ac_try) 2>&5
92875   ac_status=$?
92876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92877   (exit $ac_status); }; }; then
92878   glibcxx_cv_func_atan2l_use=yes
92879 else
92880   echo "$as_me: failed program was:" >&5
92881 sed 's/^/| /' conftest.$ac_ext >&5
92882
92883 glibcxx_cv_func_atan2l_use=no
92884 fi
92885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92886       ac_ext=c
92887 ac_cpp='$CPP $CPPFLAGS'
92888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92891
92892
92893 fi
92894
92895   fi
92896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
92897 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
92898
92899   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
92900
92901 for ac_func in atan2l
92902 do
92903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92904 echo "$as_me:$LINENO: checking for $ac_func" >&5
92905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92906 if eval "test \"\${$as_ac_var+set}\" = set"; then
92907   echo $ECHO_N "(cached) $ECHO_C" >&6
92908 else
92909   if test x$gcc_no_link = xyes; then
92910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92912    { (exit 1); exit 1; }; }
92913 fi
92914 cat >conftest.$ac_ext <<_ACEOF
92915 /* confdefs.h.  */
92916 _ACEOF
92917 cat confdefs.h >>conftest.$ac_ext
92918 cat >>conftest.$ac_ext <<_ACEOF
92919 /* end confdefs.h.  */
92920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92922 #define $ac_func innocuous_$ac_func
92923
92924 /* System header to define __stub macros and hopefully few prototypes,
92925     which can conflict with char $ac_func (); below.
92926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92927     <limits.h> exists even on freestanding compilers.  */
92928
92929 #ifdef __STDC__
92930 # include <limits.h>
92931 #else
92932 # include <assert.h>
92933 #endif
92934
92935 #undef $ac_func
92936
92937 /* Override any gcc2 internal prototype to avoid an error.  */
92938 #ifdef __cplusplus
92939 extern "C"
92940 {
92941 #endif
92942 /* We use char because int might match the return type of a gcc2
92943    builtin and then its argument prototype would still apply.  */
92944 char $ac_func ();
92945 /* The GNU C library defines this for functions which it implements
92946     to always fail with ENOSYS.  Some functions are actually named
92947     something starting with __ and the normal name is an alias.  */
92948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92949 choke me
92950 #else
92951 char (*f) () = $ac_func;
92952 #endif
92953 #ifdef __cplusplus
92954 }
92955 #endif
92956
92957 int
92958 main ()
92959 {
92960 return f != $ac_func;
92961   ;
92962   return 0;
92963 }
92964 _ACEOF
92965 rm -f conftest.$ac_objext conftest$ac_exeext
92966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92967   (eval $ac_link) 2>conftest.er1
92968   ac_status=$?
92969   grep -v '^ *+' conftest.er1 >conftest.err
92970   rm -f conftest.er1
92971   cat conftest.err >&5
92972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92973   (exit $ac_status); } &&
92974          { ac_try='test -z "$ac_c_werror_flag"
92975                          || test ! -s conftest.err'
92976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92977   (eval $ac_try) 2>&5
92978   ac_status=$?
92979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92980   (exit $ac_status); }; } &&
92981          { ac_try='test -s conftest$ac_exeext'
92982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92983   (eval $ac_try) 2>&5
92984   ac_status=$?
92985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92986   (exit $ac_status); }; }; then
92987   eval "$as_ac_var=yes"
92988 else
92989   echo "$as_me: failed program was:" >&5
92990 sed 's/^/| /' conftest.$ac_ext >&5
92991
92992 eval "$as_ac_var=no"
92993 fi
92994 rm -f conftest.err conftest.$ac_objext \
92995       conftest$ac_exeext conftest.$ac_ext
92996 fi
92997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92999 if test `eval echo '${'$as_ac_var'}'` = yes; then
93000   cat >>confdefs.h <<_ACEOF
93001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93002 _ACEOF
93003
93004 fi
93005 done
93006
93007   else
93008
93009   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
93010 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
93011   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
93012     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
93013   echo $ECHO_N "(cached) $ECHO_C" >&6
93014 else
93015
93016
93017
93018       ac_ext=cc
93019 ac_cpp='$CXXCPP $CPPFLAGS'
93020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93023
93024       cat >conftest.$ac_ext <<_ACEOF
93025 /* confdefs.h.  */
93026 _ACEOF
93027 cat confdefs.h >>conftest.$ac_ext
93028 cat >>conftest.$ac_ext <<_ACEOF
93029 /* end confdefs.h.  */
93030 #include <math.h>
93031 int
93032 main ()
93033 {
93034  _atan2l(0, 0);
93035   ;
93036   return 0;
93037 }
93038 _ACEOF
93039 rm -f conftest.$ac_objext
93040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93041   (eval $ac_compile) 2>conftest.er1
93042   ac_status=$?
93043   grep -v '^ *+' conftest.er1 >conftest.err
93044   rm -f conftest.er1
93045   cat conftest.err >&5
93046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93047   (exit $ac_status); } &&
93048          { ac_try='test -z "$ac_cxx_werror_flag"
93049                          || test ! -s conftest.err'
93050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93051   (eval $ac_try) 2>&5
93052   ac_status=$?
93053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93054   (exit $ac_status); }; } &&
93055          { ac_try='test -s conftest.$ac_objext'
93056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93057   (eval $ac_try) 2>&5
93058   ac_status=$?
93059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93060   (exit $ac_status); }; }; then
93061   glibcxx_cv_func__atan2l_use=yes
93062 else
93063   echo "$as_me: failed program was:" >&5
93064 sed 's/^/| /' conftest.$ac_ext >&5
93065
93066 glibcxx_cv_func__atan2l_use=no
93067 fi
93068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93069       ac_ext=c
93070 ac_cpp='$CPP $CPPFLAGS'
93071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93074
93075
93076 fi
93077
93078   fi
93079   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
93080 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
93081
93082     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
93083
93084 for ac_func in _atan2l
93085 do
93086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93087 echo "$as_me:$LINENO: checking for $ac_func" >&5
93088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93089 if eval "test \"\${$as_ac_var+set}\" = set"; then
93090   echo $ECHO_N "(cached) $ECHO_C" >&6
93091 else
93092   if test x$gcc_no_link = xyes; then
93093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93095    { (exit 1); exit 1; }; }
93096 fi
93097 cat >conftest.$ac_ext <<_ACEOF
93098 /* confdefs.h.  */
93099 _ACEOF
93100 cat confdefs.h >>conftest.$ac_ext
93101 cat >>conftest.$ac_ext <<_ACEOF
93102 /* end confdefs.h.  */
93103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93105 #define $ac_func innocuous_$ac_func
93106
93107 /* System header to define __stub macros and hopefully few prototypes,
93108     which can conflict with char $ac_func (); below.
93109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93110     <limits.h> exists even on freestanding compilers.  */
93111
93112 #ifdef __STDC__
93113 # include <limits.h>
93114 #else
93115 # include <assert.h>
93116 #endif
93117
93118 #undef $ac_func
93119
93120 /* Override any gcc2 internal prototype to avoid an error.  */
93121 #ifdef __cplusplus
93122 extern "C"
93123 {
93124 #endif
93125 /* We use char because int might match the return type of a gcc2
93126    builtin and then its argument prototype would still apply.  */
93127 char $ac_func ();
93128 /* The GNU C library defines this for functions which it implements
93129     to always fail with ENOSYS.  Some functions are actually named
93130     something starting with __ and the normal name is an alias.  */
93131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93132 choke me
93133 #else
93134 char (*f) () = $ac_func;
93135 #endif
93136 #ifdef __cplusplus
93137 }
93138 #endif
93139
93140 int
93141 main ()
93142 {
93143 return f != $ac_func;
93144   ;
93145   return 0;
93146 }
93147 _ACEOF
93148 rm -f conftest.$ac_objext conftest$ac_exeext
93149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93150   (eval $ac_link) 2>conftest.er1
93151   ac_status=$?
93152   grep -v '^ *+' conftest.er1 >conftest.err
93153   rm -f conftest.er1
93154   cat conftest.err >&5
93155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93156   (exit $ac_status); } &&
93157          { ac_try='test -z "$ac_c_werror_flag"
93158                          || test ! -s conftest.err'
93159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93160   (eval $ac_try) 2>&5
93161   ac_status=$?
93162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93163   (exit $ac_status); }; } &&
93164          { ac_try='test -s conftest$ac_exeext'
93165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93166   (eval $ac_try) 2>&5
93167   ac_status=$?
93168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93169   (exit $ac_status); }; }; then
93170   eval "$as_ac_var=yes"
93171 else
93172   echo "$as_me: failed program was:" >&5
93173 sed 's/^/| /' conftest.$ac_ext >&5
93174
93175 eval "$as_ac_var=no"
93176 fi
93177 rm -f conftest.err conftest.$ac_objext \
93178       conftest$ac_exeext conftest.$ac_ext
93179 fi
93180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93182 if test `eval echo '${'$as_ac_var'}'` = yes; then
93183   cat >>confdefs.h <<_ACEOF
93184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93185 _ACEOF
93186
93187 fi
93188 done
93189
93190     fi
93191   fi
93192
93193
93194
93195
93196
93197
93198   echo "$as_me:$LINENO: checking for expl declaration" >&5
93199 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
93200   if test x${glibcxx_cv_func_expl_use+set} != xset; then
93201     if test "${glibcxx_cv_func_expl_use+set}" = set; then
93202   echo $ECHO_N "(cached) $ECHO_C" >&6
93203 else
93204
93205
93206
93207       ac_ext=cc
93208 ac_cpp='$CXXCPP $CPPFLAGS'
93209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93212
93213       cat >conftest.$ac_ext <<_ACEOF
93214 /* confdefs.h.  */
93215 _ACEOF
93216 cat confdefs.h >>conftest.$ac_ext
93217 cat >>conftest.$ac_ext <<_ACEOF
93218 /* end confdefs.h.  */
93219 #include <math.h>
93220                       #ifdef HAVE_IEEEFP_H
93221                       #include <ieeefp.h>
93222                       #endif
93223
93224 int
93225 main ()
93226 {
93227  expl(0);
93228   ;
93229   return 0;
93230 }
93231 _ACEOF
93232 rm -f conftest.$ac_objext
93233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93234   (eval $ac_compile) 2>conftest.er1
93235   ac_status=$?
93236   grep -v '^ *+' conftest.er1 >conftest.err
93237   rm -f conftest.er1
93238   cat conftest.err >&5
93239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93240   (exit $ac_status); } &&
93241          { ac_try='test -z "$ac_cxx_werror_flag"
93242                          || test ! -s conftest.err'
93243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93244   (eval $ac_try) 2>&5
93245   ac_status=$?
93246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93247   (exit $ac_status); }; } &&
93248          { ac_try='test -s conftest.$ac_objext'
93249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93250   (eval $ac_try) 2>&5
93251   ac_status=$?
93252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93253   (exit $ac_status); }; }; then
93254   glibcxx_cv_func_expl_use=yes
93255 else
93256   echo "$as_me: failed program was:" >&5
93257 sed 's/^/| /' conftest.$ac_ext >&5
93258
93259 glibcxx_cv_func_expl_use=no
93260 fi
93261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93262       ac_ext=c
93263 ac_cpp='$CPP $CPPFLAGS'
93264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93267
93268
93269 fi
93270
93271   fi
93272   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
93273 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
93274
93275   if test x$glibcxx_cv_func_expl_use = x"yes"; then
93276
93277 for ac_func in expl
93278 do
93279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93280 echo "$as_me:$LINENO: checking for $ac_func" >&5
93281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93282 if eval "test \"\${$as_ac_var+set}\" = set"; then
93283   echo $ECHO_N "(cached) $ECHO_C" >&6
93284 else
93285   if test x$gcc_no_link = xyes; then
93286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93288    { (exit 1); exit 1; }; }
93289 fi
93290 cat >conftest.$ac_ext <<_ACEOF
93291 /* confdefs.h.  */
93292 _ACEOF
93293 cat confdefs.h >>conftest.$ac_ext
93294 cat >>conftest.$ac_ext <<_ACEOF
93295 /* end confdefs.h.  */
93296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93298 #define $ac_func innocuous_$ac_func
93299
93300 /* System header to define __stub macros and hopefully few prototypes,
93301     which can conflict with char $ac_func (); below.
93302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93303     <limits.h> exists even on freestanding compilers.  */
93304
93305 #ifdef __STDC__
93306 # include <limits.h>
93307 #else
93308 # include <assert.h>
93309 #endif
93310
93311 #undef $ac_func
93312
93313 /* Override any gcc2 internal prototype to avoid an error.  */
93314 #ifdef __cplusplus
93315 extern "C"
93316 {
93317 #endif
93318 /* We use char because int might match the return type of a gcc2
93319    builtin and then its argument prototype would still apply.  */
93320 char $ac_func ();
93321 /* The GNU C library defines this for functions which it implements
93322     to always fail with ENOSYS.  Some functions are actually named
93323     something starting with __ and the normal name is an alias.  */
93324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93325 choke me
93326 #else
93327 char (*f) () = $ac_func;
93328 #endif
93329 #ifdef __cplusplus
93330 }
93331 #endif
93332
93333 int
93334 main ()
93335 {
93336 return f != $ac_func;
93337   ;
93338   return 0;
93339 }
93340 _ACEOF
93341 rm -f conftest.$ac_objext conftest$ac_exeext
93342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93343   (eval $ac_link) 2>conftest.er1
93344   ac_status=$?
93345   grep -v '^ *+' conftest.er1 >conftest.err
93346   rm -f conftest.er1
93347   cat conftest.err >&5
93348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93349   (exit $ac_status); } &&
93350          { ac_try='test -z "$ac_c_werror_flag"
93351                          || test ! -s conftest.err'
93352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93353   (eval $ac_try) 2>&5
93354   ac_status=$?
93355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93356   (exit $ac_status); }; } &&
93357          { ac_try='test -s conftest$ac_exeext'
93358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93359   (eval $ac_try) 2>&5
93360   ac_status=$?
93361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93362   (exit $ac_status); }; }; then
93363   eval "$as_ac_var=yes"
93364 else
93365   echo "$as_me: failed program was:" >&5
93366 sed 's/^/| /' conftest.$ac_ext >&5
93367
93368 eval "$as_ac_var=no"
93369 fi
93370 rm -f conftest.err conftest.$ac_objext \
93371       conftest$ac_exeext conftest.$ac_ext
93372 fi
93373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93375 if test `eval echo '${'$as_ac_var'}'` = yes; then
93376   cat >>confdefs.h <<_ACEOF
93377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93378 _ACEOF
93379
93380 fi
93381 done
93382
93383   else
93384
93385   echo "$as_me:$LINENO: checking for _expl declaration" >&5
93386 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
93387   if test x${glibcxx_cv_func__expl_use+set} != xset; then
93388     if test "${glibcxx_cv_func__expl_use+set}" = set; then
93389   echo $ECHO_N "(cached) $ECHO_C" >&6
93390 else
93391
93392
93393
93394       ac_ext=cc
93395 ac_cpp='$CXXCPP $CPPFLAGS'
93396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93399
93400       cat >conftest.$ac_ext <<_ACEOF
93401 /* confdefs.h.  */
93402 _ACEOF
93403 cat confdefs.h >>conftest.$ac_ext
93404 cat >>conftest.$ac_ext <<_ACEOF
93405 /* end confdefs.h.  */
93406 #include <math.h>
93407                       #ifdef HAVE_IEEEFP_H
93408                       #include <ieeefp.h>
93409                       #endif
93410
93411 int
93412 main ()
93413 {
93414  _expl(0);
93415   ;
93416   return 0;
93417 }
93418 _ACEOF
93419 rm -f conftest.$ac_objext
93420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93421   (eval $ac_compile) 2>conftest.er1
93422   ac_status=$?
93423   grep -v '^ *+' conftest.er1 >conftest.err
93424   rm -f conftest.er1
93425   cat conftest.err >&5
93426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93427   (exit $ac_status); } &&
93428          { ac_try='test -z "$ac_cxx_werror_flag"
93429                          || test ! -s conftest.err'
93430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93431   (eval $ac_try) 2>&5
93432   ac_status=$?
93433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93434   (exit $ac_status); }; } &&
93435          { ac_try='test -s conftest.$ac_objext'
93436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93437   (eval $ac_try) 2>&5
93438   ac_status=$?
93439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93440   (exit $ac_status); }; }; then
93441   glibcxx_cv_func__expl_use=yes
93442 else
93443   echo "$as_me: failed program was:" >&5
93444 sed 's/^/| /' conftest.$ac_ext >&5
93445
93446 glibcxx_cv_func__expl_use=no
93447 fi
93448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93449       ac_ext=c
93450 ac_cpp='$CPP $CPPFLAGS'
93451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93454
93455
93456 fi
93457
93458   fi
93459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
93460 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
93461
93462     if test x$glibcxx_cv_func__expl_use = x"yes"; then
93463
93464 for ac_func in _expl
93465 do
93466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93467 echo "$as_me:$LINENO: checking for $ac_func" >&5
93468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93469 if eval "test \"\${$as_ac_var+set}\" = set"; then
93470   echo $ECHO_N "(cached) $ECHO_C" >&6
93471 else
93472   if test x$gcc_no_link = xyes; then
93473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93475    { (exit 1); exit 1; }; }
93476 fi
93477 cat >conftest.$ac_ext <<_ACEOF
93478 /* confdefs.h.  */
93479 _ACEOF
93480 cat confdefs.h >>conftest.$ac_ext
93481 cat >>conftest.$ac_ext <<_ACEOF
93482 /* end confdefs.h.  */
93483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93485 #define $ac_func innocuous_$ac_func
93486
93487 /* System header to define __stub macros and hopefully few prototypes,
93488     which can conflict with char $ac_func (); below.
93489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93490     <limits.h> exists even on freestanding compilers.  */
93491
93492 #ifdef __STDC__
93493 # include <limits.h>
93494 #else
93495 # include <assert.h>
93496 #endif
93497
93498 #undef $ac_func
93499
93500 /* Override any gcc2 internal prototype to avoid an error.  */
93501 #ifdef __cplusplus
93502 extern "C"
93503 {
93504 #endif
93505 /* We use char because int might match the return type of a gcc2
93506    builtin and then its argument prototype would still apply.  */
93507 char $ac_func ();
93508 /* The GNU C library defines this for functions which it implements
93509     to always fail with ENOSYS.  Some functions are actually named
93510     something starting with __ and the normal name is an alias.  */
93511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93512 choke me
93513 #else
93514 char (*f) () = $ac_func;
93515 #endif
93516 #ifdef __cplusplus
93517 }
93518 #endif
93519
93520 int
93521 main ()
93522 {
93523 return f != $ac_func;
93524   ;
93525   return 0;
93526 }
93527 _ACEOF
93528 rm -f conftest.$ac_objext conftest$ac_exeext
93529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93530   (eval $ac_link) 2>conftest.er1
93531   ac_status=$?
93532   grep -v '^ *+' conftest.er1 >conftest.err
93533   rm -f conftest.er1
93534   cat conftest.err >&5
93535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93536   (exit $ac_status); } &&
93537          { ac_try='test -z "$ac_c_werror_flag"
93538                          || test ! -s conftest.err'
93539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93540   (eval $ac_try) 2>&5
93541   ac_status=$?
93542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93543   (exit $ac_status); }; } &&
93544          { ac_try='test -s conftest$ac_exeext'
93545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93546   (eval $ac_try) 2>&5
93547   ac_status=$?
93548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93549   (exit $ac_status); }; }; then
93550   eval "$as_ac_var=yes"
93551 else
93552   echo "$as_me: failed program was:" >&5
93553 sed 's/^/| /' conftest.$ac_ext >&5
93554
93555 eval "$as_ac_var=no"
93556 fi
93557 rm -f conftest.err conftest.$ac_objext \
93558       conftest$ac_exeext conftest.$ac_ext
93559 fi
93560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93562 if test `eval echo '${'$as_ac_var'}'` = yes; then
93563   cat >>confdefs.h <<_ACEOF
93564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93565 _ACEOF
93566
93567 fi
93568 done
93569
93570     fi
93571   fi
93572
93573
93574
93575
93576
93577
93578   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
93579 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
93580   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
93581     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
93582   echo $ECHO_N "(cached) $ECHO_C" >&6
93583 else
93584
93585
93586
93587       ac_ext=cc
93588 ac_cpp='$CXXCPP $CPPFLAGS'
93589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93592
93593       cat >conftest.$ac_ext <<_ACEOF
93594 /* confdefs.h.  */
93595 _ACEOF
93596 cat confdefs.h >>conftest.$ac_ext
93597 cat >>conftest.$ac_ext <<_ACEOF
93598 /* end confdefs.h.  */
93599 #include <math.h>
93600                       #ifdef HAVE_IEEEFP_H
93601                       #include <ieeefp.h>
93602                       #endif
93603
93604 int
93605 main ()
93606 {
93607  fabsl(0);
93608   ;
93609   return 0;
93610 }
93611 _ACEOF
93612 rm -f conftest.$ac_objext
93613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93614   (eval $ac_compile) 2>conftest.er1
93615   ac_status=$?
93616   grep -v '^ *+' conftest.er1 >conftest.err
93617   rm -f conftest.er1
93618   cat conftest.err >&5
93619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93620   (exit $ac_status); } &&
93621          { ac_try='test -z "$ac_cxx_werror_flag"
93622                          || test ! -s conftest.err'
93623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93624   (eval $ac_try) 2>&5
93625   ac_status=$?
93626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93627   (exit $ac_status); }; } &&
93628          { ac_try='test -s conftest.$ac_objext'
93629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93630   (eval $ac_try) 2>&5
93631   ac_status=$?
93632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93633   (exit $ac_status); }; }; then
93634   glibcxx_cv_func_fabsl_use=yes
93635 else
93636   echo "$as_me: failed program was:" >&5
93637 sed 's/^/| /' conftest.$ac_ext >&5
93638
93639 glibcxx_cv_func_fabsl_use=no
93640 fi
93641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93642       ac_ext=c
93643 ac_cpp='$CPP $CPPFLAGS'
93644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93647
93648
93649 fi
93650
93651   fi
93652   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
93653 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
93654
93655   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
93656
93657 for ac_func in fabsl
93658 do
93659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93660 echo "$as_me:$LINENO: checking for $ac_func" >&5
93661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93662 if eval "test \"\${$as_ac_var+set}\" = set"; then
93663   echo $ECHO_N "(cached) $ECHO_C" >&6
93664 else
93665   if test x$gcc_no_link = xyes; then
93666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93668    { (exit 1); exit 1; }; }
93669 fi
93670 cat >conftest.$ac_ext <<_ACEOF
93671 /* confdefs.h.  */
93672 _ACEOF
93673 cat confdefs.h >>conftest.$ac_ext
93674 cat >>conftest.$ac_ext <<_ACEOF
93675 /* end confdefs.h.  */
93676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93678 #define $ac_func innocuous_$ac_func
93679
93680 /* System header to define __stub macros and hopefully few prototypes,
93681     which can conflict with char $ac_func (); below.
93682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93683     <limits.h> exists even on freestanding compilers.  */
93684
93685 #ifdef __STDC__
93686 # include <limits.h>
93687 #else
93688 # include <assert.h>
93689 #endif
93690
93691 #undef $ac_func
93692
93693 /* Override any gcc2 internal prototype to avoid an error.  */
93694 #ifdef __cplusplus
93695 extern "C"
93696 {
93697 #endif
93698 /* We use char because int might match the return type of a gcc2
93699    builtin and then its argument prototype would still apply.  */
93700 char $ac_func ();
93701 /* The GNU C library defines this for functions which it implements
93702     to always fail with ENOSYS.  Some functions are actually named
93703     something starting with __ and the normal name is an alias.  */
93704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93705 choke me
93706 #else
93707 char (*f) () = $ac_func;
93708 #endif
93709 #ifdef __cplusplus
93710 }
93711 #endif
93712
93713 int
93714 main ()
93715 {
93716 return f != $ac_func;
93717   ;
93718   return 0;
93719 }
93720 _ACEOF
93721 rm -f conftest.$ac_objext conftest$ac_exeext
93722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93723   (eval $ac_link) 2>conftest.er1
93724   ac_status=$?
93725   grep -v '^ *+' conftest.er1 >conftest.err
93726   rm -f conftest.er1
93727   cat conftest.err >&5
93728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93729   (exit $ac_status); } &&
93730          { ac_try='test -z "$ac_c_werror_flag"
93731                          || test ! -s conftest.err'
93732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93733   (eval $ac_try) 2>&5
93734   ac_status=$?
93735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93736   (exit $ac_status); }; } &&
93737          { ac_try='test -s conftest$ac_exeext'
93738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93739   (eval $ac_try) 2>&5
93740   ac_status=$?
93741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93742   (exit $ac_status); }; }; then
93743   eval "$as_ac_var=yes"
93744 else
93745   echo "$as_me: failed program was:" >&5
93746 sed 's/^/| /' conftest.$ac_ext >&5
93747
93748 eval "$as_ac_var=no"
93749 fi
93750 rm -f conftest.err conftest.$ac_objext \
93751       conftest$ac_exeext conftest.$ac_ext
93752 fi
93753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93755 if test `eval echo '${'$as_ac_var'}'` = yes; then
93756   cat >>confdefs.h <<_ACEOF
93757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93758 _ACEOF
93759
93760 fi
93761 done
93762
93763   else
93764
93765   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
93766 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
93767   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
93768     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
93769   echo $ECHO_N "(cached) $ECHO_C" >&6
93770 else
93771
93772
93773
93774       ac_ext=cc
93775 ac_cpp='$CXXCPP $CPPFLAGS'
93776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93779
93780       cat >conftest.$ac_ext <<_ACEOF
93781 /* confdefs.h.  */
93782 _ACEOF
93783 cat confdefs.h >>conftest.$ac_ext
93784 cat >>conftest.$ac_ext <<_ACEOF
93785 /* end confdefs.h.  */
93786 #include <math.h>
93787                       #ifdef HAVE_IEEEFP_H
93788                       #include <ieeefp.h>
93789                       #endif
93790
93791 int
93792 main ()
93793 {
93794  _fabsl(0);
93795   ;
93796   return 0;
93797 }
93798 _ACEOF
93799 rm -f conftest.$ac_objext
93800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93801   (eval $ac_compile) 2>conftest.er1
93802   ac_status=$?
93803   grep -v '^ *+' conftest.er1 >conftest.err
93804   rm -f conftest.er1
93805   cat conftest.err >&5
93806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93807   (exit $ac_status); } &&
93808          { ac_try='test -z "$ac_cxx_werror_flag"
93809                          || test ! -s conftest.err'
93810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93811   (eval $ac_try) 2>&5
93812   ac_status=$?
93813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93814   (exit $ac_status); }; } &&
93815          { ac_try='test -s conftest.$ac_objext'
93816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93817   (eval $ac_try) 2>&5
93818   ac_status=$?
93819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93820   (exit $ac_status); }; }; then
93821   glibcxx_cv_func__fabsl_use=yes
93822 else
93823   echo "$as_me: failed program was:" >&5
93824 sed 's/^/| /' conftest.$ac_ext >&5
93825
93826 glibcxx_cv_func__fabsl_use=no
93827 fi
93828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93829       ac_ext=c
93830 ac_cpp='$CPP $CPPFLAGS'
93831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93834
93835
93836 fi
93837
93838   fi
93839   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
93840 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
93841
93842     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
93843
93844 for ac_func in _fabsl
93845 do
93846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93847 echo "$as_me:$LINENO: checking for $ac_func" >&5
93848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93849 if eval "test \"\${$as_ac_var+set}\" = set"; then
93850   echo $ECHO_N "(cached) $ECHO_C" >&6
93851 else
93852   if test x$gcc_no_link = xyes; then
93853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93855    { (exit 1); exit 1; }; }
93856 fi
93857 cat >conftest.$ac_ext <<_ACEOF
93858 /* confdefs.h.  */
93859 _ACEOF
93860 cat confdefs.h >>conftest.$ac_ext
93861 cat >>conftest.$ac_ext <<_ACEOF
93862 /* end confdefs.h.  */
93863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93865 #define $ac_func innocuous_$ac_func
93866
93867 /* System header to define __stub macros and hopefully few prototypes,
93868     which can conflict with char $ac_func (); below.
93869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93870     <limits.h> exists even on freestanding compilers.  */
93871
93872 #ifdef __STDC__
93873 # include <limits.h>
93874 #else
93875 # include <assert.h>
93876 #endif
93877
93878 #undef $ac_func
93879
93880 /* Override any gcc2 internal prototype to avoid an error.  */
93881 #ifdef __cplusplus
93882 extern "C"
93883 {
93884 #endif
93885 /* We use char because int might match the return type of a gcc2
93886    builtin and then its argument prototype would still apply.  */
93887 char $ac_func ();
93888 /* The GNU C library defines this for functions which it implements
93889     to always fail with ENOSYS.  Some functions are actually named
93890     something starting with __ and the normal name is an alias.  */
93891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93892 choke me
93893 #else
93894 char (*f) () = $ac_func;
93895 #endif
93896 #ifdef __cplusplus
93897 }
93898 #endif
93899
93900 int
93901 main ()
93902 {
93903 return f != $ac_func;
93904   ;
93905   return 0;
93906 }
93907 _ACEOF
93908 rm -f conftest.$ac_objext conftest$ac_exeext
93909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93910   (eval $ac_link) 2>conftest.er1
93911   ac_status=$?
93912   grep -v '^ *+' conftest.er1 >conftest.err
93913   rm -f conftest.er1
93914   cat conftest.err >&5
93915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93916   (exit $ac_status); } &&
93917          { ac_try='test -z "$ac_c_werror_flag"
93918                          || test ! -s conftest.err'
93919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93920   (eval $ac_try) 2>&5
93921   ac_status=$?
93922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93923   (exit $ac_status); }; } &&
93924          { ac_try='test -s conftest$ac_exeext'
93925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93926   (eval $ac_try) 2>&5
93927   ac_status=$?
93928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93929   (exit $ac_status); }; }; then
93930   eval "$as_ac_var=yes"
93931 else
93932   echo "$as_me: failed program was:" >&5
93933 sed 's/^/| /' conftest.$ac_ext >&5
93934
93935 eval "$as_ac_var=no"
93936 fi
93937 rm -f conftest.err conftest.$ac_objext \
93938       conftest$ac_exeext conftest.$ac_ext
93939 fi
93940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93942 if test `eval echo '${'$as_ac_var'}'` = yes; then
93943   cat >>confdefs.h <<_ACEOF
93944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93945 _ACEOF
93946
93947 fi
93948 done
93949
93950     fi
93951   fi
93952
93953
93954
93955
93956
93957
93958   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
93959 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
93960   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
93961     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
93962   echo $ECHO_N "(cached) $ECHO_C" >&6
93963 else
93964
93965
93966
93967       ac_ext=cc
93968 ac_cpp='$CXXCPP $CPPFLAGS'
93969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93972
93973       cat >conftest.$ac_ext <<_ACEOF
93974 /* confdefs.h.  */
93975 _ACEOF
93976 cat confdefs.h >>conftest.$ac_ext
93977 cat >>conftest.$ac_ext <<_ACEOF
93978 /* end confdefs.h.  */
93979 #include <math.h>
93980 int
93981 main ()
93982 {
93983  fmodl(0, 0);
93984   ;
93985   return 0;
93986 }
93987 _ACEOF
93988 rm -f conftest.$ac_objext
93989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93990   (eval $ac_compile) 2>conftest.er1
93991   ac_status=$?
93992   grep -v '^ *+' conftest.er1 >conftest.err
93993   rm -f conftest.er1
93994   cat conftest.err >&5
93995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93996   (exit $ac_status); } &&
93997          { ac_try='test -z "$ac_cxx_werror_flag"
93998                          || test ! -s conftest.err'
93999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94000   (eval $ac_try) 2>&5
94001   ac_status=$?
94002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94003   (exit $ac_status); }; } &&
94004          { ac_try='test -s conftest.$ac_objext'
94005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94006   (eval $ac_try) 2>&5
94007   ac_status=$?
94008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94009   (exit $ac_status); }; }; then
94010   glibcxx_cv_func_fmodl_use=yes
94011 else
94012   echo "$as_me: failed program was:" >&5
94013 sed 's/^/| /' conftest.$ac_ext >&5
94014
94015 glibcxx_cv_func_fmodl_use=no
94016 fi
94017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94018       ac_ext=c
94019 ac_cpp='$CPP $CPPFLAGS'
94020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94023
94024
94025 fi
94026
94027   fi
94028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
94029 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
94030
94031   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
94032
94033 for ac_func in fmodl
94034 do
94035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94036 echo "$as_me:$LINENO: checking for $ac_func" >&5
94037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94038 if eval "test \"\${$as_ac_var+set}\" = set"; then
94039   echo $ECHO_N "(cached) $ECHO_C" >&6
94040 else
94041   if test x$gcc_no_link = xyes; then
94042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94044    { (exit 1); exit 1; }; }
94045 fi
94046 cat >conftest.$ac_ext <<_ACEOF
94047 /* confdefs.h.  */
94048 _ACEOF
94049 cat confdefs.h >>conftest.$ac_ext
94050 cat >>conftest.$ac_ext <<_ACEOF
94051 /* end confdefs.h.  */
94052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94054 #define $ac_func innocuous_$ac_func
94055
94056 /* System header to define __stub macros and hopefully few prototypes,
94057     which can conflict with char $ac_func (); below.
94058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94059     <limits.h> exists even on freestanding compilers.  */
94060
94061 #ifdef __STDC__
94062 # include <limits.h>
94063 #else
94064 # include <assert.h>
94065 #endif
94066
94067 #undef $ac_func
94068
94069 /* Override any gcc2 internal prototype to avoid an error.  */
94070 #ifdef __cplusplus
94071 extern "C"
94072 {
94073 #endif
94074 /* We use char because int might match the return type of a gcc2
94075    builtin and then its argument prototype would still apply.  */
94076 char $ac_func ();
94077 /* The GNU C library defines this for functions which it implements
94078     to always fail with ENOSYS.  Some functions are actually named
94079     something starting with __ and the normal name is an alias.  */
94080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94081 choke me
94082 #else
94083 char (*f) () = $ac_func;
94084 #endif
94085 #ifdef __cplusplus
94086 }
94087 #endif
94088
94089 int
94090 main ()
94091 {
94092 return f != $ac_func;
94093   ;
94094   return 0;
94095 }
94096 _ACEOF
94097 rm -f conftest.$ac_objext conftest$ac_exeext
94098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94099   (eval $ac_link) 2>conftest.er1
94100   ac_status=$?
94101   grep -v '^ *+' conftest.er1 >conftest.err
94102   rm -f conftest.er1
94103   cat conftest.err >&5
94104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94105   (exit $ac_status); } &&
94106          { ac_try='test -z "$ac_c_werror_flag"
94107                          || test ! -s conftest.err'
94108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94109   (eval $ac_try) 2>&5
94110   ac_status=$?
94111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94112   (exit $ac_status); }; } &&
94113          { ac_try='test -s conftest$ac_exeext'
94114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94115   (eval $ac_try) 2>&5
94116   ac_status=$?
94117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94118   (exit $ac_status); }; }; then
94119   eval "$as_ac_var=yes"
94120 else
94121   echo "$as_me: failed program was:" >&5
94122 sed 's/^/| /' conftest.$ac_ext >&5
94123
94124 eval "$as_ac_var=no"
94125 fi
94126 rm -f conftest.err conftest.$ac_objext \
94127       conftest$ac_exeext conftest.$ac_ext
94128 fi
94129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94131 if test `eval echo '${'$as_ac_var'}'` = yes; then
94132   cat >>confdefs.h <<_ACEOF
94133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94134 _ACEOF
94135
94136 fi
94137 done
94138
94139   else
94140
94141   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
94142 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
94143   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
94144     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
94145   echo $ECHO_N "(cached) $ECHO_C" >&6
94146 else
94147
94148
94149
94150       ac_ext=cc
94151 ac_cpp='$CXXCPP $CPPFLAGS'
94152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94155
94156       cat >conftest.$ac_ext <<_ACEOF
94157 /* confdefs.h.  */
94158 _ACEOF
94159 cat confdefs.h >>conftest.$ac_ext
94160 cat >>conftest.$ac_ext <<_ACEOF
94161 /* end confdefs.h.  */
94162 #include <math.h>
94163 int
94164 main ()
94165 {
94166  _fmodl(0, 0);
94167   ;
94168   return 0;
94169 }
94170 _ACEOF
94171 rm -f conftest.$ac_objext
94172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94173   (eval $ac_compile) 2>conftest.er1
94174   ac_status=$?
94175   grep -v '^ *+' conftest.er1 >conftest.err
94176   rm -f conftest.er1
94177   cat conftest.err >&5
94178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94179   (exit $ac_status); } &&
94180          { ac_try='test -z "$ac_cxx_werror_flag"
94181                          || test ! -s conftest.err'
94182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94183   (eval $ac_try) 2>&5
94184   ac_status=$?
94185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94186   (exit $ac_status); }; } &&
94187          { ac_try='test -s conftest.$ac_objext'
94188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94189   (eval $ac_try) 2>&5
94190   ac_status=$?
94191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94192   (exit $ac_status); }; }; then
94193   glibcxx_cv_func__fmodl_use=yes
94194 else
94195   echo "$as_me: failed program was:" >&5
94196 sed 's/^/| /' conftest.$ac_ext >&5
94197
94198 glibcxx_cv_func__fmodl_use=no
94199 fi
94200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94201       ac_ext=c
94202 ac_cpp='$CPP $CPPFLAGS'
94203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94206
94207
94208 fi
94209
94210   fi
94211   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
94212 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
94213
94214     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
94215
94216 for ac_func in _fmodl
94217 do
94218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94219 echo "$as_me:$LINENO: checking for $ac_func" >&5
94220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94221 if eval "test \"\${$as_ac_var+set}\" = set"; then
94222   echo $ECHO_N "(cached) $ECHO_C" >&6
94223 else
94224   if test x$gcc_no_link = xyes; then
94225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94227    { (exit 1); exit 1; }; }
94228 fi
94229 cat >conftest.$ac_ext <<_ACEOF
94230 /* confdefs.h.  */
94231 _ACEOF
94232 cat confdefs.h >>conftest.$ac_ext
94233 cat >>conftest.$ac_ext <<_ACEOF
94234 /* end confdefs.h.  */
94235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94237 #define $ac_func innocuous_$ac_func
94238
94239 /* System header to define __stub macros and hopefully few prototypes,
94240     which can conflict with char $ac_func (); below.
94241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94242     <limits.h> exists even on freestanding compilers.  */
94243
94244 #ifdef __STDC__
94245 # include <limits.h>
94246 #else
94247 # include <assert.h>
94248 #endif
94249
94250 #undef $ac_func
94251
94252 /* Override any gcc2 internal prototype to avoid an error.  */
94253 #ifdef __cplusplus
94254 extern "C"
94255 {
94256 #endif
94257 /* We use char because int might match the return type of a gcc2
94258    builtin and then its argument prototype would still apply.  */
94259 char $ac_func ();
94260 /* The GNU C library defines this for functions which it implements
94261     to always fail with ENOSYS.  Some functions are actually named
94262     something starting with __ and the normal name is an alias.  */
94263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94264 choke me
94265 #else
94266 char (*f) () = $ac_func;
94267 #endif
94268 #ifdef __cplusplus
94269 }
94270 #endif
94271
94272 int
94273 main ()
94274 {
94275 return f != $ac_func;
94276   ;
94277   return 0;
94278 }
94279 _ACEOF
94280 rm -f conftest.$ac_objext conftest$ac_exeext
94281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94282   (eval $ac_link) 2>conftest.er1
94283   ac_status=$?
94284   grep -v '^ *+' conftest.er1 >conftest.err
94285   rm -f conftest.er1
94286   cat conftest.err >&5
94287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94288   (exit $ac_status); } &&
94289          { ac_try='test -z "$ac_c_werror_flag"
94290                          || test ! -s conftest.err'
94291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94292   (eval $ac_try) 2>&5
94293   ac_status=$?
94294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94295   (exit $ac_status); }; } &&
94296          { ac_try='test -s conftest$ac_exeext'
94297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94298   (eval $ac_try) 2>&5
94299   ac_status=$?
94300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94301   (exit $ac_status); }; }; then
94302   eval "$as_ac_var=yes"
94303 else
94304   echo "$as_me: failed program was:" >&5
94305 sed 's/^/| /' conftest.$ac_ext >&5
94306
94307 eval "$as_ac_var=no"
94308 fi
94309 rm -f conftest.err conftest.$ac_objext \
94310       conftest$ac_exeext conftest.$ac_ext
94311 fi
94312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94314 if test `eval echo '${'$as_ac_var'}'` = yes; then
94315   cat >>confdefs.h <<_ACEOF
94316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94317 _ACEOF
94318
94319 fi
94320 done
94321
94322     fi
94323   fi
94324
94325
94326
94327
94328
94329
94330   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
94331 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
94332   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
94333     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
94334   echo $ECHO_N "(cached) $ECHO_C" >&6
94335 else
94336
94337
94338
94339       ac_ext=cc
94340 ac_cpp='$CXXCPP $CPPFLAGS'
94341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94344
94345       cat >conftest.$ac_ext <<_ACEOF
94346 /* confdefs.h.  */
94347 _ACEOF
94348 cat confdefs.h >>conftest.$ac_ext
94349 cat >>conftest.$ac_ext <<_ACEOF
94350 /* end confdefs.h.  */
94351 #include <math.h>
94352 int
94353 main ()
94354 {
94355  frexpl(0, 0);
94356   ;
94357   return 0;
94358 }
94359 _ACEOF
94360 rm -f conftest.$ac_objext
94361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94362   (eval $ac_compile) 2>conftest.er1
94363   ac_status=$?
94364   grep -v '^ *+' conftest.er1 >conftest.err
94365   rm -f conftest.er1
94366   cat conftest.err >&5
94367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94368   (exit $ac_status); } &&
94369          { ac_try='test -z "$ac_cxx_werror_flag"
94370                          || test ! -s conftest.err'
94371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94372   (eval $ac_try) 2>&5
94373   ac_status=$?
94374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94375   (exit $ac_status); }; } &&
94376          { ac_try='test -s conftest.$ac_objext'
94377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94378   (eval $ac_try) 2>&5
94379   ac_status=$?
94380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94381   (exit $ac_status); }; }; then
94382   glibcxx_cv_func_frexpl_use=yes
94383 else
94384   echo "$as_me: failed program was:" >&5
94385 sed 's/^/| /' conftest.$ac_ext >&5
94386
94387 glibcxx_cv_func_frexpl_use=no
94388 fi
94389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94390       ac_ext=c
94391 ac_cpp='$CPP $CPPFLAGS'
94392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94395
94396
94397 fi
94398
94399   fi
94400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
94401 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
94402
94403   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
94404
94405 for ac_func in frexpl
94406 do
94407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94408 echo "$as_me:$LINENO: checking for $ac_func" >&5
94409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94410 if eval "test \"\${$as_ac_var+set}\" = set"; then
94411   echo $ECHO_N "(cached) $ECHO_C" >&6
94412 else
94413   if test x$gcc_no_link = xyes; then
94414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94416    { (exit 1); exit 1; }; }
94417 fi
94418 cat >conftest.$ac_ext <<_ACEOF
94419 /* confdefs.h.  */
94420 _ACEOF
94421 cat confdefs.h >>conftest.$ac_ext
94422 cat >>conftest.$ac_ext <<_ACEOF
94423 /* end confdefs.h.  */
94424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94426 #define $ac_func innocuous_$ac_func
94427
94428 /* System header to define __stub macros and hopefully few prototypes,
94429     which can conflict with char $ac_func (); below.
94430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94431     <limits.h> exists even on freestanding compilers.  */
94432
94433 #ifdef __STDC__
94434 # include <limits.h>
94435 #else
94436 # include <assert.h>
94437 #endif
94438
94439 #undef $ac_func
94440
94441 /* Override any gcc2 internal prototype to avoid an error.  */
94442 #ifdef __cplusplus
94443 extern "C"
94444 {
94445 #endif
94446 /* We use char because int might match the return type of a gcc2
94447    builtin and then its argument prototype would still apply.  */
94448 char $ac_func ();
94449 /* The GNU C library defines this for functions which it implements
94450     to always fail with ENOSYS.  Some functions are actually named
94451     something starting with __ and the normal name is an alias.  */
94452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94453 choke me
94454 #else
94455 char (*f) () = $ac_func;
94456 #endif
94457 #ifdef __cplusplus
94458 }
94459 #endif
94460
94461 int
94462 main ()
94463 {
94464 return f != $ac_func;
94465   ;
94466   return 0;
94467 }
94468 _ACEOF
94469 rm -f conftest.$ac_objext conftest$ac_exeext
94470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94471   (eval $ac_link) 2>conftest.er1
94472   ac_status=$?
94473   grep -v '^ *+' conftest.er1 >conftest.err
94474   rm -f conftest.er1
94475   cat conftest.err >&5
94476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94477   (exit $ac_status); } &&
94478          { ac_try='test -z "$ac_c_werror_flag"
94479                          || test ! -s conftest.err'
94480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94481   (eval $ac_try) 2>&5
94482   ac_status=$?
94483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94484   (exit $ac_status); }; } &&
94485          { ac_try='test -s conftest$ac_exeext'
94486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94487   (eval $ac_try) 2>&5
94488   ac_status=$?
94489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94490   (exit $ac_status); }; }; then
94491   eval "$as_ac_var=yes"
94492 else
94493   echo "$as_me: failed program was:" >&5
94494 sed 's/^/| /' conftest.$ac_ext >&5
94495
94496 eval "$as_ac_var=no"
94497 fi
94498 rm -f conftest.err conftest.$ac_objext \
94499       conftest$ac_exeext conftest.$ac_ext
94500 fi
94501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94503 if test `eval echo '${'$as_ac_var'}'` = yes; then
94504   cat >>confdefs.h <<_ACEOF
94505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94506 _ACEOF
94507
94508 fi
94509 done
94510
94511   else
94512
94513   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
94514 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
94515   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
94516     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
94517   echo $ECHO_N "(cached) $ECHO_C" >&6
94518 else
94519
94520
94521
94522       ac_ext=cc
94523 ac_cpp='$CXXCPP $CPPFLAGS'
94524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94527
94528       cat >conftest.$ac_ext <<_ACEOF
94529 /* confdefs.h.  */
94530 _ACEOF
94531 cat confdefs.h >>conftest.$ac_ext
94532 cat >>conftest.$ac_ext <<_ACEOF
94533 /* end confdefs.h.  */
94534 #include <math.h>
94535 int
94536 main ()
94537 {
94538  _frexpl(0, 0);
94539   ;
94540   return 0;
94541 }
94542 _ACEOF
94543 rm -f conftest.$ac_objext
94544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94545   (eval $ac_compile) 2>conftest.er1
94546   ac_status=$?
94547   grep -v '^ *+' conftest.er1 >conftest.err
94548   rm -f conftest.er1
94549   cat conftest.err >&5
94550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94551   (exit $ac_status); } &&
94552          { ac_try='test -z "$ac_cxx_werror_flag"
94553                          || test ! -s conftest.err'
94554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94555   (eval $ac_try) 2>&5
94556   ac_status=$?
94557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94558   (exit $ac_status); }; } &&
94559          { ac_try='test -s conftest.$ac_objext'
94560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94561   (eval $ac_try) 2>&5
94562   ac_status=$?
94563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94564   (exit $ac_status); }; }; then
94565   glibcxx_cv_func__frexpl_use=yes
94566 else
94567   echo "$as_me: failed program was:" >&5
94568 sed 's/^/| /' conftest.$ac_ext >&5
94569
94570 glibcxx_cv_func__frexpl_use=no
94571 fi
94572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94573       ac_ext=c
94574 ac_cpp='$CPP $CPPFLAGS'
94575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94578
94579
94580 fi
94581
94582   fi
94583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
94584 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
94585
94586     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
94587
94588 for ac_func in _frexpl
94589 do
94590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94591 echo "$as_me:$LINENO: checking for $ac_func" >&5
94592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94593 if eval "test \"\${$as_ac_var+set}\" = set"; then
94594   echo $ECHO_N "(cached) $ECHO_C" >&6
94595 else
94596   if test x$gcc_no_link = xyes; then
94597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94599    { (exit 1); exit 1; }; }
94600 fi
94601 cat >conftest.$ac_ext <<_ACEOF
94602 /* confdefs.h.  */
94603 _ACEOF
94604 cat confdefs.h >>conftest.$ac_ext
94605 cat >>conftest.$ac_ext <<_ACEOF
94606 /* end confdefs.h.  */
94607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94609 #define $ac_func innocuous_$ac_func
94610
94611 /* System header to define __stub macros and hopefully few prototypes,
94612     which can conflict with char $ac_func (); below.
94613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94614     <limits.h> exists even on freestanding compilers.  */
94615
94616 #ifdef __STDC__
94617 # include <limits.h>
94618 #else
94619 # include <assert.h>
94620 #endif
94621
94622 #undef $ac_func
94623
94624 /* Override any gcc2 internal prototype to avoid an error.  */
94625 #ifdef __cplusplus
94626 extern "C"
94627 {
94628 #endif
94629 /* We use char because int might match the return type of a gcc2
94630    builtin and then its argument prototype would still apply.  */
94631 char $ac_func ();
94632 /* The GNU C library defines this for functions which it implements
94633     to always fail with ENOSYS.  Some functions are actually named
94634     something starting with __ and the normal name is an alias.  */
94635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94636 choke me
94637 #else
94638 char (*f) () = $ac_func;
94639 #endif
94640 #ifdef __cplusplus
94641 }
94642 #endif
94643
94644 int
94645 main ()
94646 {
94647 return f != $ac_func;
94648   ;
94649   return 0;
94650 }
94651 _ACEOF
94652 rm -f conftest.$ac_objext conftest$ac_exeext
94653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94654   (eval $ac_link) 2>conftest.er1
94655   ac_status=$?
94656   grep -v '^ *+' conftest.er1 >conftest.err
94657   rm -f conftest.er1
94658   cat conftest.err >&5
94659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94660   (exit $ac_status); } &&
94661          { ac_try='test -z "$ac_c_werror_flag"
94662                          || test ! -s conftest.err'
94663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94664   (eval $ac_try) 2>&5
94665   ac_status=$?
94666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94667   (exit $ac_status); }; } &&
94668          { ac_try='test -s conftest$ac_exeext'
94669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94670   (eval $ac_try) 2>&5
94671   ac_status=$?
94672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94673   (exit $ac_status); }; }; then
94674   eval "$as_ac_var=yes"
94675 else
94676   echo "$as_me: failed program was:" >&5
94677 sed 's/^/| /' conftest.$ac_ext >&5
94678
94679 eval "$as_ac_var=no"
94680 fi
94681 rm -f conftest.err conftest.$ac_objext \
94682       conftest$ac_exeext conftest.$ac_ext
94683 fi
94684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94686 if test `eval echo '${'$as_ac_var'}'` = yes; then
94687   cat >>confdefs.h <<_ACEOF
94688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94689 _ACEOF
94690
94691 fi
94692 done
94693
94694     fi
94695   fi
94696
94697
94698
94699
94700
94701
94702   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
94703 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
94704   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
94705     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
94706   echo $ECHO_N "(cached) $ECHO_C" >&6
94707 else
94708
94709
94710
94711       ac_ext=cc
94712 ac_cpp='$CXXCPP $CPPFLAGS'
94713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94716
94717       cat >conftest.$ac_ext <<_ACEOF
94718 /* confdefs.h.  */
94719 _ACEOF
94720 cat confdefs.h >>conftest.$ac_ext
94721 cat >>conftest.$ac_ext <<_ACEOF
94722 /* end confdefs.h.  */
94723 #include <math.h>
94724 int
94725 main ()
94726 {
94727  hypotl(0, 0);
94728   ;
94729   return 0;
94730 }
94731 _ACEOF
94732 rm -f conftest.$ac_objext
94733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94734   (eval $ac_compile) 2>conftest.er1
94735   ac_status=$?
94736   grep -v '^ *+' conftest.er1 >conftest.err
94737   rm -f conftest.er1
94738   cat conftest.err >&5
94739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94740   (exit $ac_status); } &&
94741          { ac_try='test -z "$ac_cxx_werror_flag"
94742                          || test ! -s conftest.err'
94743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94744   (eval $ac_try) 2>&5
94745   ac_status=$?
94746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94747   (exit $ac_status); }; } &&
94748          { ac_try='test -s conftest.$ac_objext'
94749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94750   (eval $ac_try) 2>&5
94751   ac_status=$?
94752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94753   (exit $ac_status); }; }; then
94754   glibcxx_cv_func_hypotl_use=yes
94755 else
94756   echo "$as_me: failed program was:" >&5
94757 sed 's/^/| /' conftest.$ac_ext >&5
94758
94759 glibcxx_cv_func_hypotl_use=no
94760 fi
94761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94762       ac_ext=c
94763 ac_cpp='$CPP $CPPFLAGS'
94764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94767
94768
94769 fi
94770
94771   fi
94772   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
94773 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
94774
94775   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
94776
94777 for ac_func in hypotl
94778 do
94779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94780 echo "$as_me:$LINENO: checking for $ac_func" >&5
94781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94782 if eval "test \"\${$as_ac_var+set}\" = set"; then
94783   echo $ECHO_N "(cached) $ECHO_C" >&6
94784 else
94785   if test x$gcc_no_link = xyes; then
94786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94788    { (exit 1); exit 1; }; }
94789 fi
94790 cat >conftest.$ac_ext <<_ACEOF
94791 /* confdefs.h.  */
94792 _ACEOF
94793 cat confdefs.h >>conftest.$ac_ext
94794 cat >>conftest.$ac_ext <<_ACEOF
94795 /* end confdefs.h.  */
94796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94798 #define $ac_func innocuous_$ac_func
94799
94800 /* System header to define __stub macros and hopefully few prototypes,
94801     which can conflict with char $ac_func (); below.
94802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94803     <limits.h> exists even on freestanding compilers.  */
94804
94805 #ifdef __STDC__
94806 # include <limits.h>
94807 #else
94808 # include <assert.h>
94809 #endif
94810
94811 #undef $ac_func
94812
94813 /* Override any gcc2 internal prototype to avoid an error.  */
94814 #ifdef __cplusplus
94815 extern "C"
94816 {
94817 #endif
94818 /* We use char because int might match the return type of a gcc2
94819    builtin and then its argument prototype would still apply.  */
94820 char $ac_func ();
94821 /* The GNU C library defines this for functions which it implements
94822     to always fail with ENOSYS.  Some functions are actually named
94823     something starting with __ and the normal name is an alias.  */
94824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94825 choke me
94826 #else
94827 char (*f) () = $ac_func;
94828 #endif
94829 #ifdef __cplusplus
94830 }
94831 #endif
94832
94833 int
94834 main ()
94835 {
94836 return f != $ac_func;
94837   ;
94838   return 0;
94839 }
94840 _ACEOF
94841 rm -f conftest.$ac_objext conftest$ac_exeext
94842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94843   (eval $ac_link) 2>conftest.er1
94844   ac_status=$?
94845   grep -v '^ *+' conftest.er1 >conftest.err
94846   rm -f conftest.er1
94847   cat conftest.err >&5
94848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94849   (exit $ac_status); } &&
94850          { ac_try='test -z "$ac_c_werror_flag"
94851                          || test ! -s conftest.err'
94852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94853   (eval $ac_try) 2>&5
94854   ac_status=$?
94855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94856   (exit $ac_status); }; } &&
94857          { ac_try='test -s conftest$ac_exeext'
94858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94859   (eval $ac_try) 2>&5
94860   ac_status=$?
94861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94862   (exit $ac_status); }; }; then
94863   eval "$as_ac_var=yes"
94864 else
94865   echo "$as_me: failed program was:" >&5
94866 sed 's/^/| /' conftest.$ac_ext >&5
94867
94868 eval "$as_ac_var=no"
94869 fi
94870 rm -f conftest.err conftest.$ac_objext \
94871       conftest$ac_exeext conftest.$ac_ext
94872 fi
94873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94875 if test `eval echo '${'$as_ac_var'}'` = yes; then
94876   cat >>confdefs.h <<_ACEOF
94877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94878 _ACEOF
94879
94880 fi
94881 done
94882
94883   else
94884
94885   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
94886 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
94887   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
94888     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
94889   echo $ECHO_N "(cached) $ECHO_C" >&6
94890 else
94891
94892
94893
94894       ac_ext=cc
94895 ac_cpp='$CXXCPP $CPPFLAGS'
94896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94899
94900       cat >conftest.$ac_ext <<_ACEOF
94901 /* confdefs.h.  */
94902 _ACEOF
94903 cat confdefs.h >>conftest.$ac_ext
94904 cat >>conftest.$ac_ext <<_ACEOF
94905 /* end confdefs.h.  */
94906 #include <math.h>
94907 int
94908 main ()
94909 {
94910  _hypotl(0, 0);
94911   ;
94912   return 0;
94913 }
94914 _ACEOF
94915 rm -f conftest.$ac_objext
94916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94917   (eval $ac_compile) 2>conftest.er1
94918   ac_status=$?
94919   grep -v '^ *+' conftest.er1 >conftest.err
94920   rm -f conftest.er1
94921   cat conftest.err >&5
94922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94923   (exit $ac_status); } &&
94924          { ac_try='test -z "$ac_cxx_werror_flag"
94925                          || test ! -s conftest.err'
94926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94927   (eval $ac_try) 2>&5
94928   ac_status=$?
94929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94930   (exit $ac_status); }; } &&
94931          { ac_try='test -s conftest.$ac_objext'
94932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94933   (eval $ac_try) 2>&5
94934   ac_status=$?
94935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94936   (exit $ac_status); }; }; then
94937   glibcxx_cv_func__hypotl_use=yes
94938 else
94939   echo "$as_me: failed program was:" >&5
94940 sed 's/^/| /' conftest.$ac_ext >&5
94941
94942 glibcxx_cv_func__hypotl_use=no
94943 fi
94944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94945       ac_ext=c
94946 ac_cpp='$CPP $CPPFLAGS'
94947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94950
94951
94952 fi
94953
94954   fi
94955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
94956 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
94957
94958     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
94959
94960 for ac_func in _hypotl
94961 do
94962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94963 echo "$as_me:$LINENO: checking for $ac_func" >&5
94964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94965 if eval "test \"\${$as_ac_var+set}\" = set"; then
94966   echo $ECHO_N "(cached) $ECHO_C" >&6
94967 else
94968   if test x$gcc_no_link = xyes; then
94969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94971    { (exit 1); exit 1; }; }
94972 fi
94973 cat >conftest.$ac_ext <<_ACEOF
94974 /* confdefs.h.  */
94975 _ACEOF
94976 cat confdefs.h >>conftest.$ac_ext
94977 cat >>conftest.$ac_ext <<_ACEOF
94978 /* end confdefs.h.  */
94979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94981 #define $ac_func innocuous_$ac_func
94982
94983 /* System header to define __stub macros and hopefully few prototypes,
94984     which can conflict with char $ac_func (); below.
94985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94986     <limits.h> exists even on freestanding compilers.  */
94987
94988 #ifdef __STDC__
94989 # include <limits.h>
94990 #else
94991 # include <assert.h>
94992 #endif
94993
94994 #undef $ac_func
94995
94996 /* Override any gcc2 internal prototype to avoid an error.  */
94997 #ifdef __cplusplus
94998 extern "C"
94999 {
95000 #endif
95001 /* We use char because int might match the return type of a gcc2
95002    builtin and then its argument prototype would still apply.  */
95003 char $ac_func ();
95004 /* The GNU C library defines this for functions which it implements
95005     to always fail with ENOSYS.  Some functions are actually named
95006     something starting with __ and the normal name is an alias.  */
95007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95008 choke me
95009 #else
95010 char (*f) () = $ac_func;
95011 #endif
95012 #ifdef __cplusplus
95013 }
95014 #endif
95015
95016 int
95017 main ()
95018 {
95019 return f != $ac_func;
95020   ;
95021   return 0;
95022 }
95023 _ACEOF
95024 rm -f conftest.$ac_objext conftest$ac_exeext
95025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95026   (eval $ac_link) 2>conftest.er1
95027   ac_status=$?
95028   grep -v '^ *+' conftest.er1 >conftest.err
95029   rm -f conftest.er1
95030   cat conftest.err >&5
95031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95032   (exit $ac_status); } &&
95033          { ac_try='test -z "$ac_c_werror_flag"
95034                          || test ! -s conftest.err'
95035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95036   (eval $ac_try) 2>&5
95037   ac_status=$?
95038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95039   (exit $ac_status); }; } &&
95040          { ac_try='test -s conftest$ac_exeext'
95041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95042   (eval $ac_try) 2>&5
95043   ac_status=$?
95044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95045   (exit $ac_status); }; }; then
95046   eval "$as_ac_var=yes"
95047 else
95048   echo "$as_me: failed program was:" >&5
95049 sed 's/^/| /' conftest.$ac_ext >&5
95050
95051 eval "$as_ac_var=no"
95052 fi
95053 rm -f conftest.err conftest.$ac_objext \
95054       conftest$ac_exeext conftest.$ac_ext
95055 fi
95056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95058 if test `eval echo '${'$as_ac_var'}'` = yes; then
95059   cat >>confdefs.h <<_ACEOF
95060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95061 _ACEOF
95062
95063 fi
95064 done
95065
95066     fi
95067   fi
95068
95069
95070
95071
95072
95073
95074   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
95075 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
95076   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
95077     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
95078   echo $ECHO_N "(cached) $ECHO_C" >&6
95079 else
95080
95081
95082
95083       ac_ext=cc
95084 ac_cpp='$CXXCPP $CPPFLAGS'
95085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95088
95089       cat >conftest.$ac_ext <<_ACEOF
95090 /* confdefs.h.  */
95091 _ACEOF
95092 cat confdefs.h >>conftest.$ac_ext
95093 cat >>conftest.$ac_ext <<_ACEOF
95094 /* end confdefs.h.  */
95095 #include <math.h>
95096 int
95097 main ()
95098 {
95099  ldexpl(0, 0);
95100   ;
95101   return 0;
95102 }
95103 _ACEOF
95104 rm -f conftest.$ac_objext
95105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95106   (eval $ac_compile) 2>conftest.er1
95107   ac_status=$?
95108   grep -v '^ *+' conftest.er1 >conftest.err
95109   rm -f conftest.er1
95110   cat conftest.err >&5
95111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95112   (exit $ac_status); } &&
95113          { ac_try='test -z "$ac_cxx_werror_flag"
95114                          || test ! -s conftest.err'
95115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95116   (eval $ac_try) 2>&5
95117   ac_status=$?
95118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95119   (exit $ac_status); }; } &&
95120          { ac_try='test -s conftest.$ac_objext'
95121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95122   (eval $ac_try) 2>&5
95123   ac_status=$?
95124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95125   (exit $ac_status); }; }; then
95126   glibcxx_cv_func_ldexpl_use=yes
95127 else
95128   echo "$as_me: failed program was:" >&5
95129 sed 's/^/| /' conftest.$ac_ext >&5
95130
95131 glibcxx_cv_func_ldexpl_use=no
95132 fi
95133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95134       ac_ext=c
95135 ac_cpp='$CPP $CPPFLAGS'
95136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95139
95140
95141 fi
95142
95143   fi
95144   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
95145 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
95146
95147   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
95148
95149 for ac_func in ldexpl
95150 do
95151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95152 echo "$as_me:$LINENO: checking for $ac_func" >&5
95153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95154 if eval "test \"\${$as_ac_var+set}\" = set"; then
95155   echo $ECHO_N "(cached) $ECHO_C" >&6
95156 else
95157   if test x$gcc_no_link = xyes; then
95158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95160    { (exit 1); exit 1; }; }
95161 fi
95162 cat >conftest.$ac_ext <<_ACEOF
95163 /* confdefs.h.  */
95164 _ACEOF
95165 cat confdefs.h >>conftest.$ac_ext
95166 cat >>conftest.$ac_ext <<_ACEOF
95167 /* end confdefs.h.  */
95168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95170 #define $ac_func innocuous_$ac_func
95171
95172 /* System header to define __stub macros and hopefully few prototypes,
95173     which can conflict with char $ac_func (); below.
95174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95175     <limits.h> exists even on freestanding compilers.  */
95176
95177 #ifdef __STDC__
95178 # include <limits.h>
95179 #else
95180 # include <assert.h>
95181 #endif
95182
95183 #undef $ac_func
95184
95185 /* Override any gcc2 internal prototype to avoid an error.  */
95186 #ifdef __cplusplus
95187 extern "C"
95188 {
95189 #endif
95190 /* We use char because int might match the return type of a gcc2
95191    builtin and then its argument prototype would still apply.  */
95192 char $ac_func ();
95193 /* The GNU C library defines this for functions which it implements
95194     to always fail with ENOSYS.  Some functions are actually named
95195     something starting with __ and the normal name is an alias.  */
95196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95197 choke me
95198 #else
95199 char (*f) () = $ac_func;
95200 #endif
95201 #ifdef __cplusplus
95202 }
95203 #endif
95204
95205 int
95206 main ()
95207 {
95208 return f != $ac_func;
95209   ;
95210   return 0;
95211 }
95212 _ACEOF
95213 rm -f conftest.$ac_objext conftest$ac_exeext
95214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95215   (eval $ac_link) 2>conftest.er1
95216   ac_status=$?
95217   grep -v '^ *+' conftest.er1 >conftest.err
95218   rm -f conftest.er1
95219   cat conftest.err >&5
95220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95221   (exit $ac_status); } &&
95222          { ac_try='test -z "$ac_c_werror_flag"
95223                          || test ! -s conftest.err'
95224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95225   (eval $ac_try) 2>&5
95226   ac_status=$?
95227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95228   (exit $ac_status); }; } &&
95229          { ac_try='test -s conftest$ac_exeext'
95230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95231   (eval $ac_try) 2>&5
95232   ac_status=$?
95233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95234   (exit $ac_status); }; }; then
95235   eval "$as_ac_var=yes"
95236 else
95237   echo "$as_me: failed program was:" >&5
95238 sed 's/^/| /' conftest.$ac_ext >&5
95239
95240 eval "$as_ac_var=no"
95241 fi
95242 rm -f conftest.err conftest.$ac_objext \
95243       conftest$ac_exeext conftest.$ac_ext
95244 fi
95245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95247 if test `eval echo '${'$as_ac_var'}'` = yes; then
95248   cat >>confdefs.h <<_ACEOF
95249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95250 _ACEOF
95251
95252 fi
95253 done
95254
95255   else
95256
95257   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
95258 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
95259   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
95260     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
95261   echo $ECHO_N "(cached) $ECHO_C" >&6
95262 else
95263
95264
95265
95266       ac_ext=cc
95267 ac_cpp='$CXXCPP $CPPFLAGS'
95268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95271
95272       cat >conftest.$ac_ext <<_ACEOF
95273 /* confdefs.h.  */
95274 _ACEOF
95275 cat confdefs.h >>conftest.$ac_ext
95276 cat >>conftest.$ac_ext <<_ACEOF
95277 /* end confdefs.h.  */
95278 #include <math.h>
95279 int
95280 main ()
95281 {
95282  _ldexpl(0, 0);
95283   ;
95284   return 0;
95285 }
95286 _ACEOF
95287 rm -f conftest.$ac_objext
95288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95289   (eval $ac_compile) 2>conftest.er1
95290   ac_status=$?
95291   grep -v '^ *+' conftest.er1 >conftest.err
95292   rm -f conftest.er1
95293   cat conftest.err >&5
95294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95295   (exit $ac_status); } &&
95296          { ac_try='test -z "$ac_cxx_werror_flag"
95297                          || test ! -s conftest.err'
95298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95299   (eval $ac_try) 2>&5
95300   ac_status=$?
95301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95302   (exit $ac_status); }; } &&
95303          { ac_try='test -s conftest.$ac_objext'
95304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95305   (eval $ac_try) 2>&5
95306   ac_status=$?
95307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95308   (exit $ac_status); }; }; then
95309   glibcxx_cv_func__ldexpl_use=yes
95310 else
95311   echo "$as_me: failed program was:" >&5
95312 sed 's/^/| /' conftest.$ac_ext >&5
95313
95314 glibcxx_cv_func__ldexpl_use=no
95315 fi
95316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95317       ac_ext=c
95318 ac_cpp='$CPP $CPPFLAGS'
95319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95322
95323
95324 fi
95325
95326   fi
95327   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
95328 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
95329
95330     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
95331
95332 for ac_func in _ldexpl
95333 do
95334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95335 echo "$as_me:$LINENO: checking for $ac_func" >&5
95336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95337 if eval "test \"\${$as_ac_var+set}\" = set"; then
95338   echo $ECHO_N "(cached) $ECHO_C" >&6
95339 else
95340   if test x$gcc_no_link = xyes; then
95341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95343    { (exit 1); exit 1; }; }
95344 fi
95345 cat >conftest.$ac_ext <<_ACEOF
95346 /* confdefs.h.  */
95347 _ACEOF
95348 cat confdefs.h >>conftest.$ac_ext
95349 cat >>conftest.$ac_ext <<_ACEOF
95350 /* end confdefs.h.  */
95351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95353 #define $ac_func innocuous_$ac_func
95354
95355 /* System header to define __stub macros and hopefully few prototypes,
95356     which can conflict with char $ac_func (); below.
95357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95358     <limits.h> exists even on freestanding compilers.  */
95359
95360 #ifdef __STDC__
95361 # include <limits.h>
95362 #else
95363 # include <assert.h>
95364 #endif
95365
95366 #undef $ac_func
95367
95368 /* Override any gcc2 internal prototype to avoid an error.  */
95369 #ifdef __cplusplus
95370 extern "C"
95371 {
95372 #endif
95373 /* We use char because int might match the return type of a gcc2
95374    builtin and then its argument prototype would still apply.  */
95375 char $ac_func ();
95376 /* The GNU C library defines this for functions which it implements
95377     to always fail with ENOSYS.  Some functions are actually named
95378     something starting with __ and the normal name is an alias.  */
95379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95380 choke me
95381 #else
95382 char (*f) () = $ac_func;
95383 #endif
95384 #ifdef __cplusplus
95385 }
95386 #endif
95387
95388 int
95389 main ()
95390 {
95391 return f != $ac_func;
95392   ;
95393   return 0;
95394 }
95395 _ACEOF
95396 rm -f conftest.$ac_objext conftest$ac_exeext
95397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95398   (eval $ac_link) 2>conftest.er1
95399   ac_status=$?
95400   grep -v '^ *+' conftest.er1 >conftest.err
95401   rm -f conftest.er1
95402   cat conftest.err >&5
95403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95404   (exit $ac_status); } &&
95405          { ac_try='test -z "$ac_c_werror_flag"
95406                          || test ! -s conftest.err'
95407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95408   (eval $ac_try) 2>&5
95409   ac_status=$?
95410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95411   (exit $ac_status); }; } &&
95412          { ac_try='test -s conftest$ac_exeext'
95413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95414   (eval $ac_try) 2>&5
95415   ac_status=$?
95416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95417   (exit $ac_status); }; }; then
95418   eval "$as_ac_var=yes"
95419 else
95420   echo "$as_me: failed program was:" >&5
95421 sed 's/^/| /' conftest.$ac_ext >&5
95422
95423 eval "$as_ac_var=no"
95424 fi
95425 rm -f conftest.err conftest.$ac_objext \
95426       conftest$ac_exeext conftest.$ac_ext
95427 fi
95428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95430 if test `eval echo '${'$as_ac_var'}'` = yes; then
95431   cat >>confdefs.h <<_ACEOF
95432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95433 _ACEOF
95434
95435 fi
95436 done
95437
95438     fi
95439   fi
95440
95441
95442
95443
95444
95445
95446   echo "$as_me:$LINENO: checking for logl declaration" >&5
95447 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
95448   if test x${glibcxx_cv_func_logl_use+set} != xset; then
95449     if test "${glibcxx_cv_func_logl_use+set}" = set; then
95450   echo $ECHO_N "(cached) $ECHO_C" >&6
95451 else
95452
95453
95454
95455       ac_ext=cc
95456 ac_cpp='$CXXCPP $CPPFLAGS'
95457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95460
95461       cat >conftest.$ac_ext <<_ACEOF
95462 /* confdefs.h.  */
95463 _ACEOF
95464 cat confdefs.h >>conftest.$ac_ext
95465 cat >>conftest.$ac_ext <<_ACEOF
95466 /* end confdefs.h.  */
95467 #include <math.h>
95468                       #ifdef HAVE_IEEEFP_H
95469                       #include <ieeefp.h>
95470                       #endif
95471
95472 int
95473 main ()
95474 {
95475  logl(0);
95476   ;
95477   return 0;
95478 }
95479 _ACEOF
95480 rm -f conftest.$ac_objext
95481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95482   (eval $ac_compile) 2>conftest.er1
95483   ac_status=$?
95484   grep -v '^ *+' conftest.er1 >conftest.err
95485   rm -f conftest.er1
95486   cat conftest.err >&5
95487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95488   (exit $ac_status); } &&
95489          { ac_try='test -z "$ac_cxx_werror_flag"
95490                          || test ! -s conftest.err'
95491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95492   (eval $ac_try) 2>&5
95493   ac_status=$?
95494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495   (exit $ac_status); }; } &&
95496          { ac_try='test -s conftest.$ac_objext'
95497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95498   (eval $ac_try) 2>&5
95499   ac_status=$?
95500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95501   (exit $ac_status); }; }; then
95502   glibcxx_cv_func_logl_use=yes
95503 else
95504   echo "$as_me: failed program was:" >&5
95505 sed 's/^/| /' conftest.$ac_ext >&5
95506
95507 glibcxx_cv_func_logl_use=no
95508 fi
95509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95510       ac_ext=c
95511 ac_cpp='$CPP $CPPFLAGS'
95512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95515
95516
95517 fi
95518
95519   fi
95520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
95521 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
95522
95523   if test x$glibcxx_cv_func_logl_use = x"yes"; then
95524
95525 for ac_func in logl
95526 do
95527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95528 echo "$as_me:$LINENO: checking for $ac_func" >&5
95529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95530 if eval "test \"\${$as_ac_var+set}\" = set"; then
95531   echo $ECHO_N "(cached) $ECHO_C" >&6
95532 else
95533   if test x$gcc_no_link = xyes; then
95534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95536    { (exit 1); exit 1; }; }
95537 fi
95538 cat >conftest.$ac_ext <<_ACEOF
95539 /* confdefs.h.  */
95540 _ACEOF
95541 cat confdefs.h >>conftest.$ac_ext
95542 cat >>conftest.$ac_ext <<_ACEOF
95543 /* end confdefs.h.  */
95544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95546 #define $ac_func innocuous_$ac_func
95547
95548 /* System header to define __stub macros and hopefully few prototypes,
95549     which can conflict with char $ac_func (); below.
95550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95551     <limits.h> exists even on freestanding compilers.  */
95552
95553 #ifdef __STDC__
95554 # include <limits.h>
95555 #else
95556 # include <assert.h>
95557 #endif
95558
95559 #undef $ac_func
95560
95561 /* Override any gcc2 internal prototype to avoid an error.  */
95562 #ifdef __cplusplus
95563 extern "C"
95564 {
95565 #endif
95566 /* We use char because int might match the return type of a gcc2
95567    builtin and then its argument prototype would still apply.  */
95568 char $ac_func ();
95569 /* The GNU C library defines this for functions which it implements
95570     to always fail with ENOSYS.  Some functions are actually named
95571     something starting with __ and the normal name is an alias.  */
95572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95573 choke me
95574 #else
95575 char (*f) () = $ac_func;
95576 #endif
95577 #ifdef __cplusplus
95578 }
95579 #endif
95580
95581 int
95582 main ()
95583 {
95584 return f != $ac_func;
95585   ;
95586   return 0;
95587 }
95588 _ACEOF
95589 rm -f conftest.$ac_objext conftest$ac_exeext
95590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95591   (eval $ac_link) 2>conftest.er1
95592   ac_status=$?
95593   grep -v '^ *+' conftest.er1 >conftest.err
95594   rm -f conftest.er1
95595   cat conftest.err >&5
95596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95597   (exit $ac_status); } &&
95598          { ac_try='test -z "$ac_c_werror_flag"
95599                          || test ! -s conftest.err'
95600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95601   (eval $ac_try) 2>&5
95602   ac_status=$?
95603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95604   (exit $ac_status); }; } &&
95605          { ac_try='test -s conftest$ac_exeext'
95606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95607   (eval $ac_try) 2>&5
95608   ac_status=$?
95609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95610   (exit $ac_status); }; }; then
95611   eval "$as_ac_var=yes"
95612 else
95613   echo "$as_me: failed program was:" >&5
95614 sed 's/^/| /' conftest.$ac_ext >&5
95615
95616 eval "$as_ac_var=no"
95617 fi
95618 rm -f conftest.err conftest.$ac_objext \
95619       conftest$ac_exeext conftest.$ac_ext
95620 fi
95621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95623 if test `eval echo '${'$as_ac_var'}'` = yes; then
95624   cat >>confdefs.h <<_ACEOF
95625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95626 _ACEOF
95627
95628 fi
95629 done
95630
95631   else
95632
95633   echo "$as_me:$LINENO: checking for _logl declaration" >&5
95634 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
95635   if test x${glibcxx_cv_func__logl_use+set} != xset; then
95636     if test "${glibcxx_cv_func__logl_use+set}" = set; then
95637   echo $ECHO_N "(cached) $ECHO_C" >&6
95638 else
95639
95640
95641
95642       ac_ext=cc
95643 ac_cpp='$CXXCPP $CPPFLAGS'
95644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95647
95648       cat >conftest.$ac_ext <<_ACEOF
95649 /* confdefs.h.  */
95650 _ACEOF
95651 cat confdefs.h >>conftest.$ac_ext
95652 cat >>conftest.$ac_ext <<_ACEOF
95653 /* end confdefs.h.  */
95654 #include <math.h>
95655                       #ifdef HAVE_IEEEFP_H
95656                       #include <ieeefp.h>
95657                       #endif
95658
95659 int
95660 main ()
95661 {
95662  _logl(0);
95663   ;
95664   return 0;
95665 }
95666 _ACEOF
95667 rm -f conftest.$ac_objext
95668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95669   (eval $ac_compile) 2>conftest.er1
95670   ac_status=$?
95671   grep -v '^ *+' conftest.er1 >conftest.err
95672   rm -f conftest.er1
95673   cat conftest.err >&5
95674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95675   (exit $ac_status); } &&
95676          { ac_try='test -z "$ac_cxx_werror_flag"
95677                          || test ! -s conftest.err'
95678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95679   (eval $ac_try) 2>&5
95680   ac_status=$?
95681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95682   (exit $ac_status); }; } &&
95683          { ac_try='test -s conftest.$ac_objext'
95684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95685   (eval $ac_try) 2>&5
95686   ac_status=$?
95687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688   (exit $ac_status); }; }; then
95689   glibcxx_cv_func__logl_use=yes
95690 else
95691   echo "$as_me: failed program was:" >&5
95692 sed 's/^/| /' conftest.$ac_ext >&5
95693
95694 glibcxx_cv_func__logl_use=no
95695 fi
95696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95697       ac_ext=c
95698 ac_cpp='$CPP $CPPFLAGS'
95699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95702
95703
95704 fi
95705
95706   fi
95707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
95708 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
95709
95710     if test x$glibcxx_cv_func__logl_use = x"yes"; then
95711
95712 for ac_func in _logl
95713 do
95714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95715 echo "$as_me:$LINENO: checking for $ac_func" >&5
95716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95717 if eval "test \"\${$as_ac_var+set}\" = set"; then
95718   echo $ECHO_N "(cached) $ECHO_C" >&6
95719 else
95720   if test x$gcc_no_link = xyes; then
95721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95723    { (exit 1); exit 1; }; }
95724 fi
95725 cat >conftest.$ac_ext <<_ACEOF
95726 /* confdefs.h.  */
95727 _ACEOF
95728 cat confdefs.h >>conftest.$ac_ext
95729 cat >>conftest.$ac_ext <<_ACEOF
95730 /* end confdefs.h.  */
95731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95733 #define $ac_func innocuous_$ac_func
95734
95735 /* System header to define __stub macros and hopefully few prototypes,
95736     which can conflict with char $ac_func (); below.
95737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95738     <limits.h> exists even on freestanding compilers.  */
95739
95740 #ifdef __STDC__
95741 # include <limits.h>
95742 #else
95743 # include <assert.h>
95744 #endif
95745
95746 #undef $ac_func
95747
95748 /* Override any gcc2 internal prototype to avoid an error.  */
95749 #ifdef __cplusplus
95750 extern "C"
95751 {
95752 #endif
95753 /* We use char because int might match the return type of a gcc2
95754    builtin and then its argument prototype would still apply.  */
95755 char $ac_func ();
95756 /* The GNU C library defines this for functions which it implements
95757     to always fail with ENOSYS.  Some functions are actually named
95758     something starting with __ and the normal name is an alias.  */
95759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95760 choke me
95761 #else
95762 char (*f) () = $ac_func;
95763 #endif
95764 #ifdef __cplusplus
95765 }
95766 #endif
95767
95768 int
95769 main ()
95770 {
95771 return f != $ac_func;
95772   ;
95773   return 0;
95774 }
95775 _ACEOF
95776 rm -f conftest.$ac_objext conftest$ac_exeext
95777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95778   (eval $ac_link) 2>conftest.er1
95779   ac_status=$?
95780   grep -v '^ *+' conftest.er1 >conftest.err
95781   rm -f conftest.er1
95782   cat conftest.err >&5
95783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95784   (exit $ac_status); } &&
95785          { ac_try='test -z "$ac_c_werror_flag"
95786                          || test ! -s conftest.err'
95787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95788   (eval $ac_try) 2>&5
95789   ac_status=$?
95790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95791   (exit $ac_status); }; } &&
95792          { ac_try='test -s conftest$ac_exeext'
95793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95794   (eval $ac_try) 2>&5
95795   ac_status=$?
95796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95797   (exit $ac_status); }; }; then
95798   eval "$as_ac_var=yes"
95799 else
95800   echo "$as_me: failed program was:" >&5
95801 sed 's/^/| /' conftest.$ac_ext >&5
95802
95803 eval "$as_ac_var=no"
95804 fi
95805 rm -f conftest.err conftest.$ac_objext \
95806       conftest$ac_exeext conftest.$ac_ext
95807 fi
95808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95810 if test `eval echo '${'$as_ac_var'}'` = yes; then
95811   cat >>confdefs.h <<_ACEOF
95812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95813 _ACEOF
95814
95815 fi
95816 done
95817
95818     fi
95819   fi
95820
95821
95822
95823
95824
95825
95826   echo "$as_me:$LINENO: checking for log10l declaration" >&5
95827 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
95828   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
95829     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
95830   echo $ECHO_N "(cached) $ECHO_C" >&6
95831 else
95832
95833
95834
95835       ac_ext=cc
95836 ac_cpp='$CXXCPP $CPPFLAGS'
95837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95840
95841       cat >conftest.$ac_ext <<_ACEOF
95842 /* confdefs.h.  */
95843 _ACEOF
95844 cat confdefs.h >>conftest.$ac_ext
95845 cat >>conftest.$ac_ext <<_ACEOF
95846 /* end confdefs.h.  */
95847 #include <math.h>
95848                       #ifdef HAVE_IEEEFP_H
95849                       #include <ieeefp.h>
95850                       #endif
95851
95852 int
95853 main ()
95854 {
95855  log10l(0);
95856   ;
95857   return 0;
95858 }
95859 _ACEOF
95860 rm -f conftest.$ac_objext
95861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95862   (eval $ac_compile) 2>conftest.er1
95863   ac_status=$?
95864   grep -v '^ *+' conftest.er1 >conftest.err
95865   rm -f conftest.er1
95866   cat conftest.err >&5
95867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95868   (exit $ac_status); } &&
95869          { ac_try='test -z "$ac_cxx_werror_flag"
95870                          || test ! -s conftest.err'
95871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95872   (eval $ac_try) 2>&5
95873   ac_status=$?
95874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95875   (exit $ac_status); }; } &&
95876          { ac_try='test -s conftest.$ac_objext'
95877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95878   (eval $ac_try) 2>&5
95879   ac_status=$?
95880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95881   (exit $ac_status); }; }; then
95882   glibcxx_cv_func_log10l_use=yes
95883 else
95884   echo "$as_me: failed program was:" >&5
95885 sed 's/^/| /' conftest.$ac_ext >&5
95886
95887 glibcxx_cv_func_log10l_use=no
95888 fi
95889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95890       ac_ext=c
95891 ac_cpp='$CPP $CPPFLAGS'
95892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95895
95896
95897 fi
95898
95899   fi
95900   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
95901 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
95902
95903   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
95904
95905 for ac_func in log10l
95906 do
95907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95908 echo "$as_me:$LINENO: checking for $ac_func" >&5
95909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95910 if eval "test \"\${$as_ac_var+set}\" = set"; then
95911   echo $ECHO_N "(cached) $ECHO_C" >&6
95912 else
95913   if test x$gcc_no_link = xyes; then
95914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95916    { (exit 1); exit 1; }; }
95917 fi
95918 cat >conftest.$ac_ext <<_ACEOF
95919 /* confdefs.h.  */
95920 _ACEOF
95921 cat confdefs.h >>conftest.$ac_ext
95922 cat >>conftest.$ac_ext <<_ACEOF
95923 /* end confdefs.h.  */
95924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95926 #define $ac_func innocuous_$ac_func
95927
95928 /* System header to define __stub macros and hopefully few prototypes,
95929     which can conflict with char $ac_func (); below.
95930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95931     <limits.h> exists even on freestanding compilers.  */
95932
95933 #ifdef __STDC__
95934 # include <limits.h>
95935 #else
95936 # include <assert.h>
95937 #endif
95938
95939 #undef $ac_func
95940
95941 /* Override any gcc2 internal prototype to avoid an error.  */
95942 #ifdef __cplusplus
95943 extern "C"
95944 {
95945 #endif
95946 /* We use char because int might match the return type of a gcc2
95947    builtin and then its argument prototype would still apply.  */
95948 char $ac_func ();
95949 /* The GNU C library defines this for functions which it implements
95950     to always fail with ENOSYS.  Some functions are actually named
95951     something starting with __ and the normal name is an alias.  */
95952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95953 choke me
95954 #else
95955 char (*f) () = $ac_func;
95956 #endif
95957 #ifdef __cplusplus
95958 }
95959 #endif
95960
95961 int
95962 main ()
95963 {
95964 return f != $ac_func;
95965   ;
95966   return 0;
95967 }
95968 _ACEOF
95969 rm -f conftest.$ac_objext conftest$ac_exeext
95970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95971   (eval $ac_link) 2>conftest.er1
95972   ac_status=$?
95973   grep -v '^ *+' conftest.er1 >conftest.err
95974   rm -f conftest.er1
95975   cat conftest.err >&5
95976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95977   (exit $ac_status); } &&
95978          { ac_try='test -z "$ac_c_werror_flag"
95979                          || test ! -s conftest.err'
95980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95981   (eval $ac_try) 2>&5
95982   ac_status=$?
95983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95984   (exit $ac_status); }; } &&
95985          { ac_try='test -s conftest$ac_exeext'
95986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95987   (eval $ac_try) 2>&5
95988   ac_status=$?
95989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95990   (exit $ac_status); }; }; then
95991   eval "$as_ac_var=yes"
95992 else
95993   echo "$as_me: failed program was:" >&5
95994 sed 's/^/| /' conftest.$ac_ext >&5
95995
95996 eval "$as_ac_var=no"
95997 fi
95998 rm -f conftest.err conftest.$ac_objext \
95999       conftest$ac_exeext conftest.$ac_ext
96000 fi
96001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96003 if test `eval echo '${'$as_ac_var'}'` = yes; then
96004   cat >>confdefs.h <<_ACEOF
96005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96006 _ACEOF
96007
96008 fi
96009 done
96010
96011   else
96012
96013   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
96014 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
96015   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
96016     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
96017   echo $ECHO_N "(cached) $ECHO_C" >&6
96018 else
96019
96020
96021
96022       ac_ext=cc
96023 ac_cpp='$CXXCPP $CPPFLAGS'
96024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96027
96028       cat >conftest.$ac_ext <<_ACEOF
96029 /* confdefs.h.  */
96030 _ACEOF
96031 cat confdefs.h >>conftest.$ac_ext
96032 cat >>conftest.$ac_ext <<_ACEOF
96033 /* end confdefs.h.  */
96034 #include <math.h>
96035                       #ifdef HAVE_IEEEFP_H
96036                       #include <ieeefp.h>
96037                       #endif
96038
96039 int
96040 main ()
96041 {
96042  _log10l(0);
96043   ;
96044   return 0;
96045 }
96046 _ACEOF
96047 rm -f conftest.$ac_objext
96048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96049   (eval $ac_compile) 2>conftest.er1
96050   ac_status=$?
96051   grep -v '^ *+' conftest.er1 >conftest.err
96052   rm -f conftest.er1
96053   cat conftest.err >&5
96054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96055   (exit $ac_status); } &&
96056          { ac_try='test -z "$ac_cxx_werror_flag"
96057                          || test ! -s conftest.err'
96058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96059   (eval $ac_try) 2>&5
96060   ac_status=$?
96061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96062   (exit $ac_status); }; } &&
96063          { ac_try='test -s conftest.$ac_objext'
96064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96065   (eval $ac_try) 2>&5
96066   ac_status=$?
96067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96068   (exit $ac_status); }; }; then
96069   glibcxx_cv_func__log10l_use=yes
96070 else
96071   echo "$as_me: failed program was:" >&5
96072 sed 's/^/| /' conftest.$ac_ext >&5
96073
96074 glibcxx_cv_func__log10l_use=no
96075 fi
96076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96077       ac_ext=c
96078 ac_cpp='$CPP $CPPFLAGS'
96079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96082
96083
96084 fi
96085
96086   fi
96087   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
96088 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
96089
96090     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
96091
96092 for ac_func in _log10l
96093 do
96094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96095 echo "$as_me:$LINENO: checking for $ac_func" >&5
96096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96097 if eval "test \"\${$as_ac_var+set}\" = set"; then
96098   echo $ECHO_N "(cached) $ECHO_C" >&6
96099 else
96100   if test x$gcc_no_link = xyes; then
96101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96103    { (exit 1); exit 1; }; }
96104 fi
96105 cat >conftest.$ac_ext <<_ACEOF
96106 /* confdefs.h.  */
96107 _ACEOF
96108 cat confdefs.h >>conftest.$ac_ext
96109 cat >>conftest.$ac_ext <<_ACEOF
96110 /* end confdefs.h.  */
96111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96113 #define $ac_func innocuous_$ac_func
96114
96115 /* System header to define __stub macros and hopefully few prototypes,
96116     which can conflict with char $ac_func (); below.
96117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96118     <limits.h> exists even on freestanding compilers.  */
96119
96120 #ifdef __STDC__
96121 # include <limits.h>
96122 #else
96123 # include <assert.h>
96124 #endif
96125
96126 #undef $ac_func
96127
96128 /* Override any gcc2 internal prototype to avoid an error.  */
96129 #ifdef __cplusplus
96130 extern "C"
96131 {
96132 #endif
96133 /* We use char because int might match the return type of a gcc2
96134    builtin and then its argument prototype would still apply.  */
96135 char $ac_func ();
96136 /* The GNU C library defines this for functions which it implements
96137     to always fail with ENOSYS.  Some functions are actually named
96138     something starting with __ and the normal name is an alias.  */
96139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96140 choke me
96141 #else
96142 char (*f) () = $ac_func;
96143 #endif
96144 #ifdef __cplusplus
96145 }
96146 #endif
96147
96148 int
96149 main ()
96150 {
96151 return f != $ac_func;
96152   ;
96153   return 0;
96154 }
96155 _ACEOF
96156 rm -f conftest.$ac_objext conftest$ac_exeext
96157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96158   (eval $ac_link) 2>conftest.er1
96159   ac_status=$?
96160   grep -v '^ *+' conftest.er1 >conftest.err
96161   rm -f conftest.er1
96162   cat conftest.err >&5
96163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96164   (exit $ac_status); } &&
96165          { ac_try='test -z "$ac_c_werror_flag"
96166                          || test ! -s conftest.err'
96167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96168   (eval $ac_try) 2>&5
96169   ac_status=$?
96170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96171   (exit $ac_status); }; } &&
96172          { ac_try='test -s conftest$ac_exeext'
96173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96174   (eval $ac_try) 2>&5
96175   ac_status=$?
96176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96177   (exit $ac_status); }; }; then
96178   eval "$as_ac_var=yes"
96179 else
96180   echo "$as_me: failed program was:" >&5
96181 sed 's/^/| /' conftest.$ac_ext >&5
96182
96183 eval "$as_ac_var=no"
96184 fi
96185 rm -f conftest.err conftest.$ac_objext \
96186       conftest$ac_exeext conftest.$ac_ext
96187 fi
96188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96190 if test `eval echo '${'$as_ac_var'}'` = yes; then
96191   cat >>confdefs.h <<_ACEOF
96192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96193 _ACEOF
96194
96195 fi
96196 done
96197
96198     fi
96199   fi
96200
96201
96202
96203
96204
96205
96206   echo "$as_me:$LINENO: checking for modfl declaration" >&5
96207 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
96208   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
96209     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
96210   echo $ECHO_N "(cached) $ECHO_C" >&6
96211 else
96212
96213
96214
96215       ac_ext=cc
96216 ac_cpp='$CXXCPP $CPPFLAGS'
96217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96220
96221       cat >conftest.$ac_ext <<_ACEOF
96222 /* confdefs.h.  */
96223 _ACEOF
96224 cat confdefs.h >>conftest.$ac_ext
96225 cat >>conftest.$ac_ext <<_ACEOF
96226 /* end confdefs.h.  */
96227 #include <math.h>
96228 int
96229 main ()
96230 {
96231  modfl(0, 0);
96232   ;
96233   return 0;
96234 }
96235 _ACEOF
96236 rm -f conftest.$ac_objext
96237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96238   (eval $ac_compile) 2>conftest.er1
96239   ac_status=$?
96240   grep -v '^ *+' conftest.er1 >conftest.err
96241   rm -f conftest.er1
96242   cat conftest.err >&5
96243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96244   (exit $ac_status); } &&
96245          { ac_try='test -z "$ac_cxx_werror_flag"
96246                          || test ! -s conftest.err'
96247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96248   (eval $ac_try) 2>&5
96249   ac_status=$?
96250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96251   (exit $ac_status); }; } &&
96252          { ac_try='test -s conftest.$ac_objext'
96253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96254   (eval $ac_try) 2>&5
96255   ac_status=$?
96256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96257   (exit $ac_status); }; }; then
96258   glibcxx_cv_func_modfl_use=yes
96259 else
96260   echo "$as_me: failed program was:" >&5
96261 sed 's/^/| /' conftest.$ac_ext >&5
96262
96263 glibcxx_cv_func_modfl_use=no
96264 fi
96265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96266       ac_ext=c
96267 ac_cpp='$CPP $CPPFLAGS'
96268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96271
96272
96273 fi
96274
96275   fi
96276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
96277 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
96278
96279   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
96280
96281 for ac_func in modfl
96282 do
96283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96284 echo "$as_me:$LINENO: checking for $ac_func" >&5
96285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96286 if eval "test \"\${$as_ac_var+set}\" = set"; then
96287   echo $ECHO_N "(cached) $ECHO_C" >&6
96288 else
96289   if test x$gcc_no_link = xyes; then
96290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96292    { (exit 1); exit 1; }; }
96293 fi
96294 cat >conftest.$ac_ext <<_ACEOF
96295 /* confdefs.h.  */
96296 _ACEOF
96297 cat confdefs.h >>conftest.$ac_ext
96298 cat >>conftest.$ac_ext <<_ACEOF
96299 /* end confdefs.h.  */
96300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96302 #define $ac_func innocuous_$ac_func
96303
96304 /* System header to define __stub macros and hopefully few prototypes,
96305     which can conflict with char $ac_func (); below.
96306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96307     <limits.h> exists even on freestanding compilers.  */
96308
96309 #ifdef __STDC__
96310 # include <limits.h>
96311 #else
96312 # include <assert.h>
96313 #endif
96314
96315 #undef $ac_func
96316
96317 /* Override any gcc2 internal prototype to avoid an error.  */
96318 #ifdef __cplusplus
96319 extern "C"
96320 {
96321 #endif
96322 /* We use char because int might match the return type of a gcc2
96323    builtin and then its argument prototype would still apply.  */
96324 char $ac_func ();
96325 /* The GNU C library defines this for functions which it implements
96326     to always fail with ENOSYS.  Some functions are actually named
96327     something starting with __ and the normal name is an alias.  */
96328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96329 choke me
96330 #else
96331 char (*f) () = $ac_func;
96332 #endif
96333 #ifdef __cplusplus
96334 }
96335 #endif
96336
96337 int
96338 main ()
96339 {
96340 return f != $ac_func;
96341   ;
96342   return 0;
96343 }
96344 _ACEOF
96345 rm -f conftest.$ac_objext conftest$ac_exeext
96346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96347   (eval $ac_link) 2>conftest.er1
96348   ac_status=$?
96349   grep -v '^ *+' conftest.er1 >conftest.err
96350   rm -f conftest.er1
96351   cat conftest.err >&5
96352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96353   (exit $ac_status); } &&
96354          { ac_try='test -z "$ac_c_werror_flag"
96355                          || test ! -s conftest.err'
96356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96357   (eval $ac_try) 2>&5
96358   ac_status=$?
96359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96360   (exit $ac_status); }; } &&
96361          { ac_try='test -s conftest$ac_exeext'
96362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96363   (eval $ac_try) 2>&5
96364   ac_status=$?
96365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96366   (exit $ac_status); }; }; then
96367   eval "$as_ac_var=yes"
96368 else
96369   echo "$as_me: failed program was:" >&5
96370 sed 's/^/| /' conftest.$ac_ext >&5
96371
96372 eval "$as_ac_var=no"
96373 fi
96374 rm -f conftest.err conftest.$ac_objext \
96375       conftest$ac_exeext conftest.$ac_ext
96376 fi
96377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96379 if test `eval echo '${'$as_ac_var'}'` = yes; then
96380   cat >>confdefs.h <<_ACEOF
96381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96382 _ACEOF
96383
96384 fi
96385 done
96386
96387   else
96388
96389   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
96390 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
96391   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
96392     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
96393   echo $ECHO_N "(cached) $ECHO_C" >&6
96394 else
96395
96396
96397
96398       ac_ext=cc
96399 ac_cpp='$CXXCPP $CPPFLAGS'
96400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96403
96404       cat >conftest.$ac_ext <<_ACEOF
96405 /* confdefs.h.  */
96406 _ACEOF
96407 cat confdefs.h >>conftest.$ac_ext
96408 cat >>conftest.$ac_ext <<_ACEOF
96409 /* end confdefs.h.  */
96410 #include <math.h>
96411 int
96412 main ()
96413 {
96414  _modfl(0, 0);
96415   ;
96416   return 0;
96417 }
96418 _ACEOF
96419 rm -f conftest.$ac_objext
96420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96421   (eval $ac_compile) 2>conftest.er1
96422   ac_status=$?
96423   grep -v '^ *+' conftest.er1 >conftest.err
96424   rm -f conftest.er1
96425   cat conftest.err >&5
96426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96427   (exit $ac_status); } &&
96428          { ac_try='test -z "$ac_cxx_werror_flag"
96429                          || test ! -s conftest.err'
96430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96431   (eval $ac_try) 2>&5
96432   ac_status=$?
96433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96434   (exit $ac_status); }; } &&
96435          { ac_try='test -s conftest.$ac_objext'
96436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96437   (eval $ac_try) 2>&5
96438   ac_status=$?
96439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96440   (exit $ac_status); }; }; then
96441   glibcxx_cv_func__modfl_use=yes
96442 else
96443   echo "$as_me: failed program was:" >&5
96444 sed 's/^/| /' conftest.$ac_ext >&5
96445
96446 glibcxx_cv_func__modfl_use=no
96447 fi
96448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96449       ac_ext=c
96450 ac_cpp='$CPP $CPPFLAGS'
96451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96454
96455
96456 fi
96457
96458   fi
96459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
96460 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
96461
96462     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
96463
96464 for ac_func in _modfl
96465 do
96466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96467 echo "$as_me:$LINENO: checking for $ac_func" >&5
96468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96469 if eval "test \"\${$as_ac_var+set}\" = set"; then
96470   echo $ECHO_N "(cached) $ECHO_C" >&6
96471 else
96472   if test x$gcc_no_link = xyes; then
96473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96475    { (exit 1); exit 1; }; }
96476 fi
96477 cat >conftest.$ac_ext <<_ACEOF
96478 /* confdefs.h.  */
96479 _ACEOF
96480 cat confdefs.h >>conftest.$ac_ext
96481 cat >>conftest.$ac_ext <<_ACEOF
96482 /* end confdefs.h.  */
96483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96485 #define $ac_func innocuous_$ac_func
96486
96487 /* System header to define __stub macros and hopefully few prototypes,
96488     which can conflict with char $ac_func (); below.
96489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96490     <limits.h> exists even on freestanding compilers.  */
96491
96492 #ifdef __STDC__
96493 # include <limits.h>
96494 #else
96495 # include <assert.h>
96496 #endif
96497
96498 #undef $ac_func
96499
96500 /* Override any gcc2 internal prototype to avoid an error.  */
96501 #ifdef __cplusplus
96502 extern "C"
96503 {
96504 #endif
96505 /* We use char because int might match the return type of a gcc2
96506    builtin and then its argument prototype would still apply.  */
96507 char $ac_func ();
96508 /* The GNU C library defines this for functions which it implements
96509     to always fail with ENOSYS.  Some functions are actually named
96510     something starting with __ and the normal name is an alias.  */
96511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96512 choke me
96513 #else
96514 char (*f) () = $ac_func;
96515 #endif
96516 #ifdef __cplusplus
96517 }
96518 #endif
96519
96520 int
96521 main ()
96522 {
96523 return f != $ac_func;
96524   ;
96525   return 0;
96526 }
96527 _ACEOF
96528 rm -f conftest.$ac_objext conftest$ac_exeext
96529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96530   (eval $ac_link) 2>conftest.er1
96531   ac_status=$?
96532   grep -v '^ *+' conftest.er1 >conftest.err
96533   rm -f conftest.er1
96534   cat conftest.err >&5
96535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96536   (exit $ac_status); } &&
96537          { ac_try='test -z "$ac_c_werror_flag"
96538                          || test ! -s conftest.err'
96539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96540   (eval $ac_try) 2>&5
96541   ac_status=$?
96542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96543   (exit $ac_status); }; } &&
96544          { ac_try='test -s conftest$ac_exeext'
96545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96546   (eval $ac_try) 2>&5
96547   ac_status=$?
96548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96549   (exit $ac_status); }; }; then
96550   eval "$as_ac_var=yes"
96551 else
96552   echo "$as_me: failed program was:" >&5
96553 sed 's/^/| /' conftest.$ac_ext >&5
96554
96555 eval "$as_ac_var=no"
96556 fi
96557 rm -f conftest.err conftest.$ac_objext \
96558       conftest$ac_exeext conftest.$ac_ext
96559 fi
96560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96562 if test `eval echo '${'$as_ac_var'}'` = yes; then
96563   cat >>confdefs.h <<_ACEOF
96564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96565 _ACEOF
96566
96567 fi
96568 done
96569
96570     fi
96571   fi
96572
96573
96574
96575
96576
96577
96578   echo "$as_me:$LINENO: checking for powl declaration" >&5
96579 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
96580   if test x${glibcxx_cv_func_powl_use+set} != xset; then
96581     if test "${glibcxx_cv_func_powl_use+set}" = set; then
96582   echo $ECHO_N "(cached) $ECHO_C" >&6
96583 else
96584
96585
96586
96587       ac_ext=cc
96588 ac_cpp='$CXXCPP $CPPFLAGS'
96589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96592
96593       cat >conftest.$ac_ext <<_ACEOF
96594 /* confdefs.h.  */
96595 _ACEOF
96596 cat confdefs.h >>conftest.$ac_ext
96597 cat >>conftest.$ac_ext <<_ACEOF
96598 /* end confdefs.h.  */
96599 #include <math.h>
96600 int
96601 main ()
96602 {
96603  powl(0, 0);
96604   ;
96605   return 0;
96606 }
96607 _ACEOF
96608 rm -f conftest.$ac_objext
96609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96610   (eval $ac_compile) 2>conftest.er1
96611   ac_status=$?
96612   grep -v '^ *+' conftest.er1 >conftest.err
96613   rm -f conftest.er1
96614   cat conftest.err >&5
96615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96616   (exit $ac_status); } &&
96617          { ac_try='test -z "$ac_cxx_werror_flag"
96618                          || test ! -s conftest.err'
96619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96620   (eval $ac_try) 2>&5
96621   ac_status=$?
96622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96623   (exit $ac_status); }; } &&
96624          { ac_try='test -s conftest.$ac_objext'
96625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96626   (eval $ac_try) 2>&5
96627   ac_status=$?
96628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96629   (exit $ac_status); }; }; then
96630   glibcxx_cv_func_powl_use=yes
96631 else
96632   echo "$as_me: failed program was:" >&5
96633 sed 's/^/| /' conftest.$ac_ext >&5
96634
96635 glibcxx_cv_func_powl_use=no
96636 fi
96637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96638       ac_ext=c
96639 ac_cpp='$CPP $CPPFLAGS'
96640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96643
96644
96645 fi
96646
96647   fi
96648   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
96649 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
96650
96651   if test x$glibcxx_cv_func_powl_use = x"yes"; then
96652
96653 for ac_func in powl
96654 do
96655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96656 echo "$as_me:$LINENO: checking for $ac_func" >&5
96657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96658 if eval "test \"\${$as_ac_var+set}\" = set"; then
96659   echo $ECHO_N "(cached) $ECHO_C" >&6
96660 else
96661   if test x$gcc_no_link = xyes; then
96662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96664    { (exit 1); exit 1; }; }
96665 fi
96666 cat >conftest.$ac_ext <<_ACEOF
96667 /* confdefs.h.  */
96668 _ACEOF
96669 cat confdefs.h >>conftest.$ac_ext
96670 cat >>conftest.$ac_ext <<_ACEOF
96671 /* end confdefs.h.  */
96672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96674 #define $ac_func innocuous_$ac_func
96675
96676 /* System header to define __stub macros and hopefully few prototypes,
96677     which can conflict with char $ac_func (); below.
96678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96679     <limits.h> exists even on freestanding compilers.  */
96680
96681 #ifdef __STDC__
96682 # include <limits.h>
96683 #else
96684 # include <assert.h>
96685 #endif
96686
96687 #undef $ac_func
96688
96689 /* Override any gcc2 internal prototype to avoid an error.  */
96690 #ifdef __cplusplus
96691 extern "C"
96692 {
96693 #endif
96694 /* We use char because int might match the return type of a gcc2
96695    builtin and then its argument prototype would still apply.  */
96696 char $ac_func ();
96697 /* The GNU C library defines this for functions which it implements
96698     to always fail with ENOSYS.  Some functions are actually named
96699     something starting with __ and the normal name is an alias.  */
96700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96701 choke me
96702 #else
96703 char (*f) () = $ac_func;
96704 #endif
96705 #ifdef __cplusplus
96706 }
96707 #endif
96708
96709 int
96710 main ()
96711 {
96712 return f != $ac_func;
96713   ;
96714   return 0;
96715 }
96716 _ACEOF
96717 rm -f conftest.$ac_objext conftest$ac_exeext
96718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96719   (eval $ac_link) 2>conftest.er1
96720   ac_status=$?
96721   grep -v '^ *+' conftest.er1 >conftest.err
96722   rm -f conftest.er1
96723   cat conftest.err >&5
96724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96725   (exit $ac_status); } &&
96726          { ac_try='test -z "$ac_c_werror_flag"
96727                          || test ! -s conftest.err'
96728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96729   (eval $ac_try) 2>&5
96730   ac_status=$?
96731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96732   (exit $ac_status); }; } &&
96733          { ac_try='test -s conftest$ac_exeext'
96734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96735   (eval $ac_try) 2>&5
96736   ac_status=$?
96737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96738   (exit $ac_status); }; }; then
96739   eval "$as_ac_var=yes"
96740 else
96741   echo "$as_me: failed program was:" >&5
96742 sed 's/^/| /' conftest.$ac_ext >&5
96743
96744 eval "$as_ac_var=no"
96745 fi
96746 rm -f conftest.err conftest.$ac_objext \
96747       conftest$ac_exeext conftest.$ac_ext
96748 fi
96749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96751 if test `eval echo '${'$as_ac_var'}'` = yes; then
96752   cat >>confdefs.h <<_ACEOF
96753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96754 _ACEOF
96755
96756 fi
96757 done
96758
96759   else
96760
96761   echo "$as_me:$LINENO: checking for _powl declaration" >&5
96762 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
96763   if test x${glibcxx_cv_func__powl_use+set} != xset; then
96764     if test "${glibcxx_cv_func__powl_use+set}" = set; then
96765   echo $ECHO_N "(cached) $ECHO_C" >&6
96766 else
96767
96768
96769
96770       ac_ext=cc
96771 ac_cpp='$CXXCPP $CPPFLAGS'
96772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96775
96776       cat >conftest.$ac_ext <<_ACEOF
96777 /* confdefs.h.  */
96778 _ACEOF
96779 cat confdefs.h >>conftest.$ac_ext
96780 cat >>conftest.$ac_ext <<_ACEOF
96781 /* end confdefs.h.  */
96782 #include <math.h>
96783 int
96784 main ()
96785 {
96786  _powl(0, 0);
96787   ;
96788   return 0;
96789 }
96790 _ACEOF
96791 rm -f conftest.$ac_objext
96792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96793   (eval $ac_compile) 2>conftest.er1
96794   ac_status=$?
96795   grep -v '^ *+' conftest.er1 >conftest.err
96796   rm -f conftest.er1
96797   cat conftest.err >&5
96798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96799   (exit $ac_status); } &&
96800          { ac_try='test -z "$ac_cxx_werror_flag"
96801                          || test ! -s conftest.err'
96802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96803   (eval $ac_try) 2>&5
96804   ac_status=$?
96805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96806   (exit $ac_status); }; } &&
96807          { ac_try='test -s conftest.$ac_objext'
96808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96809   (eval $ac_try) 2>&5
96810   ac_status=$?
96811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96812   (exit $ac_status); }; }; then
96813   glibcxx_cv_func__powl_use=yes
96814 else
96815   echo "$as_me: failed program was:" >&5
96816 sed 's/^/| /' conftest.$ac_ext >&5
96817
96818 glibcxx_cv_func__powl_use=no
96819 fi
96820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96821       ac_ext=c
96822 ac_cpp='$CPP $CPPFLAGS'
96823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96826
96827
96828 fi
96829
96830   fi
96831   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
96832 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
96833
96834     if test x$glibcxx_cv_func__powl_use = x"yes"; then
96835
96836 for ac_func in _powl
96837 do
96838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96839 echo "$as_me:$LINENO: checking for $ac_func" >&5
96840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96841 if eval "test \"\${$as_ac_var+set}\" = set"; then
96842   echo $ECHO_N "(cached) $ECHO_C" >&6
96843 else
96844   if test x$gcc_no_link = xyes; then
96845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96847    { (exit 1); exit 1; }; }
96848 fi
96849 cat >conftest.$ac_ext <<_ACEOF
96850 /* confdefs.h.  */
96851 _ACEOF
96852 cat confdefs.h >>conftest.$ac_ext
96853 cat >>conftest.$ac_ext <<_ACEOF
96854 /* end confdefs.h.  */
96855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96857 #define $ac_func innocuous_$ac_func
96858
96859 /* System header to define __stub macros and hopefully few prototypes,
96860     which can conflict with char $ac_func (); below.
96861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96862     <limits.h> exists even on freestanding compilers.  */
96863
96864 #ifdef __STDC__
96865 # include <limits.h>
96866 #else
96867 # include <assert.h>
96868 #endif
96869
96870 #undef $ac_func
96871
96872 /* Override any gcc2 internal prototype to avoid an error.  */
96873 #ifdef __cplusplus
96874 extern "C"
96875 {
96876 #endif
96877 /* We use char because int might match the return type of a gcc2
96878    builtin and then its argument prototype would still apply.  */
96879 char $ac_func ();
96880 /* The GNU C library defines this for functions which it implements
96881     to always fail with ENOSYS.  Some functions are actually named
96882     something starting with __ and the normal name is an alias.  */
96883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96884 choke me
96885 #else
96886 char (*f) () = $ac_func;
96887 #endif
96888 #ifdef __cplusplus
96889 }
96890 #endif
96891
96892 int
96893 main ()
96894 {
96895 return f != $ac_func;
96896   ;
96897   return 0;
96898 }
96899 _ACEOF
96900 rm -f conftest.$ac_objext conftest$ac_exeext
96901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96902   (eval $ac_link) 2>conftest.er1
96903   ac_status=$?
96904   grep -v '^ *+' conftest.er1 >conftest.err
96905   rm -f conftest.er1
96906   cat conftest.err >&5
96907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96908   (exit $ac_status); } &&
96909          { ac_try='test -z "$ac_c_werror_flag"
96910                          || test ! -s conftest.err'
96911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96912   (eval $ac_try) 2>&5
96913   ac_status=$?
96914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96915   (exit $ac_status); }; } &&
96916          { ac_try='test -s conftest$ac_exeext'
96917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96918   (eval $ac_try) 2>&5
96919   ac_status=$?
96920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96921   (exit $ac_status); }; }; then
96922   eval "$as_ac_var=yes"
96923 else
96924   echo "$as_me: failed program was:" >&5
96925 sed 's/^/| /' conftest.$ac_ext >&5
96926
96927 eval "$as_ac_var=no"
96928 fi
96929 rm -f conftest.err conftest.$ac_objext \
96930       conftest$ac_exeext conftest.$ac_ext
96931 fi
96932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96934 if test `eval echo '${'$as_ac_var'}'` = yes; then
96935   cat >>confdefs.h <<_ACEOF
96936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96937 _ACEOF
96938
96939 fi
96940 done
96941
96942     fi
96943   fi
96944
96945
96946
96947
96948
96949
96950   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
96951 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
96952   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
96953     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
96954   echo $ECHO_N "(cached) $ECHO_C" >&6
96955 else
96956
96957
96958
96959       ac_ext=cc
96960 ac_cpp='$CXXCPP $CPPFLAGS'
96961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96964
96965       cat >conftest.$ac_ext <<_ACEOF
96966 /* confdefs.h.  */
96967 _ACEOF
96968 cat confdefs.h >>conftest.$ac_ext
96969 cat >>conftest.$ac_ext <<_ACEOF
96970 /* end confdefs.h.  */
96971 #include <math.h>
96972                       #ifdef HAVE_IEEEFP_H
96973                       #include <ieeefp.h>
96974                       #endif
96975
96976 int
96977 main ()
96978 {
96979  sqrtl(0);
96980   ;
96981   return 0;
96982 }
96983 _ACEOF
96984 rm -f conftest.$ac_objext
96985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96986   (eval $ac_compile) 2>conftest.er1
96987   ac_status=$?
96988   grep -v '^ *+' conftest.er1 >conftest.err
96989   rm -f conftest.er1
96990   cat conftest.err >&5
96991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96992   (exit $ac_status); } &&
96993          { ac_try='test -z "$ac_cxx_werror_flag"
96994                          || test ! -s conftest.err'
96995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96996   (eval $ac_try) 2>&5
96997   ac_status=$?
96998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96999   (exit $ac_status); }; } &&
97000          { ac_try='test -s conftest.$ac_objext'
97001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97002   (eval $ac_try) 2>&5
97003   ac_status=$?
97004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97005   (exit $ac_status); }; }; then
97006   glibcxx_cv_func_sqrtl_use=yes
97007 else
97008   echo "$as_me: failed program was:" >&5
97009 sed 's/^/| /' conftest.$ac_ext >&5
97010
97011 glibcxx_cv_func_sqrtl_use=no
97012 fi
97013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97014       ac_ext=c
97015 ac_cpp='$CPP $CPPFLAGS'
97016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97019
97020
97021 fi
97022
97023   fi
97024   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
97025 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
97026
97027   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
97028
97029 for ac_func in sqrtl
97030 do
97031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97032 echo "$as_me:$LINENO: checking for $ac_func" >&5
97033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97034 if eval "test \"\${$as_ac_var+set}\" = set"; then
97035   echo $ECHO_N "(cached) $ECHO_C" >&6
97036 else
97037   if test x$gcc_no_link = xyes; then
97038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97040    { (exit 1); exit 1; }; }
97041 fi
97042 cat >conftest.$ac_ext <<_ACEOF
97043 /* confdefs.h.  */
97044 _ACEOF
97045 cat confdefs.h >>conftest.$ac_ext
97046 cat >>conftest.$ac_ext <<_ACEOF
97047 /* end confdefs.h.  */
97048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97050 #define $ac_func innocuous_$ac_func
97051
97052 /* System header to define __stub macros and hopefully few prototypes,
97053     which can conflict with char $ac_func (); below.
97054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97055     <limits.h> exists even on freestanding compilers.  */
97056
97057 #ifdef __STDC__
97058 # include <limits.h>
97059 #else
97060 # include <assert.h>
97061 #endif
97062
97063 #undef $ac_func
97064
97065 /* Override any gcc2 internal prototype to avoid an error.  */
97066 #ifdef __cplusplus
97067 extern "C"
97068 {
97069 #endif
97070 /* We use char because int might match the return type of a gcc2
97071    builtin and then its argument prototype would still apply.  */
97072 char $ac_func ();
97073 /* The GNU C library defines this for functions which it implements
97074     to always fail with ENOSYS.  Some functions are actually named
97075     something starting with __ and the normal name is an alias.  */
97076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97077 choke me
97078 #else
97079 char (*f) () = $ac_func;
97080 #endif
97081 #ifdef __cplusplus
97082 }
97083 #endif
97084
97085 int
97086 main ()
97087 {
97088 return f != $ac_func;
97089   ;
97090   return 0;
97091 }
97092 _ACEOF
97093 rm -f conftest.$ac_objext conftest$ac_exeext
97094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97095   (eval $ac_link) 2>conftest.er1
97096   ac_status=$?
97097   grep -v '^ *+' conftest.er1 >conftest.err
97098   rm -f conftest.er1
97099   cat conftest.err >&5
97100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97101   (exit $ac_status); } &&
97102          { ac_try='test -z "$ac_c_werror_flag"
97103                          || test ! -s conftest.err'
97104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97105   (eval $ac_try) 2>&5
97106   ac_status=$?
97107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97108   (exit $ac_status); }; } &&
97109          { ac_try='test -s conftest$ac_exeext'
97110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97111   (eval $ac_try) 2>&5
97112   ac_status=$?
97113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97114   (exit $ac_status); }; }; then
97115   eval "$as_ac_var=yes"
97116 else
97117   echo "$as_me: failed program was:" >&5
97118 sed 's/^/| /' conftest.$ac_ext >&5
97119
97120 eval "$as_ac_var=no"
97121 fi
97122 rm -f conftest.err conftest.$ac_objext \
97123       conftest$ac_exeext conftest.$ac_ext
97124 fi
97125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97127 if test `eval echo '${'$as_ac_var'}'` = yes; then
97128   cat >>confdefs.h <<_ACEOF
97129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97130 _ACEOF
97131
97132 fi
97133 done
97134
97135   else
97136
97137   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
97138 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
97139   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
97140     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
97141   echo $ECHO_N "(cached) $ECHO_C" >&6
97142 else
97143
97144
97145
97146       ac_ext=cc
97147 ac_cpp='$CXXCPP $CPPFLAGS'
97148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97151
97152       cat >conftest.$ac_ext <<_ACEOF
97153 /* confdefs.h.  */
97154 _ACEOF
97155 cat confdefs.h >>conftest.$ac_ext
97156 cat >>conftest.$ac_ext <<_ACEOF
97157 /* end confdefs.h.  */
97158 #include <math.h>
97159                       #ifdef HAVE_IEEEFP_H
97160                       #include <ieeefp.h>
97161                       #endif
97162
97163 int
97164 main ()
97165 {
97166  _sqrtl(0);
97167   ;
97168   return 0;
97169 }
97170 _ACEOF
97171 rm -f conftest.$ac_objext
97172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97173   (eval $ac_compile) 2>conftest.er1
97174   ac_status=$?
97175   grep -v '^ *+' conftest.er1 >conftest.err
97176   rm -f conftest.er1
97177   cat conftest.err >&5
97178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97179   (exit $ac_status); } &&
97180          { ac_try='test -z "$ac_cxx_werror_flag"
97181                          || test ! -s conftest.err'
97182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97183   (eval $ac_try) 2>&5
97184   ac_status=$?
97185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97186   (exit $ac_status); }; } &&
97187          { ac_try='test -s conftest.$ac_objext'
97188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97189   (eval $ac_try) 2>&5
97190   ac_status=$?
97191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97192   (exit $ac_status); }; }; then
97193   glibcxx_cv_func__sqrtl_use=yes
97194 else
97195   echo "$as_me: failed program was:" >&5
97196 sed 's/^/| /' conftest.$ac_ext >&5
97197
97198 glibcxx_cv_func__sqrtl_use=no
97199 fi
97200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97201       ac_ext=c
97202 ac_cpp='$CPP $CPPFLAGS'
97203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97206
97207
97208 fi
97209
97210   fi
97211   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
97212 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
97213
97214     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
97215
97216 for ac_func in _sqrtl
97217 do
97218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97219 echo "$as_me:$LINENO: checking for $ac_func" >&5
97220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97221 if eval "test \"\${$as_ac_var+set}\" = set"; then
97222   echo $ECHO_N "(cached) $ECHO_C" >&6
97223 else
97224   if test x$gcc_no_link = xyes; then
97225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97227    { (exit 1); exit 1; }; }
97228 fi
97229 cat >conftest.$ac_ext <<_ACEOF
97230 /* confdefs.h.  */
97231 _ACEOF
97232 cat confdefs.h >>conftest.$ac_ext
97233 cat >>conftest.$ac_ext <<_ACEOF
97234 /* end confdefs.h.  */
97235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97237 #define $ac_func innocuous_$ac_func
97238
97239 /* System header to define __stub macros and hopefully few prototypes,
97240     which can conflict with char $ac_func (); below.
97241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97242     <limits.h> exists even on freestanding compilers.  */
97243
97244 #ifdef __STDC__
97245 # include <limits.h>
97246 #else
97247 # include <assert.h>
97248 #endif
97249
97250 #undef $ac_func
97251
97252 /* Override any gcc2 internal prototype to avoid an error.  */
97253 #ifdef __cplusplus
97254 extern "C"
97255 {
97256 #endif
97257 /* We use char because int might match the return type of a gcc2
97258    builtin and then its argument prototype would still apply.  */
97259 char $ac_func ();
97260 /* The GNU C library defines this for functions which it implements
97261     to always fail with ENOSYS.  Some functions are actually named
97262     something starting with __ and the normal name is an alias.  */
97263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97264 choke me
97265 #else
97266 char (*f) () = $ac_func;
97267 #endif
97268 #ifdef __cplusplus
97269 }
97270 #endif
97271
97272 int
97273 main ()
97274 {
97275 return f != $ac_func;
97276   ;
97277   return 0;
97278 }
97279 _ACEOF
97280 rm -f conftest.$ac_objext conftest$ac_exeext
97281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97282   (eval $ac_link) 2>conftest.er1
97283   ac_status=$?
97284   grep -v '^ *+' conftest.er1 >conftest.err
97285   rm -f conftest.er1
97286   cat conftest.err >&5
97287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97288   (exit $ac_status); } &&
97289          { ac_try='test -z "$ac_c_werror_flag"
97290                          || test ! -s conftest.err'
97291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97292   (eval $ac_try) 2>&5
97293   ac_status=$?
97294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97295   (exit $ac_status); }; } &&
97296          { ac_try='test -s conftest$ac_exeext'
97297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97298   (eval $ac_try) 2>&5
97299   ac_status=$?
97300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97301   (exit $ac_status); }; }; then
97302   eval "$as_ac_var=yes"
97303 else
97304   echo "$as_me: failed program was:" >&5
97305 sed 's/^/| /' conftest.$ac_ext >&5
97306
97307 eval "$as_ac_var=no"
97308 fi
97309 rm -f conftest.err conftest.$ac_objext \
97310       conftest$ac_exeext conftest.$ac_ext
97311 fi
97312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97314 if test `eval echo '${'$as_ac_var'}'` = yes; then
97315   cat >>confdefs.h <<_ACEOF
97316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97317 _ACEOF
97318
97319 fi
97320 done
97321
97322     fi
97323   fi
97324
97325
97326
97327
97328
97329
97330   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
97331 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
97332   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
97333     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
97334   echo $ECHO_N "(cached) $ECHO_C" >&6
97335 else
97336
97337
97338
97339       ac_ext=cc
97340 ac_cpp='$CXXCPP $CPPFLAGS'
97341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97344
97345       cat >conftest.$ac_ext <<_ACEOF
97346 /* confdefs.h.  */
97347 _ACEOF
97348 cat confdefs.h >>conftest.$ac_ext
97349 cat >>conftest.$ac_ext <<_ACEOF
97350 /* end confdefs.h.  */
97351 #include <math.h>
97352 int
97353 main ()
97354 {
97355  sincosl(0, 0, 0);
97356   ;
97357   return 0;
97358 }
97359 _ACEOF
97360 rm -f conftest.$ac_objext
97361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97362   (eval $ac_compile) 2>conftest.er1
97363   ac_status=$?
97364   grep -v '^ *+' conftest.er1 >conftest.err
97365   rm -f conftest.er1
97366   cat conftest.err >&5
97367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97368   (exit $ac_status); } &&
97369          { ac_try='test -z "$ac_cxx_werror_flag"
97370                          || test ! -s conftest.err'
97371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97372   (eval $ac_try) 2>&5
97373   ac_status=$?
97374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97375   (exit $ac_status); }; } &&
97376          { ac_try='test -s conftest.$ac_objext'
97377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97378   (eval $ac_try) 2>&5
97379   ac_status=$?
97380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97381   (exit $ac_status); }; }; then
97382   glibcxx_cv_func_sincosl_use=yes
97383 else
97384   echo "$as_me: failed program was:" >&5
97385 sed 's/^/| /' conftest.$ac_ext >&5
97386
97387 glibcxx_cv_func_sincosl_use=no
97388 fi
97389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97390       ac_ext=c
97391 ac_cpp='$CPP $CPPFLAGS'
97392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97395
97396
97397 fi
97398
97399   fi
97400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
97401 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
97402
97403   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
97404
97405 for ac_func in sincosl
97406 do
97407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97408 echo "$as_me:$LINENO: checking for $ac_func" >&5
97409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97410 if eval "test \"\${$as_ac_var+set}\" = set"; then
97411   echo $ECHO_N "(cached) $ECHO_C" >&6
97412 else
97413   if test x$gcc_no_link = xyes; then
97414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97416    { (exit 1); exit 1; }; }
97417 fi
97418 cat >conftest.$ac_ext <<_ACEOF
97419 /* confdefs.h.  */
97420 _ACEOF
97421 cat confdefs.h >>conftest.$ac_ext
97422 cat >>conftest.$ac_ext <<_ACEOF
97423 /* end confdefs.h.  */
97424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97426 #define $ac_func innocuous_$ac_func
97427
97428 /* System header to define __stub macros and hopefully few prototypes,
97429     which can conflict with char $ac_func (); below.
97430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97431     <limits.h> exists even on freestanding compilers.  */
97432
97433 #ifdef __STDC__
97434 # include <limits.h>
97435 #else
97436 # include <assert.h>
97437 #endif
97438
97439 #undef $ac_func
97440
97441 /* Override any gcc2 internal prototype to avoid an error.  */
97442 #ifdef __cplusplus
97443 extern "C"
97444 {
97445 #endif
97446 /* We use char because int might match the return type of a gcc2
97447    builtin and then its argument prototype would still apply.  */
97448 char $ac_func ();
97449 /* The GNU C library defines this for functions which it implements
97450     to always fail with ENOSYS.  Some functions are actually named
97451     something starting with __ and the normal name is an alias.  */
97452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97453 choke me
97454 #else
97455 char (*f) () = $ac_func;
97456 #endif
97457 #ifdef __cplusplus
97458 }
97459 #endif
97460
97461 int
97462 main ()
97463 {
97464 return f != $ac_func;
97465   ;
97466   return 0;
97467 }
97468 _ACEOF
97469 rm -f conftest.$ac_objext conftest$ac_exeext
97470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97471   (eval $ac_link) 2>conftest.er1
97472   ac_status=$?
97473   grep -v '^ *+' conftest.er1 >conftest.err
97474   rm -f conftest.er1
97475   cat conftest.err >&5
97476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97477   (exit $ac_status); } &&
97478          { ac_try='test -z "$ac_c_werror_flag"
97479                          || test ! -s conftest.err'
97480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97481   (eval $ac_try) 2>&5
97482   ac_status=$?
97483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97484   (exit $ac_status); }; } &&
97485          { ac_try='test -s conftest$ac_exeext'
97486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97487   (eval $ac_try) 2>&5
97488   ac_status=$?
97489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97490   (exit $ac_status); }; }; then
97491   eval "$as_ac_var=yes"
97492 else
97493   echo "$as_me: failed program was:" >&5
97494 sed 's/^/| /' conftest.$ac_ext >&5
97495
97496 eval "$as_ac_var=no"
97497 fi
97498 rm -f conftest.err conftest.$ac_objext \
97499       conftest$ac_exeext conftest.$ac_ext
97500 fi
97501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97503 if test `eval echo '${'$as_ac_var'}'` = yes; then
97504   cat >>confdefs.h <<_ACEOF
97505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97506 _ACEOF
97507
97508 fi
97509 done
97510
97511   else
97512
97513   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
97514 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
97515   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
97516     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
97517   echo $ECHO_N "(cached) $ECHO_C" >&6
97518 else
97519
97520
97521
97522       ac_ext=cc
97523 ac_cpp='$CXXCPP $CPPFLAGS'
97524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97527
97528       cat >conftest.$ac_ext <<_ACEOF
97529 /* confdefs.h.  */
97530 _ACEOF
97531 cat confdefs.h >>conftest.$ac_ext
97532 cat >>conftest.$ac_ext <<_ACEOF
97533 /* end confdefs.h.  */
97534 #include <math.h>
97535 int
97536 main ()
97537 {
97538  _sincosl(0, 0, 0);
97539   ;
97540   return 0;
97541 }
97542 _ACEOF
97543 rm -f conftest.$ac_objext
97544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97545   (eval $ac_compile) 2>conftest.er1
97546   ac_status=$?
97547   grep -v '^ *+' conftest.er1 >conftest.err
97548   rm -f conftest.er1
97549   cat conftest.err >&5
97550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97551   (exit $ac_status); } &&
97552          { ac_try='test -z "$ac_cxx_werror_flag"
97553                          || test ! -s conftest.err'
97554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97555   (eval $ac_try) 2>&5
97556   ac_status=$?
97557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97558   (exit $ac_status); }; } &&
97559          { ac_try='test -s conftest.$ac_objext'
97560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97561   (eval $ac_try) 2>&5
97562   ac_status=$?
97563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97564   (exit $ac_status); }; }; then
97565   glibcxx_cv_func__sincosl_use=yes
97566 else
97567   echo "$as_me: failed program was:" >&5
97568 sed 's/^/| /' conftest.$ac_ext >&5
97569
97570 glibcxx_cv_func__sincosl_use=no
97571 fi
97572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97573       ac_ext=c
97574 ac_cpp='$CPP $CPPFLAGS'
97575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97578
97579
97580 fi
97581
97582   fi
97583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
97584 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
97585
97586     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
97587
97588 for ac_func in _sincosl
97589 do
97590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97591 echo "$as_me:$LINENO: checking for $ac_func" >&5
97592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97593 if eval "test \"\${$as_ac_var+set}\" = set"; then
97594   echo $ECHO_N "(cached) $ECHO_C" >&6
97595 else
97596   if test x$gcc_no_link = xyes; then
97597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97599    { (exit 1); exit 1; }; }
97600 fi
97601 cat >conftest.$ac_ext <<_ACEOF
97602 /* confdefs.h.  */
97603 _ACEOF
97604 cat confdefs.h >>conftest.$ac_ext
97605 cat >>conftest.$ac_ext <<_ACEOF
97606 /* end confdefs.h.  */
97607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97609 #define $ac_func innocuous_$ac_func
97610
97611 /* System header to define __stub macros and hopefully few prototypes,
97612     which can conflict with char $ac_func (); below.
97613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97614     <limits.h> exists even on freestanding compilers.  */
97615
97616 #ifdef __STDC__
97617 # include <limits.h>
97618 #else
97619 # include <assert.h>
97620 #endif
97621
97622 #undef $ac_func
97623
97624 /* Override any gcc2 internal prototype to avoid an error.  */
97625 #ifdef __cplusplus
97626 extern "C"
97627 {
97628 #endif
97629 /* We use char because int might match the return type of a gcc2
97630    builtin and then its argument prototype would still apply.  */
97631 char $ac_func ();
97632 /* The GNU C library defines this for functions which it implements
97633     to always fail with ENOSYS.  Some functions are actually named
97634     something starting with __ and the normal name is an alias.  */
97635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97636 choke me
97637 #else
97638 char (*f) () = $ac_func;
97639 #endif
97640 #ifdef __cplusplus
97641 }
97642 #endif
97643
97644 int
97645 main ()
97646 {
97647 return f != $ac_func;
97648   ;
97649   return 0;
97650 }
97651 _ACEOF
97652 rm -f conftest.$ac_objext conftest$ac_exeext
97653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97654   (eval $ac_link) 2>conftest.er1
97655   ac_status=$?
97656   grep -v '^ *+' conftest.er1 >conftest.err
97657   rm -f conftest.er1
97658   cat conftest.err >&5
97659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97660   (exit $ac_status); } &&
97661          { ac_try='test -z "$ac_c_werror_flag"
97662                          || test ! -s conftest.err'
97663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97664   (eval $ac_try) 2>&5
97665   ac_status=$?
97666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97667   (exit $ac_status); }; } &&
97668          { ac_try='test -s conftest$ac_exeext'
97669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97670   (eval $ac_try) 2>&5
97671   ac_status=$?
97672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97673   (exit $ac_status); }; }; then
97674   eval "$as_ac_var=yes"
97675 else
97676   echo "$as_me: failed program was:" >&5
97677 sed 's/^/| /' conftest.$ac_ext >&5
97678
97679 eval "$as_ac_var=no"
97680 fi
97681 rm -f conftest.err conftest.$ac_objext \
97682       conftest$ac_exeext conftest.$ac_ext
97683 fi
97684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97686 if test `eval echo '${'$as_ac_var'}'` = yes; then
97687   cat >>confdefs.h <<_ACEOF
97688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97689 _ACEOF
97690
97691 fi
97692 done
97693
97694     fi
97695   fi
97696
97697
97698
97699
97700
97701
97702   echo "$as_me:$LINENO: checking for finitel declaration" >&5
97703 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
97704   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
97705     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
97706   echo $ECHO_N "(cached) $ECHO_C" >&6
97707 else
97708
97709
97710
97711       ac_ext=cc
97712 ac_cpp='$CXXCPP $CPPFLAGS'
97713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97716
97717       cat >conftest.$ac_ext <<_ACEOF
97718 /* confdefs.h.  */
97719 _ACEOF
97720 cat confdefs.h >>conftest.$ac_ext
97721 cat >>conftest.$ac_ext <<_ACEOF
97722 /* end confdefs.h.  */
97723 #include <math.h>
97724                       #ifdef HAVE_IEEEFP_H
97725                       #include <ieeefp.h>
97726                       #endif
97727
97728 int
97729 main ()
97730 {
97731  finitel(0);
97732   ;
97733   return 0;
97734 }
97735 _ACEOF
97736 rm -f conftest.$ac_objext
97737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97738   (eval $ac_compile) 2>conftest.er1
97739   ac_status=$?
97740   grep -v '^ *+' conftest.er1 >conftest.err
97741   rm -f conftest.er1
97742   cat conftest.err >&5
97743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97744   (exit $ac_status); } &&
97745          { ac_try='test -z "$ac_cxx_werror_flag"
97746                          || test ! -s conftest.err'
97747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97748   (eval $ac_try) 2>&5
97749   ac_status=$?
97750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97751   (exit $ac_status); }; } &&
97752          { ac_try='test -s conftest.$ac_objext'
97753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97754   (eval $ac_try) 2>&5
97755   ac_status=$?
97756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97757   (exit $ac_status); }; }; then
97758   glibcxx_cv_func_finitel_use=yes
97759 else
97760   echo "$as_me: failed program was:" >&5
97761 sed 's/^/| /' conftest.$ac_ext >&5
97762
97763 glibcxx_cv_func_finitel_use=no
97764 fi
97765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97766       ac_ext=c
97767 ac_cpp='$CPP $CPPFLAGS'
97768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97771
97772
97773 fi
97774
97775   fi
97776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
97777 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
97778
97779   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
97780
97781 for ac_func in finitel
97782 do
97783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97784 echo "$as_me:$LINENO: checking for $ac_func" >&5
97785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97786 if eval "test \"\${$as_ac_var+set}\" = set"; then
97787   echo $ECHO_N "(cached) $ECHO_C" >&6
97788 else
97789   if test x$gcc_no_link = xyes; then
97790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97792    { (exit 1); exit 1; }; }
97793 fi
97794 cat >conftest.$ac_ext <<_ACEOF
97795 /* confdefs.h.  */
97796 _ACEOF
97797 cat confdefs.h >>conftest.$ac_ext
97798 cat >>conftest.$ac_ext <<_ACEOF
97799 /* end confdefs.h.  */
97800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97802 #define $ac_func innocuous_$ac_func
97803
97804 /* System header to define __stub macros and hopefully few prototypes,
97805     which can conflict with char $ac_func (); below.
97806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97807     <limits.h> exists even on freestanding compilers.  */
97808
97809 #ifdef __STDC__
97810 # include <limits.h>
97811 #else
97812 # include <assert.h>
97813 #endif
97814
97815 #undef $ac_func
97816
97817 /* Override any gcc2 internal prototype to avoid an error.  */
97818 #ifdef __cplusplus
97819 extern "C"
97820 {
97821 #endif
97822 /* We use char because int might match the return type of a gcc2
97823    builtin and then its argument prototype would still apply.  */
97824 char $ac_func ();
97825 /* The GNU C library defines this for functions which it implements
97826     to always fail with ENOSYS.  Some functions are actually named
97827     something starting with __ and the normal name is an alias.  */
97828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97829 choke me
97830 #else
97831 char (*f) () = $ac_func;
97832 #endif
97833 #ifdef __cplusplus
97834 }
97835 #endif
97836
97837 int
97838 main ()
97839 {
97840 return f != $ac_func;
97841   ;
97842   return 0;
97843 }
97844 _ACEOF
97845 rm -f conftest.$ac_objext conftest$ac_exeext
97846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97847   (eval $ac_link) 2>conftest.er1
97848   ac_status=$?
97849   grep -v '^ *+' conftest.er1 >conftest.err
97850   rm -f conftest.er1
97851   cat conftest.err >&5
97852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97853   (exit $ac_status); } &&
97854          { ac_try='test -z "$ac_c_werror_flag"
97855                          || test ! -s conftest.err'
97856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97857   (eval $ac_try) 2>&5
97858   ac_status=$?
97859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97860   (exit $ac_status); }; } &&
97861          { ac_try='test -s conftest$ac_exeext'
97862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97863   (eval $ac_try) 2>&5
97864   ac_status=$?
97865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97866   (exit $ac_status); }; }; then
97867   eval "$as_ac_var=yes"
97868 else
97869   echo "$as_me: failed program was:" >&5
97870 sed 's/^/| /' conftest.$ac_ext >&5
97871
97872 eval "$as_ac_var=no"
97873 fi
97874 rm -f conftest.err conftest.$ac_objext \
97875       conftest$ac_exeext conftest.$ac_ext
97876 fi
97877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97879 if test `eval echo '${'$as_ac_var'}'` = yes; then
97880   cat >>confdefs.h <<_ACEOF
97881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97882 _ACEOF
97883
97884 fi
97885 done
97886
97887   else
97888
97889   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
97890 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
97891   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
97892     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
97893   echo $ECHO_N "(cached) $ECHO_C" >&6
97894 else
97895
97896
97897
97898       ac_ext=cc
97899 ac_cpp='$CXXCPP $CPPFLAGS'
97900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97903
97904       cat >conftest.$ac_ext <<_ACEOF
97905 /* confdefs.h.  */
97906 _ACEOF
97907 cat confdefs.h >>conftest.$ac_ext
97908 cat >>conftest.$ac_ext <<_ACEOF
97909 /* end confdefs.h.  */
97910 #include <math.h>
97911                       #ifdef HAVE_IEEEFP_H
97912                       #include <ieeefp.h>
97913                       #endif
97914
97915 int
97916 main ()
97917 {
97918  _finitel(0);
97919   ;
97920   return 0;
97921 }
97922 _ACEOF
97923 rm -f conftest.$ac_objext
97924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97925   (eval $ac_compile) 2>conftest.er1
97926   ac_status=$?
97927   grep -v '^ *+' conftest.er1 >conftest.err
97928   rm -f conftest.er1
97929   cat conftest.err >&5
97930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97931   (exit $ac_status); } &&
97932          { ac_try='test -z "$ac_cxx_werror_flag"
97933                          || test ! -s conftest.err'
97934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97935   (eval $ac_try) 2>&5
97936   ac_status=$?
97937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97938   (exit $ac_status); }; } &&
97939          { ac_try='test -s conftest.$ac_objext'
97940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97941   (eval $ac_try) 2>&5
97942   ac_status=$?
97943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97944   (exit $ac_status); }; }; then
97945   glibcxx_cv_func__finitel_use=yes
97946 else
97947   echo "$as_me: failed program was:" >&5
97948 sed 's/^/| /' conftest.$ac_ext >&5
97949
97950 glibcxx_cv_func__finitel_use=no
97951 fi
97952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97953       ac_ext=c
97954 ac_cpp='$CPP $CPPFLAGS'
97955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97958
97959
97960 fi
97961
97962   fi
97963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
97964 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
97965
97966     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
97967
97968 for ac_func in _finitel
97969 do
97970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97971 echo "$as_me:$LINENO: checking for $ac_func" >&5
97972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97973 if eval "test \"\${$as_ac_var+set}\" = set"; then
97974   echo $ECHO_N "(cached) $ECHO_C" >&6
97975 else
97976   if test x$gcc_no_link = xyes; then
97977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97979    { (exit 1); exit 1; }; }
97980 fi
97981 cat >conftest.$ac_ext <<_ACEOF
97982 /* confdefs.h.  */
97983 _ACEOF
97984 cat confdefs.h >>conftest.$ac_ext
97985 cat >>conftest.$ac_ext <<_ACEOF
97986 /* end confdefs.h.  */
97987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97989 #define $ac_func innocuous_$ac_func
97990
97991 /* System header to define __stub macros and hopefully few prototypes,
97992     which can conflict with char $ac_func (); below.
97993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97994     <limits.h> exists even on freestanding compilers.  */
97995
97996 #ifdef __STDC__
97997 # include <limits.h>
97998 #else
97999 # include <assert.h>
98000 #endif
98001
98002 #undef $ac_func
98003
98004 /* Override any gcc2 internal prototype to avoid an error.  */
98005 #ifdef __cplusplus
98006 extern "C"
98007 {
98008 #endif
98009 /* We use char because int might match the return type of a gcc2
98010    builtin and then its argument prototype would still apply.  */
98011 char $ac_func ();
98012 /* The GNU C library defines this for functions which it implements
98013     to always fail with ENOSYS.  Some functions are actually named
98014     something starting with __ and the normal name is an alias.  */
98015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98016 choke me
98017 #else
98018 char (*f) () = $ac_func;
98019 #endif
98020 #ifdef __cplusplus
98021 }
98022 #endif
98023
98024 int
98025 main ()
98026 {
98027 return f != $ac_func;
98028   ;
98029   return 0;
98030 }
98031 _ACEOF
98032 rm -f conftest.$ac_objext conftest$ac_exeext
98033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98034   (eval $ac_link) 2>conftest.er1
98035   ac_status=$?
98036   grep -v '^ *+' conftest.er1 >conftest.err
98037   rm -f conftest.er1
98038   cat conftest.err >&5
98039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98040   (exit $ac_status); } &&
98041          { ac_try='test -z "$ac_c_werror_flag"
98042                          || test ! -s conftest.err'
98043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98044   (eval $ac_try) 2>&5
98045   ac_status=$?
98046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98047   (exit $ac_status); }; } &&
98048          { ac_try='test -s conftest$ac_exeext'
98049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98050   (eval $ac_try) 2>&5
98051   ac_status=$?
98052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98053   (exit $ac_status); }; }; then
98054   eval "$as_ac_var=yes"
98055 else
98056   echo "$as_me: failed program was:" >&5
98057 sed 's/^/| /' conftest.$ac_ext >&5
98058
98059 eval "$as_ac_var=no"
98060 fi
98061 rm -f conftest.err conftest.$ac_objext \
98062       conftest$ac_exeext conftest.$ac_ext
98063 fi
98064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98066 if test `eval echo '${'$as_ac_var'}'` = yes; then
98067   cat >>confdefs.h <<_ACEOF
98068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98069 _ACEOF
98070
98071 fi
98072 done
98073
98074     fi
98075   fi
98076
98077
98078
98079
98080
98081   LIBS="$ac_save_LIBS"
98082   CXXFLAGS="$ac_save_CXXFLAGS"
98083
98084
98085
98086 echo "$as_me:$LINENO: checking for main in -lm" >&5
98087 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
98088 if test "${ac_cv_lib_m_main+set}" = set; then
98089   echo $ECHO_N "(cached) $ECHO_C" >&6
98090 else
98091   ac_check_lib_save_LIBS=$LIBS
98092 LIBS="-lm  $LIBS"
98093 if test x$gcc_no_link = xyes; then
98094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98096    { (exit 1); exit 1; }; }
98097 fi
98098 cat >conftest.$ac_ext <<_ACEOF
98099 /* confdefs.h.  */
98100 _ACEOF
98101 cat confdefs.h >>conftest.$ac_ext
98102 cat >>conftest.$ac_ext <<_ACEOF
98103 /* end confdefs.h.  */
98104
98105
98106 int
98107 main ()
98108 {
98109 main ();
98110   ;
98111   return 0;
98112 }
98113 _ACEOF
98114 rm -f conftest.$ac_objext conftest$ac_exeext
98115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98116   (eval $ac_link) 2>conftest.er1
98117   ac_status=$?
98118   grep -v '^ *+' conftest.er1 >conftest.err
98119   rm -f conftest.er1
98120   cat conftest.err >&5
98121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98122   (exit $ac_status); } &&
98123          { ac_try='test -z "$ac_c_werror_flag"
98124                          || test ! -s conftest.err'
98125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98126   (eval $ac_try) 2>&5
98127   ac_status=$?
98128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98129   (exit $ac_status); }; } &&
98130          { ac_try='test -s conftest$ac_exeext'
98131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98132   (eval $ac_try) 2>&5
98133   ac_status=$?
98134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98135   (exit $ac_status); }; }; then
98136   ac_cv_lib_m_main=yes
98137 else
98138   echo "$as_me: failed program was:" >&5
98139 sed 's/^/| /' conftest.$ac_ext >&5
98140
98141 ac_cv_lib_m_main=no
98142 fi
98143 rm -f conftest.err conftest.$ac_objext \
98144       conftest$ac_exeext conftest.$ac_ext
98145 LIBS=$ac_check_lib_save_LIBS
98146 fi
98147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
98148 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
98149 if test $ac_cv_lib_m_main = yes; then
98150   cat >>confdefs.h <<_ACEOF
98151 #define HAVE_LIBM 1
98152 _ACEOF
98153
98154   LIBS="-lm $LIBS"
98155
98156 fi
98157
98158
98159 for ac_func in copysignf
98160 do
98161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98162 echo "$as_me:$LINENO: checking for $ac_func" >&5
98163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98164 if eval "test \"\${$as_ac_var+set}\" = set"; then
98165   echo $ECHO_N "(cached) $ECHO_C" >&6
98166 else
98167   if test x$gcc_no_link = xyes; then
98168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98170    { (exit 1); exit 1; }; }
98171 fi
98172 cat >conftest.$ac_ext <<_ACEOF
98173 /* confdefs.h.  */
98174 _ACEOF
98175 cat confdefs.h >>conftest.$ac_ext
98176 cat >>conftest.$ac_ext <<_ACEOF
98177 /* end confdefs.h.  */
98178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98180 #define $ac_func innocuous_$ac_func
98181
98182 /* System header to define __stub macros and hopefully few prototypes,
98183     which can conflict with char $ac_func (); below.
98184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98185     <limits.h> exists even on freestanding compilers.  */
98186
98187 #ifdef __STDC__
98188 # include <limits.h>
98189 #else
98190 # include <assert.h>
98191 #endif
98192
98193 #undef $ac_func
98194
98195 /* Override any gcc2 internal prototype to avoid an error.  */
98196 #ifdef __cplusplus
98197 extern "C"
98198 {
98199 #endif
98200 /* We use char because int might match the return type of a gcc2
98201    builtin and then its argument prototype would still apply.  */
98202 char $ac_func ();
98203 /* The GNU C library defines this for functions which it implements
98204     to always fail with ENOSYS.  Some functions are actually named
98205     something starting with __ and the normal name is an alias.  */
98206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98207 choke me
98208 #else
98209 char (*f) () = $ac_func;
98210 #endif
98211 #ifdef __cplusplus
98212 }
98213 #endif
98214
98215 int
98216 main ()
98217 {
98218 return f != $ac_func;
98219   ;
98220   return 0;
98221 }
98222 _ACEOF
98223 rm -f conftest.$ac_objext conftest$ac_exeext
98224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98225   (eval $ac_link) 2>conftest.er1
98226   ac_status=$?
98227   grep -v '^ *+' conftest.er1 >conftest.err
98228   rm -f conftest.er1
98229   cat conftest.err >&5
98230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98231   (exit $ac_status); } &&
98232          { ac_try='test -z "$ac_c_werror_flag"
98233                          || test ! -s conftest.err'
98234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98235   (eval $ac_try) 2>&5
98236   ac_status=$?
98237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98238   (exit $ac_status); }; } &&
98239          { ac_try='test -s conftest$ac_exeext'
98240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98241   (eval $ac_try) 2>&5
98242   ac_status=$?
98243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98244   (exit $ac_status); }; }; then
98245   eval "$as_ac_var=yes"
98246 else
98247   echo "$as_me: failed program was:" >&5
98248 sed 's/^/| /' conftest.$ac_ext >&5
98249
98250 eval "$as_ac_var=no"
98251 fi
98252 rm -f conftest.err conftest.$ac_objext \
98253       conftest$ac_exeext conftest.$ac_ext
98254 fi
98255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98257 if test `eval echo '${'$as_ac_var'}'` = yes; then
98258   cat >>confdefs.h <<_ACEOF
98259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98260 _ACEOF
98261
98262 else
98263   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
98264 fi
98265 done
98266
98267
98268
98269 for ac_func in __signbit
98270 do
98271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98272 echo "$as_me:$LINENO: checking for $ac_func" >&5
98273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98274 if eval "test \"\${$as_ac_var+set}\" = set"; then
98275   echo $ECHO_N "(cached) $ECHO_C" >&6
98276 else
98277   if test x$gcc_no_link = xyes; then
98278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98280    { (exit 1); exit 1; }; }
98281 fi
98282 cat >conftest.$ac_ext <<_ACEOF
98283 /* confdefs.h.  */
98284 _ACEOF
98285 cat confdefs.h >>conftest.$ac_ext
98286 cat >>conftest.$ac_ext <<_ACEOF
98287 /* end confdefs.h.  */
98288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98290 #define $ac_func innocuous_$ac_func
98291
98292 /* System header to define __stub macros and hopefully few prototypes,
98293     which can conflict with char $ac_func (); below.
98294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98295     <limits.h> exists even on freestanding compilers.  */
98296
98297 #ifdef __STDC__
98298 # include <limits.h>
98299 #else
98300 # include <assert.h>
98301 #endif
98302
98303 #undef $ac_func
98304
98305 /* Override any gcc2 internal prototype to avoid an error.  */
98306 #ifdef __cplusplus
98307 extern "C"
98308 {
98309 #endif
98310 /* We use char because int might match the return type of a gcc2
98311    builtin and then its argument prototype would still apply.  */
98312 char $ac_func ();
98313 /* The GNU C library defines this for functions which it implements
98314     to always fail with ENOSYS.  Some functions are actually named
98315     something starting with __ and the normal name is an alias.  */
98316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98317 choke me
98318 #else
98319 char (*f) () = $ac_func;
98320 #endif
98321 #ifdef __cplusplus
98322 }
98323 #endif
98324
98325 int
98326 main ()
98327 {
98328 return f != $ac_func;
98329   ;
98330   return 0;
98331 }
98332 _ACEOF
98333 rm -f conftest.$ac_objext conftest$ac_exeext
98334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98335   (eval $ac_link) 2>conftest.er1
98336   ac_status=$?
98337   grep -v '^ *+' conftest.er1 >conftest.err
98338   rm -f conftest.er1
98339   cat conftest.err >&5
98340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98341   (exit $ac_status); } &&
98342          { ac_try='test -z "$ac_c_werror_flag"
98343                          || test ! -s conftest.err'
98344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98345   (eval $ac_try) 2>&5
98346   ac_status=$?
98347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98348   (exit $ac_status); }; } &&
98349          { ac_try='test -s conftest$ac_exeext'
98350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98351   (eval $ac_try) 2>&5
98352   ac_status=$?
98353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98354   (exit $ac_status); }; }; then
98355   eval "$as_ac_var=yes"
98356 else
98357   echo "$as_me: failed program was:" >&5
98358 sed 's/^/| /' conftest.$ac_ext >&5
98359
98360 eval "$as_ac_var=no"
98361 fi
98362 rm -f conftest.err conftest.$ac_objext \
98363       conftest$ac_exeext conftest.$ac_ext
98364 fi
98365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98367 if test `eval echo '${'$as_ac_var'}'` = yes; then
98368   cat >>confdefs.h <<_ACEOF
98369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98370 _ACEOF
98371
98372 else
98373   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
98374 fi
98375 done
98376
98377
98378
98379 for ac_func in __signbitf
98380 do
98381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98382 echo "$as_me:$LINENO: checking for $ac_func" >&5
98383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98384 if eval "test \"\${$as_ac_var+set}\" = set"; then
98385   echo $ECHO_N "(cached) $ECHO_C" >&6
98386 else
98387   if test x$gcc_no_link = xyes; then
98388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98390    { (exit 1); exit 1; }; }
98391 fi
98392 cat >conftest.$ac_ext <<_ACEOF
98393 /* confdefs.h.  */
98394 _ACEOF
98395 cat confdefs.h >>conftest.$ac_ext
98396 cat >>conftest.$ac_ext <<_ACEOF
98397 /* end confdefs.h.  */
98398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98400 #define $ac_func innocuous_$ac_func
98401
98402 /* System header to define __stub macros and hopefully few prototypes,
98403     which can conflict with char $ac_func (); below.
98404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98405     <limits.h> exists even on freestanding compilers.  */
98406
98407 #ifdef __STDC__
98408 # include <limits.h>
98409 #else
98410 # include <assert.h>
98411 #endif
98412
98413 #undef $ac_func
98414
98415 /* Override any gcc2 internal prototype to avoid an error.  */
98416 #ifdef __cplusplus
98417 extern "C"
98418 {
98419 #endif
98420 /* We use char because int might match the return type of a gcc2
98421    builtin and then its argument prototype would still apply.  */
98422 char $ac_func ();
98423 /* The GNU C library defines this for functions which it implements
98424     to always fail with ENOSYS.  Some functions are actually named
98425     something starting with __ and the normal name is an alias.  */
98426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98427 choke me
98428 #else
98429 char (*f) () = $ac_func;
98430 #endif
98431 #ifdef __cplusplus
98432 }
98433 #endif
98434
98435 int
98436 main ()
98437 {
98438 return f != $ac_func;
98439   ;
98440   return 0;
98441 }
98442 _ACEOF
98443 rm -f conftest.$ac_objext conftest$ac_exeext
98444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98445   (eval $ac_link) 2>conftest.er1
98446   ac_status=$?
98447   grep -v '^ *+' conftest.er1 >conftest.err
98448   rm -f conftest.er1
98449   cat conftest.err >&5
98450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98451   (exit $ac_status); } &&
98452          { ac_try='test -z "$ac_c_werror_flag"
98453                          || test ! -s conftest.err'
98454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98455   (eval $ac_try) 2>&5
98456   ac_status=$?
98457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98458   (exit $ac_status); }; } &&
98459          { ac_try='test -s conftest$ac_exeext'
98460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98461   (eval $ac_try) 2>&5
98462   ac_status=$?
98463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98464   (exit $ac_status); }; }; then
98465   eval "$as_ac_var=yes"
98466 else
98467   echo "$as_me: failed program was:" >&5
98468 sed 's/^/| /' conftest.$ac_ext >&5
98469
98470 eval "$as_ac_var=no"
98471 fi
98472 rm -f conftest.err conftest.$ac_objext \
98473       conftest$ac_exeext conftest.$ac_ext
98474 fi
98475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98477 if test `eval echo '${'$as_ac_var'}'` = yes; then
98478   cat >>confdefs.h <<_ACEOF
98479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98480 _ACEOF
98481
98482 else
98483   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
98484 fi
98485 done
98486
98487
98488           if test x$ac_cv_func_copysignl = x"yes"; then
98489
98490 for ac_func in __signbitl
98491 do
98492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98493 echo "$as_me:$LINENO: checking for $ac_func" >&5
98494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98495 if eval "test \"\${$as_ac_var+set}\" = set"; then
98496   echo $ECHO_N "(cached) $ECHO_C" >&6
98497 else
98498   if test x$gcc_no_link = xyes; then
98499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98501    { (exit 1); exit 1; }; }
98502 fi
98503 cat >conftest.$ac_ext <<_ACEOF
98504 /* confdefs.h.  */
98505 _ACEOF
98506 cat confdefs.h >>conftest.$ac_ext
98507 cat >>conftest.$ac_ext <<_ACEOF
98508 /* end confdefs.h.  */
98509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98511 #define $ac_func innocuous_$ac_func
98512
98513 /* System header to define __stub macros and hopefully few prototypes,
98514     which can conflict with char $ac_func (); below.
98515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98516     <limits.h> exists even on freestanding compilers.  */
98517
98518 #ifdef __STDC__
98519 # include <limits.h>
98520 #else
98521 # include <assert.h>
98522 #endif
98523
98524 #undef $ac_func
98525
98526 /* Override any gcc2 internal prototype to avoid an error.  */
98527 #ifdef __cplusplus
98528 extern "C"
98529 {
98530 #endif
98531 /* We use char because int might match the return type of a gcc2
98532    builtin and then its argument prototype would still apply.  */
98533 char $ac_func ();
98534 /* The GNU C library defines this for functions which it implements
98535     to always fail with ENOSYS.  Some functions are actually named
98536     something starting with __ and the normal name is an alias.  */
98537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98538 choke me
98539 #else
98540 char (*f) () = $ac_func;
98541 #endif
98542 #ifdef __cplusplus
98543 }
98544 #endif
98545
98546 int
98547 main ()
98548 {
98549 return f != $ac_func;
98550   ;
98551   return 0;
98552 }
98553 _ACEOF
98554 rm -f conftest.$ac_objext conftest$ac_exeext
98555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98556   (eval $ac_link) 2>conftest.er1
98557   ac_status=$?
98558   grep -v '^ *+' conftest.er1 >conftest.err
98559   rm -f conftest.er1
98560   cat conftest.err >&5
98561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98562   (exit $ac_status); } &&
98563          { ac_try='test -z "$ac_c_werror_flag"
98564                          || test ! -s conftest.err'
98565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98566   (eval $ac_try) 2>&5
98567   ac_status=$?
98568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98569   (exit $ac_status); }; } &&
98570          { ac_try='test -s conftest$ac_exeext'
98571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98572   (eval $ac_try) 2>&5
98573   ac_status=$?
98574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98575   (exit $ac_status); }; }; then
98576   eval "$as_ac_var=yes"
98577 else
98578   echo "$as_me: failed program was:" >&5
98579 sed 's/^/| /' conftest.$ac_ext >&5
98580
98581 eval "$as_ac_var=no"
98582 fi
98583 rm -f conftest.err conftest.$ac_objext \
98584       conftest$ac_exeext conftest.$ac_ext
98585 fi
98586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98588 if test `eval echo '${'$as_ac_var'}'` = yes; then
98589   cat >>confdefs.h <<_ACEOF
98590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98591 _ACEOF
98592
98593 else
98594   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
98595 fi
98596 done
98597
98598   fi
98599
98600   # Used in libmath/Makefile.am.
98601   if test -n "$LIBMATHOBJS"; then
98602     need_libmath=yes
98603   fi
98604
98605
98606
98607   ac_test_CXXFLAGS="${CXXFLAGS+set}"
98608   ac_save_CXXFLAGS="$CXXFLAGS"
98609   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
98610
98611
98612   echo "$as_me:$LINENO: checking for strtold declaration" >&5
98613 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
98614   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
98615     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
98616   echo $ECHO_N "(cached) $ECHO_C" >&6
98617 else
98618
98619
98620
98621       ac_ext=cc
98622 ac_cpp='$CXXCPP $CPPFLAGS'
98623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98626
98627       cat >conftest.$ac_ext <<_ACEOF
98628 /* confdefs.h.  */
98629 _ACEOF
98630 cat confdefs.h >>conftest.$ac_ext
98631 cat >>conftest.$ac_ext <<_ACEOF
98632 /* end confdefs.h.  */
98633 #include <stdlib.h>
98634 int
98635 main ()
98636 {
98637  strtold(0, 0);
98638   ;
98639   return 0;
98640 }
98641 _ACEOF
98642 rm -f conftest.$ac_objext
98643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98644   (eval $ac_compile) 2>conftest.er1
98645   ac_status=$?
98646   grep -v '^ *+' conftest.er1 >conftest.err
98647   rm -f conftest.er1
98648   cat conftest.err >&5
98649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98650   (exit $ac_status); } &&
98651          { ac_try='test -z "$ac_cxx_werror_flag"
98652                          || test ! -s conftest.err'
98653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98654   (eval $ac_try) 2>&5
98655   ac_status=$?
98656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98657   (exit $ac_status); }; } &&
98658          { ac_try='test -s conftest.$ac_objext'
98659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98660   (eval $ac_try) 2>&5
98661   ac_status=$?
98662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98663   (exit $ac_status); }; }; then
98664   glibcxx_cv_func_strtold_use=yes
98665 else
98666   echo "$as_me: failed program was:" >&5
98667 sed 's/^/| /' conftest.$ac_ext >&5
98668
98669 glibcxx_cv_func_strtold_use=no
98670 fi
98671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98672       ac_ext=c
98673 ac_cpp='$CPP $CPPFLAGS'
98674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98677
98678
98679 fi
98680
98681   fi
98682   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
98683 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
98684   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
98685
98686 for ac_func in strtold
98687 do
98688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98689 echo "$as_me:$LINENO: checking for $ac_func" >&5
98690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98691 if eval "test \"\${$as_ac_var+set}\" = set"; then
98692   echo $ECHO_N "(cached) $ECHO_C" >&6
98693 else
98694   if test x$gcc_no_link = xyes; then
98695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98697    { (exit 1); exit 1; }; }
98698 fi
98699 cat >conftest.$ac_ext <<_ACEOF
98700 /* confdefs.h.  */
98701 _ACEOF
98702 cat confdefs.h >>conftest.$ac_ext
98703 cat >>conftest.$ac_ext <<_ACEOF
98704 /* end confdefs.h.  */
98705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98707 #define $ac_func innocuous_$ac_func
98708
98709 /* System header to define __stub macros and hopefully few prototypes,
98710     which can conflict with char $ac_func (); below.
98711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98712     <limits.h> exists even on freestanding compilers.  */
98713
98714 #ifdef __STDC__
98715 # include <limits.h>
98716 #else
98717 # include <assert.h>
98718 #endif
98719
98720 #undef $ac_func
98721
98722 /* Override any gcc2 internal prototype to avoid an error.  */
98723 #ifdef __cplusplus
98724 extern "C"
98725 {
98726 #endif
98727 /* We use char because int might match the return type of a gcc2
98728    builtin and then its argument prototype would still apply.  */
98729 char $ac_func ();
98730 /* The GNU C library defines this for functions which it implements
98731     to always fail with ENOSYS.  Some functions are actually named
98732     something starting with __ and the normal name is an alias.  */
98733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98734 choke me
98735 #else
98736 char (*f) () = $ac_func;
98737 #endif
98738 #ifdef __cplusplus
98739 }
98740 #endif
98741
98742 int
98743 main ()
98744 {
98745 return f != $ac_func;
98746   ;
98747   return 0;
98748 }
98749 _ACEOF
98750 rm -f conftest.$ac_objext conftest$ac_exeext
98751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98752   (eval $ac_link) 2>conftest.er1
98753   ac_status=$?
98754   grep -v '^ *+' conftest.er1 >conftest.err
98755   rm -f conftest.er1
98756   cat conftest.err >&5
98757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98758   (exit $ac_status); } &&
98759          { ac_try='test -z "$ac_c_werror_flag"
98760                          || test ! -s conftest.err'
98761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98762   (eval $ac_try) 2>&5
98763   ac_status=$?
98764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98765   (exit $ac_status); }; } &&
98766          { ac_try='test -s conftest$ac_exeext'
98767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98768   (eval $ac_try) 2>&5
98769   ac_status=$?
98770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98771   (exit $ac_status); }; }; then
98772   eval "$as_ac_var=yes"
98773 else
98774   echo "$as_me: failed program was:" >&5
98775 sed 's/^/| /' conftest.$ac_ext >&5
98776
98777 eval "$as_ac_var=no"
98778 fi
98779 rm -f conftest.err conftest.$ac_objext \
98780       conftest$ac_exeext conftest.$ac_ext
98781 fi
98782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98784 if test `eval echo '${'$as_ac_var'}'` = yes; then
98785   cat >>confdefs.h <<_ACEOF
98786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98787 _ACEOF
98788
98789 fi
98790 done
98791
98792   fi
98793
98794
98795
98796
98797
98798   echo "$as_me:$LINENO: checking for strtof declaration" >&5
98799 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
98800   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
98801     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
98802   echo $ECHO_N "(cached) $ECHO_C" >&6
98803 else
98804
98805
98806
98807       ac_ext=cc
98808 ac_cpp='$CXXCPP $CPPFLAGS'
98809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98812
98813       cat >conftest.$ac_ext <<_ACEOF
98814 /* confdefs.h.  */
98815 _ACEOF
98816 cat confdefs.h >>conftest.$ac_ext
98817 cat >>conftest.$ac_ext <<_ACEOF
98818 /* end confdefs.h.  */
98819 #include <stdlib.h>
98820 int
98821 main ()
98822 {
98823  strtof(0, 0);
98824   ;
98825   return 0;
98826 }
98827 _ACEOF
98828 rm -f conftest.$ac_objext
98829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98830   (eval $ac_compile) 2>conftest.er1
98831   ac_status=$?
98832   grep -v '^ *+' conftest.er1 >conftest.err
98833   rm -f conftest.er1
98834   cat conftest.err >&5
98835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98836   (exit $ac_status); } &&
98837          { ac_try='test -z "$ac_cxx_werror_flag"
98838                          || test ! -s conftest.err'
98839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98840   (eval $ac_try) 2>&5
98841   ac_status=$?
98842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98843   (exit $ac_status); }; } &&
98844          { ac_try='test -s conftest.$ac_objext'
98845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98846   (eval $ac_try) 2>&5
98847   ac_status=$?
98848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98849   (exit $ac_status); }; }; then
98850   glibcxx_cv_func_strtof_use=yes
98851 else
98852   echo "$as_me: failed program was:" >&5
98853 sed 's/^/| /' conftest.$ac_ext >&5
98854
98855 glibcxx_cv_func_strtof_use=no
98856 fi
98857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98858       ac_ext=c
98859 ac_cpp='$CPP $CPPFLAGS'
98860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98863
98864
98865 fi
98866
98867   fi
98868   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
98869 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
98870   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
98871
98872 for ac_func in strtof
98873 do
98874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98875 echo "$as_me:$LINENO: checking for $ac_func" >&5
98876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98877 if eval "test \"\${$as_ac_var+set}\" = set"; then
98878   echo $ECHO_N "(cached) $ECHO_C" >&6
98879 else
98880   if test x$gcc_no_link = xyes; then
98881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98883    { (exit 1); exit 1; }; }
98884 fi
98885 cat >conftest.$ac_ext <<_ACEOF
98886 /* confdefs.h.  */
98887 _ACEOF
98888 cat confdefs.h >>conftest.$ac_ext
98889 cat >>conftest.$ac_ext <<_ACEOF
98890 /* end confdefs.h.  */
98891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98893 #define $ac_func innocuous_$ac_func
98894
98895 /* System header to define __stub macros and hopefully few prototypes,
98896     which can conflict with char $ac_func (); below.
98897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98898     <limits.h> exists even on freestanding compilers.  */
98899
98900 #ifdef __STDC__
98901 # include <limits.h>
98902 #else
98903 # include <assert.h>
98904 #endif
98905
98906 #undef $ac_func
98907
98908 /* Override any gcc2 internal prototype to avoid an error.  */
98909 #ifdef __cplusplus
98910 extern "C"
98911 {
98912 #endif
98913 /* We use char because int might match the return type of a gcc2
98914    builtin and then its argument prototype would still apply.  */
98915 char $ac_func ();
98916 /* The GNU C library defines this for functions which it implements
98917     to always fail with ENOSYS.  Some functions are actually named
98918     something starting with __ and the normal name is an alias.  */
98919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98920 choke me
98921 #else
98922 char (*f) () = $ac_func;
98923 #endif
98924 #ifdef __cplusplus
98925 }
98926 #endif
98927
98928 int
98929 main ()
98930 {
98931 return f != $ac_func;
98932   ;
98933   return 0;
98934 }
98935 _ACEOF
98936 rm -f conftest.$ac_objext conftest$ac_exeext
98937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98938   (eval $ac_link) 2>conftest.er1
98939   ac_status=$?
98940   grep -v '^ *+' conftest.er1 >conftest.err
98941   rm -f conftest.er1
98942   cat conftest.err >&5
98943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98944   (exit $ac_status); } &&
98945          { ac_try='test -z "$ac_c_werror_flag"
98946                          || test ! -s conftest.err'
98947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98948   (eval $ac_try) 2>&5
98949   ac_status=$?
98950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98951   (exit $ac_status); }; } &&
98952          { ac_try='test -s conftest$ac_exeext'
98953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98954   (eval $ac_try) 2>&5
98955   ac_status=$?
98956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98957   (exit $ac_status); }; }; then
98958   eval "$as_ac_var=yes"
98959 else
98960   echo "$as_me: failed program was:" >&5
98961 sed 's/^/| /' conftest.$ac_ext >&5
98962
98963 eval "$as_ac_var=no"
98964 fi
98965 rm -f conftest.err conftest.$ac_objext \
98966       conftest$ac_exeext conftest.$ac_ext
98967 fi
98968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98970 if test `eval echo '${'$as_ac_var'}'` = yes; then
98971   cat >>confdefs.h <<_ACEOF
98972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98973 _ACEOF
98974
98975 fi
98976 done
98977
98978   fi
98979
98980
98981
98982
98983
98984   CXXFLAGS="$ac_save_CXXFLAGS"
98985
98986
98987     cat >>confdefs.h <<\_ACEOF
98988 #define _GLIBCXX_USE_RANDOM_TR1 1
98989 _ACEOF
98990
98991
98992     # For iconv support.
98993
98994
98995
98996
98997
98998           am_save_CPPFLAGS="$CPPFLAGS"
98999
99000   for element in $INCICONV; do
99001     haveit=
99002     for x in $CPPFLAGS; do
99003
99004   acl_save_prefix="$prefix"
99005   prefix="$acl_final_prefix"
99006   acl_save_exec_prefix="$exec_prefix"
99007   exec_prefix="$acl_final_exec_prefix"
99008   eval x=\"$x\"
99009   exec_prefix="$acl_save_exec_prefix"
99010   prefix="$acl_save_prefix"
99011
99012       if test "X$x" = "X$element"; then
99013         haveit=yes
99014         break
99015       fi
99016     done
99017     if test -z "$haveit"; then
99018       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
99019     fi
99020   done
99021
99022
99023   echo "$as_me:$LINENO: checking for iconv" >&5
99024 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
99025 if test "${am_cv_func_iconv+set}" = set; then
99026   echo $ECHO_N "(cached) $ECHO_C" >&6
99027 else
99028
99029     am_cv_func_iconv="no, consider installing GNU libiconv"
99030     am_cv_lib_iconv=no
99031     if test x$gcc_no_link = xyes; then
99032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99034    { (exit 1); exit 1; }; }
99035 fi
99036 cat >conftest.$ac_ext <<_ACEOF
99037 /* confdefs.h.  */
99038 _ACEOF
99039 cat confdefs.h >>conftest.$ac_ext
99040 cat >>conftest.$ac_ext <<_ACEOF
99041 /* end confdefs.h.  */
99042 #include <stdlib.h>
99043 #include <iconv.h>
99044 int
99045 main ()
99046 {
99047 iconv_t cd = iconv_open("","");
99048        iconv(cd,NULL,NULL,NULL,NULL);
99049        iconv_close(cd);
99050   ;
99051   return 0;
99052 }
99053 _ACEOF
99054 rm -f conftest.$ac_objext conftest$ac_exeext
99055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99056   (eval $ac_link) 2>conftest.er1
99057   ac_status=$?
99058   grep -v '^ *+' conftest.er1 >conftest.err
99059   rm -f conftest.er1
99060   cat conftest.err >&5
99061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99062   (exit $ac_status); } &&
99063          { ac_try='test -z "$ac_c_werror_flag"
99064                          || test ! -s conftest.err'
99065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99066   (eval $ac_try) 2>&5
99067   ac_status=$?
99068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99069   (exit $ac_status); }; } &&
99070          { ac_try='test -s conftest$ac_exeext'
99071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99072   (eval $ac_try) 2>&5
99073   ac_status=$?
99074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99075   (exit $ac_status); }; }; then
99076   am_cv_func_iconv=yes
99077 else
99078   echo "$as_me: failed program was:" >&5
99079 sed 's/^/| /' conftest.$ac_ext >&5
99080
99081 fi
99082 rm -f conftest.err conftest.$ac_objext \
99083       conftest$ac_exeext conftest.$ac_ext
99084     if test "$am_cv_func_iconv" != yes; then
99085       am_save_LIBS="$LIBS"
99086       LIBS="$LIBS $LIBICONV"
99087       if test x$gcc_no_link = xyes; then
99088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99090    { (exit 1); exit 1; }; }
99091 fi
99092 cat >conftest.$ac_ext <<_ACEOF
99093 /* confdefs.h.  */
99094 _ACEOF
99095 cat confdefs.h >>conftest.$ac_ext
99096 cat >>conftest.$ac_ext <<_ACEOF
99097 /* end confdefs.h.  */
99098 #include <stdlib.h>
99099 #include <iconv.h>
99100 int
99101 main ()
99102 {
99103 iconv_t cd = iconv_open("","");
99104          iconv(cd,NULL,NULL,NULL,NULL);
99105          iconv_close(cd);
99106   ;
99107   return 0;
99108 }
99109 _ACEOF
99110 rm -f conftest.$ac_objext conftest$ac_exeext
99111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99112   (eval $ac_link) 2>conftest.er1
99113   ac_status=$?
99114   grep -v '^ *+' conftest.er1 >conftest.err
99115   rm -f conftest.er1
99116   cat conftest.err >&5
99117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99118   (exit $ac_status); } &&
99119          { ac_try='test -z "$ac_c_werror_flag"
99120                          || test ! -s conftest.err'
99121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99122   (eval $ac_try) 2>&5
99123   ac_status=$?
99124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99125   (exit $ac_status); }; } &&
99126          { ac_try='test -s conftest$ac_exeext'
99127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99128   (eval $ac_try) 2>&5
99129   ac_status=$?
99130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99131   (exit $ac_status); }; }; then
99132   am_cv_lib_iconv=yes
99133         am_cv_func_iconv=yes
99134 else
99135   echo "$as_me: failed program was:" >&5
99136 sed 's/^/| /' conftest.$ac_ext >&5
99137
99138 fi
99139 rm -f conftest.err conftest.$ac_objext \
99140       conftest$ac_exeext conftest.$ac_ext
99141       LIBS="$am_save_LIBS"
99142     fi
99143
99144 fi
99145 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
99146 echo "${ECHO_T}$am_cv_func_iconv" >&6
99147   if test "$am_cv_func_iconv" = yes; then
99148
99149 cat >>confdefs.h <<\_ACEOF
99150 #define HAVE_ICONV 1
99151 _ACEOF
99152
99153   fi
99154   if test "$am_cv_lib_iconv" = yes; then
99155     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
99156 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
99157     echo "$as_me:$LINENO: result: $LIBICONV" >&5
99158 echo "${ECHO_T}$LIBICONV" >&6
99159   else
99160             CPPFLAGS="$am_save_CPPFLAGS"
99161     LIBICONV=
99162     LTLIBICONV=
99163   fi
99164
99165
99166
99167   if test "$am_cv_func_iconv" = yes; then
99168     echo "$as_me:$LINENO: checking for iconv declaration" >&5
99169 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
99170     if test "${am_cv_proto_iconv+set}" = set; then
99171   echo $ECHO_N "(cached) $ECHO_C" >&6
99172 else
99173
99174       cat >conftest.$ac_ext <<_ACEOF
99175 /* confdefs.h.  */
99176 _ACEOF
99177 cat confdefs.h >>conftest.$ac_ext
99178 cat >>conftest.$ac_ext <<_ACEOF
99179 /* end confdefs.h.  */
99180
99181 #include <stdlib.h>
99182 #include <iconv.h>
99183 extern
99184 #ifdef __cplusplus
99185 "C"
99186 #endif
99187 #if defined(__STDC__) || defined(__cplusplus)
99188 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
99189 #else
99190 size_t iconv();
99191 #endif
99192
99193 int
99194 main ()
99195 {
99196
99197   ;
99198   return 0;
99199 }
99200 _ACEOF
99201 rm -f conftest.$ac_objext
99202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99203   (eval $ac_compile) 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_objext'
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   am_cv_proto_iconv_arg1=""
99224 else
99225   echo "$as_me: failed program was:" >&5
99226 sed 's/^/| /' conftest.$ac_ext >&5
99227
99228 am_cv_proto_iconv_arg1="const"
99229 fi
99230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99231       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);"
99232 fi
99233
99234     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
99235     echo "$as_me:$LINENO: result: ${ac_t:-
99236          }$am_cv_proto_iconv" >&5
99237 echo "${ECHO_T}${ac_t:-
99238          }$am_cv_proto_iconv" >&6
99239
99240 cat >>confdefs.h <<_ACEOF
99241 #define ICONV_CONST $am_cv_proto_iconv_arg1
99242 _ACEOF
99243
99244   fi
99245
99246     ;;
99247   *-mingw32*)
99248     cat >>confdefs.h <<\_ACEOF
99249 #define HAVE_STRTOF 1
99250 _ACEOF
99251
99252     cat >>confdefs.h <<\_ACEOF
99253 #define HAVE_STRTOLD 1
99254 _ACEOF
99255
99256
99257   # If we're not using GNU ld, then there's no point in even trying these
99258   # tests.  Check for that first.  We should have already tested for gld
99259   # by now (in libtool), but require it now just to be safe...
99260   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
99261   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
99262
99263
99264
99265   # The name set by libtool depends on the version of libtool.  Shame on us
99266   # for depending on an impl detail, but c'est la vie.  Older versions used
99267   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
99268   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
99269   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
99270   # set (hence we're using an older libtool), then set it.
99271   if test x${with_gnu_ld+set} != xset; then
99272     if test x${ac_cv_prog_gnu_ld+set} != xset; then
99273       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
99274       with_gnu_ld=no
99275     else
99276       with_gnu_ld=$ac_cv_prog_gnu_ld
99277     fi
99278   fi
99279
99280   # Start by getting the version number.  I think the libtool test already
99281   # does some of this, but throws away the result.
99282   glibcxx_ld_is_gold=no
99283   if test x"$with_gnu_ld" = x"yes"; then
99284     echo "$as_me:$LINENO: checking for ld version" >&5
99285 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
99286
99287     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
99288       glibcxx_ld_is_gold=yes
99289     fi
99290     ldver=`$LD --version 2>/dev/null | head -1 | \
99291            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
99292
99293     glibcxx_gnu_ld_version=`echo $ldver | \
99294            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
99295     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
99296 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
99297   fi
99298
99299   # Set --gc-sections.
99300   glibcxx_have_gc_sections=no
99301   if test "$glibcxx_ld_is_gold" = "yes"; then
99302     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
99303       glibcxx_have_gc_sections=yes
99304     fi
99305   else
99306     glibcxx_gcsections_min_ld=21602
99307     if test x"$with_gnu_ld" = x"yes" &&
99308         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
99309       glibcxx_have_gc_sections=yes
99310     fi
99311   fi
99312   if test "$glibcxx_have_gc_sections" = "yes"; then
99313     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
99314     # NB: This flag only works reliably after 2.16.1. Configure tests
99315     # for this are difficult, so hard wire a value that should work.
99316
99317     ac_test_CFLAGS="${CFLAGS+set}"
99318     ac_save_CFLAGS="$CFLAGS"
99319     CFLAGS='-Wl,--gc-sections'
99320
99321     # Check for -Wl,--gc-sections
99322     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
99323 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
99324     if test x$gcc_no_link = xyes; then
99325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99327    { (exit 1); exit 1; }; }
99328 fi
99329 cat >conftest.$ac_ext <<_ACEOF
99330 /* confdefs.h.  */
99331 _ACEOF
99332 cat confdefs.h >>conftest.$ac_ext
99333 cat >>conftest.$ac_ext <<_ACEOF
99334 /* end confdefs.h.  */
99335  int one(void) { return 1; }
99336      int two(void) { return 2; }
99337
99338 int
99339 main ()
99340 {
99341  two();
99342   ;
99343   return 0;
99344 }
99345 _ACEOF
99346 rm -f conftest.$ac_objext conftest$ac_exeext
99347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99348   (eval $ac_link) 2>conftest.er1
99349   ac_status=$?
99350   grep -v '^ *+' conftest.er1 >conftest.err
99351   rm -f conftest.er1
99352   cat conftest.err >&5
99353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99354   (exit $ac_status); } &&
99355          { ac_try='test -z "$ac_c_werror_flag"
99356                          || test ! -s conftest.err'
99357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99358   (eval $ac_try) 2>&5
99359   ac_status=$?
99360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99361   (exit $ac_status); }; } &&
99362          { ac_try='test -s conftest$ac_exeext'
99363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99364   (eval $ac_try) 2>&5
99365   ac_status=$?
99366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99367   (exit $ac_status); }; }; then
99368   ac_gcsections=yes
99369 else
99370   echo "$as_me: failed program was:" >&5
99371 sed 's/^/| /' conftest.$ac_ext >&5
99372
99373 ac_gcsections=no
99374 fi
99375 rm -f conftest.err conftest.$ac_objext \
99376       conftest$ac_exeext conftest.$ac_ext
99377     if test "$ac_gcsections" = "yes"; then
99378       rm -f conftest.c
99379       touch conftest.c
99380       if $CC -c conftest.c; then
99381         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
99382            grep "Warning: gc-sections option ignored" > /dev/null; then
99383           ac_gcsections=no
99384         fi
99385       fi
99386       rm -f conftest.c conftest.o conftest
99387     fi
99388     if test "$ac_gcsections" = "yes"; then
99389       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
99390     fi
99391     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
99392 echo "${ECHO_T}$ac_gcsections" >&6
99393
99394     if test "$ac_test_CFLAGS" = set; then
99395       CFLAGS="$ac_save_CFLAGS"
99396     else
99397       # this is the suspicious part
99398       CFLAGS=''
99399     fi
99400   fi
99401
99402   # Set -z,relro.
99403   # Note this is only for shared objects.
99404   ac_ld_relro=no
99405   if test x"$with_gnu_ld" = x"yes"; then
99406     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
99407 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
99408     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
99409     if test -n "$cxx_z_relo"; then
99410       OPT_LDFLAGS="-Wl,-z,relro"
99411       ac_ld_relro=yes
99412     fi
99413     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
99414 echo "${ECHO_T}$ac_ld_relro" >&6
99415   fi
99416
99417   # Set linker optimization flags.
99418   if test x"$with_gnu_ld" = x"yes"; then
99419     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
99420   fi
99421
99422
99423
99424
99425
99426
99427 echo "$as_me:$LINENO: checking for main in -lm" >&5
99428 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99429 if test "${ac_cv_lib_m_main+set}" = set; then
99430   echo $ECHO_N "(cached) $ECHO_C" >&6
99431 else
99432   ac_check_lib_save_LIBS=$LIBS
99433 LIBS="-lm  $LIBS"
99434 if test x$gcc_no_link = xyes; then
99435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99437    { (exit 1); exit 1; }; }
99438 fi
99439 cat >conftest.$ac_ext <<_ACEOF
99440 /* confdefs.h.  */
99441 _ACEOF
99442 cat confdefs.h >>conftest.$ac_ext
99443 cat >>conftest.$ac_ext <<_ACEOF
99444 /* end confdefs.h.  */
99445
99446
99447 int
99448 main ()
99449 {
99450 main ();
99451   ;
99452   return 0;
99453 }
99454 _ACEOF
99455 rm -f conftest.$ac_objext conftest$ac_exeext
99456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99457   (eval $ac_link) 2>conftest.er1
99458   ac_status=$?
99459   grep -v '^ *+' conftest.er1 >conftest.err
99460   rm -f conftest.er1
99461   cat conftest.err >&5
99462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99463   (exit $ac_status); } &&
99464          { ac_try='test -z "$ac_c_werror_flag"
99465                          || test ! -s conftest.err'
99466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99467   (eval $ac_try) 2>&5
99468   ac_status=$?
99469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99470   (exit $ac_status); }; } &&
99471          { ac_try='test -s conftest$ac_exeext'
99472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99473   (eval $ac_try) 2>&5
99474   ac_status=$?
99475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99476   (exit $ac_status); }; }; then
99477   ac_cv_lib_m_main=yes
99478 else
99479   echo "$as_me: failed program was:" >&5
99480 sed 's/^/| /' conftest.$ac_ext >&5
99481
99482 ac_cv_lib_m_main=no
99483 fi
99484 rm -f conftest.err conftest.$ac_objext \
99485       conftest$ac_exeext conftest.$ac_ext
99486 LIBS=$ac_check_lib_save_LIBS
99487 fi
99488 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99489 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99490 if test $ac_cv_lib_m_main = yes; then
99491   cat >>confdefs.h <<_ACEOF
99492 #define HAVE_LIBM 1
99493 _ACEOF
99494
99495   LIBS="-lm $LIBS"
99496
99497 fi
99498
99499
99500 for ac_func in copysignf
99501 do
99502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99503 echo "$as_me:$LINENO: checking for $ac_func" >&5
99504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99505 if eval "test \"\${$as_ac_var+set}\" = set"; then
99506   echo $ECHO_N "(cached) $ECHO_C" >&6
99507 else
99508   if test x$gcc_no_link = xyes; then
99509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99511    { (exit 1); exit 1; }; }
99512 fi
99513 cat >conftest.$ac_ext <<_ACEOF
99514 /* confdefs.h.  */
99515 _ACEOF
99516 cat confdefs.h >>conftest.$ac_ext
99517 cat >>conftest.$ac_ext <<_ACEOF
99518 /* end confdefs.h.  */
99519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99521 #define $ac_func innocuous_$ac_func
99522
99523 /* System header to define __stub macros and hopefully few prototypes,
99524     which can conflict with char $ac_func (); below.
99525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99526     <limits.h> exists even on freestanding compilers.  */
99527
99528 #ifdef __STDC__
99529 # include <limits.h>
99530 #else
99531 # include <assert.h>
99532 #endif
99533
99534 #undef $ac_func
99535
99536 /* Override any gcc2 internal prototype to avoid an error.  */
99537 #ifdef __cplusplus
99538 extern "C"
99539 {
99540 #endif
99541 /* We use char because int might match the return type of a gcc2
99542    builtin and then its argument prototype would still apply.  */
99543 char $ac_func ();
99544 /* The GNU C library defines this for functions which it implements
99545     to always fail with ENOSYS.  Some functions are actually named
99546     something starting with __ and the normal name is an alias.  */
99547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99548 choke me
99549 #else
99550 char (*f) () = $ac_func;
99551 #endif
99552 #ifdef __cplusplus
99553 }
99554 #endif
99555
99556 int
99557 main ()
99558 {
99559 return f != $ac_func;
99560   ;
99561   return 0;
99562 }
99563 _ACEOF
99564 rm -f conftest.$ac_objext conftest$ac_exeext
99565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99566   (eval $ac_link) 2>conftest.er1
99567   ac_status=$?
99568   grep -v '^ *+' conftest.er1 >conftest.err
99569   rm -f conftest.er1
99570   cat conftest.err >&5
99571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99572   (exit $ac_status); } &&
99573          { ac_try='test -z "$ac_c_werror_flag"
99574                          || test ! -s conftest.err'
99575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99576   (eval $ac_try) 2>&5
99577   ac_status=$?
99578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99579   (exit $ac_status); }; } &&
99580          { ac_try='test -s conftest$ac_exeext'
99581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99582   (eval $ac_try) 2>&5
99583   ac_status=$?
99584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99585   (exit $ac_status); }; }; then
99586   eval "$as_ac_var=yes"
99587 else
99588   echo "$as_me: failed program was:" >&5
99589 sed 's/^/| /' conftest.$ac_ext >&5
99590
99591 eval "$as_ac_var=no"
99592 fi
99593 rm -f conftest.err conftest.$ac_objext \
99594       conftest$ac_exeext conftest.$ac_ext
99595 fi
99596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99598 if test `eval echo '${'$as_ac_var'}'` = yes; then
99599   cat >>confdefs.h <<_ACEOF
99600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99601 _ACEOF
99602
99603 else
99604   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99605 fi
99606 done
99607
99608
99609
99610 for ac_func in __signbit
99611 do
99612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99613 echo "$as_me:$LINENO: checking for $ac_func" >&5
99614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99615 if eval "test \"\${$as_ac_var+set}\" = set"; then
99616   echo $ECHO_N "(cached) $ECHO_C" >&6
99617 else
99618   if test x$gcc_no_link = xyes; then
99619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99621    { (exit 1); exit 1; }; }
99622 fi
99623 cat >conftest.$ac_ext <<_ACEOF
99624 /* confdefs.h.  */
99625 _ACEOF
99626 cat confdefs.h >>conftest.$ac_ext
99627 cat >>conftest.$ac_ext <<_ACEOF
99628 /* end confdefs.h.  */
99629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99631 #define $ac_func innocuous_$ac_func
99632
99633 /* System header to define __stub macros and hopefully few prototypes,
99634     which can conflict with char $ac_func (); below.
99635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99636     <limits.h> exists even on freestanding compilers.  */
99637
99638 #ifdef __STDC__
99639 # include <limits.h>
99640 #else
99641 # include <assert.h>
99642 #endif
99643
99644 #undef $ac_func
99645
99646 /* Override any gcc2 internal prototype to avoid an error.  */
99647 #ifdef __cplusplus
99648 extern "C"
99649 {
99650 #endif
99651 /* We use char because int might match the return type of a gcc2
99652    builtin and then its argument prototype would still apply.  */
99653 char $ac_func ();
99654 /* The GNU C library defines this for functions which it implements
99655     to always fail with ENOSYS.  Some functions are actually named
99656     something starting with __ and the normal name is an alias.  */
99657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99658 choke me
99659 #else
99660 char (*f) () = $ac_func;
99661 #endif
99662 #ifdef __cplusplus
99663 }
99664 #endif
99665
99666 int
99667 main ()
99668 {
99669 return f != $ac_func;
99670   ;
99671   return 0;
99672 }
99673 _ACEOF
99674 rm -f conftest.$ac_objext conftest$ac_exeext
99675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99676   (eval $ac_link) 2>conftest.er1
99677   ac_status=$?
99678   grep -v '^ *+' conftest.er1 >conftest.err
99679   rm -f conftest.er1
99680   cat conftest.err >&5
99681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682   (exit $ac_status); } &&
99683          { ac_try='test -z "$ac_c_werror_flag"
99684                          || test ! -s conftest.err'
99685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99686   (eval $ac_try) 2>&5
99687   ac_status=$?
99688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99689   (exit $ac_status); }; } &&
99690          { ac_try='test -s conftest$ac_exeext'
99691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99692   (eval $ac_try) 2>&5
99693   ac_status=$?
99694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99695   (exit $ac_status); }; }; then
99696   eval "$as_ac_var=yes"
99697 else
99698   echo "$as_me: failed program was:" >&5
99699 sed 's/^/| /' conftest.$ac_ext >&5
99700
99701 eval "$as_ac_var=no"
99702 fi
99703 rm -f conftest.err conftest.$ac_objext \
99704       conftest$ac_exeext conftest.$ac_ext
99705 fi
99706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99708 if test `eval echo '${'$as_ac_var'}'` = yes; then
99709   cat >>confdefs.h <<_ACEOF
99710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99711 _ACEOF
99712
99713 else
99714   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99715 fi
99716 done
99717
99718
99719
99720 for ac_func in __signbitf
99721 do
99722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99723 echo "$as_me:$LINENO: checking for $ac_func" >&5
99724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99725 if eval "test \"\${$as_ac_var+set}\" = set"; then
99726   echo $ECHO_N "(cached) $ECHO_C" >&6
99727 else
99728   if test x$gcc_no_link = xyes; then
99729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99731    { (exit 1); exit 1; }; }
99732 fi
99733 cat >conftest.$ac_ext <<_ACEOF
99734 /* confdefs.h.  */
99735 _ACEOF
99736 cat confdefs.h >>conftest.$ac_ext
99737 cat >>conftest.$ac_ext <<_ACEOF
99738 /* end confdefs.h.  */
99739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99741 #define $ac_func innocuous_$ac_func
99742
99743 /* System header to define __stub macros and hopefully few prototypes,
99744     which can conflict with char $ac_func (); below.
99745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99746     <limits.h> exists even on freestanding compilers.  */
99747
99748 #ifdef __STDC__
99749 # include <limits.h>
99750 #else
99751 # include <assert.h>
99752 #endif
99753
99754 #undef $ac_func
99755
99756 /* Override any gcc2 internal prototype to avoid an error.  */
99757 #ifdef __cplusplus
99758 extern "C"
99759 {
99760 #endif
99761 /* We use char because int might match the return type of a gcc2
99762    builtin and then its argument prototype would still apply.  */
99763 char $ac_func ();
99764 /* The GNU C library defines this for functions which it implements
99765     to always fail with ENOSYS.  Some functions are actually named
99766     something starting with __ and the normal name is an alias.  */
99767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99768 choke me
99769 #else
99770 char (*f) () = $ac_func;
99771 #endif
99772 #ifdef __cplusplus
99773 }
99774 #endif
99775
99776 int
99777 main ()
99778 {
99779 return f != $ac_func;
99780   ;
99781   return 0;
99782 }
99783 _ACEOF
99784 rm -f conftest.$ac_objext conftest$ac_exeext
99785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99786   (eval $ac_link) 2>conftest.er1
99787   ac_status=$?
99788   grep -v '^ *+' conftest.er1 >conftest.err
99789   rm -f conftest.er1
99790   cat conftest.err >&5
99791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99792   (exit $ac_status); } &&
99793          { ac_try='test -z "$ac_c_werror_flag"
99794                          || test ! -s conftest.err'
99795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99796   (eval $ac_try) 2>&5
99797   ac_status=$?
99798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99799   (exit $ac_status); }; } &&
99800          { ac_try='test -s conftest$ac_exeext'
99801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99802   (eval $ac_try) 2>&5
99803   ac_status=$?
99804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99805   (exit $ac_status); }; }; then
99806   eval "$as_ac_var=yes"
99807 else
99808   echo "$as_me: failed program was:" >&5
99809 sed 's/^/| /' conftest.$ac_ext >&5
99810
99811 eval "$as_ac_var=no"
99812 fi
99813 rm -f conftest.err conftest.$ac_objext \
99814       conftest$ac_exeext conftest.$ac_ext
99815 fi
99816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99818 if test `eval echo '${'$as_ac_var'}'` = yes; then
99819   cat >>confdefs.h <<_ACEOF
99820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99821 _ACEOF
99822
99823 else
99824   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99825 fi
99826 done
99827
99828
99829           if test x$ac_cv_func_copysignl = x"yes"; then
99830
99831 for ac_func in __signbitl
99832 do
99833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99834 echo "$as_me:$LINENO: checking for $ac_func" >&5
99835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99836 if eval "test \"\${$as_ac_var+set}\" = set"; then
99837   echo $ECHO_N "(cached) $ECHO_C" >&6
99838 else
99839   if test x$gcc_no_link = xyes; then
99840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99842    { (exit 1); exit 1; }; }
99843 fi
99844 cat >conftest.$ac_ext <<_ACEOF
99845 /* confdefs.h.  */
99846 _ACEOF
99847 cat confdefs.h >>conftest.$ac_ext
99848 cat >>conftest.$ac_ext <<_ACEOF
99849 /* end confdefs.h.  */
99850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99852 #define $ac_func innocuous_$ac_func
99853
99854 /* System header to define __stub macros and hopefully few prototypes,
99855     which can conflict with char $ac_func (); below.
99856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99857     <limits.h> exists even on freestanding compilers.  */
99858
99859 #ifdef __STDC__
99860 # include <limits.h>
99861 #else
99862 # include <assert.h>
99863 #endif
99864
99865 #undef $ac_func
99866
99867 /* Override any gcc2 internal prototype to avoid an error.  */
99868 #ifdef __cplusplus
99869 extern "C"
99870 {
99871 #endif
99872 /* We use char because int might match the return type of a gcc2
99873    builtin and then its argument prototype would still apply.  */
99874 char $ac_func ();
99875 /* The GNU C library defines this for functions which it implements
99876     to always fail with ENOSYS.  Some functions are actually named
99877     something starting with __ and the normal name is an alias.  */
99878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99879 choke me
99880 #else
99881 char (*f) () = $ac_func;
99882 #endif
99883 #ifdef __cplusplus
99884 }
99885 #endif
99886
99887 int
99888 main ()
99889 {
99890 return f != $ac_func;
99891   ;
99892   return 0;
99893 }
99894 _ACEOF
99895 rm -f conftest.$ac_objext conftest$ac_exeext
99896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99897   (eval $ac_link) 2>conftest.er1
99898   ac_status=$?
99899   grep -v '^ *+' conftest.er1 >conftest.err
99900   rm -f conftest.er1
99901   cat conftest.err >&5
99902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99903   (exit $ac_status); } &&
99904          { ac_try='test -z "$ac_c_werror_flag"
99905                          || test ! -s conftest.err'
99906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99907   (eval $ac_try) 2>&5
99908   ac_status=$?
99909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99910   (exit $ac_status); }; } &&
99911          { ac_try='test -s conftest$ac_exeext'
99912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99913   (eval $ac_try) 2>&5
99914   ac_status=$?
99915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99916   (exit $ac_status); }; }; then
99917   eval "$as_ac_var=yes"
99918 else
99919   echo "$as_me: failed program was:" >&5
99920 sed 's/^/| /' conftest.$ac_ext >&5
99921
99922 eval "$as_ac_var=no"
99923 fi
99924 rm -f conftest.err conftest.$ac_objext \
99925       conftest$ac_exeext conftest.$ac_ext
99926 fi
99927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99929 if test `eval echo '${'$as_ac_var'}'` = yes; then
99930   cat >>confdefs.h <<_ACEOF
99931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99932 _ACEOF
99933
99934 else
99935   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99936 fi
99937 done
99938
99939   fi
99940
99941   # Used in libmath/Makefile.am.
99942   if test -n "$LIBMATHOBJS"; then
99943     need_libmath=yes
99944   fi
99945
99946
99947     ;;
99948   *-netbsd*)
99949     SECTION_FLAGS='-ffunction-sections -fdata-sections'
99950
99951
99952   # If we're not using GNU ld, then there's no point in even trying these
99953   # tests.  Check for that first.  We should have already tested for gld
99954   # by now (in libtool), but require it now just to be safe...
99955   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
99956   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
99957
99958
99959
99960   # The name set by libtool depends on the version of libtool.  Shame on us
99961   # for depending on an impl detail, but c'est la vie.  Older versions used
99962   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
99963   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
99964   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
99965   # set (hence we're using an older libtool), then set it.
99966   if test x${with_gnu_ld+set} != xset; then
99967     if test x${ac_cv_prog_gnu_ld+set} != xset; then
99968       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
99969       with_gnu_ld=no
99970     else
99971       with_gnu_ld=$ac_cv_prog_gnu_ld
99972     fi
99973   fi
99974
99975   # Start by getting the version number.  I think the libtool test already
99976   # does some of this, but throws away the result.
99977   glibcxx_ld_is_gold=no
99978   if test x"$with_gnu_ld" = x"yes"; then
99979     echo "$as_me:$LINENO: checking for ld version" >&5
99980 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
99981
99982     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
99983       glibcxx_ld_is_gold=yes
99984     fi
99985     ldver=`$LD --version 2>/dev/null | head -1 | \
99986            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
99987
99988     glibcxx_gnu_ld_version=`echo $ldver | \
99989            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
99990     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
99991 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
99992   fi
99993
99994   # Set --gc-sections.
99995   glibcxx_have_gc_sections=no
99996   if test "$glibcxx_ld_is_gold" = "yes"; then
99997     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
99998       glibcxx_have_gc_sections=yes
99999     fi
100000   else
100001     glibcxx_gcsections_min_ld=21602
100002     if test x"$with_gnu_ld" = x"yes" &&
100003         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100004       glibcxx_have_gc_sections=yes
100005     fi
100006   fi
100007   if test "$glibcxx_have_gc_sections" = "yes"; then
100008     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100009     # NB: This flag only works reliably after 2.16.1. Configure tests
100010     # for this are difficult, so hard wire a value that should work.
100011
100012     ac_test_CFLAGS="${CFLAGS+set}"
100013     ac_save_CFLAGS="$CFLAGS"
100014     CFLAGS='-Wl,--gc-sections'
100015
100016     # Check for -Wl,--gc-sections
100017     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100018 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100019     if test x$gcc_no_link = xyes; then
100020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100022    { (exit 1); exit 1; }; }
100023 fi
100024 cat >conftest.$ac_ext <<_ACEOF
100025 /* confdefs.h.  */
100026 _ACEOF
100027 cat confdefs.h >>conftest.$ac_ext
100028 cat >>conftest.$ac_ext <<_ACEOF
100029 /* end confdefs.h.  */
100030  int one(void) { return 1; }
100031      int two(void) { return 2; }
100032
100033 int
100034 main ()
100035 {
100036  two();
100037   ;
100038   return 0;
100039 }
100040 _ACEOF
100041 rm -f conftest.$ac_objext conftest$ac_exeext
100042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100043   (eval $ac_link) 2>conftest.er1
100044   ac_status=$?
100045   grep -v '^ *+' conftest.er1 >conftest.err
100046   rm -f conftest.er1
100047   cat conftest.err >&5
100048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100049   (exit $ac_status); } &&
100050          { ac_try='test -z "$ac_c_werror_flag"
100051                          || test ! -s conftest.err'
100052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100053   (eval $ac_try) 2>&5
100054   ac_status=$?
100055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100056   (exit $ac_status); }; } &&
100057          { ac_try='test -s conftest$ac_exeext'
100058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100059   (eval $ac_try) 2>&5
100060   ac_status=$?
100061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100062   (exit $ac_status); }; }; then
100063   ac_gcsections=yes
100064 else
100065   echo "$as_me: failed program was:" >&5
100066 sed 's/^/| /' conftest.$ac_ext >&5
100067
100068 ac_gcsections=no
100069 fi
100070 rm -f conftest.err conftest.$ac_objext \
100071       conftest$ac_exeext conftest.$ac_ext
100072     if test "$ac_gcsections" = "yes"; then
100073       rm -f conftest.c
100074       touch conftest.c
100075       if $CC -c conftest.c; then
100076         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100077            grep "Warning: gc-sections option ignored" > /dev/null; then
100078           ac_gcsections=no
100079         fi
100080       fi
100081       rm -f conftest.c conftest.o conftest
100082     fi
100083     if test "$ac_gcsections" = "yes"; then
100084       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100085     fi
100086     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100087 echo "${ECHO_T}$ac_gcsections" >&6
100088
100089     if test "$ac_test_CFLAGS" = set; then
100090       CFLAGS="$ac_save_CFLAGS"
100091     else
100092       # this is the suspicious part
100093       CFLAGS=''
100094     fi
100095   fi
100096
100097   # Set -z,relro.
100098   # Note this is only for shared objects.
100099   ac_ld_relro=no
100100   if test x"$with_gnu_ld" = x"yes"; then
100101     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100102 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100103     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100104     if test -n "$cxx_z_relo"; then
100105       OPT_LDFLAGS="-Wl,-z,relro"
100106       ac_ld_relro=yes
100107     fi
100108     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100109 echo "${ECHO_T}$ac_ld_relro" >&6
100110   fi
100111
100112   # Set linker optimization flags.
100113   if test x"$with_gnu_ld" = x"yes"; then
100114     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100115   fi
100116
100117
100118
100119
100120
100121
100122 echo "$as_me:$LINENO: checking for main in -lm" >&5
100123 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100124 if test "${ac_cv_lib_m_main+set}" = set; then
100125   echo $ECHO_N "(cached) $ECHO_C" >&6
100126 else
100127   ac_check_lib_save_LIBS=$LIBS
100128 LIBS="-lm  $LIBS"
100129 if test x$gcc_no_link = xyes; then
100130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100132    { (exit 1); exit 1; }; }
100133 fi
100134 cat >conftest.$ac_ext <<_ACEOF
100135 /* confdefs.h.  */
100136 _ACEOF
100137 cat confdefs.h >>conftest.$ac_ext
100138 cat >>conftest.$ac_ext <<_ACEOF
100139 /* end confdefs.h.  */
100140
100141
100142 int
100143 main ()
100144 {
100145 main ();
100146   ;
100147   return 0;
100148 }
100149 _ACEOF
100150 rm -f conftest.$ac_objext conftest$ac_exeext
100151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100152   (eval $ac_link) 2>conftest.er1
100153   ac_status=$?
100154   grep -v '^ *+' conftest.er1 >conftest.err
100155   rm -f conftest.er1
100156   cat conftest.err >&5
100157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100158   (exit $ac_status); } &&
100159          { ac_try='test -z "$ac_c_werror_flag"
100160                          || test ! -s conftest.err'
100161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100162   (eval $ac_try) 2>&5
100163   ac_status=$?
100164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100165   (exit $ac_status); }; } &&
100166          { ac_try='test -s conftest$ac_exeext'
100167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100168   (eval $ac_try) 2>&5
100169   ac_status=$?
100170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100171   (exit $ac_status); }; }; then
100172   ac_cv_lib_m_main=yes
100173 else
100174   echo "$as_me: failed program was:" >&5
100175 sed 's/^/| /' conftest.$ac_ext >&5
100176
100177 ac_cv_lib_m_main=no
100178 fi
100179 rm -f conftest.err conftest.$ac_objext \
100180       conftest$ac_exeext conftest.$ac_ext
100181 LIBS=$ac_check_lib_save_LIBS
100182 fi
100183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100184 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100185 if test $ac_cv_lib_m_main = yes; then
100186   cat >>confdefs.h <<_ACEOF
100187 #define HAVE_LIBM 1
100188 _ACEOF
100189
100190   LIBS="-lm $LIBS"
100191
100192 fi
100193
100194
100195 for ac_func in copysignf
100196 do
100197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100198 echo "$as_me:$LINENO: checking for $ac_func" >&5
100199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100200 if eval "test \"\${$as_ac_var+set}\" = set"; then
100201   echo $ECHO_N "(cached) $ECHO_C" >&6
100202 else
100203   if test x$gcc_no_link = xyes; then
100204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100206    { (exit 1); exit 1; }; }
100207 fi
100208 cat >conftest.$ac_ext <<_ACEOF
100209 /* confdefs.h.  */
100210 _ACEOF
100211 cat confdefs.h >>conftest.$ac_ext
100212 cat >>conftest.$ac_ext <<_ACEOF
100213 /* end confdefs.h.  */
100214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100216 #define $ac_func innocuous_$ac_func
100217
100218 /* System header to define __stub macros and hopefully few prototypes,
100219     which can conflict with char $ac_func (); below.
100220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100221     <limits.h> exists even on freestanding compilers.  */
100222
100223 #ifdef __STDC__
100224 # include <limits.h>
100225 #else
100226 # include <assert.h>
100227 #endif
100228
100229 #undef $ac_func
100230
100231 /* Override any gcc2 internal prototype to avoid an error.  */
100232 #ifdef __cplusplus
100233 extern "C"
100234 {
100235 #endif
100236 /* We use char because int might match the return type of a gcc2
100237    builtin and then its argument prototype would still apply.  */
100238 char $ac_func ();
100239 /* The GNU C library defines this for functions which it implements
100240     to always fail with ENOSYS.  Some functions are actually named
100241     something starting with __ and the normal name is an alias.  */
100242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100243 choke me
100244 #else
100245 char (*f) () = $ac_func;
100246 #endif
100247 #ifdef __cplusplus
100248 }
100249 #endif
100250
100251 int
100252 main ()
100253 {
100254 return f != $ac_func;
100255   ;
100256   return 0;
100257 }
100258 _ACEOF
100259 rm -f conftest.$ac_objext conftest$ac_exeext
100260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100261   (eval $ac_link) 2>conftest.er1
100262   ac_status=$?
100263   grep -v '^ *+' conftest.er1 >conftest.err
100264   rm -f conftest.er1
100265   cat conftest.err >&5
100266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100267   (exit $ac_status); } &&
100268          { ac_try='test -z "$ac_c_werror_flag"
100269                          || test ! -s conftest.err'
100270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100271   (eval $ac_try) 2>&5
100272   ac_status=$?
100273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100274   (exit $ac_status); }; } &&
100275          { ac_try='test -s conftest$ac_exeext'
100276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100277   (eval $ac_try) 2>&5
100278   ac_status=$?
100279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100280   (exit $ac_status); }; }; then
100281   eval "$as_ac_var=yes"
100282 else
100283   echo "$as_me: failed program was:" >&5
100284 sed 's/^/| /' conftest.$ac_ext >&5
100285
100286 eval "$as_ac_var=no"
100287 fi
100288 rm -f conftest.err conftest.$ac_objext \
100289       conftest$ac_exeext conftest.$ac_ext
100290 fi
100291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100293 if test `eval echo '${'$as_ac_var'}'` = yes; then
100294   cat >>confdefs.h <<_ACEOF
100295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100296 _ACEOF
100297
100298 else
100299   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
100300 fi
100301 done
100302
100303
100304
100305 for ac_func in __signbit
100306 do
100307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100308 echo "$as_me:$LINENO: checking for $ac_func" >&5
100309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100310 if eval "test \"\${$as_ac_var+set}\" = set"; then
100311   echo $ECHO_N "(cached) $ECHO_C" >&6
100312 else
100313   if test x$gcc_no_link = xyes; then
100314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100316    { (exit 1); exit 1; }; }
100317 fi
100318 cat >conftest.$ac_ext <<_ACEOF
100319 /* confdefs.h.  */
100320 _ACEOF
100321 cat confdefs.h >>conftest.$ac_ext
100322 cat >>conftest.$ac_ext <<_ACEOF
100323 /* end confdefs.h.  */
100324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100325    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100326 #define $ac_func innocuous_$ac_func
100327
100328 /* System header to define __stub macros and hopefully few prototypes,
100329     which can conflict with char $ac_func (); below.
100330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100331     <limits.h> exists even on freestanding compilers.  */
100332
100333 #ifdef __STDC__
100334 # include <limits.h>
100335 #else
100336 # include <assert.h>
100337 #endif
100338
100339 #undef $ac_func
100340
100341 /* Override any gcc2 internal prototype to avoid an error.  */
100342 #ifdef __cplusplus
100343 extern "C"
100344 {
100345 #endif
100346 /* We use char because int might match the return type of a gcc2
100347    builtin and then its argument prototype would still apply.  */
100348 char $ac_func ();
100349 /* The GNU C library defines this for functions which it implements
100350     to always fail with ENOSYS.  Some functions are actually named
100351     something starting with __ and the normal name is an alias.  */
100352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100353 choke me
100354 #else
100355 char (*f) () = $ac_func;
100356 #endif
100357 #ifdef __cplusplus
100358 }
100359 #endif
100360
100361 int
100362 main ()
100363 {
100364 return f != $ac_func;
100365   ;
100366   return 0;
100367 }
100368 _ACEOF
100369 rm -f conftest.$ac_objext conftest$ac_exeext
100370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100371   (eval $ac_link) 2>conftest.er1
100372   ac_status=$?
100373   grep -v '^ *+' conftest.er1 >conftest.err
100374   rm -f conftest.er1
100375   cat conftest.err >&5
100376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100377   (exit $ac_status); } &&
100378          { ac_try='test -z "$ac_c_werror_flag"
100379                          || test ! -s conftest.err'
100380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100381   (eval $ac_try) 2>&5
100382   ac_status=$?
100383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100384   (exit $ac_status); }; } &&
100385          { ac_try='test -s conftest$ac_exeext'
100386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100387   (eval $ac_try) 2>&5
100388   ac_status=$?
100389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100390   (exit $ac_status); }; }; then
100391   eval "$as_ac_var=yes"
100392 else
100393   echo "$as_me: failed program was:" >&5
100394 sed 's/^/| /' conftest.$ac_ext >&5
100395
100396 eval "$as_ac_var=no"
100397 fi
100398 rm -f conftest.err conftest.$ac_objext \
100399       conftest$ac_exeext conftest.$ac_ext
100400 fi
100401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100403 if test `eval echo '${'$as_ac_var'}'` = yes; then
100404   cat >>confdefs.h <<_ACEOF
100405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100406 _ACEOF
100407
100408 else
100409   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
100410 fi
100411 done
100412
100413
100414
100415 for ac_func in __signbitf
100416 do
100417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100418 echo "$as_me:$LINENO: checking for $ac_func" >&5
100419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100420 if eval "test \"\${$as_ac_var+set}\" = set"; then
100421   echo $ECHO_N "(cached) $ECHO_C" >&6
100422 else
100423   if test x$gcc_no_link = xyes; then
100424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100426    { (exit 1); exit 1; }; }
100427 fi
100428 cat >conftest.$ac_ext <<_ACEOF
100429 /* confdefs.h.  */
100430 _ACEOF
100431 cat confdefs.h >>conftest.$ac_ext
100432 cat >>conftest.$ac_ext <<_ACEOF
100433 /* end confdefs.h.  */
100434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100436 #define $ac_func innocuous_$ac_func
100437
100438 /* System header to define __stub macros and hopefully few prototypes,
100439     which can conflict with char $ac_func (); below.
100440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100441     <limits.h> exists even on freestanding compilers.  */
100442
100443 #ifdef __STDC__
100444 # include <limits.h>
100445 #else
100446 # include <assert.h>
100447 #endif
100448
100449 #undef $ac_func
100450
100451 /* Override any gcc2 internal prototype to avoid an error.  */
100452 #ifdef __cplusplus
100453 extern "C"
100454 {
100455 #endif
100456 /* We use char because int might match the return type of a gcc2
100457    builtin and then its argument prototype would still apply.  */
100458 char $ac_func ();
100459 /* The GNU C library defines this for functions which it implements
100460     to always fail with ENOSYS.  Some functions are actually named
100461     something starting with __ and the normal name is an alias.  */
100462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100463 choke me
100464 #else
100465 char (*f) () = $ac_func;
100466 #endif
100467 #ifdef __cplusplus
100468 }
100469 #endif
100470
100471 int
100472 main ()
100473 {
100474 return f != $ac_func;
100475   ;
100476   return 0;
100477 }
100478 _ACEOF
100479 rm -f conftest.$ac_objext conftest$ac_exeext
100480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100481   (eval $ac_link) 2>conftest.er1
100482   ac_status=$?
100483   grep -v '^ *+' conftest.er1 >conftest.err
100484   rm -f conftest.er1
100485   cat conftest.err >&5
100486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100487   (exit $ac_status); } &&
100488          { ac_try='test -z "$ac_c_werror_flag"
100489                          || test ! -s conftest.err'
100490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100491   (eval $ac_try) 2>&5
100492   ac_status=$?
100493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100494   (exit $ac_status); }; } &&
100495          { ac_try='test -s conftest$ac_exeext'
100496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100497   (eval $ac_try) 2>&5
100498   ac_status=$?
100499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100500   (exit $ac_status); }; }; then
100501   eval "$as_ac_var=yes"
100502 else
100503   echo "$as_me: failed program was:" >&5
100504 sed 's/^/| /' conftest.$ac_ext >&5
100505
100506 eval "$as_ac_var=no"
100507 fi
100508 rm -f conftest.err conftest.$ac_objext \
100509       conftest$ac_exeext conftest.$ac_ext
100510 fi
100511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100513 if test `eval echo '${'$as_ac_var'}'` = yes; then
100514   cat >>confdefs.h <<_ACEOF
100515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100516 _ACEOF
100517
100518 else
100519   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
100520 fi
100521 done
100522
100523
100524           if test x$ac_cv_func_copysignl = x"yes"; then
100525
100526 for ac_func in __signbitl
100527 do
100528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100529 echo "$as_me:$LINENO: checking for $ac_func" >&5
100530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100531 if eval "test \"\${$as_ac_var+set}\" = set"; then
100532   echo $ECHO_N "(cached) $ECHO_C" >&6
100533 else
100534   if test x$gcc_no_link = xyes; then
100535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100537    { (exit 1); exit 1; }; }
100538 fi
100539 cat >conftest.$ac_ext <<_ACEOF
100540 /* confdefs.h.  */
100541 _ACEOF
100542 cat confdefs.h >>conftest.$ac_ext
100543 cat >>conftest.$ac_ext <<_ACEOF
100544 /* end confdefs.h.  */
100545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100547 #define $ac_func innocuous_$ac_func
100548
100549 /* System header to define __stub macros and hopefully few prototypes,
100550     which can conflict with char $ac_func (); below.
100551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100552     <limits.h> exists even on freestanding compilers.  */
100553
100554 #ifdef __STDC__
100555 # include <limits.h>
100556 #else
100557 # include <assert.h>
100558 #endif
100559
100560 #undef $ac_func
100561
100562 /* Override any gcc2 internal prototype to avoid an error.  */
100563 #ifdef __cplusplus
100564 extern "C"
100565 {
100566 #endif
100567 /* We use char because int might match the return type of a gcc2
100568    builtin and then its argument prototype would still apply.  */
100569 char $ac_func ();
100570 /* The GNU C library defines this for functions which it implements
100571     to always fail with ENOSYS.  Some functions are actually named
100572     something starting with __ and the normal name is an alias.  */
100573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100574 choke me
100575 #else
100576 char (*f) () = $ac_func;
100577 #endif
100578 #ifdef __cplusplus
100579 }
100580 #endif
100581
100582 int
100583 main ()
100584 {
100585 return f != $ac_func;
100586   ;
100587   return 0;
100588 }
100589 _ACEOF
100590 rm -f conftest.$ac_objext conftest$ac_exeext
100591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100592   (eval $ac_link) 2>conftest.er1
100593   ac_status=$?
100594   grep -v '^ *+' conftest.er1 >conftest.err
100595   rm -f conftest.er1
100596   cat conftest.err >&5
100597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100598   (exit $ac_status); } &&
100599          { ac_try='test -z "$ac_c_werror_flag"
100600                          || test ! -s conftest.err'
100601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100602   (eval $ac_try) 2>&5
100603   ac_status=$?
100604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100605   (exit $ac_status); }; } &&
100606          { ac_try='test -s conftest$ac_exeext'
100607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100608   (eval $ac_try) 2>&5
100609   ac_status=$?
100610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100611   (exit $ac_status); }; }; then
100612   eval "$as_ac_var=yes"
100613 else
100614   echo "$as_me: failed program was:" >&5
100615 sed 's/^/| /' conftest.$ac_ext >&5
100616
100617 eval "$as_ac_var=no"
100618 fi
100619 rm -f conftest.err conftest.$ac_objext \
100620       conftest$ac_exeext conftest.$ac_ext
100621 fi
100622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100624 if test `eval echo '${'$as_ac_var'}'` = yes; then
100625   cat >>confdefs.h <<_ACEOF
100626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100627 _ACEOF
100628
100629 else
100630   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
100631 fi
100632 done
100633
100634   fi
100635
100636   # Used in libmath/Makefile.am.
100637   if test -n "$LIBMATHOBJS"; then
100638     need_libmath=yes
100639   fi
100640
100641
100642     cat >>confdefs.h <<\_ACEOF
100643 #define HAVE_COPYSIGN 1
100644 _ACEOF
100645
100646     cat >>confdefs.h <<\_ACEOF
100647 #define HAVE_COPYSIGNF 1
100648 _ACEOF
100649
100650     cat >>confdefs.h <<\_ACEOF
100651 #define HAVE_FINITEF 1
100652 _ACEOF
100653
100654     cat >>confdefs.h <<\_ACEOF
100655 #define HAVE_FINITE 1
100656 _ACEOF
100657
100658     cat >>confdefs.h <<\_ACEOF
100659 #define HAVE_FREXPF 1
100660 _ACEOF
100661
100662     cat >>confdefs.h <<\_ACEOF
100663 #define HAVE_HYPOTF 1
100664 _ACEOF
100665
100666     cat >>confdefs.h <<\_ACEOF
100667 #define HAVE_ISINF 1
100668 _ACEOF
100669
100670     cat >>confdefs.h <<\_ACEOF
100671 #define HAVE_ISINFF 1
100672 _ACEOF
100673
100674     cat >>confdefs.h <<\_ACEOF
100675 #define HAVE_ISNAN 1
100676 _ACEOF
100677
100678     cat >>confdefs.h <<\_ACEOF
100679 #define HAVE_ISNANF 1
100680 _ACEOF
100681
100682     if test x"long_double_math_on_this_cpu" = x"yes"; then
100683       cat >>confdefs.h <<\_ACEOF
100684 #define HAVE_FINITEL 1
100685 _ACEOF
100686
100687       cat >>confdefs.h <<\_ACEOF
100688 #define HAVE_ISINFL 1
100689 _ACEOF
100690
100691       cat >>confdefs.h <<\_ACEOF
100692 #define HAVE_ISNANL 1
100693 _ACEOF
100694
100695     fi
100696     ;;
100697   *-netware)
100698     SECTION_FLAGS='-ffunction-sections -fdata-sections'
100699
100700
100701   # If we're not using GNU ld, then there's no point in even trying these
100702   # tests.  Check for that first.  We should have already tested for gld
100703   # by now (in libtool), but require it now just to be safe...
100704   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100705   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100706
100707
100708
100709   # The name set by libtool depends on the version of libtool.  Shame on us
100710   # for depending on an impl detail, but c'est la vie.  Older versions used
100711   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100712   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100713   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100714   # set (hence we're using an older libtool), then set it.
100715   if test x${with_gnu_ld+set} != xset; then
100716     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100717       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100718       with_gnu_ld=no
100719     else
100720       with_gnu_ld=$ac_cv_prog_gnu_ld
100721     fi
100722   fi
100723
100724   # Start by getting the version number.  I think the libtool test already
100725   # does some of this, but throws away the result.
100726   glibcxx_ld_is_gold=no
100727   if test x"$with_gnu_ld" = x"yes"; then
100728     echo "$as_me:$LINENO: checking for ld version" >&5
100729 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100730
100731     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100732       glibcxx_ld_is_gold=yes
100733     fi
100734     ldver=`$LD --version 2>/dev/null | head -1 | \
100735            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
100736
100737     glibcxx_gnu_ld_version=`echo $ldver | \
100738            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100739     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100740 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100741   fi
100742
100743   # Set --gc-sections.
100744   glibcxx_have_gc_sections=no
100745   if test "$glibcxx_ld_is_gold" = "yes"; then
100746     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
100747       glibcxx_have_gc_sections=yes
100748     fi
100749   else
100750     glibcxx_gcsections_min_ld=21602
100751     if test x"$with_gnu_ld" = x"yes" &&
100752         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
100753       glibcxx_have_gc_sections=yes
100754     fi
100755   fi
100756   if test "$glibcxx_have_gc_sections" = "yes"; then
100757     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
100758     # NB: This flag only works reliably after 2.16.1. Configure tests
100759     # for this are difficult, so hard wire a value that should work.
100760
100761     ac_test_CFLAGS="${CFLAGS+set}"
100762     ac_save_CFLAGS="$CFLAGS"
100763     CFLAGS='-Wl,--gc-sections'
100764
100765     # Check for -Wl,--gc-sections
100766     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
100767 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
100768     if test x$gcc_no_link = xyes; then
100769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100771    { (exit 1); exit 1; }; }
100772 fi
100773 cat >conftest.$ac_ext <<_ACEOF
100774 /* confdefs.h.  */
100775 _ACEOF
100776 cat confdefs.h >>conftest.$ac_ext
100777 cat >>conftest.$ac_ext <<_ACEOF
100778 /* end confdefs.h.  */
100779  int one(void) { return 1; }
100780      int two(void) { return 2; }
100781
100782 int
100783 main ()
100784 {
100785  two();
100786   ;
100787   return 0;
100788 }
100789 _ACEOF
100790 rm -f conftest.$ac_objext conftest$ac_exeext
100791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100792   (eval $ac_link) 2>conftest.er1
100793   ac_status=$?
100794   grep -v '^ *+' conftest.er1 >conftest.err
100795   rm -f conftest.er1
100796   cat conftest.err >&5
100797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100798   (exit $ac_status); } &&
100799          { ac_try='test -z "$ac_c_werror_flag"
100800                          || test ! -s conftest.err'
100801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100802   (eval $ac_try) 2>&5
100803   ac_status=$?
100804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100805   (exit $ac_status); }; } &&
100806          { ac_try='test -s conftest$ac_exeext'
100807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100808   (eval $ac_try) 2>&5
100809   ac_status=$?
100810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100811   (exit $ac_status); }; }; then
100812   ac_gcsections=yes
100813 else
100814   echo "$as_me: failed program was:" >&5
100815 sed 's/^/| /' conftest.$ac_ext >&5
100816
100817 ac_gcsections=no
100818 fi
100819 rm -f conftest.err conftest.$ac_objext \
100820       conftest$ac_exeext conftest.$ac_ext
100821     if test "$ac_gcsections" = "yes"; then
100822       rm -f conftest.c
100823       touch conftest.c
100824       if $CC -c conftest.c; then
100825         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
100826            grep "Warning: gc-sections option ignored" > /dev/null; then
100827           ac_gcsections=no
100828         fi
100829       fi
100830       rm -f conftest.c conftest.o conftest
100831     fi
100832     if test "$ac_gcsections" = "yes"; then
100833       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
100834     fi
100835     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
100836 echo "${ECHO_T}$ac_gcsections" >&6
100837
100838     if test "$ac_test_CFLAGS" = set; then
100839       CFLAGS="$ac_save_CFLAGS"
100840     else
100841       # this is the suspicious part
100842       CFLAGS=''
100843     fi
100844   fi
100845
100846   # Set -z,relro.
100847   # Note this is only for shared objects.
100848   ac_ld_relro=no
100849   if test x"$with_gnu_ld" = x"yes"; then
100850     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
100851 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
100852     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
100853     if test -n "$cxx_z_relo"; then
100854       OPT_LDFLAGS="-Wl,-z,relro"
100855       ac_ld_relro=yes
100856     fi
100857     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
100858 echo "${ECHO_T}$ac_ld_relro" >&6
100859   fi
100860
100861   # Set linker optimization flags.
100862   if test x"$with_gnu_ld" = x"yes"; then
100863     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
100864   fi
100865
100866
100867
100868
100869
100870
100871 echo "$as_me:$LINENO: checking for main in -lm" >&5
100872 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
100873 if test "${ac_cv_lib_m_main+set}" = set; then
100874   echo $ECHO_N "(cached) $ECHO_C" >&6
100875 else
100876   ac_check_lib_save_LIBS=$LIBS
100877 LIBS="-lm  $LIBS"
100878 if test x$gcc_no_link = xyes; then
100879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100881    { (exit 1); exit 1; }; }
100882 fi
100883 cat >conftest.$ac_ext <<_ACEOF
100884 /* confdefs.h.  */
100885 _ACEOF
100886 cat confdefs.h >>conftest.$ac_ext
100887 cat >>conftest.$ac_ext <<_ACEOF
100888 /* end confdefs.h.  */
100889
100890
100891 int
100892 main ()
100893 {
100894 main ();
100895   ;
100896   return 0;
100897 }
100898 _ACEOF
100899 rm -f conftest.$ac_objext conftest$ac_exeext
100900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100901   (eval $ac_link) 2>conftest.er1
100902   ac_status=$?
100903   grep -v '^ *+' conftest.er1 >conftest.err
100904   rm -f conftest.er1
100905   cat conftest.err >&5
100906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100907   (exit $ac_status); } &&
100908          { ac_try='test -z "$ac_c_werror_flag"
100909                          || test ! -s conftest.err'
100910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100911   (eval $ac_try) 2>&5
100912   ac_status=$?
100913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100914   (exit $ac_status); }; } &&
100915          { ac_try='test -s conftest$ac_exeext'
100916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100917   (eval $ac_try) 2>&5
100918   ac_status=$?
100919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100920   (exit $ac_status); }; }; then
100921   ac_cv_lib_m_main=yes
100922 else
100923   echo "$as_me: failed program was:" >&5
100924 sed 's/^/| /' conftest.$ac_ext >&5
100925
100926 ac_cv_lib_m_main=no
100927 fi
100928 rm -f conftest.err conftest.$ac_objext \
100929       conftest$ac_exeext conftest.$ac_ext
100930 LIBS=$ac_check_lib_save_LIBS
100931 fi
100932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
100933 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
100934 if test $ac_cv_lib_m_main = yes; then
100935   cat >>confdefs.h <<_ACEOF
100936 #define HAVE_LIBM 1
100937 _ACEOF
100938
100939   LIBS="-lm $LIBS"
100940
100941 fi
100942
100943
100944 for ac_func in copysignf
100945 do
100946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100947 echo "$as_me:$LINENO: checking for $ac_func" >&5
100948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100949 if eval "test \"\${$as_ac_var+set}\" = set"; then
100950   echo $ECHO_N "(cached) $ECHO_C" >&6
100951 else
100952   if test x$gcc_no_link = xyes; then
100953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100955    { (exit 1); exit 1; }; }
100956 fi
100957 cat >conftest.$ac_ext <<_ACEOF
100958 /* confdefs.h.  */
100959 _ACEOF
100960 cat confdefs.h >>conftest.$ac_ext
100961 cat >>conftest.$ac_ext <<_ACEOF
100962 /* end confdefs.h.  */
100963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100965 #define $ac_func innocuous_$ac_func
100966
100967 /* System header to define __stub macros and hopefully few prototypes,
100968     which can conflict with char $ac_func (); below.
100969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100970     <limits.h> exists even on freestanding compilers.  */
100971
100972 #ifdef __STDC__
100973 # include <limits.h>
100974 #else
100975 # include <assert.h>
100976 #endif
100977
100978 #undef $ac_func
100979
100980 /* Override any gcc2 internal prototype to avoid an error.  */
100981 #ifdef __cplusplus
100982 extern "C"
100983 {
100984 #endif
100985 /* We use char because int might match the return type of a gcc2
100986    builtin and then its argument prototype would still apply.  */
100987 char $ac_func ();
100988 /* The GNU C library defines this for functions which it implements
100989     to always fail with ENOSYS.  Some functions are actually named
100990     something starting with __ and the normal name is an alias.  */
100991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100992 choke me
100993 #else
100994 char (*f) () = $ac_func;
100995 #endif
100996 #ifdef __cplusplus
100997 }
100998 #endif
100999
101000 int
101001 main ()
101002 {
101003 return f != $ac_func;
101004   ;
101005   return 0;
101006 }
101007 _ACEOF
101008 rm -f conftest.$ac_objext conftest$ac_exeext
101009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101010   (eval $ac_link) 2>conftest.er1
101011   ac_status=$?
101012   grep -v '^ *+' conftest.er1 >conftest.err
101013   rm -f conftest.er1
101014   cat conftest.err >&5
101015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101016   (exit $ac_status); } &&
101017          { ac_try='test -z "$ac_c_werror_flag"
101018                          || test ! -s conftest.err'
101019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101020   (eval $ac_try) 2>&5
101021   ac_status=$?
101022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101023   (exit $ac_status); }; } &&
101024          { ac_try='test -s conftest$ac_exeext'
101025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101026   (eval $ac_try) 2>&5
101027   ac_status=$?
101028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101029   (exit $ac_status); }; }; then
101030   eval "$as_ac_var=yes"
101031 else
101032   echo "$as_me: failed program was:" >&5
101033 sed 's/^/| /' conftest.$ac_ext >&5
101034
101035 eval "$as_ac_var=no"
101036 fi
101037 rm -f conftest.err conftest.$ac_objext \
101038       conftest$ac_exeext conftest.$ac_ext
101039 fi
101040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101042 if test `eval echo '${'$as_ac_var'}'` = yes; then
101043   cat >>confdefs.h <<_ACEOF
101044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101045 _ACEOF
101046
101047 else
101048   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101049 fi
101050 done
101051
101052
101053
101054 for ac_func in __signbit
101055 do
101056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101057 echo "$as_me:$LINENO: checking for $ac_func" >&5
101058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101059 if eval "test \"\${$as_ac_var+set}\" = set"; then
101060   echo $ECHO_N "(cached) $ECHO_C" >&6
101061 else
101062   if test x$gcc_no_link = xyes; then
101063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101065    { (exit 1); exit 1; }; }
101066 fi
101067 cat >conftest.$ac_ext <<_ACEOF
101068 /* confdefs.h.  */
101069 _ACEOF
101070 cat confdefs.h >>conftest.$ac_ext
101071 cat >>conftest.$ac_ext <<_ACEOF
101072 /* end confdefs.h.  */
101073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101075 #define $ac_func innocuous_$ac_func
101076
101077 /* System header to define __stub macros and hopefully few prototypes,
101078     which can conflict with char $ac_func (); below.
101079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101080     <limits.h> exists even on freestanding compilers.  */
101081
101082 #ifdef __STDC__
101083 # include <limits.h>
101084 #else
101085 # include <assert.h>
101086 #endif
101087
101088 #undef $ac_func
101089
101090 /* Override any gcc2 internal prototype to avoid an error.  */
101091 #ifdef __cplusplus
101092 extern "C"
101093 {
101094 #endif
101095 /* We use char because int might match the return type of a gcc2
101096    builtin and then its argument prototype would still apply.  */
101097 char $ac_func ();
101098 /* The GNU C library defines this for functions which it implements
101099     to always fail with ENOSYS.  Some functions are actually named
101100     something starting with __ and the normal name is an alias.  */
101101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101102 choke me
101103 #else
101104 char (*f) () = $ac_func;
101105 #endif
101106 #ifdef __cplusplus
101107 }
101108 #endif
101109
101110 int
101111 main ()
101112 {
101113 return f != $ac_func;
101114   ;
101115   return 0;
101116 }
101117 _ACEOF
101118 rm -f conftest.$ac_objext conftest$ac_exeext
101119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101120   (eval $ac_link) 2>conftest.er1
101121   ac_status=$?
101122   grep -v '^ *+' conftest.er1 >conftest.err
101123   rm -f conftest.er1
101124   cat conftest.err >&5
101125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101126   (exit $ac_status); } &&
101127          { ac_try='test -z "$ac_c_werror_flag"
101128                          || test ! -s conftest.err'
101129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101130   (eval $ac_try) 2>&5
101131   ac_status=$?
101132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101133   (exit $ac_status); }; } &&
101134          { ac_try='test -s conftest$ac_exeext'
101135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101136   (eval $ac_try) 2>&5
101137   ac_status=$?
101138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101139   (exit $ac_status); }; }; then
101140   eval "$as_ac_var=yes"
101141 else
101142   echo "$as_me: failed program was:" >&5
101143 sed 's/^/| /' conftest.$ac_ext >&5
101144
101145 eval "$as_ac_var=no"
101146 fi
101147 rm -f conftest.err conftest.$ac_objext \
101148       conftest$ac_exeext conftest.$ac_ext
101149 fi
101150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101152 if test `eval echo '${'$as_ac_var'}'` = yes; then
101153   cat >>confdefs.h <<_ACEOF
101154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101155 _ACEOF
101156
101157 else
101158   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101159 fi
101160 done
101161
101162
101163
101164 for ac_func in __signbitf
101165 do
101166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101167 echo "$as_me:$LINENO: checking for $ac_func" >&5
101168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101169 if eval "test \"\${$as_ac_var+set}\" = set"; then
101170   echo $ECHO_N "(cached) $ECHO_C" >&6
101171 else
101172   if test x$gcc_no_link = xyes; then
101173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101175    { (exit 1); exit 1; }; }
101176 fi
101177 cat >conftest.$ac_ext <<_ACEOF
101178 /* confdefs.h.  */
101179 _ACEOF
101180 cat confdefs.h >>conftest.$ac_ext
101181 cat >>conftest.$ac_ext <<_ACEOF
101182 /* end confdefs.h.  */
101183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101185 #define $ac_func innocuous_$ac_func
101186
101187 /* System header to define __stub macros and hopefully few prototypes,
101188     which can conflict with char $ac_func (); below.
101189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101190     <limits.h> exists even on freestanding compilers.  */
101191
101192 #ifdef __STDC__
101193 # include <limits.h>
101194 #else
101195 # include <assert.h>
101196 #endif
101197
101198 #undef $ac_func
101199
101200 /* Override any gcc2 internal prototype to avoid an error.  */
101201 #ifdef __cplusplus
101202 extern "C"
101203 {
101204 #endif
101205 /* We use char because int might match the return type of a gcc2
101206    builtin and then its argument prototype would still apply.  */
101207 char $ac_func ();
101208 /* The GNU C library defines this for functions which it implements
101209     to always fail with ENOSYS.  Some functions are actually named
101210     something starting with __ and the normal name is an alias.  */
101211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101212 choke me
101213 #else
101214 char (*f) () = $ac_func;
101215 #endif
101216 #ifdef __cplusplus
101217 }
101218 #endif
101219
101220 int
101221 main ()
101222 {
101223 return f != $ac_func;
101224   ;
101225   return 0;
101226 }
101227 _ACEOF
101228 rm -f conftest.$ac_objext conftest$ac_exeext
101229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101230   (eval $ac_link) 2>conftest.er1
101231   ac_status=$?
101232   grep -v '^ *+' conftest.er1 >conftest.err
101233   rm -f conftest.er1
101234   cat conftest.err >&5
101235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101236   (exit $ac_status); } &&
101237          { ac_try='test -z "$ac_c_werror_flag"
101238                          || test ! -s conftest.err'
101239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101240   (eval $ac_try) 2>&5
101241   ac_status=$?
101242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101243   (exit $ac_status); }; } &&
101244          { ac_try='test -s conftest$ac_exeext'
101245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101246   (eval $ac_try) 2>&5
101247   ac_status=$?
101248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101249   (exit $ac_status); }; }; then
101250   eval "$as_ac_var=yes"
101251 else
101252   echo "$as_me: failed program was:" >&5
101253 sed 's/^/| /' conftest.$ac_ext >&5
101254
101255 eval "$as_ac_var=no"
101256 fi
101257 rm -f conftest.err conftest.$ac_objext \
101258       conftest$ac_exeext conftest.$ac_ext
101259 fi
101260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101262 if test `eval echo '${'$as_ac_var'}'` = yes; then
101263   cat >>confdefs.h <<_ACEOF
101264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101265 _ACEOF
101266
101267 else
101268   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101269 fi
101270 done
101271
101272
101273           if test x$ac_cv_func_copysignl = x"yes"; then
101274
101275 for ac_func in __signbitl
101276 do
101277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101278 echo "$as_me:$LINENO: checking for $ac_func" >&5
101279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101280 if eval "test \"\${$as_ac_var+set}\" = set"; then
101281   echo $ECHO_N "(cached) $ECHO_C" >&6
101282 else
101283   if test x$gcc_no_link = xyes; then
101284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101286    { (exit 1); exit 1; }; }
101287 fi
101288 cat >conftest.$ac_ext <<_ACEOF
101289 /* confdefs.h.  */
101290 _ACEOF
101291 cat confdefs.h >>conftest.$ac_ext
101292 cat >>conftest.$ac_ext <<_ACEOF
101293 /* end confdefs.h.  */
101294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101295    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101296 #define $ac_func innocuous_$ac_func
101297
101298 /* System header to define __stub macros and hopefully few prototypes,
101299     which can conflict with char $ac_func (); below.
101300     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101301     <limits.h> exists even on freestanding compilers.  */
101302
101303 #ifdef __STDC__
101304 # include <limits.h>
101305 #else
101306 # include <assert.h>
101307 #endif
101308
101309 #undef $ac_func
101310
101311 /* Override any gcc2 internal prototype to avoid an error.  */
101312 #ifdef __cplusplus
101313 extern "C"
101314 {
101315 #endif
101316 /* We use char because int might match the return type of a gcc2
101317    builtin and then its argument prototype would still apply.  */
101318 char $ac_func ();
101319 /* The GNU C library defines this for functions which it implements
101320     to always fail with ENOSYS.  Some functions are actually named
101321     something starting with __ and the normal name is an alias.  */
101322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101323 choke me
101324 #else
101325 char (*f) () = $ac_func;
101326 #endif
101327 #ifdef __cplusplus
101328 }
101329 #endif
101330
101331 int
101332 main ()
101333 {
101334 return f != $ac_func;
101335   ;
101336   return 0;
101337 }
101338 _ACEOF
101339 rm -f conftest.$ac_objext conftest$ac_exeext
101340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101341   (eval $ac_link) 2>conftest.er1
101342   ac_status=$?
101343   grep -v '^ *+' conftest.er1 >conftest.err
101344   rm -f conftest.er1
101345   cat conftest.err >&5
101346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101347   (exit $ac_status); } &&
101348          { ac_try='test -z "$ac_c_werror_flag"
101349                          || test ! -s conftest.err'
101350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101351   (eval $ac_try) 2>&5
101352   ac_status=$?
101353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101354   (exit $ac_status); }; } &&
101355          { ac_try='test -s conftest$ac_exeext'
101356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101357   (eval $ac_try) 2>&5
101358   ac_status=$?
101359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101360   (exit $ac_status); }; }; then
101361   eval "$as_ac_var=yes"
101362 else
101363   echo "$as_me: failed program was:" >&5
101364 sed 's/^/| /' conftest.$ac_ext >&5
101365
101366 eval "$as_ac_var=no"
101367 fi
101368 rm -f conftest.err conftest.$ac_objext \
101369       conftest$ac_exeext conftest.$ac_ext
101370 fi
101371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101373 if test `eval echo '${'$as_ac_var'}'` = yes; then
101374   cat >>confdefs.h <<_ACEOF
101375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101376 _ACEOF
101377
101378 else
101379   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101380 fi
101381 done
101382
101383   fi
101384
101385   # Used in libmath/Makefile.am.
101386   if test -n "$LIBMATHOBJS"; then
101387     need_libmath=yes
101388   fi
101389
101390
101391     cat >>confdefs.h <<\_ACEOF
101392 #define HAVE_HYPOT 1
101393 _ACEOF
101394
101395     cat >>confdefs.h <<\_ACEOF
101396 #define HAVE_ISINF 1
101397 _ACEOF
101398
101399     cat >>confdefs.h <<\_ACEOF
101400 #define HAVE_ISNAN 1
101401 _ACEOF
101402
101403     ;;
101404   *-qnx6.1* | *-qnx6.2*)
101405     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101406
101407
101408   # If we're not using GNU ld, then there's no point in even trying these
101409   # tests.  Check for that first.  We should have already tested for gld
101410   # by now (in libtool), but require it now just to be safe...
101411   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101412   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101413
101414
101415
101416   # The name set by libtool depends on the version of libtool.  Shame on us
101417   # for depending on an impl detail, but c'est la vie.  Older versions used
101418   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101419   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101420   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101421   # set (hence we're using an older libtool), then set it.
101422   if test x${with_gnu_ld+set} != xset; then
101423     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101424       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101425       with_gnu_ld=no
101426     else
101427       with_gnu_ld=$ac_cv_prog_gnu_ld
101428     fi
101429   fi
101430
101431   # Start by getting the version number.  I think the libtool test already
101432   # does some of this, but throws away the result.
101433   glibcxx_ld_is_gold=no
101434   if test x"$with_gnu_ld" = x"yes"; then
101435     echo "$as_me:$LINENO: checking for ld version" >&5
101436 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101437
101438     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101439       glibcxx_ld_is_gold=yes
101440     fi
101441     ldver=`$LD --version 2>/dev/null | head -1 | \
101442            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101443
101444     glibcxx_gnu_ld_version=`echo $ldver | \
101445            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101446     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101447 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101448   fi
101449
101450   # Set --gc-sections.
101451   glibcxx_have_gc_sections=no
101452   if test "$glibcxx_ld_is_gold" = "yes"; then
101453     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101454       glibcxx_have_gc_sections=yes
101455     fi
101456   else
101457     glibcxx_gcsections_min_ld=21602
101458     if test x"$with_gnu_ld" = x"yes" &&
101459         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101460       glibcxx_have_gc_sections=yes
101461     fi
101462   fi
101463   if test "$glibcxx_have_gc_sections" = "yes"; then
101464     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101465     # NB: This flag only works reliably after 2.16.1. Configure tests
101466     # for this are difficult, so hard wire a value that should work.
101467
101468     ac_test_CFLAGS="${CFLAGS+set}"
101469     ac_save_CFLAGS="$CFLAGS"
101470     CFLAGS='-Wl,--gc-sections'
101471
101472     # Check for -Wl,--gc-sections
101473     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101474 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101475     if test x$gcc_no_link = xyes; then
101476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101478    { (exit 1); exit 1; }; }
101479 fi
101480 cat >conftest.$ac_ext <<_ACEOF
101481 /* confdefs.h.  */
101482 _ACEOF
101483 cat confdefs.h >>conftest.$ac_ext
101484 cat >>conftest.$ac_ext <<_ACEOF
101485 /* end confdefs.h.  */
101486  int one(void) { return 1; }
101487      int two(void) { return 2; }
101488
101489 int
101490 main ()
101491 {
101492  two();
101493   ;
101494   return 0;
101495 }
101496 _ACEOF
101497 rm -f conftest.$ac_objext conftest$ac_exeext
101498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101499   (eval $ac_link) 2>conftest.er1
101500   ac_status=$?
101501   grep -v '^ *+' conftest.er1 >conftest.err
101502   rm -f conftest.er1
101503   cat conftest.err >&5
101504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101505   (exit $ac_status); } &&
101506          { ac_try='test -z "$ac_c_werror_flag"
101507                          || test ! -s conftest.err'
101508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101509   (eval $ac_try) 2>&5
101510   ac_status=$?
101511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101512   (exit $ac_status); }; } &&
101513          { ac_try='test -s conftest$ac_exeext'
101514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101515   (eval $ac_try) 2>&5
101516   ac_status=$?
101517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101518   (exit $ac_status); }; }; then
101519   ac_gcsections=yes
101520 else
101521   echo "$as_me: failed program was:" >&5
101522 sed 's/^/| /' conftest.$ac_ext >&5
101523
101524 ac_gcsections=no
101525 fi
101526 rm -f conftest.err conftest.$ac_objext \
101527       conftest$ac_exeext conftest.$ac_ext
101528     if test "$ac_gcsections" = "yes"; then
101529       rm -f conftest.c
101530       touch conftest.c
101531       if $CC -c conftest.c; then
101532         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101533            grep "Warning: gc-sections option ignored" > /dev/null; then
101534           ac_gcsections=no
101535         fi
101536       fi
101537       rm -f conftest.c conftest.o conftest
101538     fi
101539     if test "$ac_gcsections" = "yes"; then
101540       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101541     fi
101542     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101543 echo "${ECHO_T}$ac_gcsections" >&6
101544
101545     if test "$ac_test_CFLAGS" = set; then
101546       CFLAGS="$ac_save_CFLAGS"
101547     else
101548       # this is the suspicious part
101549       CFLAGS=''
101550     fi
101551   fi
101552
101553   # Set -z,relro.
101554   # Note this is only for shared objects.
101555   ac_ld_relro=no
101556   if test x"$with_gnu_ld" = x"yes"; then
101557     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101558 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101559     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101560     if test -n "$cxx_z_relo"; then
101561       OPT_LDFLAGS="-Wl,-z,relro"
101562       ac_ld_relro=yes
101563     fi
101564     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101565 echo "${ECHO_T}$ac_ld_relro" >&6
101566   fi
101567
101568   # Set linker optimization flags.
101569   if test x"$with_gnu_ld" = x"yes"; then
101570     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101571   fi
101572
101573
101574
101575
101576
101577
101578 echo "$as_me:$LINENO: checking for main in -lm" >&5
101579 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101580 if test "${ac_cv_lib_m_main+set}" = set; then
101581   echo $ECHO_N "(cached) $ECHO_C" >&6
101582 else
101583   ac_check_lib_save_LIBS=$LIBS
101584 LIBS="-lm  $LIBS"
101585 if test x$gcc_no_link = xyes; then
101586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101588    { (exit 1); exit 1; }; }
101589 fi
101590 cat >conftest.$ac_ext <<_ACEOF
101591 /* confdefs.h.  */
101592 _ACEOF
101593 cat confdefs.h >>conftest.$ac_ext
101594 cat >>conftest.$ac_ext <<_ACEOF
101595 /* end confdefs.h.  */
101596
101597
101598 int
101599 main ()
101600 {
101601 main ();
101602   ;
101603   return 0;
101604 }
101605 _ACEOF
101606 rm -f conftest.$ac_objext conftest$ac_exeext
101607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101608   (eval $ac_link) 2>conftest.er1
101609   ac_status=$?
101610   grep -v '^ *+' conftest.er1 >conftest.err
101611   rm -f conftest.er1
101612   cat conftest.err >&5
101613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101614   (exit $ac_status); } &&
101615          { ac_try='test -z "$ac_c_werror_flag"
101616                          || test ! -s conftest.err'
101617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101618   (eval $ac_try) 2>&5
101619   ac_status=$?
101620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101621   (exit $ac_status); }; } &&
101622          { ac_try='test -s conftest$ac_exeext'
101623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101624   (eval $ac_try) 2>&5
101625   ac_status=$?
101626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101627   (exit $ac_status); }; }; then
101628   ac_cv_lib_m_main=yes
101629 else
101630   echo "$as_me: failed program was:" >&5
101631 sed 's/^/| /' conftest.$ac_ext >&5
101632
101633 ac_cv_lib_m_main=no
101634 fi
101635 rm -f conftest.err conftest.$ac_objext \
101636       conftest$ac_exeext conftest.$ac_ext
101637 LIBS=$ac_check_lib_save_LIBS
101638 fi
101639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101640 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101641 if test $ac_cv_lib_m_main = yes; then
101642   cat >>confdefs.h <<_ACEOF
101643 #define HAVE_LIBM 1
101644 _ACEOF
101645
101646   LIBS="-lm $LIBS"
101647
101648 fi
101649
101650
101651 for ac_func in copysignf
101652 do
101653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101654 echo "$as_me:$LINENO: checking for $ac_func" >&5
101655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101656 if eval "test \"\${$as_ac_var+set}\" = set"; then
101657   echo $ECHO_N "(cached) $ECHO_C" >&6
101658 else
101659   if test x$gcc_no_link = xyes; then
101660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101662    { (exit 1); exit 1; }; }
101663 fi
101664 cat >conftest.$ac_ext <<_ACEOF
101665 /* confdefs.h.  */
101666 _ACEOF
101667 cat confdefs.h >>conftest.$ac_ext
101668 cat >>conftest.$ac_ext <<_ACEOF
101669 /* end confdefs.h.  */
101670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101672 #define $ac_func innocuous_$ac_func
101673
101674 /* System header to define __stub macros and hopefully few prototypes,
101675     which can conflict with char $ac_func (); below.
101676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101677     <limits.h> exists even on freestanding compilers.  */
101678
101679 #ifdef __STDC__
101680 # include <limits.h>
101681 #else
101682 # include <assert.h>
101683 #endif
101684
101685 #undef $ac_func
101686
101687 /* Override any gcc2 internal prototype to avoid an error.  */
101688 #ifdef __cplusplus
101689 extern "C"
101690 {
101691 #endif
101692 /* We use char because int might match the return type of a gcc2
101693    builtin and then its argument prototype would still apply.  */
101694 char $ac_func ();
101695 /* The GNU C library defines this for functions which it implements
101696     to always fail with ENOSYS.  Some functions are actually named
101697     something starting with __ and the normal name is an alias.  */
101698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101699 choke me
101700 #else
101701 char (*f) () = $ac_func;
101702 #endif
101703 #ifdef __cplusplus
101704 }
101705 #endif
101706
101707 int
101708 main ()
101709 {
101710 return f != $ac_func;
101711   ;
101712   return 0;
101713 }
101714 _ACEOF
101715 rm -f conftest.$ac_objext conftest$ac_exeext
101716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101717   (eval $ac_link) 2>conftest.er1
101718   ac_status=$?
101719   grep -v '^ *+' conftest.er1 >conftest.err
101720   rm -f conftest.er1
101721   cat conftest.err >&5
101722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101723   (exit $ac_status); } &&
101724          { ac_try='test -z "$ac_c_werror_flag"
101725                          || test ! -s conftest.err'
101726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101727   (eval $ac_try) 2>&5
101728   ac_status=$?
101729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101730   (exit $ac_status); }; } &&
101731          { ac_try='test -s conftest$ac_exeext'
101732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101733   (eval $ac_try) 2>&5
101734   ac_status=$?
101735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101736   (exit $ac_status); }; }; then
101737   eval "$as_ac_var=yes"
101738 else
101739   echo "$as_me: failed program was:" >&5
101740 sed 's/^/| /' conftest.$ac_ext >&5
101741
101742 eval "$as_ac_var=no"
101743 fi
101744 rm -f conftest.err conftest.$ac_objext \
101745       conftest$ac_exeext conftest.$ac_ext
101746 fi
101747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101749 if test `eval echo '${'$as_ac_var'}'` = yes; then
101750   cat >>confdefs.h <<_ACEOF
101751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101752 _ACEOF
101753
101754 else
101755   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101756 fi
101757 done
101758
101759
101760
101761 for ac_func in __signbit
101762 do
101763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101764 echo "$as_me:$LINENO: checking for $ac_func" >&5
101765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101766 if eval "test \"\${$as_ac_var+set}\" = set"; then
101767   echo $ECHO_N "(cached) $ECHO_C" >&6
101768 else
101769   if test x$gcc_no_link = xyes; then
101770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101772    { (exit 1); exit 1; }; }
101773 fi
101774 cat >conftest.$ac_ext <<_ACEOF
101775 /* confdefs.h.  */
101776 _ACEOF
101777 cat confdefs.h >>conftest.$ac_ext
101778 cat >>conftest.$ac_ext <<_ACEOF
101779 /* end confdefs.h.  */
101780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101782 #define $ac_func innocuous_$ac_func
101783
101784 /* System header to define __stub macros and hopefully few prototypes,
101785     which can conflict with char $ac_func (); below.
101786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101787     <limits.h> exists even on freestanding compilers.  */
101788
101789 #ifdef __STDC__
101790 # include <limits.h>
101791 #else
101792 # include <assert.h>
101793 #endif
101794
101795 #undef $ac_func
101796
101797 /* Override any gcc2 internal prototype to avoid an error.  */
101798 #ifdef __cplusplus
101799 extern "C"
101800 {
101801 #endif
101802 /* We use char because int might match the return type of a gcc2
101803    builtin and then its argument prototype would still apply.  */
101804 char $ac_func ();
101805 /* The GNU C library defines this for functions which it implements
101806     to always fail with ENOSYS.  Some functions are actually named
101807     something starting with __ and the normal name is an alias.  */
101808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101809 choke me
101810 #else
101811 char (*f) () = $ac_func;
101812 #endif
101813 #ifdef __cplusplus
101814 }
101815 #endif
101816
101817 int
101818 main ()
101819 {
101820 return f != $ac_func;
101821   ;
101822   return 0;
101823 }
101824 _ACEOF
101825 rm -f conftest.$ac_objext conftest$ac_exeext
101826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101827   (eval $ac_link) 2>conftest.er1
101828   ac_status=$?
101829   grep -v '^ *+' conftest.er1 >conftest.err
101830   rm -f conftest.er1
101831   cat conftest.err >&5
101832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101833   (exit $ac_status); } &&
101834          { ac_try='test -z "$ac_c_werror_flag"
101835                          || test ! -s conftest.err'
101836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101837   (eval $ac_try) 2>&5
101838   ac_status=$?
101839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101840   (exit $ac_status); }; } &&
101841          { ac_try='test -s conftest$ac_exeext'
101842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101843   (eval $ac_try) 2>&5
101844   ac_status=$?
101845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101846   (exit $ac_status); }; }; then
101847   eval "$as_ac_var=yes"
101848 else
101849   echo "$as_me: failed program was:" >&5
101850 sed 's/^/| /' conftest.$ac_ext >&5
101851
101852 eval "$as_ac_var=no"
101853 fi
101854 rm -f conftest.err conftest.$ac_objext \
101855       conftest$ac_exeext conftest.$ac_ext
101856 fi
101857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101859 if test `eval echo '${'$as_ac_var'}'` = yes; then
101860   cat >>confdefs.h <<_ACEOF
101861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101862 _ACEOF
101863
101864 else
101865   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101866 fi
101867 done
101868
101869
101870
101871 for ac_func in __signbitf
101872 do
101873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101874 echo "$as_me:$LINENO: checking for $ac_func" >&5
101875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101876 if eval "test \"\${$as_ac_var+set}\" = set"; then
101877   echo $ECHO_N "(cached) $ECHO_C" >&6
101878 else
101879   if test x$gcc_no_link = xyes; then
101880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101882    { (exit 1); exit 1; }; }
101883 fi
101884 cat >conftest.$ac_ext <<_ACEOF
101885 /* confdefs.h.  */
101886 _ACEOF
101887 cat confdefs.h >>conftest.$ac_ext
101888 cat >>conftest.$ac_ext <<_ACEOF
101889 /* end confdefs.h.  */
101890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101892 #define $ac_func innocuous_$ac_func
101893
101894 /* System header to define __stub macros and hopefully few prototypes,
101895     which can conflict with char $ac_func (); below.
101896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101897     <limits.h> exists even on freestanding compilers.  */
101898
101899 #ifdef __STDC__
101900 # include <limits.h>
101901 #else
101902 # include <assert.h>
101903 #endif
101904
101905 #undef $ac_func
101906
101907 /* Override any gcc2 internal prototype to avoid an error.  */
101908 #ifdef __cplusplus
101909 extern "C"
101910 {
101911 #endif
101912 /* We use char because int might match the return type of a gcc2
101913    builtin and then its argument prototype would still apply.  */
101914 char $ac_func ();
101915 /* The GNU C library defines this for functions which it implements
101916     to always fail with ENOSYS.  Some functions are actually named
101917     something starting with __ and the normal name is an alias.  */
101918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101919 choke me
101920 #else
101921 char (*f) () = $ac_func;
101922 #endif
101923 #ifdef __cplusplus
101924 }
101925 #endif
101926
101927 int
101928 main ()
101929 {
101930 return f != $ac_func;
101931   ;
101932   return 0;
101933 }
101934 _ACEOF
101935 rm -f conftest.$ac_objext conftest$ac_exeext
101936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101937   (eval $ac_link) 2>conftest.er1
101938   ac_status=$?
101939   grep -v '^ *+' conftest.er1 >conftest.err
101940   rm -f conftest.er1
101941   cat conftest.err >&5
101942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101943   (exit $ac_status); } &&
101944          { ac_try='test -z "$ac_c_werror_flag"
101945                          || test ! -s conftest.err'
101946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101947   (eval $ac_try) 2>&5
101948   ac_status=$?
101949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101950   (exit $ac_status); }; } &&
101951          { ac_try='test -s conftest$ac_exeext'
101952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101953   (eval $ac_try) 2>&5
101954   ac_status=$?
101955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101956   (exit $ac_status); }; }; then
101957   eval "$as_ac_var=yes"
101958 else
101959   echo "$as_me: failed program was:" >&5
101960 sed 's/^/| /' conftest.$ac_ext >&5
101961
101962 eval "$as_ac_var=no"
101963 fi
101964 rm -f conftest.err conftest.$ac_objext \
101965       conftest$ac_exeext conftest.$ac_ext
101966 fi
101967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101969 if test `eval echo '${'$as_ac_var'}'` = yes; then
101970   cat >>confdefs.h <<_ACEOF
101971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101972 _ACEOF
101973
101974 else
101975   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101976 fi
101977 done
101978
101979
101980           if test x$ac_cv_func_copysignl = x"yes"; then
101981
101982 for ac_func in __signbitl
101983 do
101984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101985 echo "$as_me:$LINENO: checking for $ac_func" >&5
101986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101987 if eval "test \"\${$as_ac_var+set}\" = set"; then
101988   echo $ECHO_N "(cached) $ECHO_C" >&6
101989 else
101990   if test x$gcc_no_link = xyes; then
101991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101993    { (exit 1); exit 1; }; }
101994 fi
101995 cat >conftest.$ac_ext <<_ACEOF
101996 /* confdefs.h.  */
101997 _ACEOF
101998 cat confdefs.h >>conftest.$ac_ext
101999 cat >>conftest.$ac_ext <<_ACEOF
102000 /* end confdefs.h.  */
102001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102003 #define $ac_func innocuous_$ac_func
102004
102005 /* System header to define __stub macros and hopefully few prototypes,
102006     which can conflict with char $ac_func (); below.
102007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102008     <limits.h> exists even on freestanding compilers.  */
102009
102010 #ifdef __STDC__
102011 # include <limits.h>
102012 #else
102013 # include <assert.h>
102014 #endif
102015
102016 #undef $ac_func
102017
102018 /* Override any gcc2 internal prototype to avoid an error.  */
102019 #ifdef __cplusplus
102020 extern "C"
102021 {
102022 #endif
102023 /* We use char because int might match the return type of a gcc2
102024    builtin and then its argument prototype would still apply.  */
102025 char $ac_func ();
102026 /* The GNU C library defines this for functions which it implements
102027     to always fail with ENOSYS.  Some functions are actually named
102028     something starting with __ and the normal name is an alias.  */
102029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102030 choke me
102031 #else
102032 char (*f) () = $ac_func;
102033 #endif
102034 #ifdef __cplusplus
102035 }
102036 #endif
102037
102038 int
102039 main ()
102040 {
102041 return f != $ac_func;
102042   ;
102043   return 0;
102044 }
102045 _ACEOF
102046 rm -f conftest.$ac_objext conftest$ac_exeext
102047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102048   (eval $ac_link) 2>conftest.er1
102049   ac_status=$?
102050   grep -v '^ *+' conftest.er1 >conftest.err
102051   rm -f conftest.er1
102052   cat conftest.err >&5
102053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102054   (exit $ac_status); } &&
102055          { ac_try='test -z "$ac_c_werror_flag"
102056                          || test ! -s conftest.err'
102057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102058   (eval $ac_try) 2>&5
102059   ac_status=$?
102060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102061   (exit $ac_status); }; } &&
102062          { ac_try='test -s conftest$ac_exeext'
102063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102064   (eval $ac_try) 2>&5
102065   ac_status=$?
102066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102067   (exit $ac_status); }; }; then
102068   eval "$as_ac_var=yes"
102069 else
102070   echo "$as_me: failed program was:" >&5
102071 sed 's/^/| /' conftest.$ac_ext >&5
102072
102073 eval "$as_ac_var=no"
102074 fi
102075 rm -f conftest.err conftest.$ac_objext \
102076       conftest$ac_exeext conftest.$ac_ext
102077 fi
102078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102080 if test `eval echo '${'$as_ac_var'}'` = yes; then
102081   cat >>confdefs.h <<_ACEOF
102082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102083 _ACEOF
102084
102085 else
102086   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102087 fi
102088 done
102089
102090   fi
102091
102092   # Used in libmath/Makefile.am.
102093   if test -n "$LIBMATHOBJS"; then
102094     need_libmath=yes
102095   fi
102096
102097
102098     cat >>confdefs.h <<\_ACEOF
102099 #define HAVE_COSF 1
102100 _ACEOF
102101
102102     cat >>confdefs.h <<\_ACEOF
102103 #define HAVE_COSL 1
102104 _ACEOF
102105
102106     cat >>confdefs.h <<\_ACEOF
102107 #define HAVE_COSHF 1
102108 _ACEOF
102109
102110     cat >>confdefs.h <<\_ACEOF
102111 #define HAVE_COSHL 1
102112 _ACEOF
102113
102114     cat >>confdefs.h <<\_ACEOF
102115 #define HAVE_LOGF 1
102116 _ACEOF
102117
102118     cat >>confdefs.h <<\_ACEOF
102119 #define HAVE_LOGL 1
102120 _ACEOF
102121
102122     cat >>confdefs.h <<\_ACEOF
102123 #define HAVE_LOG10F 1
102124 _ACEOF
102125
102126     cat >>confdefs.h <<\_ACEOF
102127 #define HAVE_LOG10L 1
102128 _ACEOF
102129
102130     cat >>confdefs.h <<\_ACEOF
102131 #define HAVE_SINF 1
102132 _ACEOF
102133
102134     cat >>confdefs.h <<\_ACEOF
102135 #define HAVE_SINL 1
102136 _ACEOF
102137
102138     cat >>confdefs.h <<\_ACEOF
102139 #define HAVE_SINHF 1
102140 _ACEOF
102141
102142     cat >>confdefs.h <<\_ACEOF
102143 #define HAVE_SINHL 1
102144 _ACEOF
102145
102146     ;;
102147   *-solaris*)
102148     case "$target" in
102149       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
102150
102151   # If we're not using GNU ld, then there's no point in even trying these
102152   # tests.  Check for that first.  We should have already tested for gld
102153   # by now (in libtool), but require it now just to be safe...
102154   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102155   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102156
102157
102158
102159   # The name set by libtool depends on the version of libtool.  Shame on us
102160   # for depending on an impl detail, but c'est la vie.  Older versions used
102161   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102162   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102163   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102164   # set (hence we're using an older libtool), then set it.
102165   if test x${with_gnu_ld+set} != xset; then
102166     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102167       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102168       with_gnu_ld=no
102169     else
102170       with_gnu_ld=$ac_cv_prog_gnu_ld
102171     fi
102172   fi
102173
102174   # Start by getting the version number.  I think the libtool test already
102175   # does some of this, but throws away the result.
102176   glibcxx_ld_is_gold=no
102177   if test x"$with_gnu_ld" = x"yes"; then
102178     echo "$as_me:$LINENO: checking for ld version" >&5
102179 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102180
102181     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102182       glibcxx_ld_is_gold=yes
102183     fi
102184     ldver=`$LD --version 2>/dev/null | head -1 | \
102185            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102186
102187     glibcxx_gnu_ld_version=`echo $ldver | \
102188            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102189     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102190 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102191   fi
102192
102193   # Set --gc-sections.
102194   glibcxx_have_gc_sections=no
102195   if test "$glibcxx_ld_is_gold" = "yes"; then
102196     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102197       glibcxx_have_gc_sections=yes
102198     fi
102199   else
102200     glibcxx_gcsections_min_ld=21602
102201     if test x"$with_gnu_ld" = x"yes" &&
102202         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102203       glibcxx_have_gc_sections=yes
102204     fi
102205   fi
102206   if test "$glibcxx_have_gc_sections" = "yes"; then
102207     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102208     # NB: This flag only works reliably after 2.16.1. Configure tests
102209     # for this are difficult, so hard wire a value that should work.
102210
102211     ac_test_CFLAGS="${CFLAGS+set}"
102212     ac_save_CFLAGS="$CFLAGS"
102213     CFLAGS='-Wl,--gc-sections'
102214
102215     # Check for -Wl,--gc-sections
102216     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102217 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102218     if test x$gcc_no_link = xyes; then
102219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102221    { (exit 1); exit 1; }; }
102222 fi
102223 cat >conftest.$ac_ext <<_ACEOF
102224 /* confdefs.h.  */
102225 _ACEOF
102226 cat confdefs.h >>conftest.$ac_ext
102227 cat >>conftest.$ac_ext <<_ACEOF
102228 /* end confdefs.h.  */
102229  int one(void) { return 1; }
102230      int two(void) { return 2; }
102231
102232 int
102233 main ()
102234 {
102235  two();
102236   ;
102237   return 0;
102238 }
102239 _ACEOF
102240 rm -f conftest.$ac_objext conftest$ac_exeext
102241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102242   (eval $ac_link) 2>conftest.er1
102243   ac_status=$?
102244   grep -v '^ *+' conftest.er1 >conftest.err
102245   rm -f conftest.er1
102246   cat conftest.err >&5
102247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102248   (exit $ac_status); } &&
102249          { ac_try='test -z "$ac_c_werror_flag"
102250                          || test ! -s conftest.err'
102251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102252   (eval $ac_try) 2>&5
102253   ac_status=$?
102254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102255   (exit $ac_status); }; } &&
102256          { ac_try='test -s conftest$ac_exeext'
102257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102258   (eval $ac_try) 2>&5
102259   ac_status=$?
102260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102261   (exit $ac_status); }; }; then
102262   ac_gcsections=yes
102263 else
102264   echo "$as_me: failed program was:" >&5
102265 sed 's/^/| /' conftest.$ac_ext >&5
102266
102267 ac_gcsections=no
102268 fi
102269 rm -f conftest.err conftest.$ac_objext \
102270       conftest$ac_exeext conftest.$ac_ext
102271     if test "$ac_gcsections" = "yes"; then
102272       rm -f conftest.c
102273       touch conftest.c
102274       if $CC -c conftest.c; then
102275         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102276            grep "Warning: gc-sections option ignored" > /dev/null; then
102277           ac_gcsections=no
102278         fi
102279       fi
102280       rm -f conftest.c conftest.o conftest
102281     fi
102282     if test "$ac_gcsections" = "yes"; then
102283       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102284     fi
102285     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102286 echo "${ECHO_T}$ac_gcsections" >&6
102287
102288     if test "$ac_test_CFLAGS" = set; then
102289       CFLAGS="$ac_save_CFLAGS"
102290     else
102291       # this is the suspicious part
102292       CFLAGS=''
102293     fi
102294   fi
102295
102296   # Set -z,relro.
102297   # Note this is only for shared objects.
102298   ac_ld_relro=no
102299   if test x"$with_gnu_ld" = x"yes"; then
102300     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102301 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102302     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102303     if test -n "$cxx_z_relo"; then
102304       OPT_LDFLAGS="-Wl,-z,relro"
102305       ac_ld_relro=yes
102306     fi
102307     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102308 echo "${ECHO_T}$ac_ld_relro" >&6
102309   fi
102310
102311   # Set linker optimization flags.
102312   if test x"$with_gnu_ld" = x"yes"; then
102313     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102314   fi
102315
102316
102317
102318
102319          cat >>confdefs.h <<\_ACEOF
102320 #define HAVE_MBSTATE_T 1
102321 _ACEOF
102322
102323          cat >>confdefs.h <<\_ACEOF
102324 #define HAVE_FINITE 1
102325 _ACEOF
102326
102327          cat >>confdefs.h <<\_ACEOF
102328 #define HAVE_FPCLASS 1
102329 _ACEOF
102330
102331          # All of the dependencies for wide character support are here, so
102332          # turn it on.
102333          cat >>confdefs.h <<\_ACEOF
102334 #define _GLIBCXX_USE_WCHAR_T 1
102335 _ACEOF
102336
102337
102338          cat >>confdefs.h <<\_ACEOF
102339 #define HAVE_LIBM 1
102340 _ACEOF
102341
102342         ;;
102343     esac
102344     case "$target" in
102345       *-*-solaris2.10)
102346       # These two C99 functions are present only in Solaris >= 10
102347       cat >>confdefs.h <<\_ACEOF
102348 #define HAVE_STRTOF 1
102349 _ACEOF
102350
102351       cat >>confdefs.h <<\_ACEOF
102352 #define HAVE_STRTOLD 1
102353 _ACEOF
102354
102355      ;;
102356     esac
102357     cat >>confdefs.h <<\_ACEOF
102358 #define HAVE_COPYSIGN 1
102359 _ACEOF
102360
102361     cat >>confdefs.h <<\_ACEOF
102362 #define HAVE_ISNAN 1
102363 _ACEOF
102364
102365     cat >>confdefs.h <<\_ACEOF
102366 #define HAVE_ISNANF 1
102367 _ACEOF
102368
102369     cat >>confdefs.h <<\_ACEOF
102370 #define HAVE_MODFF 1
102371 _ACEOF
102372
102373     cat >>confdefs.h <<\_ACEOF
102374 #define HAVE_HYPOT 1
102375 _ACEOF
102376
102377     ;;
102378   *-tpf)
102379     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102380
102381
102382   # If we're not using GNU ld, then there's no point in even trying these
102383   # tests.  Check for that first.  We should have already tested for gld
102384   # by now (in libtool), but require it now just to be safe...
102385   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102386   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102387
102388
102389
102390   # The name set by libtool depends on the version of libtool.  Shame on us
102391   # for depending on an impl detail, but c'est la vie.  Older versions used
102392   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102393   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102394   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102395   # set (hence we're using an older libtool), then set it.
102396   if test x${with_gnu_ld+set} != xset; then
102397     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102398       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102399       with_gnu_ld=no
102400     else
102401       with_gnu_ld=$ac_cv_prog_gnu_ld
102402     fi
102403   fi
102404
102405   # Start by getting the version number.  I think the libtool test already
102406   # does some of this, but throws away the result.
102407   glibcxx_ld_is_gold=no
102408   if test x"$with_gnu_ld" = x"yes"; then
102409     echo "$as_me:$LINENO: checking for ld version" >&5
102410 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102411
102412     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102413       glibcxx_ld_is_gold=yes
102414     fi
102415     ldver=`$LD --version 2>/dev/null | head -1 | \
102416            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102417
102418     glibcxx_gnu_ld_version=`echo $ldver | \
102419            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102420     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102421 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102422   fi
102423
102424   # Set --gc-sections.
102425   glibcxx_have_gc_sections=no
102426   if test "$glibcxx_ld_is_gold" = "yes"; then
102427     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102428       glibcxx_have_gc_sections=yes
102429     fi
102430   else
102431     glibcxx_gcsections_min_ld=21602
102432     if test x"$with_gnu_ld" = x"yes" &&
102433         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102434       glibcxx_have_gc_sections=yes
102435     fi
102436   fi
102437   if test "$glibcxx_have_gc_sections" = "yes"; then
102438     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102439     # NB: This flag only works reliably after 2.16.1. Configure tests
102440     # for this are difficult, so hard wire a value that should work.
102441
102442     ac_test_CFLAGS="${CFLAGS+set}"
102443     ac_save_CFLAGS="$CFLAGS"
102444     CFLAGS='-Wl,--gc-sections'
102445
102446     # Check for -Wl,--gc-sections
102447     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102448 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102449     if test x$gcc_no_link = xyes; then
102450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102452    { (exit 1); exit 1; }; }
102453 fi
102454 cat >conftest.$ac_ext <<_ACEOF
102455 /* confdefs.h.  */
102456 _ACEOF
102457 cat confdefs.h >>conftest.$ac_ext
102458 cat >>conftest.$ac_ext <<_ACEOF
102459 /* end confdefs.h.  */
102460  int one(void) { return 1; }
102461      int two(void) { return 2; }
102462
102463 int
102464 main ()
102465 {
102466  two();
102467   ;
102468   return 0;
102469 }
102470 _ACEOF
102471 rm -f conftest.$ac_objext conftest$ac_exeext
102472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102473   (eval $ac_link) 2>conftest.er1
102474   ac_status=$?
102475   grep -v '^ *+' conftest.er1 >conftest.err
102476   rm -f conftest.er1
102477   cat conftest.err >&5
102478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102479   (exit $ac_status); } &&
102480          { ac_try='test -z "$ac_c_werror_flag"
102481                          || test ! -s conftest.err'
102482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102483   (eval $ac_try) 2>&5
102484   ac_status=$?
102485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102486   (exit $ac_status); }; } &&
102487          { ac_try='test -s conftest$ac_exeext'
102488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102489   (eval $ac_try) 2>&5
102490   ac_status=$?
102491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102492   (exit $ac_status); }; }; then
102493   ac_gcsections=yes
102494 else
102495   echo "$as_me: failed program was:" >&5
102496 sed 's/^/| /' conftest.$ac_ext >&5
102497
102498 ac_gcsections=no
102499 fi
102500 rm -f conftest.err conftest.$ac_objext \
102501       conftest$ac_exeext conftest.$ac_ext
102502     if test "$ac_gcsections" = "yes"; then
102503       rm -f conftest.c
102504       touch conftest.c
102505       if $CC -c conftest.c; then
102506         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102507            grep "Warning: gc-sections option ignored" > /dev/null; then
102508           ac_gcsections=no
102509         fi
102510       fi
102511       rm -f conftest.c conftest.o conftest
102512     fi
102513     if test "$ac_gcsections" = "yes"; then
102514       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102515     fi
102516     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102517 echo "${ECHO_T}$ac_gcsections" >&6
102518
102519     if test "$ac_test_CFLAGS" = set; then
102520       CFLAGS="$ac_save_CFLAGS"
102521     else
102522       # this is the suspicious part
102523       CFLAGS=''
102524     fi
102525   fi
102526
102527   # Set -z,relro.
102528   # Note this is only for shared objects.
102529   ac_ld_relro=no
102530   if test x"$with_gnu_ld" = x"yes"; then
102531     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102532 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102533     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102534     if test -n "$cxx_z_relo"; then
102535       OPT_LDFLAGS="-Wl,-z,relro"
102536       ac_ld_relro=yes
102537     fi
102538     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102539 echo "${ECHO_T}$ac_ld_relro" >&6
102540   fi
102541
102542   # Set linker optimization flags.
102543   if test x"$with_gnu_ld" = x"yes"; then
102544     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102545   fi
102546
102547
102548
102549
102550
102551
102552 echo "$as_me:$LINENO: checking for main in -lm" >&5
102553 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102554 if test "${ac_cv_lib_m_main+set}" = set; then
102555   echo $ECHO_N "(cached) $ECHO_C" >&6
102556 else
102557   ac_check_lib_save_LIBS=$LIBS
102558 LIBS="-lm  $LIBS"
102559 if test x$gcc_no_link = xyes; then
102560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102562    { (exit 1); exit 1; }; }
102563 fi
102564 cat >conftest.$ac_ext <<_ACEOF
102565 /* confdefs.h.  */
102566 _ACEOF
102567 cat confdefs.h >>conftest.$ac_ext
102568 cat >>conftest.$ac_ext <<_ACEOF
102569 /* end confdefs.h.  */
102570
102571
102572 int
102573 main ()
102574 {
102575 main ();
102576   ;
102577   return 0;
102578 }
102579 _ACEOF
102580 rm -f conftest.$ac_objext conftest$ac_exeext
102581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102582   (eval $ac_link) 2>conftest.er1
102583   ac_status=$?
102584   grep -v '^ *+' conftest.er1 >conftest.err
102585   rm -f conftest.er1
102586   cat conftest.err >&5
102587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102588   (exit $ac_status); } &&
102589          { ac_try='test -z "$ac_c_werror_flag"
102590                          || test ! -s conftest.err'
102591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102592   (eval $ac_try) 2>&5
102593   ac_status=$?
102594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102595   (exit $ac_status); }; } &&
102596          { ac_try='test -s conftest$ac_exeext'
102597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102598   (eval $ac_try) 2>&5
102599   ac_status=$?
102600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102601   (exit $ac_status); }; }; then
102602   ac_cv_lib_m_main=yes
102603 else
102604   echo "$as_me: failed program was:" >&5
102605 sed 's/^/| /' conftest.$ac_ext >&5
102606
102607 ac_cv_lib_m_main=no
102608 fi
102609 rm -f conftest.err conftest.$ac_objext \
102610       conftest$ac_exeext conftest.$ac_ext
102611 LIBS=$ac_check_lib_save_LIBS
102612 fi
102613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102614 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102615 if test $ac_cv_lib_m_main = yes; then
102616   cat >>confdefs.h <<_ACEOF
102617 #define HAVE_LIBM 1
102618 _ACEOF
102619
102620   LIBS="-lm $LIBS"
102621
102622 fi
102623
102624
102625 for ac_func in copysignf
102626 do
102627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102628 echo "$as_me:$LINENO: checking for $ac_func" >&5
102629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102630 if eval "test \"\${$as_ac_var+set}\" = set"; then
102631   echo $ECHO_N "(cached) $ECHO_C" >&6
102632 else
102633   if test x$gcc_no_link = xyes; then
102634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102636    { (exit 1); exit 1; }; }
102637 fi
102638 cat >conftest.$ac_ext <<_ACEOF
102639 /* confdefs.h.  */
102640 _ACEOF
102641 cat confdefs.h >>conftest.$ac_ext
102642 cat >>conftest.$ac_ext <<_ACEOF
102643 /* end confdefs.h.  */
102644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102646 #define $ac_func innocuous_$ac_func
102647
102648 /* System header to define __stub macros and hopefully few prototypes,
102649     which can conflict with char $ac_func (); below.
102650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102651     <limits.h> exists even on freestanding compilers.  */
102652
102653 #ifdef __STDC__
102654 # include <limits.h>
102655 #else
102656 # include <assert.h>
102657 #endif
102658
102659 #undef $ac_func
102660
102661 /* Override any gcc2 internal prototype to avoid an error.  */
102662 #ifdef __cplusplus
102663 extern "C"
102664 {
102665 #endif
102666 /* We use char because int might match the return type of a gcc2
102667    builtin and then its argument prototype would still apply.  */
102668 char $ac_func ();
102669 /* The GNU C library defines this for functions which it implements
102670     to always fail with ENOSYS.  Some functions are actually named
102671     something starting with __ and the normal name is an alias.  */
102672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102673 choke me
102674 #else
102675 char (*f) () = $ac_func;
102676 #endif
102677 #ifdef __cplusplus
102678 }
102679 #endif
102680
102681 int
102682 main ()
102683 {
102684 return f != $ac_func;
102685   ;
102686   return 0;
102687 }
102688 _ACEOF
102689 rm -f conftest.$ac_objext conftest$ac_exeext
102690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102691   (eval $ac_link) 2>conftest.er1
102692   ac_status=$?
102693   grep -v '^ *+' conftest.er1 >conftest.err
102694   rm -f conftest.er1
102695   cat conftest.err >&5
102696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102697   (exit $ac_status); } &&
102698          { ac_try='test -z "$ac_c_werror_flag"
102699                          || test ! -s conftest.err'
102700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102701   (eval $ac_try) 2>&5
102702   ac_status=$?
102703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102704   (exit $ac_status); }; } &&
102705          { ac_try='test -s conftest$ac_exeext'
102706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102707   (eval $ac_try) 2>&5
102708   ac_status=$?
102709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102710   (exit $ac_status); }; }; then
102711   eval "$as_ac_var=yes"
102712 else
102713   echo "$as_me: failed program was:" >&5
102714 sed 's/^/| /' conftest.$ac_ext >&5
102715
102716 eval "$as_ac_var=no"
102717 fi
102718 rm -f conftest.err conftest.$ac_objext \
102719       conftest$ac_exeext conftest.$ac_ext
102720 fi
102721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102723 if test `eval echo '${'$as_ac_var'}'` = yes; then
102724   cat >>confdefs.h <<_ACEOF
102725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102726 _ACEOF
102727
102728 else
102729   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102730 fi
102731 done
102732
102733
102734
102735 for ac_func in __signbit
102736 do
102737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102738 echo "$as_me:$LINENO: checking for $ac_func" >&5
102739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102740 if eval "test \"\${$as_ac_var+set}\" = set"; then
102741   echo $ECHO_N "(cached) $ECHO_C" >&6
102742 else
102743   if test x$gcc_no_link = xyes; then
102744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102746    { (exit 1); exit 1; }; }
102747 fi
102748 cat >conftest.$ac_ext <<_ACEOF
102749 /* confdefs.h.  */
102750 _ACEOF
102751 cat confdefs.h >>conftest.$ac_ext
102752 cat >>conftest.$ac_ext <<_ACEOF
102753 /* end confdefs.h.  */
102754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102756 #define $ac_func innocuous_$ac_func
102757
102758 /* System header to define __stub macros and hopefully few prototypes,
102759     which can conflict with char $ac_func (); below.
102760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102761     <limits.h> exists even on freestanding compilers.  */
102762
102763 #ifdef __STDC__
102764 # include <limits.h>
102765 #else
102766 # include <assert.h>
102767 #endif
102768
102769 #undef $ac_func
102770
102771 /* Override any gcc2 internal prototype to avoid an error.  */
102772 #ifdef __cplusplus
102773 extern "C"
102774 {
102775 #endif
102776 /* We use char because int might match the return type of a gcc2
102777    builtin and then its argument prototype would still apply.  */
102778 char $ac_func ();
102779 /* The GNU C library defines this for functions which it implements
102780     to always fail with ENOSYS.  Some functions are actually named
102781     something starting with __ and the normal name is an alias.  */
102782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102783 choke me
102784 #else
102785 char (*f) () = $ac_func;
102786 #endif
102787 #ifdef __cplusplus
102788 }
102789 #endif
102790
102791 int
102792 main ()
102793 {
102794 return f != $ac_func;
102795   ;
102796   return 0;
102797 }
102798 _ACEOF
102799 rm -f conftest.$ac_objext conftest$ac_exeext
102800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102801   (eval $ac_link) 2>conftest.er1
102802   ac_status=$?
102803   grep -v '^ *+' conftest.er1 >conftest.err
102804   rm -f conftest.er1
102805   cat conftest.err >&5
102806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102807   (exit $ac_status); } &&
102808          { ac_try='test -z "$ac_c_werror_flag"
102809                          || test ! -s conftest.err'
102810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102811   (eval $ac_try) 2>&5
102812   ac_status=$?
102813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102814   (exit $ac_status); }; } &&
102815          { ac_try='test -s conftest$ac_exeext'
102816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102817   (eval $ac_try) 2>&5
102818   ac_status=$?
102819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102820   (exit $ac_status); }; }; then
102821   eval "$as_ac_var=yes"
102822 else
102823   echo "$as_me: failed program was:" >&5
102824 sed 's/^/| /' conftest.$ac_ext >&5
102825
102826 eval "$as_ac_var=no"
102827 fi
102828 rm -f conftest.err conftest.$ac_objext \
102829       conftest$ac_exeext conftest.$ac_ext
102830 fi
102831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102833 if test `eval echo '${'$as_ac_var'}'` = yes; then
102834   cat >>confdefs.h <<_ACEOF
102835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102836 _ACEOF
102837
102838 else
102839   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102840 fi
102841 done
102842
102843
102844
102845 for ac_func in __signbitf
102846 do
102847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102848 echo "$as_me:$LINENO: checking for $ac_func" >&5
102849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102850 if eval "test \"\${$as_ac_var+set}\" = set"; then
102851   echo $ECHO_N "(cached) $ECHO_C" >&6
102852 else
102853   if test x$gcc_no_link = xyes; then
102854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102856    { (exit 1); exit 1; }; }
102857 fi
102858 cat >conftest.$ac_ext <<_ACEOF
102859 /* confdefs.h.  */
102860 _ACEOF
102861 cat confdefs.h >>conftest.$ac_ext
102862 cat >>conftest.$ac_ext <<_ACEOF
102863 /* end confdefs.h.  */
102864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102866 #define $ac_func innocuous_$ac_func
102867
102868 /* System header to define __stub macros and hopefully few prototypes,
102869     which can conflict with char $ac_func (); below.
102870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102871     <limits.h> exists even on freestanding compilers.  */
102872
102873 #ifdef __STDC__
102874 # include <limits.h>
102875 #else
102876 # include <assert.h>
102877 #endif
102878
102879 #undef $ac_func
102880
102881 /* Override any gcc2 internal prototype to avoid an error.  */
102882 #ifdef __cplusplus
102883 extern "C"
102884 {
102885 #endif
102886 /* We use char because int might match the return type of a gcc2
102887    builtin and then its argument prototype would still apply.  */
102888 char $ac_func ();
102889 /* The GNU C library defines this for functions which it implements
102890     to always fail with ENOSYS.  Some functions are actually named
102891     something starting with __ and the normal name is an alias.  */
102892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102893 choke me
102894 #else
102895 char (*f) () = $ac_func;
102896 #endif
102897 #ifdef __cplusplus
102898 }
102899 #endif
102900
102901 int
102902 main ()
102903 {
102904 return f != $ac_func;
102905   ;
102906   return 0;
102907 }
102908 _ACEOF
102909 rm -f conftest.$ac_objext conftest$ac_exeext
102910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102911   (eval $ac_link) 2>conftest.er1
102912   ac_status=$?
102913   grep -v '^ *+' conftest.er1 >conftest.err
102914   rm -f conftest.er1
102915   cat conftest.err >&5
102916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102917   (exit $ac_status); } &&
102918          { ac_try='test -z "$ac_c_werror_flag"
102919                          || test ! -s conftest.err'
102920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102921   (eval $ac_try) 2>&5
102922   ac_status=$?
102923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102924   (exit $ac_status); }; } &&
102925          { ac_try='test -s conftest$ac_exeext'
102926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102927   (eval $ac_try) 2>&5
102928   ac_status=$?
102929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102930   (exit $ac_status); }; }; then
102931   eval "$as_ac_var=yes"
102932 else
102933   echo "$as_me: failed program was:" >&5
102934 sed 's/^/| /' conftest.$ac_ext >&5
102935
102936 eval "$as_ac_var=no"
102937 fi
102938 rm -f conftest.err conftest.$ac_objext \
102939       conftest$ac_exeext conftest.$ac_ext
102940 fi
102941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102943 if test `eval echo '${'$as_ac_var'}'` = yes; then
102944   cat >>confdefs.h <<_ACEOF
102945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102946 _ACEOF
102947
102948 else
102949   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102950 fi
102951 done
102952
102953
102954           if test x$ac_cv_func_copysignl = x"yes"; then
102955
102956 for ac_func in __signbitl
102957 do
102958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102959 echo "$as_me:$LINENO: checking for $ac_func" >&5
102960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102961 if eval "test \"\${$as_ac_var+set}\" = set"; then
102962   echo $ECHO_N "(cached) $ECHO_C" >&6
102963 else
102964   if test x$gcc_no_link = xyes; then
102965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102967    { (exit 1); exit 1; }; }
102968 fi
102969 cat >conftest.$ac_ext <<_ACEOF
102970 /* confdefs.h.  */
102971 _ACEOF
102972 cat confdefs.h >>conftest.$ac_ext
102973 cat >>conftest.$ac_ext <<_ACEOF
102974 /* end confdefs.h.  */
102975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102976    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102977 #define $ac_func innocuous_$ac_func
102978
102979 /* System header to define __stub macros and hopefully few prototypes,
102980     which can conflict with char $ac_func (); below.
102981     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102982     <limits.h> exists even on freestanding compilers.  */
102983
102984 #ifdef __STDC__
102985 # include <limits.h>
102986 #else
102987 # include <assert.h>
102988 #endif
102989
102990 #undef $ac_func
102991
102992 /* Override any gcc2 internal prototype to avoid an error.  */
102993 #ifdef __cplusplus
102994 extern "C"
102995 {
102996 #endif
102997 /* We use char because int might match the return type of a gcc2
102998    builtin and then its argument prototype would still apply.  */
102999 char $ac_func ();
103000 /* The GNU C library defines this for functions which it implements
103001     to always fail with ENOSYS.  Some functions are actually named
103002     something starting with __ and the normal name is an alias.  */
103003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103004 choke me
103005 #else
103006 char (*f) () = $ac_func;
103007 #endif
103008 #ifdef __cplusplus
103009 }
103010 #endif
103011
103012 int
103013 main ()
103014 {
103015 return f != $ac_func;
103016   ;
103017   return 0;
103018 }
103019 _ACEOF
103020 rm -f conftest.$ac_objext conftest$ac_exeext
103021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103022   (eval $ac_link) 2>conftest.er1
103023   ac_status=$?
103024   grep -v '^ *+' conftest.er1 >conftest.err
103025   rm -f conftest.er1
103026   cat conftest.err >&5
103027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103028   (exit $ac_status); } &&
103029          { ac_try='test -z "$ac_c_werror_flag"
103030                          || test ! -s conftest.err'
103031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103032   (eval $ac_try) 2>&5
103033   ac_status=$?
103034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103035   (exit $ac_status); }; } &&
103036          { ac_try='test -s conftest$ac_exeext'
103037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103038   (eval $ac_try) 2>&5
103039   ac_status=$?
103040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103041   (exit $ac_status); }; }; then
103042   eval "$as_ac_var=yes"
103043 else
103044   echo "$as_me: failed program was:" >&5
103045 sed 's/^/| /' conftest.$ac_ext >&5
103046
103047 eval "$as_ac_var=no"
103048 fi
103049 rm -f conftest.err conftest.$ac_objext \
103050       conftest$ac_exeext conftest.$ac_ext
103051 fi
103052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103054 if test `eval echo '${'$as_ac_var'}'` = yes; then
103055   cat >>confdefs.h <<_ACEOF
103056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103057 _ACEOF
103058
103059 else
103060   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103061 fi
103062 done
103063
103064   fi
103065
103066   # Used in libmath/Makefile.am.
103067   if test -n "$LIBMATHOBJS"; then
103068     need_libmath=yes
103069   fi
103070
103071
103072     cat >>confdefs.h <<\_ACEOF
103073 #define HAVE_COPYSIGN 1
103074 _ACEOF
103075
103076     cat >>confdefs.h <<\_ACEOF
103077 #define HAVE_COPYSIGNF 1
103078 _ACEOF
103079
103080     cat >>confdefs.h <<\_ACEOF
103081 #define HAVE_FINITE 1
103082 _ACEOF
103083
103084     cat >>confdefs.h <<\_ACEOF
103085 #define HAVE_FINITEF 1
103086 _ACEOF
103087
103088     cat >>confdefs.h <<\_ACEOF
103089 #define HAVE_FREXPF 1
103090 _ACEOF
103091
103092     cat >>confdefs.h <<\_ACEOF
103093 #define HAVE_HYPOTF 1
103094 _ACEOF
103095
103096     cat >>confdefs.h <<\_ACEOF
103097 #define HAVE_ISINF 1
103098 _ACEOF
103099
103100     cat >>confdefs.h <<\_ACEOF
103101 #define HAVE_ISINFF 1
103102 _ACEOF
103103
103104     cat >>confdefs.h <<\_ACEOF
103105 #define HAVE_ISNAN 1
103106 _ACEOF
103107
103108     cat >>confdefs.h <<\_ACEOF
103109 #define HAVE_ISNANF 1
103110 _ACEOF
103111
103112     cat >>confdefs.h <<\_ACEOF
103113 #define HAVE_SINCOS 1
103114 _ACEOF
103115
103116     cat >>confdefs.h <<\_ACEOF
103117 #define HAVE_SINCOSF 1
103118 _ACEOF
103119
103120     if test x"long_double_math_on_this_cpu" = x"yes"; then
103121       cat >>confdefs.h <<\_ACEOF
103122 #define HAVE_FINITEL 1
103123 _ACEOF
103124
103125       cat >>confdefs.h <<\_ACEOF
103126 #define HAVE_HYPOTL 1
103127 _ACEOF
103128
103129       cat >>confdefs.h <<\_ACEOF
103130 #define HAVE_ISINFL 1
103131 _ACEOF
103132
103133       cat >>confdefs.h <<\_ACEOF
103134 #define HAVE_ISNANL 1
103135 _ACEOF
103136
103137     fi
103138     ;;
103139   *-vxworks)
103140     cat >>confdefs.h <<\_ACEOF
103141 #define HAVE_ACOSF 1
103142 _ACEOF
103143
103144     cat >>confdefs.h <<\_ACEOF
103145 #define HAVE_ASINF 1
103146 _ACEOF
103147
103148     cat >>confdefs.h <<\_ACEOF
103149 #define HAVE_ATAN2F 1
103150 _ACEOF
103151
103152     cat >>confdefs.h <<\_ACEOF
103153 #define HAVE_ATANF 1
103154 _ACEOF
103155
103156     cat >>confdefs.h <<\_ACEOF
103157 #define HAVE_CEILF 1
103158 _ACEOF
103159
103160     cat >>confdefs.h <<\_ACEOF
103161 #define HAVE_COSF 1
103162 _ACEOF
103163
103164     cat >>confdefs.h <<\_ACEOF
103165 #define HAVE_COSHF 1
103166 _ACEOF
103167
103168     cat >>confdefs.h <<\_ACEOF
103169 #define HAVE_EXPF 1
103170 _ACEOF
103171
103172     cat >>confdefs.h <<\_ACEOF
103173 #define HAVE_FABSF 1
103174 _ACEOF
103175
103176     cat >>confdefs.h <<\_ACEOF
103177 #define HAVE_FLOORF 1
103178 _ACEOF
103179
103180     cat >>confdefs.h <<\_ACEOF
103181 #define HAVE_FMODF 1
103182 _ACEOF
103183
103184     cat >>confdefs.h <<\_ACEOF
103185 #define HAVE_HYPOT 1
103186 _ACEOF
103187
103188     cat >>confdefs.h <<\_ACEOF
103189 #define HAVE_LOG10F 1
103190 _ACEOF
103191
103192     cat >>confdefs.h <<\_ACEOF
103193 #define HAVE_LOGF 1
103194 _ACEOF
103195
103196     cat >>confdefs.h <<\_ACEOF
103197 #define HAVE_POWF 1
103198 _ACEOF
103199
103200     cat >>confdefs.h <<\_ACEOF
103201 #define HAVE_SINF 1
103202 _ACEOF
103203
103204     cat >>confdefs.h <<\_ACEOF
103205 #define HAVE_SINHF 1
103206 _ACEOF
103207
103208     cat >>confdefs.h <<\_ACEOF
103209 #define HAVE_SQRTF 1
103210 _ACEOF
103211
103212     cat >>confdefs.h <<\_ACEOF
103213 #define HAVE_TANF 1
103214 _ACEOF
103215
103216     cat >>confdefs.h <<\_ACEOF
103217 #define HAVE_TANHF 1
103218 _ACEOF
103219
103220     ;;
103221   *)
103222     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
103223 echo "$as_me: error: No support for this host/target combination." >&2;}
103224    { (exit 1); exit 1; }; }
103225    ;;
103226 esac
103227
103228   fi
103229
103230   # At some point, we should differentiate between aritectures
103231   # like x86, which have long double versions, and alpha/powerpc/etc.,
103232   # which don't. For the time being, punt.
103233   if test x"long_double_math_on_this_cpu" = x"yes"; then
103234     cat >>confdefs.h <<\_ACEOF
103235 #define HAVE_ACOSL 1
103236 _ACEOF
103237
103238     cat >>confdefs.h <<\_ACEOF
103239 #define HAVE_ASINL 1
103240 _ACEOF
103241
103242     cat >>confdefs.h <<\_ACEOF
103243 #define HAVE_ATAN2L 1
103244 _ACEOF
103245
103246     cat >>confdefs.h <<\_ACEOF
103247 #define HAVE_ATANL 1
103248 _ACEOF
103249
103250     cat >>confdefs.h <<\_ACEOF
103251 #define HAVE_CEILL 1
103252 _ACEOF
103253
103254     cat >>confdefs.h <<\_ACEOF
103255 #define HAVE_COPYSIGNL 1
103256 _ACEOF
103257
103258     cat >>confdefs.h <<\_ACEOF
103259 #define HAVE_COSL 1
103260 _ACEOF
103261
103262     cat >>confdefs.h <<\_ACEOF
103263 #define HAVE_COSHL 1
103264 _ACEOF
103265
103266     cat >>confdefs.h <<\_ACEOF
103267 #define HAVE_EXPL 1
103268 _ACEOF
103269
103270     cat >>confdefs.h <<\_ACEOF
103271 #define HAVE_FABSL 1
103272 _ACEOF
103273
103274     cat >>confdefs.h <<\_ACEOF
103275 #define HAVE_FLOORL 1
103276 _ACEOF
103277
103278     cat >>confdefs.h <<\_ACEOF
103279 #define HAVE_FMODL 1
103280 _ACEOF
103281
103282     cat >>confdefs.h <<\_ACEOF
103283 #define HAVE_FREXPL 1
103284 _ACEOF
103285
103286     cat >>confdefs.h <<\_ACEOF
103287 #define HAVE_LDEXPL 1
103288 _ACEOF
103289
103290     cat >>confdefs.h <<\_ACEOF
103291 #define HAVE_LOG10L 1
103292 _ACEOF
103293
103294     cat >>confdefs.h <<\_ACEOF
103295 #define HAVE_LOGL 1
103296 _ACEOF
103297
103298     cat >>confdefs.h <<\_ACEOF
103299 #define HAVE_MODFL 1
103300 _ACEOF
103301
103302     cat >>confdefs.h <<\_ACEOF
103303 #define HAVE_POWL 1
103304 _ACEOF
103305
103306     cat >>confdefs.h <<\_ACEOF
103307 #define HAVE_SINCOSL 1
103308 _ACEOF
103309
103310     cat >>confdefs.h <<\_ACEOF
103311 #define HAVE_SINL 1
103312 _ACEOF
103313
103314     cat >>confdefs.h <<\_ACEOF
103315 #define HAVE_SINHL 1
103316 _ACEOF
103317
103318     cat >>confdefs.h <<\_ACEOF
103319 #define HAVE_SQRTL 1
103320 _ACEOF
103321
103322     cat >>confdefs.h <<\_ACEOF
103323 #define HAVE_TANL 1
103324 _ACEOF
103325
103326     cat >>confdefs.h <<\_ACEOF
103327 #define HAVE_TANHL 1
103328 _ACEOF
103329
103330   fi
103331
103332   # Assume we have _Unwind_GetIPInfo for cross-compiles.
103333   cat >>confdefs.h <<\_ACEOF
103334 #define HAVE_GETIPINFO 1
103335 _ACEOF
103336
103337 fi
103338
103339  # Check whether --enable-linux-futex or --disable-linux-futex was given.
103340 if test "${enable_linux_futex+set}" = set; then
103341   enableval="$enable_linux_futex"
103342
103343       case "$enableval" in
103344        yes|no|default) ;;
103345        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
103346 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
103347    { (exit 1); exit 1; }; } ;;
103348                           esac
103349
103350 else
103351   enable_linux_futex=default
103352 fi;
103353
103354 case "$target" in
103355   *-linux*)
103356     case "$enable_linux_futex" in
103357       default)
103358         # If headers don't have gettid/futex syscalls definition, then
103359         # default to no, otherwise there will be compile time failures.
103360         # Otherwise, default to yes.  If we don't detect we are
103361         # compiled/linked against NPTL and not cross-compiling, check
103362         # if programs are run by default against NPTL and if not, issue
103363         # a warning.
103364         enable_linux_futex=no
103365         if test x$gcc_no_link = xyes; then
103366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103368    { (exit 1); exit 1; }; }
103369 fi
103370 cat >conftest.$ac_ext <<_ACEOF
103371 /* confdefs.h.  */
103372 _ACEOF
103373 cat confdefs.h >>conftest.$ac_ext
103374 cat >>conftest.$ac_ext <<_ACEOF
103375 /* end confdefs.h.  */
103376 #include <sys/syscall.h>
103377            int lk;
103378 int
103379 main ()
103380 {
103381 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
103382   ;
103383   return 0;
103384 }
103385 _ACEOF
103386 rm -f conftest.$ac_objext conftest$ac_exeext
103387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103388   (eval $ac_link) 2>conftest.er1
103389   ac_status=$?
103390   grep -v '^ *+' conftest.er1 >conftest.err
103391   rm -f conftest.er1
103392   cat conftest.err >&5
103393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103394   (exit $ac_status); } &&
103395          { ac_try='test -z "$ac_c_werror_flag"
103396                          || test ! -s conftest.err'
103397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103398   (eval $ac_try) 2>&5
103399   ac_status=$?
103400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103401   (exit $ac_status); }; } &&
103402          { ac_try='test -s conftest$ac_exeext'
103403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103404   (eval $ac_try) 2>&5
103405   ac_status=$?
103406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103407   (exit $ac_status); }; }; then
103408   save_LIBS="$LIBS"
103409            LIBS="-lpthread $LIBS"
103410            if test x$gcc_no_link = xyes; then
103411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103413    { (exit 1); exit 1; }; }
103414 fi
103415 cat >conftest.$ac_ext <<_ACEOF
103416 /* confdefs.h.  */
103417 _ACEOF
103418 cat confdefs.h >>conftest.$ac_ext
103419 cat >>conftest.$ac_ext <<_ACEOF
103420 /* end confdefs.h.  */
103421 #ifndef _GNU_SOURCE
103422              #define _GNU_SOURCE 1
103423              #endif
103424              #include <pthread.h>
103425              pthread_t th; void *status;
103426 int
103427 main ()
103428 {
103429 pthread_tryjoin_np (th, &status);
103430   ;
103431   return 0;
103432 }
103433 _ACEOF
103434 rm -f conftest.$ac_objext conftest$ac_exeext
103435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103436   (eval $ac_link) 2>conftest.er1
103437   ac_status=$?
103438   grep -v '^ *+' conftest.er1 >conftest.err
103439   rm -f conftest.er1
103440   cat conftest.err >&5
103441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103442   (exit $ac_status); } &&
103443          { ac_try='test -z "$ac_c_werror_flag"
103444                          || test ! -s conftest.err'
103445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103446   (eval $ac_try) 2>&5
103447   ac_status=$?
103448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103449   (exit $ac_status); }; } &&
103450          { ac_try='test -s conftest$ac_exeext'
103451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103452   (eval $ac_try) 2>&5
103453   ac_status=$?
103454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103455   (exit $ac_status); }; }; then
103456   enable_linux_futex=yes
103457 else
103458   echo "$as_me: failed program was:" >&5
103459 sed 's/^/| /' conftest.$ac_ext >&5
103460
103461 if test x$cross_compiling = xno; then
103462                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
103463                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
103464                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
103465 If so, please configure with --disable-linux-futex" >&5
103466 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
103467 If so, please configure with --disable-linux-futex" >&2;}
103468                fi
103469              fi
103470              enable_linux_futex=yes
103471 fi
103472 rm -f conftest.err conftest.$ac_objext \
103473       conftest$ac_exeext conftest.$ac_ext
103474            LIBS="$save_LIBS"
103475 else
103476   echo "$as_me: failed program was:" >&5
103477 sed 's/^/| /' conftest.$ac_ext >&5
103478
103479 fi
103480 rm -f conftest.err conftest.$ac_objext \
103481       conftest$ac_exeext conftest.$ac_ext
103482         ;;
103483       yes)
103484         if test x$gcc_no_link = xyes; then
103485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103487    { (exit 1); exit 1; }; }
103488 fi
103489 cat >conftest.$ac_ext <<_ACEOF
103490 /* confdefs.h.  */
103491 _ACEOF
103492 cat confdefs.h >>conftest.$ac_ext
103493 cat >>conftest.$ac_ext <<_ACEOF
103494 /* end confdefs.h.  */
103495 #include <sys/syscall.h>
103496            int lk;
103497 int
103498 main ()
103499 {
103500 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
103501   ;
103502   return 0;
103503 }
103504 _ACEOF
103505 rm -f conftest.$ac_objext conftest$ac_exeext
103506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103507   (eval $ac_link) 2>conftest.er1
103508   ac_status=$?
103509   grep -v '^ *+' conftest.er1 >conftest.err
103510   rm -f conftest.er1
103511   cat conftest.err >&5
103512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103513   (exit $ac_status); } &&
103514          { ac_try='test -z "$ac_c_werror_flag"
103515                          || test ! -s conftest.err'
103516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103517   (eval $ac_try) 2>&5
103518   ac_status=$?
103519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103520   (exit $ac_status); }; } &&
103521          { ac_try='test -s conftest$ac_exeext'
103522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103523   (eval $ac_try) 2>&5
103524   ac_status=$?
103525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103526   (exit $ac_status); }; }; then
103527   :
103528 else
103529   echo "$as_me: failed program was:" >&5
103530 sed 's/^/| /' conftest.$ac_ext >&5
103531
103532 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
103533 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
103534    { (exit 1); exit 1; }; }
103535 fi
103536 rm -f conftest.err conftest.$ac_objext \
103537       conftest$ac_exeext conftest.$ac_ext
103538         ;;
103539     esac
103540     ;;
103541   *)
103542     enable_linux_futex=no
103543     ;;
103544 esac
103545 if test x$enable_linux_futex = xyes; then
103546
103547 cat >>confdefs.h <<\_ACEOF
103548 #define HAVE_LINUX_FUTEX 1
103549 _ACEOF
103550
103551 fi
103552
103553
103554
103555
103556 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
103557
103558 acx_cv_header_stdint=stddef.h
103559 acx_cv_header_stdint_kind="(already complete)"
103560 for i in stdint.h $inttype_headers; do
103561   unset ac_cv_type_uintptr_t
103562   unset ac_cv_type_uintmax_t
103563   unset ac_cv_type_int_least32_t
103564   unset ac_cv_type_int_fast32_t
103565   unset ac_cv_type_uint64_t
103566   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
103567   echo "$as_me:$LINENO: checking for uintmax_t" >&5
103568 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
103569 if test "${ac_cv_type_uintmax_t+set}" = set; then
103570   echo $ECHO_N "(cached) $ECHO_C" >&6
103571 else
103572   cat >conftest.$ac_ext <<_ACEOF
103573 /* confdefs.h.  */
103574 _ACEOF
103575 cat confdefs.h >>conftest.$ac_ext
103576 cat >>conftest.$ac_ext <<_ACEOF
103577 /* end confdefs.h.  */
103578 #include <sys/types.h>
103579 #include <$i>
103580
103581 int
103582 main ()
103583 {
103584 if ((uintmax_t *) 0)
103585   return 0;
103586 if (sizeof (uintmax_t))
103587   return 0;
103588   ;
103589   return 0;
103590 }
103591 _ACEOF
103592 rm -f conftest.$ac_objext
103593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103594   (eval $ac_compile) 2>conftest.er1
103595   ac_status=$?
103596   grep -v '^ *+' conftest.er1 >conftest.err
103597   rm -f conftest.er1
103598   cat conftest.err >&5
103599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103600   (exit $ac_status); } &&
103601          { ac_try='test -z "$ac_c_werror_flag"
103602                          || test ! -s conftest.err'
103603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103604   (eval $ac_try) 2>&5
103605   ac_status=$?
103606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103607   (exit $ac_status); }; } &&
103608          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
103614   ac_cv_type_uintmax_t=yes
103615 else
103616   echo "$as_me: failed program was:" >&5
103617 sed 's/^/| /' conftest.$ac_ext >&5
103618
103619 ac_cv_type_uintmax_t=no
103620 fi
103621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103622 fi
103623 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
103624 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
103625 if test $ac_cv_type_uintmax_t = yes; then
103626   acx_cv_header_stdint=$i
103627 else
103628   continue
103629 fi
103630
103631   echo "$as_me:$LINENO: checking for uintptr_t" >&5
103632 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
103633 if test "${ac_cv_type_uintptr_t+set}" = set; then
103634   echo $ECHO_N "(cached) $ECHO_C" >&6
103635 else
103636   cat >conftest.$ac_ext <<_ACEOF
103637 /* confdefs.h.  */
103638 _ACEOF
103639 cat confdefs.h >>conftest.$ac_ext
103640 cat >>conftest.$ac_ext <<_ACEOF
103641 /* end confdefs.h.  */
103642 #include <sys/types.h>
103643 #include <$i>
103644
103645 int
103646 main ()
103647 {
103648 if ((uintptr_t *) 0)
103649   return 0;
103650 if (sizeof (uintptr_t))
103651   return 0;
103652   ;
103653   return 0;
103654 }
103655 _ACEOF
103656 rm -f conftest.$ac_objext
103657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103658   (eval $ac_compile) 2>conftest.er1
103659   ac_status=$?
103660   grep -v '^ *+' conftest.er1 >conftest.err
103661   rm -f conftest.er1
103662   cat conftest.err >&5
103663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103664   (exit $ac_status); } &&
103665          { ac_try='test -z "$ac_c_werror_flag"
103666                          || test ! -s conftest.err'
103667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103668   (eval $ac_try) 2>&5
103669   ac_status=$?
103670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103671   (exit $ac_status); }; } &&
103672          { ac_try='test -s conftest.$ac_objext'
103673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103674   (eval $ac_try) 2>&5
103675   ac_status=$?
103676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103677   (exit $ac_status); }; }; then
103678   ac_cv_type_uintptr_t=yes
103679 else
103680   echo "$as_me: failed program was:" >&5
103681 sed 's/^/| /' conftest.$ac_ext >&5
103682
103683 ac_cv_type_uintptr_t=no
103684 fi
103685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103686 fi
103687 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
103688 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
103689 if test $ac_cv_type_uintptr_t = yes; then
103690   :
103691 else
103692   acx_cv_header_stdint_kind="(mostly complete)"
103693 fi
103694
103695   echo "$as_me:$LINENO: checking for int_least32_t" >&5
103696 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
103697 if test "${ac_cv_type_int_least32_t+set}" = set; then
103698   echo $ECHO_N "(cached) $ECHO_C" >&6
103699 else
103700   cat >conftest.$ac_ext <<_ACEOF
103701 /* confdefs.h.  */
103702 _ACEOF
103703 cat confdefs.h >>conftest.$ac_ext
103704 cat >>conftest.$ac_ext <<_ACEOF
103705 /* end confdefs.h.  */
103706 #include <sys/types.h>
103707 #include <$i>
103708
103709 int
103710 main ()
103711 {
103712 if ((int_least32_t *) 0)
103713   return 0;
103714 if (sizeof (int_least32_t))
103715   return 0;
103716   ;
103717   return 0;
103718 }
103719 _ACEOF
103720 rm -f conftest.$ac_objext
103721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103722   (eval $ac_compile) 2>conftest.er1
103723   ac_status=$?
103724   grep -v '^ *+' conftest.er1 >conftest.err
103725   rm -f conftest.er1
103726   cat conftest.err >&5
103727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103728   (exit $ac_status); } &&
103729          { ac_try='test -z "$ac_c_werror_flag"
103730                          || test ! -s conftest.err'
103731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103732   (eval $ac_try) 2>&5
103733   ac_status=$?
103734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103735   (exit $ac_status); }; } &&
103736          { ac_try='test -s conftest.$ac_objext'
103737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103738   (eval $ac_try) 2>&5
103739   ac_status=$?
103740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103741   (exit $ac_status); }; }; then
103742   ac_cv_type_int_least32_t=yes
103743 else
103744   echo "$as_me: failed program was:" >&5
103745 sed 's/^/| /' conftest.$ac_ext >&5
103746
103747 ac_cv_type_int_least32_t=no
103748 fi
103749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103750 fi
103751 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
103752 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
103753 if test $ac_cv_type_int_least32_t = yes; then
103754   :
103755 else
103756   acx_cv_header_stdint_kind="(mostly complete)"
103757 fi
103758
103759   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
103760 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
103761 if test "${ac_cv_type_int_fast32_t+set}" = set; then
103762   echo $ECHO_N "(cached) $ECHO_C" >&6
103763 else
103764   cat >conftest.$ac_ext <<_ACEOF
103765 /* confdefs.h.  */
103766 _ACEOF
103767 cat confdefs.h >>conftest.$ac_ext
103768 cat >>conftest.$ac_ext <<_ACEOF
103769 /* end confdefs.h.  */
103770 #include <sys/types.h>
103771 #include <$i>
103772
103773 int
103774 main ()
103775 {
103776 if ((int_fast32_t *) 0)
103777   return 0;
103778 if (sizeof (int_fast32_t))
103779   return 0;
103780   ;
103781   return 0;
103782 }
103783 _ACEOF
103784 rm -f conftest.$ac_objext
103785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103786   (eval $ac_compile) 2>conftest.er1
103787   ac_status=$?
103788   grep -v '^ *+' conftest.er1 >conftest.err
103789   rm -f conftest.er1
103790   cat conftest.err >&5
103791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103792   (exit $ac_status); } &&
103793          { ac_try='test -z "$ac_c_werror_flag"
103794                          || test ! -s conftest.err'
103795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103796   (eval $ac_try) 2>&5
103797   ac_status=$?
103798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103799   (exit $ac_status); }; } &&
103800          { ac_try='test -s conftest.$ac_objext'
103801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103802   (eval $ac_try) 2>&5
103803   ac_status=$?
103804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103805   (exit $ac_status); }; }; then
103806   ac_cv_type_int_fast32_t=yes
103807 else
103808   echo "$as_me: failed program was:" >&5
103809 sed 's/^/| /' conftest.$ac_ext >&5
103810
103811 ac_cv_type_int_fast32_t=no
103812 fi
103813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103814 fi
103815 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
103816 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
103817 if test $ac_cv_type_int_fast32_t = yes; then
103818   :
103819 else
103820   acx_cv_header_stdint_kind="(mostly complete)"
103821 fi
103822
103823   echo "$as_me:$LINENO: checking for uint64_t" >&5
103824 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
103825 if test "${ac_cv_type_uint64_t+set}" = set; then
103826   echo $ECHO_N "(cached) $ECHO_C" >&6
103827 else
103828   cat >conftest.$ac_ext <<_ACEOF
103829 /* confdefs.h.  */
103830 _ACEOF
103831 cat confdefs.h >>conftest.$ac_ext
103832 cat >>conftest.$ac_ext <<_ACEOF
103833 /* end confdefs.h.  */
103834 #include <sys/types.h>
103835 #include <$i>
103836
103837 int
103838 main ()
103839 {
103840 if ((uint64_t *) 0)
103841   return 0;
103842 if (sizeof (uint64_t))
103843   return 0;
103844   ;
103845   return 0;
103846 }
103847 _ACEOF
103848 rm -f conftest.$ac_objext
103849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103850   (eval $ac_compile) 2>conftest.er1
103851   ac_status=$?
103852   grep -v '^ *+' conftest.er1 >conftest.err
103853   rm -f conftest.er1
103854   cat conftest.err >&5
103855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103856   (exit $ac_status); } &&
103857          { ac_try='test -z "$ac_c_werror_flag"
103858                          || test ! -s conftest.err'
103859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103860   (eval $ac_try) 2>&5
103861   ac_status=$?
103862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103863   (exit $ac_status); }; } &&
103864          { ac_try='test -s conftest.$ac_objext'
103865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103866   (eval $ac_try) 2>&5
103867   ac_status=$?
103868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103869   (exit $ac_status); }; }; then
103870   ac_cv_type_uint64_t=yes
103871 else
103872   echo "$as_me: failed program was:" >&5
103873 sed 's/^/| /' conftest.$ac_ext >&5
103874
103875 ac_cv_type_uint64_t=no
103876 fi
103877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103878 fi
103879 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
103880 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
103881 if test $ac_cv_type_uint64_t = yes; then
103882   :
103883 else
103884   acx_cv_header_stdint_kind="(lacks uint64_t)"
103885 fi
103886
103887   break
103888 done
103889 if test "$acx_cv_header_stdint" = stddef.h; then
103890   acx_cv_header_stdint_kind="(lacks uintmax_t)"
103891   for i in stdint.h $inttype_headers; do
103892     unset ac_cv_type_uintptr_t
103893     unset ac_cv_type_uint32_t
103894     unset ac_cv_type_uint64_t
103895     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
103896     echo "$as_me:$LINENO: checking for uint32_t" >&5
103897 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
103898 if test "${ac_cv_type_uint32_t+set}" = set; then
103899   echo $ECHO_N "(cached) $ECHO_C" >&6
103900 else
103901   cat >conftest.$ac_ext <<_ACEOF
103902 /* confdefs.h.  */
103903 _ACEOF
103904 cat confdefs.h >>conftest.$ac_ext
103905 cat >>conftest.$ac_ext <<_ACEOF
103906 /* end confdefs.h.  */
103907 #include <sys/types.h>
103908 #include <$i>
103909
103910 int
103911 main ()
103912 {
103913 if ((uint32_t *) 0)
103914   return 0;
103915 if (sizeof (uint32_t))
103916   return 0;
103917   ;
103918   return 0;
103919 }
103920 _ACEOF
103921 rm -f conftest.$ac_objext
103922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103923   (eval $ac_compile) 2>conftest.er1
103924   ac_status=$?
103925   grep -v '^ *+' conftest.er1 >conftest.err
103926   rm -f conftest.er1
103927   cat conftest.err >&5
103928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103929   (exit $ac_status); } &&
103930          { ac_try='test -z "$ac_c_werror_flag"
103931                          || test ! -s conftest.err'
103932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103933   (eval $ac_try) 2>&5
103934   ac_status=$?
103935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103936   (exit $ac_status); }; } &&
103937          { ac_try='test -s conftest.$ac_objext'
103938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103939   (eval $ac_try) 2>&5
103940   ac_status=$?
103941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103942   (exit $ac_status); }; }; then
103943   ac_cv_type_uint32_t=yes
103944 else
103945   echo "$as_me: failed program was:" >&5
103946 sed 's/^/| /' conftest.$ac_ext >&5
103947
103948 ac_cv_type_uint32_t=no
103949 fi
103950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103951 fi
103952 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
103953 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
103954 if test $ac_cv_type_uint32_t = yes; then
103955   acx_cv_header_stdint=$i
103956 else
103957   continue
103958 fi
103959
103960     echo "$as_me:$LINENO: checking for uint64_t" >&5
103961 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
103962 if test "${ac_cv_type_uint64_t+set}" = set; then
103963   echo $ECHO_N "(cached) $ECHO_C" >&6
103964 else
103965   cat >conftest.$ac_ext <<_ACEOF
103966 /* confdefs.h.  */
103967 _ACEOF
103968 cat confdefs.h >>conftest.$ac_ext
103969 cat >>conftest.$ac_ext <<_ACEOF
103970 /* end confdefs.h.  */
103971 #include <sys/types.h>
103972 #include <$i>
103973
103974 int
103975 main ()
103976 {
103977 if ((uint64_t *) 0)
103978   return 0;
103979 if (sizeof (uint64_t))
103980   return 0;
103981   ;
103982   return 0;
103983 }
103984 _ACEOF
103985 rm -f conftest.$ac_objext
103986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103987   (eval $ac_compile) 2>conftest.er1
103988   ac_status=$?
103989   grep -v '^ *+' conftest.er1 >conftest.err
103990   rm -f conftest.er1
103991   cat conftest.err >&5
103992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103993   (exit $ac_status); } &&
103994          { ac_try='test -z "$ac_c_werror_flag"
103995                          || test ! -s conftest.err'
103996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103997   (eval $ac_try) 2>&5
103998   ac_status=$?
103999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104000   (exit $ac_status); }; } &&
104001          { ac_try='test -s conftest.$ac_objext'
104002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104003   (eval $ac_try) 2>&5
104004   ac_status=$?
104005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104006   (exit $ac_status); }; }; then
104007   ac_cv_type_uint64_t=yes
104008 else
104009   echo "$as_me: failed program was:" >&5
104010 sed 's/^/| /' conftest.$ac_ext >&5
104011
104012 ac_cv_type_uint64_t=no
104013 fi
104014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104015 fi
104016 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
104017 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
104018
104019     echo "$as_me:$LINENO: checking for uintptr_t" >&5
104020 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
104021 if test "${ac_cv_type_uintptr_t+set}" = set; then
104022   echo $ECHO_N "(cached) $ECHO_C" >&6
104023 else
104024   cat >conftest.$ac_ext <<_ACEOF
104025 /* confdefs.h.  */
104026 _ACEOF
104027 cat confdefs.h >>conftest.$ac_ext
104028 cat >>conftest.$ac_ext <<_ACEOF
104029 /* end confdefs.h.  */
104030 #include <sys/types.h>
104031 #include <$i>
104032
104033 int
104034 main ()
104035 {
104036 if ((uintptr_t *) 0)
104037   return 0;
104038 if (sizeof (uintptr_t))
104039   return 0;
104040   ;
104041   return 0;
104042 }
104043 _ACEOF
104044 rm -f conftest.$ac_objext
104045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104046   (eval $ac_compile) 2>conftest.er1
104047   ac_status=$?
104048   grep -v '^ *+' conftest.er1 >conftest.err
104049   rm -f conftest.er1
104050   cat conftest.err >&5
104051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104052   (exit $ac_status); } &&
104053          { ac_try='test -z "$ac_c_werror_flag"
104054                          || test ! -s conftest.err'
104055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104056   (eval $ac_try) 2>&5
104057   ac_status=$?
104058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104059   (exit $ac_status); }; } &&
104060          { ac_try='test -s conftest.$ac_objext'
104061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104062   (eval $ac_try) 2>&5
104063   ac_status=$?
104064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104065   (exit $ac_status); }; }; then
104066   ac_cv_type_uintptr_t=yes
104067 else
104068   echo "$as_me: failed program was:" >&5
104069 sed 's/^/| /' conftest.$ac_ext >&5
104070
104071 ac_cv_type_uintptr_t=no
104072 fi
104073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104074 fi
104075 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
104076 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
104077
104078     break
104079   done
104080 fi
104081 if test "$acx_cv_header_stdint" = stddef.h; then
104082   acx_cv_header_stdint_kind="(u_intXX_t style)"
104083   for i in sys/types.h $inttype_headers; do
104084     unset ac_cv_type_u_int32_t
104085     unset ac_cv_type_u_int64_t
104086     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
104087     echo "$as_me:$LINENO: checking for u_int32_t" >&5
104088 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
104089 if test "${ac_cv_type_u_int32_t+set}" = set; then
104090   echo $ECHO_N "(cached) $ECHO_C" >&6
104091 else
104092   cat >conftest.$ac_ext <<_ACEOF
104093 /* confdefs.h.  */
104094 _ACEOF
104095 cat confdefs.h >>conftest.$ac_ext
104096 cat >>conftest.$ac_ext <<_ACEOF
104097 /* end confdefs.h.  */
104098 #include <sys/types.h>
104099 #include <$i>
104100
104101 int
104102 main ()
104103 {
104104 if ((u_int32_t *) 0)
104105   return 0;
104106 if (sizeof (u_int32_t))
104107   return 0;
104108   ;
104109   return 0;
104110 }
104111 _ACEOF
104112 rm -f conftest.$ac_objext
104113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104114   (eval $ac_compile) 2>conftest.er1
104115   ac_status=$?
104116   grep -v '^ *+' conftest.er1 >conftest.err
104117   rm -f conftest.er1
104118   cat conftest.err >&5
104119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104120   (exit $ac_status); } &&
104121          { ac_try='test -z "$ac_c_werror_flag"
104122                          || test ! -s conftest.err'
104123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104124   (eval $ac_try) 2>&5
104125   ac_status=$?
104126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104127   (exit $ac_status); }; } &&
104128          { ac_try='test -s conftest.$ac_objext'
104129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104130   (eval $ac_try) 2>&5
104131   ac_status=$?
104132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104133   (exit $ac_status); }; }; then
104134   ac_cv_type_u_int32_t=yes
104135 else
104136   echo "$as_me: failed program was:" >&5
104137 sed 's/^/| /' conftest.$ac_ext >&5
104138
104139 ac_cv_type_u_int32_t=no
104140 fi
104141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104142 fi
104143 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
104144 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
104145 if test $ac_cv_type_u_int32_t = yes; then
104146   acx_cv_header_stdint=$i
104147 else
104148   continue
104149 fi
104150
104151     echo "$as_me:$LINENO: checking for u_int64_t" >&5
104152 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
104153 if test "${ac_cv_type_u_int64_t+set}" = set; then
104154   echo $ECHO_N "(cached) $ECHO_C" >&6
104155 else
104156   cat >conftest.$ac_ext <<_ACEOF
104157 /* confdefs.h.  */
104158 _ACEOF
104159 cat confdefs.h >>conftest.$ac_ext
104160 cat >>conftest.$ac_ext <<_ACEOF
104161 /* end confdefs.h.  */
104162 #include <sys/types.h>
104163 #include <$i>
104164
104165 int
104166 main ()
104167 {
104168 if ((u_int64_t *) 0)
104169   return 0;
104170 if (sizeof (u_int64_t))
104171   return 0;
104172   ;
104173   return 0;
104174 }
104175 _ACEOF
104176 rm -f conftest.$ac_objext
104177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104178   (eval $ac_compile) 2>conftest.er1
104179   ac_status=$?
104180   grep -v '^ *+' conftest.er1 >conftest.err
104181   rm -f conftest.er1
104182   cat conftest.err >&5
104183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104184   (exit $ac_status); } &&
104185          { ac_try='test -z "$ac_c_werror_flag"
104186                          || test ! -s conftest.err'
104187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104188   (eval $ac_try) 2>&5
104189   ac_status=$?
104190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104191   (exit $ac_status); }; } &&
104192          { ac_try='test -s conftest.$ac_objext'
104193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104194   (eval $ac_try) 2>&5
104195   ac_status=$?
104196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104197   (exit $ac_status); }; }; then
104198   ac_cv_type_u_int64_t=yes
104199 else
104200   echo "$as_me: failed program was:" >&5
104201 sed 's/^/| /' conftest.$ac_ext >&5
104202
104203 ac_cv_type_u_int64_t=no
104204 fi
104205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104206 fi
104207 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
104208 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
104209
104210     break
104211   done
104212 fi
104213 if test "$acx_cv_header_stdint" = stddef.h; then
104214   acx_cv_header_stdint_kind="(using manual detection)"
104215 fi
104216
104217 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
104218 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
104219 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
104220 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
104221 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
104222
104223 # ----------------- Summarize what we found so far
104224
104225 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
104226 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
104227
104228 case `$as_basename include/gstdint.h ||
104229 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
104230          Xinclude/gstdint.h : 'X\(//\)$' \| \
104231          Xinclude/gstdint.h : 'X\(/\)$' \| \
104232          .     : '\(.\)' 2>/dev/null ||
104233 echo X/include/gstdint.h |
104234     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
104235           /^X\/\(\/\/\)$/{ s//\1/; q; }
104236           /^X\/\(\/\).*/{ s//\1/; q; }
104237           s/.*/./; q'` in
104238   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
104239 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
104240   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
104241 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
104242   *) ;;
104243 esac
104244
104245 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
104246 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
104247
104248 # ----------------- done included file, check C basic types --------
104249
104250 # Lacking an uintptr_t?  Test size of void *
104251 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
104252   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
104253 echo $ECHO_N "checking for void *... $ECHO_C" >&6
104254 if test "${ac_cv_type_void_p+set}" = set; then
104255   echo $ECHO_N "(cached) $ECHO_C" >&6
104256 else
104257   cat >conftest.$ac_ext <<_ACEOF
104258 /* confdefs.h.  */
104259 _ACEOF
104260 cat confdefs.h >>conftest.$ac_ext
104261 cat >>conftest.$ac_ext <<_ACEOF
104262 /* end confdefs.h.  */
104263 $ac_includes_default
104264 int
104265 main ()
104266 {
104267 if ((void * *) 0)
104268   return 0;
104269 if (sizeof (void *))
104270   return 0;
104271   ;
104272   return 0;
104273 }
104274 _ACEOF
104275 rm -f conftest.$ac_objext
104276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104277   (eval $ac_compile) 2>conftest.er1
104278   ac_status=$?
104279   grep -v '^ *+' conftest.er1 >conftest.err
104280   rm -f conftest.er1
104281   cat conftest.err >&5
104282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104283   (exit $ac_status); } &&
104284          { ac_try='test -z "$ac_c_werror_flag"
104285                          || test ! -s conftest.err'
104286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104287   (eval $ac_try) 2>&5
104288   ac_status=$?
104289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104290   (exit $ac_status); }; } &&
104291          { ac_try='test -s conftest.$ac_objext'
104292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104293   (eval $ac_try) 2>&5
104294   ac_status=$?
104295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104296   (exit $ac_status); }; }; then
104297   ac_cv_type_void_p=yes
104298 else
104299   echo "$as_me: failed program was:" >&5
104300 sed 's/^/| /' conftest.$ac_ext >&5
104301
104302 ac_cv_type_void_p=no
104303 fi
104304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104305 fi
104306 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
104307 echo "${ECHO_T}$ac_cv_type_void_p" >&6
104308
104309 echo "$as_me:$LINENO: checking size of void *" >&5
104310 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
104311 if test "${ac_cv_sizeof_void_p+set}" = set; then
104312   echo $ECHO_N "(cached) $ECHO_C" >&6
104313 else
104314   if test "$ac_cv_type_void_p" = yes; then
104315   # The cast to unsigned long works around a bug in the HP C Compiler
104316   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
104317   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
104318   # This bug is HP SR number 8606223364.
104319   if test "$cross_compiling" = yes; then
104320   # Depending upon the size, compute the lo and hi bounds.
104321 cat >conftest.$ac_ext <<_ACEOF
104322 /* confdefs.h.  */
104323 _ACEOF
104324 cat confdefs.h >>conftest.$ac_ext
104325 cat >>conftest.$ac_ext <<_ACEOF
104326 /* end confdefs.h.  */
104327 $ac_includes_default
104328 int
104329 main ()
104330 {
104331 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
104332 test_array [0] = 0
104333
104334   ;
104335   return 0;
104336 }
104337 _ACEOF
104338 rm -f conftest.$ac_objext
104339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104340   (eval $ac_compile) 2>conftest.er1
104341   ac_status=$?
104342   grep -v '^ *+' conftest.er1 >conftest.err
104343   rm -f conftest.er1
104344   cat conftest.err >&5
104345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104346   (exit $ac_status); } &&
104347          { ac_try='test -z "$ac_c_werror_flag"
104348                          || test ! -s conftest.err'
104349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104350   (eval $ac_try) 2>&5
104351   ac_status=$?
104352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104353   (exit $ac_status); }; } &&
104354          { ac_try='test -s conftest.$ac_objext'
104355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104356   (eval $ac_try) 2>&5
104357   ac_status=$?
104358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104359   (exit $ac_status); }; }; then
104360   ac_lo=0 ac_mid=0
104361   while :; do
104362     cat >conftest.$ac_ext <<_ACEOF
104363 /* confdefs.h.  */
104364 _ACEOF
104365 cat confdefs.h >>conftest.$ac_ext
104366 cat >>conftest.$ac_ext <<_ACEOF
104367 /* end confdefs.h.  */
104368 $ac_includes_default
104369 int
104370 main ()
104371 {
104372 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
104373 test_array [0] = 0
104374
104375   ;
104376   return 0;
104377 }
104378 _ACEOF
104379 rm -f conftest.$ac_objext
104380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104381   (eval $ac_compile) 2>conftest.er1
104382   ac_status=$?
104383   grep -v '^ *+' conftest.er1 >conftest.err
104384   rm -f conftest.er1
104385   cat conftest.err >&5
104386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104387   (exit $ac_status); } &&
104388          { ac_try='test -z "$ac_c_werror_flag"
104389                          || test ! -s conftest.err'
104390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104391   (eval $ac_try) 2>&5
104392   ac_status=$?
104393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104394   (exit $ac_status); }; } &&
104395          { ac_try='test -s conftest.$ac_objext'
104396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104397   (eval $ac_try) 2>&5
104398   ac_status=$?
104399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104400   (exit $ac_status); }; }; then
104401   ac_hi=$ac_mid; break
104402 else
104403   echo "$as_me: failed program was:" >&5
104404 sed 's/^/| /' conftest.$ac_ext >&5
104405
104406 ac_lo=`expr $ac_mid + 1`
104407                     if test $ac_lo -le $ac_mid; then
104408                       ac_lo= ac_hi=
104409                       break
104410                     fi
104411                     ac_mid=`expr 2 '*' $ac_mid + 1`
104412 fi
104413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104414   done
104415 else
104416   echo "$as_me: failed program was:" >&5
104417 sed 's/^/| /' conftest.$ac_ext >&5
104418
104419 cat >conftest.$ac_ext <<_ACEOF
104420 /* confdefs.h.  */
104421 _ACEOF
104422 cat confdefs.h >>conftest.$ac_ext
104423 cat >>conftest.$ac_ext <<_ACEOF
104424 /* end confdefs.h.  */
104425 $ac_includes_default
104426 int
104427 main ()
104428 {
104429 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
104430 test_array [0] = 0
104431
104432   ;
104433   return 0;
104434 }
104435 _ACEOF
104436 rm -f conftest.$ac_objext
104437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104438   (eval $ac_compile) 2>conftest.er1
104439   ac_status=$?
104440   grep -v '^ *+' conftest.er1 >conftest.err
104441   rm -f conftest.er1
104442   cat conftest.err >&5
104443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104444   (exit $ac_status); } &&
104445          { ac_try='test -z "$ac_c_werror_flag"
104446                          || test ! -s conftest.err'
104447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104448   (eval $ac_try) 2>&5
104449   ac_status=$?
104450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104451   (exit $ac_status); }; } &&
104452          { ac_try='test -s conftest.$ac_objext'
104453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104454   (eval $ac_try) 2>&5
104455   ac_status=$?
104456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104457   (exit $ac_status); }; }; then
104458   ac_hi=-1 ac_mid=-1
104459   while :; do
104460     cat >conftest.$ac_ext <<_ACEOF
104461 /* confdefs.h.  */
104462 _ACEOF
104463 cat confdefs.h >>conftest.$ac_ext
104464 cat >>conftest.$ac_ext <<_ACEOF
104465 /* end confdefs.h.  */
104466 $ac_includes_default
104467 int
104468 main ()
104469 {
104470 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
104471 test_array [0] = 0
104472
104473   ;
104474   return 0;
104475 }
104476 _ACEOF
104477 rm -f conftest.$ac_objext
104478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104479   (eval $ac_compile) 2>conftest.er1
104480   ac_status=$?
104481   grep -v '^ *+' conftest.er1 >conftest.err
104482   rm -f conftest.er1
104483   cat conftest.err >&5
104484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104485   (exit $ac_status); } &&
104486          { ac_try='test -z "$ac_c_werror_flag"
104487                          || test ! -s conftest.err'
104488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104489   (eval $ac_try) 2>&5
104490   ac_status=$?
104491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104492   (exit $ac_status); }; } &&
104493          { ac_try='test -s conftest.$ac_objext'
104494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104495   (eval $ac_try) 2>&5
104496   ac_status=$?
104497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104498   (exit $ac_status); }; }; then
104499   ac_lo=$ac_mid; break
104500 else
104501   echo "$as_me: failed program was:" >&5
104502 sed 's/^/| /' conftest.$ac_ext >&5
104503
104504 ac_hi=`expr '(' $ac_mid ')' - 1`
104505                        if test $ac_mid -le $ac_hi; then
104506                          ac_lo= ac_hi=
104507                          break
104508                        fi
104509                        ac_mid=`expr 2 '*' $ac_mid`
104510 fi
104511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104512   done
104513 else
104514   echo "$as_me: failed program was:" >&5
104515 sed 's/^/| /' conftest.$ac_ext >&5
104516
104517 ac_lo= ac_hi=
104518 fi
104519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104520 fi
104521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104522 # Binary search between lo and hi bounds.
104523 while test "x$ac_lo" != "x$ac_hi"; do
104524   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
104525   cat >conftest.$ac_ext <<_ACEOF
104526 /* confdefs.h.  */
104527 _ACEOF
104528 cat confdefs.h >>conftest.$ac_ext
104529 cat >>conftest.$ac_ext <<_ACEOF
104530 /* end confdefs.h.  */
104531 $ac_includes_default
104532 int
104533 main ()
104534 {
104535 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
104536 test_array [0] = 0
104537
104538   ;
104539   return 0;
104540 }
104541 _ACEOF
104542 rm -f conftest.$ac_objext
104543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104544   (eval $ac_compile) 2>conftest.er1
104545   ac_status=$?
104546   grep -v '^ *+' conftest.er1 >conftest.err
104547   rm -f conftest.er1
104548   cat conftest.err >&5
104549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104550   (exit $ac_status); } &&
104551          { ac_try='test -z "$ac_c_werror_flag"
104552                          || test ! -s conftest.err'
104553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104554   (eval $ac_try) 2>&5
104555   ac_status=$?
104556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104557   (exit $ac_status); }; } &&
104558          { ac_try='test -s conftest.$ac_objext'
104559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104560   (eval $ac_try) 2>&5
104561   ac_status=$?
104562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104563   (exit $ac_status); }; }; then
104564   ac_hi=$ac_mid
104565 else
104566   echo "$as_me: failed program was:" >&5
104567 sed 's/^/| /' conftest.$ac_ext >&5
104568
104569 ac_lo=`expr '(' $ac_mid ')' + 1`
104570 fi
104571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104572 done
104573 case $ac_lo in
104574 ?*) ac_cv_sizeof_void_p=$ac_lo;;
104575 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
104576 echo "$as_me: error: in \`$ac_pwd':" >&2;}
104577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
104578 See \`config.log' for more details." >&5
104579 echo "$as_me: error: cannot compute sizeof (void *), 77
104580 See \`config.log' for more details." >&2;}
104581    { (exit 1); exit 1; }; }; } ;;
104582 esac
104583 else
104584   if test "$cross_compiling" = yes; then
104585   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
104586 echo "$as_me: error: in \`$ac_pwd':" >&2;}
104587 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
104588 See \`config.log' for more details." >&5
104589 echo "$as_me: error: cannot run test program while cross compiling
104590 See \`config.log' for more details." >&2;}
104591    { (exit 1); exit 1; }; }; }
104592 else
104593   cat >conftest.$ac_ext <<_ACEOF
104594 /* confdefs.h.  */
104595 _ACEOF
104596 cat confdefs.h >>conftest.$ac_ext
104597 cat >>conftest.$ac_ext <<_ACEOF
104598 /* end confdefs.h.  */
104599 $ac_includes_default
104600 long longval () { return (long) (sizeof (void *)); }
104601 unsigned long ulongval () { return (long) (sizeof (void *)); }
104602 #include <stdio.h>
104603 #include <stdlib.h>
104604 int
104605 main ()
104606 {
104607
104608   FILE *f = fopen ("conftest.val", "w");
104609   if (! f)
104610     exit (1);
104611   if (((long) (sizeof (void *))) < 0)
104612     {
104613       long i = longval ();
104614       if (i != ((long) (sizeof (void *))))
104615         exit (1);
104616       fprintf (f, "%ld\n", i);
104617     }
104618   else
104619     {
104620       unsigned long i = ulongval ();
104621       if (i != ((long) (sizeof (void *))))
104622         exit (1);
104623       fprintf (f, "%lu\n", i);
104624     }
104625   exit (ferror (f) || fclose (f) != 0);
104626
104627   ;
104628   return 0;
104629 }
104630 _ACEOF
104631 rm -f conftest$ac_exeext
104632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104633   (eval $ac_link) 2>&5
104634   ac_status=$?
104635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104636   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
104637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104638   (eval $ac_try) 2>&5
104639   ac_status=$?
104640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104641   (exit $ac_status); }; }; then
104642   ac_cv_sizeof_void_p=`cat conftest.val`
104643 else
104644   echo "$as_me: program exited with status $ac_status" >&5
104645 echo "$as_me: failed program was:" >&5
104646 sed 's/^/| /' conftest.$ac_ext >&5
104647
104648 ( exit $ac_status )
104649 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
104650 echo "$as_me: error: in \`$ac_pwd':" >&2;}
104651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
104652 See \`config.log' for more details." >&5
104653 echo "$as_me: error: cannot compute sizeof (void *), 77
104654 See \`config.log' for more details." >&2;}
104655    { (exit 1); exit 1; }; }; }
104656 fi
104657 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
104658 fi
104659 fi
104660 rm -f conftest.val
104661 else
104662   ac_cv_sizeof_void_p=0
104663 fi
104664 fi
104665 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
104666 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
104667 cat >>confdefs.h <<_ACEOF
104668 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
104669 _ACEOF
104670
104671  ;;
104672 esac
104673
104674 # Lacking an uint64_t?  Test size of long
104675 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
104676   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
104677 echo $ECHO_N "checking for long... $ECHO_C" >&6
104678 if test "${ac_cv_type_long+set}" = set; then
104679   echo $ECHO_N "(cached) $ECHO_C" >&6
104680 else
104681   cat >conftest.$ac_ext <<_ACEOF
104682 /* confdefs.h.  */
104683 _ACEOF
104684 cat confdefs.h >>conftest.$ac_ext
104685 cat >>conftest.$ac_ext <<_ACEOF
104686 /* end confdefs.h.  */
104687 $ac_includes_default
104688 int
104689 main ()
104690 {
104691 if ((long *) 0)
104692   return 0;
104693 if (sizeof (long))
104694   return 0;
104695   ;
104696   return 0;
104697 }
104698 _ACEOF
104699 rm -f conftest.$ac_objext
104700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104701   (eval $ac_compile) 2>conftest.er1
104702   ac_status=$?
104703   grep -v '^ *+' conftest.er1 >conftest.err
104704   rm -f conftest.er1
104705   cat conftest.err >&5
104706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104707   (exit $ac_status); } &&
104708          { ac_try='test -z "$ac_c_werror_flag"
104709                          || test ! -s conftest.err'
104710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104711   (eval $ac_try) 2>&5
104712   ac_status=$?
104713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104714   (exit $ac_status); }; } &&
104715          { ac_try='test -s conftest.$ac_objext'
104716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104717   (eval $ac_try) 2>&5
104718   ac_status=$?
104719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104720   (exit $ac_status); }; }; then
104721   ac_cv_type_long=yes
104722 else
104723   echo "$as_me: failed program was:" >&5
104724 sed 's/^/| /' conftest.$ac_ext >&5
104725
104726 ac_cv_type_long=no
104727 fi
104728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104729 fi
104730 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
104731 echo "${ECHO_T}$ac_cv_type_long" >&6
104732
104733 echo "$as_me:$LINENO: checking size of long" >&5
104734 echo $ECHO_N "checking size of long... $ECHO_C" >&6
104735 if test "${ac_cv_sizeof_long+set}" = set; then
104736   echo $ECHO_N "(cached) $ECHO_C" >&6
104737 else
104738   if test "$ac_cv_type_long" = yes; then
104739   # The cast to unsigned long works around a bug in the HP C Compiler
104740   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
104741   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
104742   # This bug is HP SR number 8606223364.
104743   if test "$cross_compiling" = yes; then
104744   # Depending upon the size, compute the lo and hi bounds.
104745 cat >conftest.$ac_ext <<_ACEOF
104746 /* confdefs.h.  */
104747 _ACEOF
104748 cat confdefs.h >>conftest.$ac_ext
104749 cat >>conftest.$ac_ext <<_ACEOF
104750 /* end confdefs.h.  */
104751 $ac_includes_default
104752 int
104753 main ()
104754 {
104755 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
104756 test_array [0] = 0
104757
104758   ;
104759   return 0;
104760 }
104761 _ACEOF
104762 rm -f conftest.$ac_objext
104763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104764   (eval $ac_compile) 2>conftest.er1
104765   ac_status=$?
104766   grep -v '^ *+' conftest.er1 >conftest.err
104767   rm -f conftest.er1
104768   cat conftest.err >&5
104769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104770   (exit $ac_status); } &&
104771          { ac_try='test -z "$ac_c_werror_flag"
104772                          || test ! -s conftest.err'
104773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104774   (eval $ac_try) 2>&5
104775   ac_status=$?
104776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104777   (exit $ac_status); }; } &&
104778          { ac_try='test -s conftest.$ac_objext'
104779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104780   (eval $ac_try) 2>&5
104781   ac_status=$?
104782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104783   (exit $ac_status); }; }; then
104784   ac_lo=0 ac_mid=0
104785   while :; do
104786     cat >conftest.$ac_ext <<_ACEOF
104787 /* confdefs.h.  */
104788 _ACEOF
104789 cat confdefs.h >>conftest.$ac_ext
104790 cat >>conftest.$ac_ext <<_ACEOF
104791 /* end confdefs.h.  */
104792 $ac_includes_default
104793 int
104794 main ()
104795 {
104796 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
104797 test_array [0] = 0
104798
104799   ;
104800   return 0;
104801 }
104802 _ACEOF
104803 rm -f conftest.$ac_objext
104804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104805   (eval $ac_compile) 2>conftest.er1
104806   ac_status=$?
104807   grep -v '^ *+' conftest.er1 >conftest.err
104808   rm -f conftest.er1
104809   cat conftest.err >&5
104810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104811   (exit $ac_status); } &&
104812          { ac_try='test -z "$ac_c_werror_flag"
104813                          || test ! -s conftest.err'
104814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104815   (eval $ac_try) 2>&5
104816   ac_status=$?
104817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104818   (exit $ac_status); }; } &&
104819          { ac_try='test -s conftest.$ac_objext'
104820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104821   (eval $ac_try) 2>&5
104822   ac_status=$?
104823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104824   (exit $ac_status); }; }; then
104825   ac_hi=$ac_mid; break
104826 else
104827   echo "$as_me: failed program was:" >&5
104828 sed 's/^/| /' conftest.$ac_ext >&5
104829
104830 ac_lo=`expr $ac_mid + 1`
104831                     if test $ac_lo -le $ac_mid; then
104832                       ac_lo= ac_hi=
104833                       break
104834                     fi
104835                     ac_mid=`expr 2 '*' $ac_mid + 1`
104836 fi
104837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104838   done
104839 else
104840   echo "$as_me: failed program was:" >&5
104841 sed 's/^/| /' conftest.$ac_ext >&5
104842
104843 cat >conftest.$ac_ext <<_ACEOF
104844 /* confdefs.h.  */
104845 _ACEOF
104846 cat confdefs.h >>conftest.$ac_ext
104847 cat >>conftest.$ac_ext <<_ACEOF
104848 /* end confdefs.h.  */
104849 $ac_includes_default
104850 int
104851 main ()
104852 {
104853 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
104854 test_array [0] = 0
104855
104856   ;
104857   return 0;
104858 }
104859 _ACEOF
104860 rm -f conftest.$ac_objext
104861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104862   (eval $ac_compile) 2>conftest.er1
104863   ac_status=$?
104864   grep -v '^ *+' conftest.er1 >conftest.err
104865   rm -f conftest.er1
104866   cat conftest.err >&5
104867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104868   (exit $ac_status); } &&
104869          { ac_try='test -z "$ac_c_werror_flag"
104870                          || test ! -s conftest.err'
104871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104872   (eval $ac_try) 2>&5
104873   ac_status=$?
104874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104875   (exit $ac_status); }; } &&
104876          { ac_try='test -s conftest.$ac_objext'
104877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104878   (eval $ac_try) 2>&5
104879   ac_status=$?
104880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104881   (exit $ac_status); }; }; then
104882   ac_hi=-1 ac_mid=-1
104883   while :; do
104884     cat >conftest.$ac_ext <<_ACEOF
104885 /* confdefs.h.  */
104886 _ACEOF
104887 cat confdefs.h >>conftest.$ac_ext
104888 cat >>conftest.$ac_ext <<_ACEOF
104889 /* end confdefs.h.  */
104890 $ac_includes_default
104891 int
104892 main ()
104893 {
104894 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
104895 test_array [0] = 0
104896
104897   ;
104898   return 0;
104899 }
104900 _ACEOF
104901 rm -f conftest.$ac_objext
104902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104903   (eval $ac_compile) 2>conftest.er1
104904   ac_status=$?
104905   grep -v '^ *+' conftest.er1 >conftest.err
104906   rm -f conftest.er1
104907   cat conftest.err >&5
104908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104909   (exit $ac_status); } &&
104910          { ac_try='test -z "$ac_c_werror_flag"
104911                          || test ! -s conftest.err'
104912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104913   (eval $ac_try) 2>&5
104914   ac_status=$?
104915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104916   (exit $ac_status); }; } &&
104917          { ac_try='test -s conftest.$ac_objext'
104918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104919   (eval $ac_try) 2>&5
104920   ac_status=$?
104921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104922   (exit $ac_status); }; }; then
104923   ac_lo=$ac_mid; break
104924 else
104925   echo "$as_me: failed program was:" >&5
104926 sed 's/^/| /' conftest.$ac_ext >&5
104927
104928 ac_hi=`expr '(' $ac_mid ')' - 1`
104929                        if test $ac_mid -le $ac_hi; then
104930                          ac_lo= ac_hi=
104931                          break
104932                        fi
104933                        ac_mid=`expr 2 '*' $ac_mid`
104934 fi
104935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104936   done
104937 else
104938   echo "$as_me: failed program was:" >&5
104939 sed 's/^/| /' conftest.$ac_ext >&5
104940
104941 ac_lo= ac_hi=
104942 fi
104943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104944 fi
104945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104946 # Binary search between lo and hi bounds.
104947 while test "x$ac_lo" != "x$ac_hi"; do
104948   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
104949   cat >conftest.$ac_ext <<_ACEOF
104950 /* confdefs.h.  */
104951 _ACEOF
104952 cat confdefs.h >>conftest.$ac_ext
104953 cat >>conftest.$ac_ext <<_ACEOF
104954 /* end confdefs.h.  */
104955 $ac_includes_default
104956 int
104957 main ()
104958 {
104959 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
104960 test_array [0] = 0
104961
104962   ;
104963   return 0;
104964 }
104965 _ACEOF
104966 rm -f conftest.$ac_objext
104967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104968   (eval $ac_compile) 2>conftest.er1
104969   ac_status=$?
104970   grep -v '^ *+' conftest.er1 >conftest.err
104971   rm -f conftest.er1
104972   cat conftest.err >&5
104973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104974   (exit $ac_status); } &&
104975          { ac_try='test -z "$ac_c_werror_flag"
104976                          || test ! -s conftest.err'
104977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104978   (eval $ac_try) 2>&5
104979   ac_status=$?
104980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104981   (exit $ac_status); }; } &&
104982          { ac_try='test -s conftest.$ac_objext'
104983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104984   (eval $ac_try) 2>&5
104985   ac_status=$?
104986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104987   (exit $ac_status); }; }; then
104988   ac_hi=$ac_mid
104989 else
104990   echo "$as_me: failed program was:" >&5
104991 sed 's/^/| /' conftest.$ac_ext >&5
104992
104993 ac_lo=`expr '(' $ac_mid ')' + 1`
104994 fi
104995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104996 done
104997 case $ac_lo in
104998 ?*) ac_cv_sizeof_long=$ac_lo;;
104999 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
105002 See \`config.log' for more details." >&5
105003 echo "$as_me: error: cannot compute sizeof (long), 77
105004 See \`config.log' for more details." >&2;}
105005    { (exit 1); exit 1; }; }; } ;;
105006 esac
105007 else
105008   if test "$cross_compiling" = yes; then
105009   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105010 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105011 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105012 See \`config.log' for more details." >&5
105013 echo "$as_me: error: cannot run test program while cross compiling
105014 See \`config.log' for more details." >&2;}
105015    { (exit 1); exit 1; }; }; }
105016 else
105017   cat >conftest.$ac_ext <<_ACEOF
105018 /* confdefs.h.  */
105019 _ACEOF
105020 cat confdefs.h >>conftest.$ac_ext
105021 cat >>conftest.$ac_ext <<_ACEOF
105022 /* end confdefs.h.  */
105023 $ac_includes_default
105024 long longval () { return (long) (sizeof (long)); }
105025 unsigned long ulongval () { return (long) (sizeof (long)); }
105026 #include <stdio.h>
105027 #include <stdlib.h>
105028 int
105029 main ()
105030 {
105031
105032   FILE *f = fopen ("conftest.val", "w");
105033   if (! f)
105034     exit (1);
105035   if (((long) (sizeof (long))) < 0)
105036     {
105037       long i = longval ();
105038       if (i != ((long) (sizeof (long))))
105039         exit (1);
105040       fprintf (f, "%ld\n", i);
105041     }
105042   else
105043     {
105044       unsigned long i = ulongval ();
105045       if (i != ((long) (sizeof (long))))
105046         exit (1);
105047       fprintf (f, "%lu\n", i);
105048     }
105049   exit (ferror (f) || fclose (f) != 0);
105050
105051   ;
105052   return 0;
105053 }
105054 _ACEOF
105055 rm -f conftest$ac_exeext
105056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105057   (eval $ac_link) 2>&5
105058   ac_status=$?
105059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105060   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105062   (eval $ac_try) 2>&5
105063   ac_status=$?
105064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105065   (exit $ac_status); }; }; then
105066   ac_cv_sizeof_long=`cat conftest.val`
105067 else
105068   echo "$as_me: program exited with status $ac_status" >&5
105069 echo "$as_me: failed program was:" >&5
105070 sed 's/^/| /' conftest.$ac_ext >&5
105071
105072 ( exit $ac_status )
105073 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105074 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
105076 See \`config.log' for more details." >&5
105077 echo "$as_me: error: cannot compute sizeof (long), 77
105078 See \`config.log' for more details." >&2;}
105079    { (exit 1); exit 1; }; }; }
105080 fi
105081 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105082 fi
105083 fi
105084 rm -f conftest.val
105085 else
105086   ac_cv_sizeof_long=0
105087 fi
105088 fi
105089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
105090 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
105091 cat >>confdefs.h <<_ACEOF
105092 #define SIZEOF_LONG $ac_cv_sizeof_long
105093 _ACEOF
105094
105095  ;;
105096 esac
105097
105098 if test $acx_cv_header_stdint = stddef.h; then
105099   # Lacking a good header?  Test size of everything and deduce all types.
105100   echo "$as_me:$LINENO: checking for int" >&5
105101 echo $ECHO_N "checking for int... $ECHO_C" >&6
105102 if test "${ac_cv_type_int+set}" = set; then
105103   echo $ECHO_N "(cached) $ECHO_C" >&6
105104 else
105105   cat >conftest.$ac_ext <<_ACEOF
105106 /* confdefs.h.  */
105107 _ACEOF
105108 cat confdefs.h >>conftest.$ac_ext
105109 cat >>conftest.$ac_ext <<_ACEOF
105110 /* end confdefs.h.  */
105111 $ac_includes_default
105112 int
105113 main ()
105114 {
105115 if ((int *) 0)
105116   return 0;
105117 if (sizeof (int))
105118   return 0;
105119   ;
105120   return 0;
105121 }
105122 _ACEOF
105123 rm -f conftest.$ac_objext
105124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105125   (eval $ac_compile) 2>conftest.er1
105126   ac_status=$?
105127   grep -v '^ *+' conftest.er1 >conftest.err
105128   rm -f conftest.er1
105129   cat conftest.err >&5
105130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105131   (exit $ac_status); } &&
105132          { ac_try='test -z "$ac_c_werror_flag"
105133                          || test ! -s conftest.err'
105134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105135   (eval $ac_try) 2>&5
105136   ac_status=$?
105137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105138   (exit $ac_status); }; } &&
105139          { ac_try='test -s conftest.$ac_objext'
105140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105141   (eval $ac_try) 2>&5
105142   ac_status=$?
105143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105144   (exit $ac_status); }; }; then
105145   ac_cv_type_int=yes
105146 else
105147   echo "$as_me: failed program was:" >&5
105148 sed 's/^/| /' conftest.$ac_ext >&5
105149
105150 ac_cv_type_int=no
105151 fi
105152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105153 fi
105154 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
105155 echo "${ECHO_T}$ac_cv_type_int" >&6
105156
105157 echo "$as_me:$LINENO: checking size of int" >&5
105158 echo $ECHO_N "checking size of int... $ECHO_C" >&6
105159 if test "${ac_cv_sizeof_int+set}" = set; then
105160   echo $ECHO_N "(cached) $ECHO_C" >&6
105161 else
105162   if test "$ac_cv_type_int" = yes; then
105163   # The cast to unsigned long works around a bug in the HP C Compiler
105164   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105165   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105166   # This bug is HP SR number 8606223364.
105167   if test "$cross_compiling" = yes; then
105168   # Depending upon the size, compute the lo and hi bounds.
105169 cat >conftest.$ac_ext <<_ACEOF
105170 /* confdefs.h.  */
105171 _ACEOF
105172 cat confdefs.h >>conftest.$ac_ext
105173 cat >>conftest.$ac_ext <<_ACEOF
105174 /* end confdefs.h.  */
105175 $ac_includes_default
105176 int
105177 main ()
105178 {
105179 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
105180 test_array [0] = 0
105181
105182   ;
105183   return 0;
105184 }
105185 _ACEOF
105186 rm -f conftest.$ac_objext
105187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105188   (eval $ac_compile) 2>conftest.er1
105189   ac_status=$?
105190   grep -v '^ *+' conftest.er1 >conftest.err
105191   rm -f conftest.er1
105192   cat conftest.err >&5
105193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105194   (exit $ac_status); } &&
105195          { ac_try='test -z "$ac_c_werror_flag"
105196                          || test ! -s conftest.err'
105197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105198   (eval $ac_try) 2>&5
105199   ac_status=$?
105200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105201   (exit $ac_status); }; } &&
105202          { ac_try='test -s conftest.$ac_objext'
105203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105204   (eval $ac_try) 2>&5
105205   ac_status=$?
105206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105207   (exit $ac_status); }; }; then
105208   ac_lo=0 ac_mid=0
105209   while :; do
105210     cat >conftest.$ac_ext <<_ACEOF
105211 /* confdefs.h.  */
105212 _ACEOF
105213 cat confdefs.h >>conftest.$ac_ext
105214 cat >>conftest.$ac_ext <<_ACEOF
105215 /* end confdefs.h.  */
105216 $ac_includes_default
105217 int
105218 main ()
105219 {
105220 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
105221 test_array [0] = 0
105222
105223   ;
105224   return 0;
105225 }
105226 _ACEOF
105227 rm -f conftest.$ac_objext
105228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105229   (eval $ac_compile) 2>conftest.er1
105230   ac_status=$?
105231   grep -v '^ *+' conftest.er1 >conftest.err
105232   rm -f conftest.er1
105233   cat conftest.err >&5
105234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105235   (exit $ac_status); } &&
105236          { ac_try='test -z "$ac_c_werror_flag"
105237                          || test ! -s conftest.err'
105238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105239   (eval $ac_try) 2>&5
105240   ac_status=$?
105241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105242   (exit $ac_status); }; } &&
105243          { ac_try='test -s conftest.$ac_objext'
105244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105245   (eval $ac_try) 2>&5
105246   ac_status=$?
105247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105248   (exit $ac_status); }; }; then
105249   ac_hi=$ac_mid; break
105250 else
105251   echo "$as_me: failed program was:" >&5
105252 sed 's/^/| /' conftest.$ac_ext >&5
105253
105254 ac_lo=`expr $ac_mid + 1`
105255                     if test $ac_lo -le $ac_mid; then
105256                       ac_lo= ac_hi=
105257                       break
105258                     fi
105259                     ac_mid=`expr 2 '*' $ac_mid + 1`
105260 fi
105261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105262   done
105263 else
105264   echo "$as_me: failed program was:" >&5
105265 sed 's/^/| /' conftest.$ac_ext >&5
105266
105267 cat >conftest.$ac_ext <<_ACEOF
105268 /* confdefs.h.  */
105269 _ACEOF
105270 cat confdefs.h >>conftest.$ac_ext
105271 cat >>conftest.$ac_ext <<_ACEOF
105272 /* end confdefs.h.  */
105273 $ac_includes_default
105274 int
105275 main ()
105276 {
105277 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
105278 test_array [0] = 0
105279
105280   ;
105281   return 0;
105282 }
105283 _ACEOF
105284 rm -f conftest.$ac_objext
105285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105286   (eval $ac_compile) 2>conftest.er1
105287   ac_status=$?
105288   grep -v '^ *+' conftest.er1 >conftest.err
105289   rm -f conftest.er1
105290   cat conftest.err >&5
105291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105292   (exit $ac_status); } &&
105293          { ac_try='test -z "$ac_c_werror_flag"
105294                          || test ! -s conftest.err'
105295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105296   (eval $ac_try) 2>&5
105297   ac_status=$?
105298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105299   (exit $ac_status); }; } &&
105300          { ac_try='test -s conftest.$ac_objext'
105301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105302   (eval $ac_try) 2>&5
105303   ac_status=$?
105304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105305   (exit $ac_status); }; }; then
105306   ac_hi=-1 ac_mid=-1
105307   while :; do
105308     cat >conftest.$ac_ext <<_ACEOF
105309 /* confdefs.h.  */
105310 _ACEOF
105311 cat confdefs.h >>conftest.$ac_ext
105312 cat >>conftest.$ac_ext <<_ACEOF
105313 /* end confdefs.h.  */
105314 $ac_includes_default
105315 int
105316 main ()
105317 {
105318 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
105319 test_array [0] = 0
105320
105321   ;
105322   return 0;
105323 }
105324 _ACEOF
105325 rm -f conftest.$ac_objext
105326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105327   (eval $ac_compile) 2>conftest.er1
105328   ac_status=$?
105329   grep -v '^ *+' conftest.er1 >conftest.err
105330   rm -f conftest.er1
105331   cat conftest.err >&5
105332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105333   (exit $ac_status); } &&
105334          { ac_try='test -z "$ac_c_werror_flag"
105335                          || test ! -s conftest.err'
105336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105337   (eval $ac_try) 2>&5
105338   ac_status=$?
105339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105340   (exit $ac_status); }; } &&
105341          { ac_try='test -s conftest.$ac_objext'
105342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105343   (eval $ac_try) 2>&5
105344   ac_status=$?
105345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105346   (exit $ac_status); }; }; then
105347   ac_lo=$ac_mid; break
105348 else
105349   echo "$as_me: failed program was:" >&5
105350 sed 's/^/| /' conftest.$ac_ext >&5
105351
105352 ac_hi=`expr '(' $ac_mid ')' - 1`
105353                        if test $ac_mid -le $ac_hi; then
105354                          ac_lo= ac_hi=
105355                          break
105356                        fi
105357                        ac_mid=`expr 2 '*' $ac_mid`
105358 fi
105359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105360   done
105361 else
105362   echo "$as_me: failed program was:" >&5
105363 sed 's/^/| /' conftest.$ac_ext >&5
105364
105365 ac_lo= ac_hi=
105366 fi
105367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105368 fi
105369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105370 # Binary search between lo and hi bounds.
105371 while test "x$ac_lo" != "x$ac_hi"; do
105372   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105373   cat >conftest.$ac_ext <<_ACEOF
105374 /* confdefs.h.  */
105375 _ACEOF
105376 cat confdefs.h >>conftest.$ac_ext
105377 cat >>conftest.$ac_ext <<_ACEOF
105378 /* end confdefs.h.  */
105379 $ac_includes_default
105380 int
105381 main ()
105382 {
105383 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
105384 test_array [0] = 0
105385
105386   ;
105387   return 0;
105388 }
105389 _ACEOF
105390 rm -f conftest.$ac_objext
105391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105392   (eval $ac_compile) 2>conftest.er1
105393   ac_status=$?
105394   grep -v '^ *+' conftest.er1 >conftest.err
105395   rm -f conftest.er1
105396   cat conftest.err >&5
105397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105398   (exit $ac_status); } &&
105399          { ac_try='test -z "$ac_c_werror_flag"
105400                          || test ! -s conftest.err'
105401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105402   (eval $ac_try) 2>&5
105403   ac_status=$?
105404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105405   (exit $ac_status); }; } &&
105406          { ac_try='test -s conftest.$ac_objext'
105407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105408   (eval $ac_try) 2>&5
105409   ac_status=$?
105410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105411   (exit $ac_status); }; }; then
105412   ac_hi=$ac_mid
105413 else
105414   echo "$as_me: failed program was:" >&5
105415 sed 's/^/| /' conftest.$ac_ext >&5
105416
105417 ac_lo=`expr '(' $ac_mid ')' + 1`
105418 fi
105419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105420 done
105421 case $ac_lo in
105422 ?*) ac_cv_sizeof_int=$ac_lo;;
105423 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105424 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105425 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
105426 See \`config.log' for more details." >&5
105427 echo "$as_me: error: cannot compute sizeof (int), 77
105428 See \`config.log' for more details." >&2;}
105429    { (exit 1); exit 1; }; }; } ;;
105430 esac
105431 else
105432   if test "$cross_compiling" = yes; then
105433   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105434 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105435 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105436 See \`config.log' for more details." >&5
105437 echo "$as_me: error: cannot run test program while cross compiling
105438 See \`config.log' for more details." >&2;}
105439    { (exit 1); exit 1; }; }; }
105440 else
105441   cat >conftest.$ac_ext <<_ACEOF
105442 /* confdefs.h.  */
105443 _ACEOF
105444 cat confdefs.h >>conftest.$ac_ext
105445 cat >>conftest.$ac_ext <<_ACEOF
105446 /* end confdefs.h.  */
105447 $ac_includes_default
105448 long longval () { return (long) (sizeof (int)); }
105449 unsigned long ulongval () { return (long) (sizeof (int)); }
105450 #include <stdio.h>
105451 #include <stdlib.h>
105452 int
105453 main ()
105454 {
105455
105456   FILE *f = fopen ("conftest.val", "w");
105457   if (! f)
105458     exit (1);
105459   if (((long) (sizeof (int))) < 0)
105460     {
105461       long i = longval ();
105462       if (i != ((long) (sizeof (int))))
105463         exit (1);
105464       fprintf (f, "%ld\n", i);
105465     }
105466   else
105467     {
105468       unsigned long i = ulongval ();
105469       if (i != ((long) (sizeof (int))))
105470         exit (1);
105471       fprintf (f, "%lu\n", i);
105472     }
105473   exit (ferror (f) || fclose (f) != 0);
105474
105475   ;
105476   return 0;
105477 }
105478 _ACEOF
105479 rm -f conftest$ac_exeext
105480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105481   (eval $ac_link) 2>&5
105482   ac_status=$?
105483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105484   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105486   (eval $ac_try) 2>&5
105487   ac_status=$?
105488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105489   (exit $ac_status); }; }; then
105490   ac_cv_sizeof_int=`cat conftest.val`
105491 else
105492   echo "$as_me: program exited with status $ac_status" >&5
105493 echo "$as_me: failed program was:" >&5
105494 sed 's/^/| /' conftest.$ac_ext >&5
105495
105496 ( exit $ac_status )
105497 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105498 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
105500 See \`config.log' for more details." >&5
105501 echo "$as_me: error: cannot compute sizeof (int), 77
105502 See \`config.log' for more details." >&2;}
105503    { (exit 1); exit 1; }; }; }
105504 fi
105505 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105506 fi
105507 fi
105508 rm -f conftest.val
105509 else
105510   ac_cv_sizeof_int=0
105511 fi
105512 fi
105513 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
105514 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
105515 cat >>confdefs.h <<_ACEOF
105516 #define SIZEOF_INT $ac_cv_sizeof_int
105517 _ACEOF
105518
105519
105520   echo "$as_me:$LINENO: checking for short" >&5
105521 echo $ECHO_N "checking for short... $ECHO_C" >&6
105522 if test "${ac_cv_type_short+set}" = set; then
105523   echo $ECHO_N "(cached) $ECHO_C" >&6
105524 else
105525   cat >conftest.$ac_ext <<_ACEOF
105526 /* confdefs.h.  */
105527 _ACEOF
105528 cat confdefs.h >>conftest.$ac_ext
105529 cat >>conftest.$ac_ext <<_ACEOF
105530 /* end confdefs.h.  */
105531 $ac_includes_default
105532 int
105533 main ()
105534 {
105535 if ((short *) 0)
105536   return 0;
105537 if (sizeof (short))
105538   return 0;
105539   ;
105540   return 0;
105541 }
105542 _ACEOF
105543 rm -f conftest.$ac_objext
105544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105545   (eval $ac_compile) 2>conftest.er1
105546   ac_status=$?
105547   grep -v '^ *+' conftest.er1 >conftest.err
105548   rm -f conftest.er1
105549   cat conftest.err >&5
105550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105551   (exit $ac_status); } &&
105552          { ac_try='test -z "$ac_c_werror_flag"
105553                          || test ! -s conftest.err'
105554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105555   (eval $ac_try) 2>&5
105556   ac_status=$?
105557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105558   (exit $ac_status); }; } &&
105559          { ac_try='test -s conftest.$ac_objext'
105560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105561   (eval $ac_try) 2>&5
105562   ac_status=$?
105563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105564   (exit $ac_status); }; }; then
105565   ac_cv_type_short=yes
105566 else
105567   echo "$as_me: failed program was:" >&5
105568 sed 's/^/| /' conftest.$ac_ext >&5
105569
105570 ac_cv_type_short=no
105571 fi
105572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105573 fi
105574 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
105575 echo "${ECHO_T}$ac_cv_type_short" >&6
105576
105577 echo "$as_me:$LINENO: checking size of short" >&5
105578 echo $ECHO_N "checking size of short... $ECHO_C" >&6
105579 if test "${ac_cv_sizeof_short+set}" = set; then
105580   echo $ECHO_N "(cached) $ECHO_C" >&6
105581 else
105582   if test "$ac_cv_type_short" = yes; then
105583   # The cast to unsigned long works around a bug in the HP C Compiler
105584   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
105585   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
105586   # This bug is HP SR number 8606223364.
105587   if test "$cross_compiling" = yes; then
105588   # Depending upon the size, compute the lo and hi bounds.
105589 cat >conftest.$ac_ext <<_ACEOF
105590 /* confdefs.h.  */
105591 _ACEOF
105592 cat confdefs.h >>conftest.$ac_ext
105593 cat >>conftest.$ac_ext <<_ACEOF
105594 /* end confdefs.h.  */
105595 $ac_includes_default
105596 int
105597 main ()
105598 {
105599 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
105600 test_array [0] = 0
105601
105602   ;
105603   return 0;
105604 }
105605 _ACEOF
105606 rm -f conftest.$ac_objext
105607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105608   (eval $ac_compile) 2>conftest.er1
105609   ac_status=$?
105610   grep -v '^ *+' conftest.er1 >conftest.err
105611   rm -f conftest.er1
105612   cat conftest.err >&5
105613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105614   (exit $ac_status); } &&
105615          { ac_try='test -z "$ac_c_werror_flag"
105616                          || test ! -s conftest.err'
105617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105618   (eval $ac_try) 2>&5
105619   ac_status=$?
105620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105621   (exit $ac_status); }; } &&
105622          { ac_try='test -s conftest.$ac_objext'
105623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105624   (eval $ac_try) 2>&5
105625   ac_status=$?
105626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105627   (exit $ac_status); }; }; then
105628   ac_lo=0 ac_mid=0
105629   while :; do
105630     cat >conftest.$ac_ext <<_ACEOF
105631 /* confdefs.h.  */
105632 _ACEOF
105633 cat confdefs.h >>conftest.$ac_ext
105634 cat >>conftest.$ac_ext <<_ACEOF
105635 /* end confdefs.h.  */
105636 $ac_includes_default
105637 int
105638 main ()
105639 {
105640 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
105641 test_array [0] = 0
105642
105643   ;
105644   return 0;
105645 }
105646 _ACEOF
105647 rm -f conftest.$ac_objext
105648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105649   (eval $ac_compile) 2>conftest.er1
105650   ac_status=$?
105651   grep -v '^ *+' conftest.er1 >conftest.err
105652   rm -f conftest.er1
105653   cat conftest.err >&5
105654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105655   (exit $ac_status); } &&
105656          { ac_try='test -z "$ac_c_werror_flag"
105657                          || test ! -s conftest.err'
105658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105659   (eval $ac_try) 2>&5
105660   ac_status=$?
105661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105662   (exit $ac_status); }; } &&
105663          { ac_try='test -s conftest.$ac_objext'
105664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105665   (eval $ac_try) 2>&5
105666   ac_status=$?
105667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105668   (exit $ac_status); }; }; then
105669   ac_hi=$ac_mid; break
105670 else
105671   echo "$as_me: failed program was:" >&5
105672 sed 's/^/| /' conftest.$ac_ext >&5
105673
105674 ac_lo=`expr $ac_mid + 1`
105675                     if test $ac_lo -le $ac_mid; then
105676                       ac_lo= ac_hi=
105677                       break
105678                     fi
105679                     ac_mid=`expr 2 '*' $ac_mid + 1`
105680 fi
105681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105682   done
105683 else
105684   echo "$as_me: failed program was:" >&5
105685 sed 's/^/| /' conftest.$ac_ext >&5
105686
105687 cat >conftest.$ac_ext <<_ACEOF
105688 /* confdefs.h.  */
105689 _ACEOF
105690 cat confdefs.h >>conftest.$ac_ext
105691 cat >>conftest.$ac_ext <<_ACEOF
105692 /* end confdefs.h.  */
105693 $ac_includes_default
105694 int
105695 main ()
105696 {
105697 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
105698 test_array [0] = 0
105699
105700   ;
105701   return 0;
105702 }
105703 _ACEOF
105704 rm -f conftest.$ac_objext
105705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105706   (eval $ac_compile) 2>conftest.er1
105707   ac_status=$?
105708   grep -v '^ *+' conftest.er1 >conftest.err
105709   rm -f conftest.er1
105710   cat conftest.err >&5
105711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105712   (exit $ac_status); } &&
105713          { ac_try='test -z "$ac_c_werror_flag"
105714                          || test ! -s conftest.err'
105715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105716   (eval $ac_try) 2>&5
105717   ac_status=$?
105718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105719   (exit $ac_status); }; } &&
105720          { ac_try='test -s conftest.$ac_objext'
105721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105722   (eval $ac_try) 2>&5
105723   ac_status=$?
105724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105725   (exit $ac_status); }; }; then
105726   ac_hi=-1 ac_mid=-1
105727   while :; do
105728     cat >conftest.$ac_ext <<_ACEOF
105729 /* confdefs.h.  */
105730 _ACEOF
105731 cat confdefs.h >>conftest.$ac_ext
105732 cat >>conftest.$ac_ext <<_ACEOF
105733 /* end confdefs.h.  */
105734 $ac_includes_default
105735 int
105736 main ()
105737 {
105738 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
105739 test_array [0] = 0
105740
105741   ;
105742   return 0;
105743 }
105744 _ACEOF
105745 rm -f conftest.$ac_objext
105746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105747   (eval $ac_compile) 2>conftest.er1
105748   ac_status=$?
105749   grep -v '^ *+' conftest.er1 >conftest.err
105750   rm -f conftest.er1
105751   cat conftest.err >&5
105752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105753   (exit $ac_status); } &&
105754          { ac_try='test -z "$ac_c_werror_flag"
105755                          || test ! -s conftest.err'
105756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105757   (eval $ac_try) 2>&5
105758   ac_status=$?
105759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105760   (exit $ac_status); }; } &&
105761          { ac_try='test -s conftest.$ac_objext'
105762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105763   (eval $ac_try) 2>&5
105764   ac_status=$?
105765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105766   (exit $ac_status); }; }; then
105767   ac_lo=$ac_mid; break
105768 else
105769   echo "$as_me: failed program was:" >&5
105770 sed 's/^/| /' conftest.$ac_ext >&5
105771
105772 ac_hi=`expr '(' $ac_mid ')' - 1`
105773                        if test $ac_mid -le $ac_hi; then
105774                          ac_lo= ac_hi=
105775                          break
105776                        fi
105777                        ac_mid=`expr 2 '*' $ac_mid`
105778 fi
105779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105780   done
105781 else
105782   echo "$as_me: failed program was:" >&5
105783 sed 's/^/| /' conftest.$ac_ext >&5
105784
105785 ac_lo= ac_hi=
105786 fi
105787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105788 fi
105789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105790 # Binary search between lo and hi bounds.
105791 while test "x$ac_lo" != "x$ac_hi"; do
105792   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
105793   cat >conftest.$ac_ext <<_ACEOF
105794 /* confdefs.h.  */
105795 _ACEOF
105796 cat confdefs.h >>conftest.$ac_ext
105797 cat >>conftest.$ac_ext <<_ACEOF
105798 /* end confdefs.h.  */
105799 $ac_includes_default
105800 int
105801 main ()
105802 {
105803 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
105804 test_array [0] = 0
105805
105806   ;
105807   return 0;
105808 }
105809 _ACEOF
105810 rm -f conftest.$ac_objext
105811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105812   (eval $ac_compile) 2>conftest.er1
105813   ac_status=$?
105814   grep -v '^ *+' conftest.er1 >conftest.err
105815   rm -f conftest.er1
105816   cat conftest.err >&5
105817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105818   (exit $ac_status); } &&
105819          { ac_try='test -z "$ac_c_werror_flag"
105820                          || test ! -s conftest.err'
105821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105822   (eval $ac_try) 2>&5
105823   ac_status=$?
105824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105825   (exit $ac_status); }; } &&
105826          { ac_try='test -s conftest.$ac_objext'
105827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105828   (eval $ac_try) 2>&5
105829   ac_status=$?
105830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105831   (exit $ac_status); }; }; then
105832   ac_hi=$ac_mid
105833 else
105834   echo "$as_me: failed program was:" >&5
105835 sed 's/^/| /' conftest.$ac_ext >&5
105836
105837 ac_lo=`expr '(' $ac_mid ')' + 1`
105838 fi
105839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105840 done
105841 case $ac_lo in
105842 ?*) ac_cv_sizeof_short=$ac_lo;;
105843 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105844 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
105846 See \`config.log' for more details." >&5
105847 echo "$as_me: error: cannot compute sizeof (short), 77
105848 See \`config.log' for more details." >&2;}
105849    { (exit 1); exit 1; }; }; } ;;
105850 esac
105851 else
105852   if test "$cross_compiling" = yes; then
105853   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105854 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105855 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
105856 See \`config.log' for more details." >&5
105857 echo "$as_me: error: cannot run test program while cross compiling
105858 See \`config.log' for more details." >&2;}
105859    { (exit 1); exit 1; }; }; }
105860 else
105861   cat >conftest.$ac_ext <<_ACEOF
105862 /* confdefs.h.  */
105863 _ACEOF
105864 cat confdefs.h >>conftest.$ac_ext
105865 cat >>conftest.$ac_ext <<_ACEOF
105866 /* end confdefs.h.  */
105867 $ac_includes_default
105868 long longval () { return (long) (sizeof (short)); }
105869 unsigned long ulongval () { return (long) (sizeof (short)); }
105870 #include <stdio.h>
105871 #include <stdlib.h>
105872 int
105873 main ()
105874 {
105875
105876   FILE *f = fopen ("conftest.val", "w");
105877   if (! f)
105878     exit (1);
105879   if (((long) (sizeof (short))) < 0)
105880     {
105881       long i = longval ();
105882       if (i != ((long) (sizeof (short))))
105883         exit (1);
105884       fprintf (f, "%ld\n", i);
105885     }
105886   else
105887     {
105888       unsigned long i = ulongval ();
105889       if (i != ((long) (sizeof (short))))
105890         exit (1);
105891       fprintf (f, "%lu\n", i);
105892     }
105893   exit (ferror (f) || fclose (f) != 0);
105894
105895   ;
105896   return 0;
105897 }
105898 _ACEOF
105899 rm -f conftest$ac_exeext
105900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105901   (eval $ac_link) 2>&5
105902   ac_status=$?
105903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105904   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
105905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105906   (eval $ac_try) 2>&5
105907   ac_status=$?
105908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105909   (exit $ac_status); }; }; then
105910   ac_cv_sizeof_short=`cat conftest.val`
105911 else
105912   echo "$as_me: program exited with status $ac_status" >&5
105913 echo "$as_me: failed program was:" >&5
105914 sed 's/^/| /' conftest.$ac_ext >&5
105915
105916 ( exit $ac_status )
105917 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
105918 echo "$as_me: error: in \`$ac_pwd':" >&2;}
105919 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
105920 See \`config.log' for more details." >&5
105921 echo "$as_me: error: cannot compute sizeof (short), 77
105922 See \`config.log' for more details." >&2;}
105923    { (exit 1); exit 1; }; }; }
105924 fi
105925 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
105926 fi
105927 fi
105928 rm -f conftest.val
105929 else
105930   ac_cv_sizeof_short=0
105931 fi
105932 fi
105933 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
105934 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
105935 cat >>confdefs.h <<_ACEOF
105936 #define SIZEOF_SHORT $ac_cv_sizeof_short
105937 _ACEOF
105938
105939
105940   echo "$as_me:$LINENO: checking for char" >&5
105941 echo $ECHO_N "checking for char... $ECHO_C" >&6
105942 if test "${ac_cv_type_char+set}" = set; then
105943   echo $ECHO_N "(cached) $ECHO_C" >&6
105944 else
105945   cat >conftest.$ac_ext <<_ACEOF
105946 /* confdefs.h.  */
105947 _ACEOF
105948 cat confdefs.h >>conftest.$ac_ext
105949 cat >>conftest.$ac_ext <<_ACEOF
105950 /* end confdefs.h.  */
105951 $ac_includes_default
105952 int
105953 main ()
105954 {
105955 if ((char *) 0)
105956   return 0;
105957 if (sizeof (char))
105958   return 0;
105959   ;
105960   return 0;
105961 }
105962 _ACEOF
105963 rm -f conftest.$ac_objext
105964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105965   (eval $ac_compile) 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_objext'
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   ac_cv_type_char=yes
105986 else
105987   echo "$as_me: failed program was:" >&5
105988 sed 's/^/| /' conftest.$ac_ext >&5
105989
105990 ac_cv_type_char=no
105991 fi
105992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105993 fi
105994 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
105995 echo "${ECHO_T}$ac_cv_type_char" >&6
105996
105997 echo "$as_me:$LINENO: checking size of char" >&5
105998 echo $ECHO_N "checking size of char... $ECHO_C" >&6
105999 if test "${ac_cv_sizeof_char+set}" = set; then
106000   echo $ECHO_N "(cached) $ECHO_C" >&6
106001 else
106002   if test "$ac_cv_type_char" = yes; then
106003   # The cast to unsigned long works around a bug in the HP C Compiler
106004   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106005   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106006   # This bug is HP SR number 8606223364.
106007   if test "$cross_compiling" = yes; then
106008   # Depending upon the size, compute the lo and hi bounds.
106009 cat >conftest.$ac_ext <<_ACEOF
106010 /* confdefs.h.  */
106011 _ACEOF
106012 cat confdefs.h >>conftest.$ac_ext
106013 cat >>conftest.$ac_ext <<_ACEOF
106014 /* end confdefs.h.  */
106015 $ac_includes_default
106016 int
106017 main ()
106018 {
106019 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
106020 test_array [0] = 0
106021
106022   ;
106023   return 0;
106024 }
106025 _ACEOF
106026 rm -f conftest.$ac_objext
106027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106028   (eval $ac_compile) 2>conftest.er1
106029   ac_status=$?
106030   grep -v '^ *+' conftest.er1 >conftest.err
106031   rm -f conftest.er1
106032   cat conftest.err >&5
106033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106034   (exit $ac_status); } &&
106035          { ac_try='test -z "$ac_c_werror_flag"
106036                          || test ! -s conftest.err'
106037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106038   (eval $ac_try) 2>&5
106039   ac_status=$?
106040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106041   (exit $ac_status); }; } &&
106042          { ac_try='test -s conftest.$ac_objext'
106043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106044   (eval $ac_try) 2>&5
106045   ac_status=$?
106046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106047   (exit $ac_status); }; }; then
106048   ac_lo=0 ac_mid=0
106049   while :; do
106050     cat >conftest.$ac_ext <<_ACEOF
106051 /* confdefs.h.  */
106052 _ACEOF
106053 cat confdefs.h >>conftest.$ac_ext
106054 cat >>conftest.$ac_ext <<_ACEOF
106055 /* end confdefs.h.  */
106056 $ac_includes_default
106057 int
106058 main ()
106059 {
106060 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
106061 test_array [0] = 0
106062
106063   ;
106064   return 0;
106065 }
106066 _ACEOF
106067 rm -f conftest.$ac_objext
106068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106069   (eval $ac_compile) 2>conftest.er1
106070   ac_status=$?
106071   grep -v '^ *+' conftest.er1 >conftest.err
106072   rm -f conftest.er1
106073   cat conftest.err >&5
106074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106075   (exit $ac_status); } &&
106076          { ac_try='test -z "$ac_c_werror_flag"
106077                          || test ! -s conftest.err'
106078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106079   (eval $ac_try) 2>&5
106080   ac_status=$?
106081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106082   (exit $ac_status); }; } &&
106083          { ac_try='test -s conftest.$ac_objext'
106084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106085   (eval $ac_try) 2>&5
106086   ac_status=$?
106087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106088   (exit $ac_status); }; }; then
106089   ac_hi=$ac_mid; break
106090 else
106091   echo "$as_me: failed program was:" >&5
106092 sed 's/^/| /' conftest.$ac_ext >&5
106093
106094 ac_lo=`expr $ac_mid + 1`
106095                     if test $ac_lo -le $ac_mid; then
106096                       ac_lo= ac_hi=
106097                       break
106098                     fi
106099                     ac_mid=`expr 2 '*' $ac_mid + 1`
106100 fi
106101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106102   done
106103 else
106104   echo "$as_me: failed program was:" >&5
106105 sed 's/^/| /' conftest.$ac_ext >&5
106106
106107 cat >conftest.$ac_ext <<_ACEOF
106108 /* confdefs.h.  */
106109 _ACEOF
106110 cat confdefs.h >>conftest.$ac_ext
106111 cat >>conftest.$ac_ext <<_ACEOF
106112 /* end confdefs.h.  */
106113 $ac_includes_default
106114 int
106115 main ()
106116 {
106117 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
106118 test_array [0] = 0
106119
106120   ;
106121   return 0;
106122 }
106123 _ACEOF
106124 rm -f conftest.$ac_objext
106125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106126   (eval $ac_compile) 2>conftest.er1
106127   ac_status=$?
106128   grep -v '^ *+' conftest.er1 >conftest.err
106129   rm -f conftest.er1
106130   cat conftest.err >&5
106131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106132   (exit $ac_status); } &&
106133          { ac_try='test -z "$ac_c_werror_flag"
106134                          || test ! -s conftest.err'
106135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106136   (eval $ac_try) 2>&5
106137   ac_status=$?
106138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106139   (exit $ac_status); }; } &&
106140          { ac_try='test -s conftest.$ac_objext'
106141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106142   (eval $ac_try) 2>&5
106143   ac_status=$?
106144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106145   (exit $ac_status); }; }; then
106146   ac_hi=-1 ac_mid=-1
106147   while :; do
106148     cat >conftest.$ac_ext <<_ACEOF
106149 /* confdefs.h.  */
106150 _ACEOF
106151 cat confdefs.h >>conftest.$ac_ext
106152 cat >>conftest.$ac_ext <<_ACEOF
106153 /* end confdefs.h.  */
106154 $ac_includes_default
106155 int
106156 main ()
106157 {
106158 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
106159 test_array [0] = 0
106160
106161   ;
106162   return 0;
106163 }
106164 _ACEOF
106165 rm -f conftest.$ac_objext
106166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106167   (eval $ac_compile) 2>conftest.er1
106168   ac_status=$?
106169   grep -v '^ *+' conftest.er1 >conftest.err
106170   rm -f conftest.er1
106171   cat conftest.err >&5
106172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106173   (exit $ac_status); } &&
106174          { ac_try='test -z "$ac_c_werror_flag"
106175                          || test ! -s conftest.err'
106176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106177   (eval $ac_try) 2>&5
106178   ac_status=$?
106179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106180   (exit $ac_status); }; } &&
106181          { ac_try='test -s conftest.$ac_objext'
106182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106183   (eval $ac_try) 2>&5
106184   ac_status=$?
106185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106186   (exit $ac_status); }; }; then
106187   ac_lo=$ac_mid; break
106188 else
106189   echo "$as_me: failed program was:" >&5
106190 sed 's/^/| /' conftest.$ac_ext >&5
106191
106192 ac_hi=`expr '(' $ac_mid ')' - 1`
106193                        if test $ac_mid -le $ac_hi; then
106194                          ac_lo= ac_hi=
106195                          break
106196                        fi
106197                        ac_mid=`expr 2 '*' $ac_mid`
106198 fi
106199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106200   done
106201 else
106202   echo "$as_me: failed program was:" >&5
106203 sed 's/^/| /' conftest.$ac_ext >&5
106204
106205 ac_lo= ac_hi=
106206 fi
106207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106208 fi
106209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106210 # Binary search between lo and hi bounds.
106211 while test "x$ac_lo" != "x$ac_hi"; do
106212   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106213   cat >conftest.$ac_ext <<_ACEOF
106214 /* confdefs.h.  */
106215 _ACEOF
106216 cat confdefs.h >>conftest.$ac_ext
106217 cat >>conftest.$ac_ext <<_ACEOF
106218 /* end confdefs.h.  */
106219 $ac_includes_default
106220 int
106221 main ()
106222 {
106223 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
106224 test_array [0] = 0
106225
106226   ;
106227   return 0;
106228 }
106229 _ACEOF
106230 rm -f conftest.$ac_objext
106231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106232   (eval $ac_compile) 2>conftest.er1
106233   ac_status=$?
106234   grep -v '^ *+' conftest.er1 >conftest.err
106235   rm -f conftest.er1
106236   cat conftest.err >&5
106237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106238   (exit $ac_status); } &&
106239          { ac_try='test -z "$ac_c_werror_flag"
106240                          || test ! -s conftest.err'
106241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106242   (eval $ac_try) 2>&5
106243   ac_status=$?
106244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106245   (exit $ac_status); }; } &&
106246          { ac_try='test -s conftest.$ac_objext'
106247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106248   (eval $ac_try) 2>&5
106249   ac_status=$?
106250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106251   (exit $ac_status); }; }; then
106252   ac_hi=$ac_mid
106253 else
106254   echo "$as_me: failed program was:" >&5
106255 sed 's/^/| /' conftest.$ac_ext >&5
106256
106257 ac_lo=`expr '(' $ac_mid ')' + 1`
106258 fi
106259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106260 done
106261 case $ac_lo in
106262 ?*) ac_cv_sizeof_char=$ac_lo;;
106263 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106264 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
106266 See \`config.log' for more details." >&5
106267 echo "$as_me: error: cannot compute sizeof (char), 77
106268 See \`config.log' for more details." >&2;}
106269    { (exit 1); exit 1; }; }; } ;;
106270 esac
106271 else
106272   if test "$cross_compiling" = yes; then
106273   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106274 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106275 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106276 See \`config.log' for more details." >&5
106277 echo "$as_me: error: cannot run test program while cross compiling
106278 See \`config.log' for more details." >&2;}
106279    { (exit 1); exit 1; }; }; }
106280 else
106281   cat >conftest.$ac_ext <<_ACEOF
106282 /* confdefs.h.  */
106283 _ACEOF
106284 cat confdefs.h >>conftest.$ac_ext
106285 cat >>conftest.$ac_ext <<_ACEOF
106286 /* end confdefs.h.  */
106287 $ac_includes_default
106288 long longval () { return (long) (sizeof (char)); }
106289 unsigned long ulongval () { return (long) (sizeof (char)); }
106290 #include <stdio.h>
106291 #include <stdlib.h>
106292 int
106293 main ()
106294 {
106295
106296   FILE *f = fopen ("conftest.val", "w");
106297   if (! f)
106298     exit (1);
106299   if (((long) (sizeof (char))) < 0)
106300     {
106301       long i = longval ();
106302       if (i != ((long) (sizeof (char))))
106303         exit (1);
106304       fprintf (f, "%ld\n", i);
106305     }
106306   else
106307     {
106308       unsigned long i = ulongval ();
106309       if (i != ((long) (sizeof (char))))
106310         exit (1);
106311       fprintf (f, "%lu\n", i);
106312     }
106313   exit (ferror (f) || fclose (f) != 0);
106314
106315   ;
106316   return 0;
106317 }
106318 _ACEOF
106319 rm -f conftest$ac_exeext
106320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106321   (eval $ac_link) 2>&5
106322   ac_status=$?
106323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106324   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106326   (eval $ac_try) 2>&5
106327   ac_status=$?
106328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106329   (exit $ac_status); }; }; then
106330   ac_cv_sizeof_char=`cat conftest.val`
106331 else
106332   echo "$as_me: program exited with status $ac_status" >&5
106333 echo "$as_me: failed program was:" >&5
106334 sed 's/^/| /' conftest.$ac_ext >&5
106335
106336 ( exit $ac_status )
106337 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106338 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106339 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
106340 See \`config.log' for more details." >&5
106341 echo "$as_me: error: cannot compute sizeof (char), 77
106342 See \`config.log' for more details." >&2;}
106343    { (exit 1); exit 1; }; }; }
106344 fi
106345 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106346 fi
106347 fi
106348 rm -f conftest.val
106349 else
106350   ac_cv_sizeof_char=0
106351 fi
106352 fi
106353 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
106354 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
106355 cat >>confdefs.h <<_ACEOF
106356 #define SIZEOF_CHAR $ac_cv_sizeof_char
106357 _ACEOF
106358
106359
106360
106361   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
106362 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
106363   case "$ac_cv_sizeof_char" in
106364     1) acx_cv_type_int8_t=char ;;
106365     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
106366 echo "$as_me: error: no 8-bit type" >&2;}
106367    { (exit please report a bug); exit please report a bug; }; }
106368   esac
106369   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
106370 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
106371
106372   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
106373 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
106374   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
106375     2:*) acx_cv_type_int16_t=int ;;
106376     *:2) acx_cv_type_int16_t=short ;;
106377     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
106378 echo "$as_me: error: no 16-bit type" >&2;}
106379    { (exit please report a bug); exit please report a bug; }; }
106380   esac
106381   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
106382 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
106383
106384   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
106385 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
106386   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
106387     4:*) acx_cv_type_int32_t=int ;;
106388     *:4) acx_cv_type_int32_t=long ;;
106389     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
106390 echo "$as_me: error: no 32-bit type" >&2;}
106391    { (exit please report a bug); exit please report a bug; }; }
106392   esac
106393   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
106394 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
106395 fi
106396
106397 # These tests are here to make the output prettier
106398
106399 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
106400   case "$ac_cv_sizeof_long" in
106401     8) acx_cv_type_int64_t=long ;;
106402   esac
106403   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
106404 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
106405   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
106406 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
106407 fi
106408
106409 # Now we can use the above types
106410
106411 if test "$ac_cv_type_uintptr_t" != yes; then
106412   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
106413 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
106414   case $ac_cv_sizeof_void_p in
106415     2) acx_cv_type_intptr_t=int16_t ;;
106416     4) acx_cv_type_intptr_t=int32_t ;;
106417     8) acx_cv_type_intptr_t=int64_t ;;
106418     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
106419 echo "$as_me: error: no equivalent for intptr_t" >&2;}
106420    { (exit please report a bug); exit please report a bug; }; }
106421   esac
106422   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
106423 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
106424 fi
106425
106426 # ----------------- done all checks, emit header -------------
106427           ac_config_commands="$ac_config_commands include/gstdint.h"
106428
106429
106430
106431
106432 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
106433
106434
106435  # Check whether --enable-symvers or --disable-symvers was given.
106436 if test "${enable_symvers+set}" = set; then
106437   enableval="$enable_symvers"
106438
106439       case "$enableval" in
106440        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
106441        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
106442 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
106443    { (exit 1); exit 1; }; } ;;
106444                           esac
106445
106446 else
106447   enable_symvers=yes
106448 fi;
106449
106450
106451 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
106452 # don't know enough about $LD to do tricks...
106453
106454
106455 # Turn a 'yes' into a suitable default.
106456 if test x$enable_symvers = xyes ; then
106457   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
106458     enable_symvers=no
106459   else
106460     if test $with_gnu_ld = yes ; then
106461       enable_symvers=gnu
106462     else
106463       case ${target_os} in
106464         darwin*)
106465           enable_symvers=darwin ;;
106466         *)
106467           enable_symvers=no ;;
106468       esac
106469     fi
106470   fi
106471 fi
106472
106473 # Check to see if 'darwin' or 'darwin-export' can win.
106474 if test x$enable_symvers = xdarwin-export ; then
106475     enable_symvers=darwin
106476 fi
106477
106478 # Check to see if 'gnu' can win.
106479 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
106480   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
106481   echo "$as_me:$LINENO: checking for shared libgcc" >&5
106482 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
106483   ac_save_CFLAGS="$CFLAGS"
106484   CFLAGS=' -lgcc_s'
106485   if test x$gcc_no_link = xyes; then
106486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106488    { (exit 1); exit 1; }; }
106489 fi
106490 cat >conftest.$ac_ext <<_ACEOF
106491 /* confdefs.h.  */
106492 _ACEOF
106493 cat confdefs.h >>conftest.$ac_ext
106494 cat >>conftest.$ac_ext <<_ACEOF
106495 /* end confdefs.h.  */
106496
106497 int
106498 main ()
106499 {
106500 return 0;
106501   ;
106502   return 0;
106503 }
106504 _ACEOF
106505 rm -f conftest.$ac_objext conftest$ac_exeext
106506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106507   (eval $ac_link) 2>conftest.er1
106508   ac_status=$?
106509   grep -v '^ *+' conftest.er1 >conftest.err
106510   rm -f conftest.er1
106511   cat conftest.err >&5
106512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106513   (exit $ac_status); } &&
106514          { ac_try='test -z "$ac_c_werror_flag"
106515                          || test ! -s conftest.err'
106516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106517   (eval $ac_try) 2>&5
106518   ac_status=$?
106519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106520   (exit $ac_status); }; } &&
106521          { ac_try='test -s conftest$ac_exeext'
106522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106523   (eval $ac_try) 2>&5
106524   ac_status=$?
106525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106526   (exit $ac_status); }; }; then
106527   glibcxx_shared_libgcc=yes
106528 else
106529   echo "$as_me: failed program was:" >&5
106530 sed 's/^/| /' conftest.$ac_ext >&5
106531
106532 glibcxx_shared_libgcc=no
106533 fi
106534 rm -f conftest.err conftest.$ac_objext \
106535       conftest$ac_exeext conftest.$ac_ext
106536   CFLAGS="$ac_save_CFLAGS"
106537   if test $glibcxx_shared_libgcc = no; then
106538     cat > conftest.c <<EOF
106539 int main (void) { return 0; }
106540 EOF
106541     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
106542                              -shared -shared-libgcc -o conftest.so \
106543                              conftest.c -v 2>&1 >/dev/null \
106544                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
106545     rm -f conftest.c conftest.so
106546     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
106547       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
106548       if test x$gcc_no_link = xyes; then
106549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106551    { (exit 1); exit 1; }; }
106552 fi
106553 cat >conftest.$ac_ext <<_ACEOF
106554 /* confdefs.h.  */
106555 _ACEOF
106556 cat confdefs.h >>conftest.$ac_ext
106557 cat >>conftest.$ac_ext <<_ACEOF
106558 /* end confdefs.h.  */
106559
106560 int
106561 main ()
106562 {
106563 return 0;
106564   ;
106565   return 0;
106566 }
106567 _ACEOF
106568 rm -f conftest.$ac_objext conftest$ac_exeext
106569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106570   (eval $ac_link) 2>conftest.er1
106571   ac_status=$?
106572   grep -v '^ *+' conftest.er1 >conftest.err
106573   rm -f conftest.er1
106574   cat conftest.err >&5
106575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106576   (exit $ac_status); } &&
106577          { ac_try='test -z "$ac_c_werror_flag"
106578                          || test ! -s conftest.err'
106579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106580   (eval $ac_try) 2>&5
106581   ac_status=$?
106582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106583   (exit $ac_status); }; } &&
106584          { ac_try='test -s conftest$ac_exeext'
106585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106586   (eval $ac_try) 2>&5
106587   ac_status=$?
106588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106589   (exit $ac_status); }; }; then
106590   glibcxx_shared_libgcc=yes
106591 else
106592   echo "$as_me: failed program was:" >&5
106593 sed 's/^/| /' conftest.$ac_ext >&5
106594
106595 fi
106596 rm -f conftest.err conftest.$ac_objext \
106597       conftest$ac_exeext conftest.$ac_ext
106598       CFLAGS="$ac_save_CFLAGS"
106599     fi
106600   fi
106601   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
106602 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
106603
106604   # For GNU ld, we need at least this version.  The format is described in
106605   # GLIBCXX_CHECK_LINKER_FEATURES above.
106606   glibcxx_min_gnu_ld_version=21400
106607
106608   # If no shared libgcc, can't win.
106609   if test $glibcxx_shared_libgcc != yes; then
106610       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
106611 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
106612       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
106613 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
106614       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
106615 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
106616       enable_symvers=no
106617   elif test $with_gnu_ld != yes ; then
106618     # just fail for now
106619     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
106620 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
106621     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
106622 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
106623     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
106624 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
106625     enable_symvers=no
106626   elif test $glibcxx_ld_is_gold = yes ; then
106627     : All versions of gold support symbol versioning.
106628   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
106629     # The right tools, the right setup, but too old.  Fallbacks?
106630     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
106631 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
106632     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
106633 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
106634     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
106635 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
106636     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
106637 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
106638     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
106639 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
106640     enable_symvers=no
106641   fi
106642 fi
106643
106644 # Everything parsed; figure out what file to use.
106645 case $enable_symvers in
106646   no)
106647     SYMVER_FILE=config/abi/pre/none.ver
106648     ;;
106649   gnu)
106650     SYMVER_FILE=config/abi/pre/gnu.ver
106651
106652 cat >>confdefs.h <<\_ACEOF
106653 #define _GLIBCXX_SYMVER_GNU 1
106654 _ACEOF
106655
106656     ;;
106657   gnu-versioned-namespace)
106658     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
106659
106660 cat >>confdefs.h <<\_ACEOF
106661 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
106662 _ACEOF
106663
106664     ;;
106665   darwin)
106666     SYMVER_FILE=config/abi/pre/gnu.ver
106667
106668 cat >>confdefs.h <<\_ACEOF
106669 #define _GLIBCXX_SYMVER_DARWIN 1
106670 _ACEOF
106671
106672     ;;
106673 esac
106674
106675 if test x$enable_symvers != xno ; then
106676
106677 cat >>confdefs.h <<\_ACEOF
106678 #define _GLIBCXX_SYMVER 1
106679 _ACEOF
106680
106681 fi
106682
106683
106684
106685
106686
106687
106688
106689 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
106690 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
106691
106692 # Now, set up compatibility support, if any.
106693 # In addition, need this to deal with std::size_t mangling in
106694 # src/compatibility.cc.  In a perfect world, could use
106695 # typeid(std::size_t).name()[0] to do direct substitution.
106696 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
106697 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
106698 ac_save_CFLAGS="$CFLAGS"
106699 CFLAGS="-Werror"
106700 cat >conftest.$ac_ext <<_ACEOF
106701 /* confdefs.h.  */
106702 _ACEOF
106703 cat confdefs.h >>conftest.$ac_ext
106704 cat >>conftest.$ac_ext <<_ACEOF
106705 /* end confdefs.h.  */
106706
106707 int
106708 main ()
106709 {
106710 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
106711   ;
106712   return 0;
106713 }
106714 _ACEOF
106715 rm -f conftest.$ac_objext
106716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106717   (eval $ac_compile) 2>conftest.er1
106718   ac_status=$?
106719   grep -v '^ *+' conftest.er1 >conftest.err
106720   rm -f conftest.er1
106721   cat conftest.err >&5
106722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106723   (exit $ac_status); } &&
106724          { ac_try='test -z "$ac_c_werror_flag"
106725                          || test ! -s conftest.err'
106726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106727   (eval $ac_try) 2>&5
106728   ac_status=$?
106729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106730   (exit $ac_status); }; } &&
106731          { ac_try='test -s conftest.$ac_objext'
106732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106733   (eval $ac_try) 2>&5
106734   ac_status=$?
106735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106736   (exit $ac_status); }; }; then
106737   glibcxx_size_t_is_i=yes
106738 else
106739   echo "$as_me: failed program was:" >&5
106740 sed 's/^/| /' conftest.$ac_ext >&5
106741
106742 glibcxx_size_t_is_i=no
106743 fi
106744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106745 CFLAGS=$ac_save_CFLAGS
106746 if test "$glibcxx_size_t_is_i" = yes; then
106747
106748 cat >>confdefs.h <<\_ACEOF
106749 #define _GLIBCXX_SIZE_T_IS_UINT 1
106750 _ACEOF
106751
106752 fi
106753 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
106754 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
106755
106756 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
106757 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
106758 ac_save_CFLAGS="$CFLAGS"
106759 CFLAGS="-Werror"
106760 cat >conftest.$ac_ext <<_ACEOF
106761 /* confdefs.h.  */
106762 _ACEOF
106763 cat confdefs.h >>conftest.$ac_ext
106764 cat >>conftest.$ac_ext <<_ACEOF
106765 /* end confdefs.h.  */
106766
106767 int
106768 main ()
106769 {
106770 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
106771   ;
106772   return 0;
106773 }
106774 _ACEOF
106775 rm -f conftest.$ac_objext
106776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106777   (eval $ac_compile) 2>conftest.er1
106778   ac_status=$?
106779   grep -v '^ *+' conftest.er1 >conftest.err
106780   rm -f conftest.er1
106781   cat conftest.err >&5
106782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106783   (exit $ac_status); } &&
106784          { ac_try='test -z "$ac_c_werror_flag"
106785                          || test ! -s conftest.err'
106786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106787   (eval $ac_try) 2>&5
106788   ac_status=$?
106789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106790   (exit $ac_status); }; } &&
106791          { ac_try='test -s conftest.$ac_objext'
106792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106793   (eval $ac_try) 2>&5
106794   ac_status=$?
106795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106796   (exit $ac_status); }; }; then
106797   glibcxx_ptrdiff_t_is_i=yes
106798 else
106799   echo "$as_me: failed program was:" >&5
106800 sed 's/^/| /' conftest.$ac_ext >&5
106801
106802 glibcxx_ptrdiff_t_is_i=no
106803 fi
106804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106805 CFLAGS=$ac_save_CFLAGS
106806 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
106807
106808 cat >>confdefs.h <<\_ACEOF
106809 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
106810 _ACEOF
106811
106812 fi
106813 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
106814 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
106815
106816
106817  # Check whether --enable-visibility or --disable-visibility was given.
106818 if test "${enable_visibility+set}" = set; then
106819   enableval="$enable_visibility"
106820
106821       case "$enableval" in
106822        yes|no) ;;
106823        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
106824 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
106825    { (exit 1); exit 1; }; } ;;
106826       esac
106827
106828 else
106829   enable_visibility=yes
106830 fi;
106831
106832
106833 if test x$enable_visibility = xyes ; then
106834       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
106835 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
106836 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
106837   echo $ECHO_N "(cached) $ECHO_C" >&6
106838 else
106839
106840   save_CFLAGS="$CFLAGS"
106841   CFLAGS="$CFLAGS -Werror"
106842   cat >conftest.$ac_ext <<_ACEOF
106843 /* confdefs.h.  */
106844 _ACEOF
106845 cat confdefs.h >>conftest.$ac_ext
106846 cat >>conftest.$ac_ext <<_ACEOF
106847 /* end confdefs.h.  */
106848 void __attribute__((visibility("hidden"))) foo(void) { }
106849 int
106850 main ()
106851 {
106852
106853   ;
106854   return 0;
106855 }
106856 _ACEOF
106857 rm -f conftest.$ac_objext
106858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106859   (eval $ac_compile) 2>conftest.er1
106860   ac_status=$?
106861   grep -v '^ *+' conftest.er1 >conftest.err
106862   rm -f conftest.er1
106863   cat conftest.err >&5
106864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106865   (exit $ac_status); } &&
106866          { ac_try='test -z "$ac_c_werror_flag"
106867                          || test ! -s conftest.err'
106868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106869   (eval $ac_try) 2>&5
106870   ac_status=$?
106871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106872   (exit $ac_status); }; } &&
106873          { ac_try='test -s conftest.$ac_objext'
106874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106875   (eval $ac_try) 2>&5
106876   ac_status=$?
106877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106878   (exit $ac_status); }; }; then
106879   glibcxx_cv_have_attribute_visibility=yes
106880 else
106881   echo "$as_me: failed program was:" >&5
106882 sed 's/^/| /' conftest.$ac_ext >&5
106883
106884 glibcxx_cv_have_attribute_visibility=no
106885 fi
106886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106887   CFLAGS="$save_CFLAGS"
106888 fi
106889 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
106890 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
106891   if test $glibcxx_cv_have_attribute_visibility = no; then
106892     enable_visibility=no
106893   fi
106894 fi
106895
106896
106897 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
106898 echo "$as_me: visibility supported: $enable_visibility" >&6;}
106899
106900
106901 ac_ldbl_compat=no
106902 case "$target" in
106903   powerpc*-*-linux* | \
106904   powerpc*-*-gnu* | \
106905   sparc*-*-linux* | \
106906   s390*-*-linux* | \
106907   alpha*-*-linux*)
106908   cat >conftest.$ac_ext <<_ACEOF
106909 /* confdefs.h.  */
106910 _ACEOF
106911 cat confdefs.h >>conftest.$ac_ext
106912 cat >>conftest.$ac_ext <<_ACEOF
106913 /* end confdefs.h.  */
106914
106915 int
106916 main ()
106917 {
106918
106919 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
106920 #error no need for long double compatibility
106921 #endif
106922
106923   ;
106924   return 0;
106925 }
106926 _ACEOF
106927 rm -f conftest.$ac_objext
106928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106929   (eval $ac_compile) 2>conftest.er1
106930   ac_status=$?
106931   grep -v '^ *+' conftest.er1 >conftest.err
106932   rm -f conftest.er1
106933   cat conftest.err >&5
106934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106935   (exit $ac_status); } &&
106936          { ac_try='test -z "$ac_c_werror_flag"
106937                          || test ! -s conftest.err'
106938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106939   (eval $ac_try) 2>&5
106940   ac_status=$?
106941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106942   (exit $ac_status); }; } &&
106943          { ac_try='test -s conftest.$ac_objext'
106944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106945   (eval $ac_try) 2>&5
106946   ac_status=$?
106947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106948   (exit $ac_status); }; }; then
106949   ac_ldbl_compat=yes
106950 else
106951   echo "$as_me: failed program was:" >&5
106952 sed 's/^/| /' conftest.$ac_ext >&5
106953
106954 ac_ldbl_compat=no
106955 fi
106956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106957   if test "$ac_ldbl_compat" = yes; then
106958
106959 cat >>confdefs.h <<\_ACEOF
106960 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
106961 _ACEOF
106962
106963     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
106964   fi
106965 esac
106966
106967
106968 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
106969
106970   if $GLIBCXX_IS_NATIVE ; then
106971     # Do checks for resource limit functions.
106972
106973   setrlimit_have_headers=yes
106974
106975
106976
106977 for ac_header in unistd.h sys/time.h sys/resource.h
106978 do
106979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
106980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106981   echo "$as_me:$LINENO: checking for $ac_header" >&5
106982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
106983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
106984   echo $ECHO_N "(cached) $ECHO_C" >&6
106985 fi
106986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
106987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
106988 else
106989   # Is the header compilable?
106990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
106991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
106992 cat >conftest.$ac_ext <<_ACEOF
106993 /* confdefs.h.  */
106994 _ACEOF
106995 cat confdefs.h >>conftest.$ac_ext
106996 cat >>conftest.$ac_ext <<_ACEOF
106997 /* end confdefs.h.  */
106998 $ac_includes_default
106999 #include <$ac_header>
107000 _ACEOF
107001 rm -f conftest.$ac_objext
107002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107003   (eval $ac_compile) 2>conftest.er1
107004   ac_status=$?
107005   grep -v '^ *+' conftest.er1 >conftest.err
107006   rm -f conftest.er1
107007   cat conftest.err >&5
107008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107009   (exit $ac_status); } &&
107010          { ac_try='test -z "$ac_c_werror_flag"
107011                          || test ! -s conftest.err'
107012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107013   (eval $ac_try) 2>&5
107014   ac_status=$?
107015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107016   (exit $ac_status); }; } &&
107017          { ac_try='test -s conftest.$ac_objext'
107018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107019   (eval $ac_try) 2>&5
107020   ac_status=$?
107021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107022   (exit $ac_status); }; }; then
107023   ac_header_compiler=yes
107024 else
107025   echo "$as_me: failed program was:" >&5
107026 sed 's/^/| /' conftest.$ac_ext >&5
107027
107028 ac_header_compiler=no
107029 fi
107030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107032 echo "${ECHO_T}$ac_header_compiler" >&6
107033
107034 # Is the header present?
107035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107037 cat >conftest.$ac_ext <<_ACEOF
107038 /* confdefs.h.  */
107039 _ACEOF
107040 cat confdefs.h >>conftest.$ac_ext
107041 cat >>conftest.$ac_ext <<_ACEOF
107042 /* end confdefs.h.  */
107043 #include <$ac_header>
107044 _ACEOF
107045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107046   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107047   ac_status=$?
107048   grep -v '^ *+' conftest.er1 >conftest.err
107049   rm -f conftest.er1
107050   cat conftest.err >&5
107051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107052   (exit $ac_status); } >/dev/null; then
107053   if test -s conftest.err; then
107054     ac_cpp_err=$ac_c_preproc_warn_flag
107055     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107056   else
107057     ac_cpp_err=
107058   fi
107059 else
107060   ac_cpp_err=yes
107061 fi
107062 if test -z "$ac_cpp_err"; then
107063   ac_header_preproc=yes
107064 else
107065   echo "$as_me: failed program was:" >&5
107066 sed 's/^/| /' conftest.$ac_ext >&5
107067
107068   ac_header_preproc=no
107069 fi
107070 rm -f conftest.err conftest.$ac_ext
107071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107072 echo "${ECHO_T}$ac_header_preproc" >&6
107073
107074 # So?  What about this header?
107075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107076   yes:no: )
107077     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107079     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107081     ac_header_preproc=yes
107082     ;;
107083   no:yes:* )
107084     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107086     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
107087 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
107088     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107090     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
107091 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
107092     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107094     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107096     (
107097       cat <<\_ASBOX
107098 ## ----------------------------------------- ##
107099 ## Report this to the package-unused lists.  ##
107100 ## ----------------------------------------- ##
107101 _ASBOX
107102     ) |
107103       sed "s/^/$as_me: WARNING:     /" >&2
107104     ;;
107105 esac
107106 echo "$as_me:$LINENO: checking for $ac_header" >&5
107107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107109   echo $ECHO_N "(cached) $ECHO_C" >&6
107110 else
107111   eval "$as_ac_Header=\$ac_header_preproc"
107112 fi
107113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107115
107116 fi
107117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107118   cat >>confdefs.h <<_ACEOF
107119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107120 _ACEOF
107121
107122 else
107123   setrlimit_have_headers=no
107124 fi
107125
107126 done
107127
107128   # If don't have the headers, then we can't run the tests now, and we
107129   # won't be seeing any of these during testsuite compilation.
107130   if test $setrlimit_have_headers = yes; then
107131     # Can't do these in a loop, else the resulting syntax is wrong.
107132
107133   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
107134 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
107135   cat >conftest.$ac_ext <<_ACEOF
107136 /* confdefs.h.  */
107137 _ACEOF
107138 cat confdefs.h >>conftest.$ac_ext
107139 cat >>conftest.$ac_ext <<_ACEOF
107140 /* end confdefs.h.  */
107141 #include <unistd.h>
107142      #include <sys/time.h>
107143      #include <sys/resource.h>
107144
107145 int
107146 main ()
107147 {
107148  int f = RLIMIT_DATA ;
107149   ;
107150   return 0;
107151 }
107152 _ACEOF
107153 rm -f conftest.$ac_objext
107154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107155   (eval $ac_compile) 2>conftest.er1
107156   ac_status=$?
107157   grep -v '^ *+' conftest.er1 >conftest.err
107158   rm -f conftest.er1
107159   cat conftest.err >&5
107160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107161   (exit $ac_status); } &&
107162          { ac_try='test -z "$ac_c_werror_flag"
107163                          || test ! -s conftest.err'
107164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107165   (eval $ac_try) 2>&5
107166   ac_status=$?
107167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107168   (exit $ac_status); }; } &&
107169          { ac_try='test -s conftest.$ac_objext'
107170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107171   (eval $ac_try) 2>&5
107172   ac_status=$?
107173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107174   (exit $ac_status); }; }; then
107175   glibcxx_mresult=1
107176 else
107177   echo "$as_me: failed program was:" >&5
107178 sed 's/^/| /' conftest.$ac_ext >&5
107179
107180 glibcxx_mresult=0
107181 fi
107182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107183
107184 cat >>confdefs.h <<_ACEOF
107185 #define HAVE_LIMIT_DATA $glibcxx_mresult
107186 _ACEOF
107187
107188   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
107189   echo "$as_me:$LINENO: result: $res" >&5
107190 echo "${ECHO_T}$res" >&6
107191
107192
107193   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
107194 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
107195   cat >conftest.$ac_ext <<_ACEOF
107196 /* confdefs.h.  */
107197 _ACEOF
107198 cat confdefs.h >>conftest.$ac_ext
107199 cat >>conftest.$ac_ext <<_ACEOF
107200 /* end confdefs.h.  */
107201 #include <unistd.h>
107202      #include <sys/time.h>
107203      #include <sys/resource.h>
107204
107205 int
107206 main ()
107207 {
107208  int f = RLIMIT_RSS ;
107209   ;
107210   return 0;
107211 }
107212 _ACEOF
107213 rm -f conftest.$ac_objext
107214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107215   (eval $ac_compile) 2>conftest.er1
107216   ac_status=$?
107217   grep -v '^ *+' conftest.er1 >conftest.err
107218   rm -f conftest.er1
107219   cat conftest.err >&5
107220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107221   (exit $ac_status); } &&
107222          { ac_try='test -z "$ac_c_werror_flag"
107223                          || test ! -s conftest.err'
107224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107225   (eval $ac_try) 2>&5
107226   ac_status=$?
107227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107228   (exit $ac_status); }; } &&
107229          { ac_try='test -s conftest.$ac_objext'
107230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107231   (eval $ac_try) 2>&5
107232   ac_status=$?
107233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107234   (exit $ac_status); }; }; then
107235   glibcxx_mresult=1
107236 else
107237   echo "$as_me: failed program was:" >&5
107238 sed 's/^/| /' conftest.$ac_ext >&5
107239
107240 glibcxx_mresult=0
107241 fi
107242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107243
107244 cat >>confdefs.h <<_ACEOF
107245 #define HAVE_LIMIT_RSS $glibcxx_mresult
107246 _ACEOF
107247
107248   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
107249   echo "$as_me:$LINENO: result: $res" >&5
107250 echo "${ECHO_T}$res" >&6
107251
107252
107253   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
107254 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
107255   cat >conftest.$ac_ext <<_ACEOF
107256 /* confdefs.h.  */
107257 _ACEOF
107258 cat confdefs.h >>conftest.$ac_ext
107259 cat >>conftest.$ac_ext <<_ACEOF
107260 /* end confdefs.h.  */
107261 #include <unistd.h>
107262      #include <sys/time.h>
107263      #include <sys/resource.h>
107264
107265 int
107266 main ()
107267 {
107268  int f = RLIMIT_VMEM ;
107269   ;
107270   return 0;
107271 }
107272 _ACEOF
107273 rm -f conftest.$ac_objext
107274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107275   (eval $ac_compile) 2>conftest.er1
107276   ac_status=$?
107277   grep -v '^ *+' conftest.er1 >conftest.err
107278   rm -f conftest.er1
107279   cat conftest.err >&5
107280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107281   (exit $ac_status); } &&
107282          { ac_try='test -z "$ac_c_werror_flag"
107283                          || test ! -s conftest.err'
107284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107285   (eval $ac_try) 2>&5
107286   ac_status=$?
107287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107288   (exit $ac_status); }; } &&
107289          { ac_try='test -s conftest.$ac_objext'
107290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107291   (eval $ac_try) 2>&5
107292   ac_status=$?
107293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107294   (exit $ac_status); }; }; then
107295   glibcxx_mresult=1
107296 else
107297   echo "$as_me: failed program was:" >&5
107298 sed 's/^/| /' conftest.$ac_ext >&5
107299
107300 glibcxx_mresult=0
107301 fi
107302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107303
107304 cat >>confdefs.h <<_ACEOF
107305 #define HAVE_LIMIT_VMEM $glibcxx_mresult
107306 _ACEOF
107307
107308   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
107309   echo "$as_me:$LINENO: result: $res" >&5
107310 echo "${ECHO_T}$res" >&6
107311
107312
107313   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
107314 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
107315   cat >conftest.$ac_ext <<_ACEOF
107316 /* confdefs.h.  */
107317 _ACEOF
107318 cat confdefs.h >>conftest.$ac_ext
107319 cat >>conftest.$ac_ext <<_ACEOF
107320 /* end confdefs.h.  */
107321 #include <unistd.h>
107322      #include <sys/time.h>
107323      #include <sys/resource.h>
107324
107325 int
107326 main ()
107327 {
107328  int f = RLIMIT_AS ;
107329   ;
107330   return 0;
107331 }
107332 _ACEOF
107333 rm -f conftest.$ac_objext
107334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107335   (eval $ac_compile) 2>conftest.er1
107336   ac_status=$?
107337   grep -v '^ *+' conftest.er1 >conftest.err
107338   rm -f conftest.er1
107339   cat conftest.err >&5
107340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107341   (exit $ac_status); } &&
107342          { ac_try='test -z "$ac_c_werror_flag"
107343                          || test ! -s conftest.err'
107344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107345   (eval $ac_try) 2>&5
107346   ac_status=$?
107347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107348   (exit $ac_status); }; } &&
107349          { ac_try='test -s conftest.$ac_objext'
107350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107351   (eval $ac_try) 2>&5
107352   ac_status=$?
107353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107354   (exit $ac_status); }; }; then
107355   glibcxx_mresult=1
107356 else
107357   echo "$as_me: failed program was:" >&5
107358 sed 's/^/| /' conftest.$ac_ext >&5
107359
107360 glibcxx_mresult=0
107361 fi
107362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107363
107364 cat >>confdefs.h <<_ACEOF
107365 #define HAVE_LIMIT_AS $glibcxx_mresult
107366 _ACEOF
107367
107368   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
107369   echo "$as_me:$LINENO: result: $res" >&5
107370 echo "${ECHO_T}$res" >&6
107371
107372
107373   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
107374 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
107375   cat >conftest.$ac_ext <<_ACEOF
107376 /* confdefs.h.  */
107377 _ACEOF
107378 cat confdefs.h >>conftest.$ac_ext
107379 cat >>conftest.$ac_ext <<_ACEOF
107380 /* end confdefs.h.  */
107381 #include <unistd.h>
107382      #include <sys/time.h>
107383      #include <sys/resource.h>
107384
107385 int
107386 main ()
107387 {
107388  int f = RLIMIT_FSIZE ;
107389   ;
107390   return 0;
107391 }
107392 _ACEOF
107393 rm -f conftest.$ac_objext
107394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107395   (eval $ac_compile) 2>conftest.er1
107396   ac_status=$?
107397   grep -v '^ *+' conftest.er1 >conftest.err
107398   rm -f conftest.er1
107399   cat conftest.err >&5
107400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107401   (exit $ac_status); } &&
107402          { ac_try='test -z "$ac_c_werror_flag"
107403                          || test ! -s conftest.err'
107404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107405   (eval $ac_try) 2>&5
107406   ac_status=$?
107407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107408   (exit $ac_status); }; } &&
107409          { ac_try='test -s conftest.$ac_objext'
107410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107411   (eval $ac_try) 2>&5
107412   ac_status=$?
107413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107414   (exit $ac_status); }; }; then
107415   glibcxx_mresult=1
107416 else
107417   echo "$as_me: failed program was:" >&5
107418 sed 's/^/| /' conftest.$ac_ext >&5
107419
107420 glibcxx_mresult=0
107421 fi
107422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107423
107424 cat >>confdefs.h <<_ACEOF
107425 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
107426 _ACEOF
107427
107428   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
107429   echo "$as_me:$LINENO: result: $res" >&5
107430 echo "${ECHO_T}$res" >&6
107431
107432
107433     # Check for rlimit, setrlimit.
107434     if test "${glibcxx_cv_setrlimit+set}" = set; then
107435   echo $ECHO_N "(cached) $ECHO_C" >&6
107436 else
107437
107438       cat >conftest.$ac_ext <<_ACEOF
107439 /* confdefs.h.  */
107440 _ACEOF
107441 cat confdefs.h >>conftest.$ac_ext
107442 cat >>conftest.$ac_ext <<_ACEOF
107443 /* end confdefs.h.  */
107444 #include <unistd.h>
107445          #include <sys/time.h>
107446          #include <sys/resource.h>
107447
107448 int
107449 main ()
107450 {
107451 struct rlimit r;
107452          setrlimit(0, &r);
107453   ;
107454   return 0;
107455 }
107456 _ACEOF
107457 rm -f conftest.$ac_objext
107458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107459   (eval $ac_compile) 2>conftest.er1
107460   ac_status=$?
107461   grep -v '^ *+' conftest.er1 >conftest.err
107462   rm -f conftest.er1
107463   cat conftest.err >&5
107464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107465   (exit $ac_status); } &&
107466          { ac_try='test -z "$ac_c_werror_flag"
107467                          || test ! -s conftest.err'
107468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107469   (eval $ac_try) 2>&5
107470   ac_status=$?
107471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107472   (exit $ac_status); }; } &&
107473          { ac_try='test -s conftest.$ac_objext'
107474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107475   (eval $ac_try) 2>&5
107476   ac_status=$?
107477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107478   (exit $ac_status); }; }; then
107479   glibcxx_cv_setrlimit=yes
107480 else
107481   echo "$as_me: failed program was:" >&5
107482 sed 's/^/| /' conftest.$ac_ext >&5
107483
107484 glibcxx_cv_setrlimit=no
107485 fi
107486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107487
107488 fi
107489
107490   fi
107491
107492   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
107493 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
107494   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
107495     ac_res_limits=yes
107496
107497 cat >>confdefs.h <<\_ACEOF
107498 #define _GLIBCXX_RES_LIMITS 1
107499 _ACEOF
107500
107501   else
107502     ac_res_limits=no
107503   fi
107504   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
107505 echo "${ECHO_T}$ac_res_limits" >&6
107506
107507
107508     # Look for setenv, so that extended locale tests can be performed.
107509
107510   echo "$as_me:$LINENO: checking for setenv declaration" >&5
107511 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
107512   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
107513     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
107514   echo $ECHO_N "(cached) $ECHO_C" >&6
107515 else
107516
107517
107518
107519       ac_ext=cc
107520 ac_cpp='$CXXCPP $CPPFLAGS'
107521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107524
107525       cat >conftest.$ac_ext <<_ACEOF
107526 /* confdefs.h.  */
107527 _ACEOF
107528 cat confdefs.h >>conftest.$ac_ext
107529 cat >>conftest.$ac_ext <<_ACEOF
107530 /* end confdefs.h.  */
107531 #include <stdlib.h>
107532 int
107533 main ()
107534 {
107535  setenv(0, 0, 0);
107536   ;
107537   return 0;
107538 }
107539 _ACEOF
107540 rm -f conftest.$ac_objext
107541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107542   (eval $ac_compile) 2>conftest.er1
107543   ac_status=$?
107544   grep -v '^ *+' conftest.er1 >conftest.err
107545   rm -f conftest.er1
107546   cat conftest.err >&5
107547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107548   (exit $ac_status); } &&
107549          { ac_try='test -z "$ac_cxx_werror_flag"
107550                          || test ! -s conftest.err'
107551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107552   (eval $ac_try) 2>&5
107553   ac_status=$?
107554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107555   (exit $ac_status); }; } &&
107556          { ac_try='test -s conftest.$ac_objext'
107557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107558   (eval $ac_try) 2>&5
107559   ac_status=$?
107560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107561   (exit $ac_status); }; }; then
107562   glibcxx_cv_func_setenv_use=yes
107563 else
107564   echo "$as_me: failed program was:" >&5
107565 sed 's/^/| /' conftest.$ac_ext >&5
107566
107567 glibcxx_cv_func_setenv_use=no
107568 fi
107569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107570       ac_ext=c
107571 ac_cpp='$CPP $CPPFLAGS'
107572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107575
107576
107577 fi
107578
107579   fi
107580   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
107581 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
107582   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
107583
107584 for ac_func in setenv
107585 do
107586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107587 echo "$as_me:$LINENO: checking for $ac_func" >&5
107588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107589 if eval "test \"\${$as_ac_var+set}\" = set"; then
107590   echo $ECHO_N "(cached) $ECHO_C" >&6
107591 else
107592   if test x$gcc_no_link = xyes; then
107593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107595    { (exit 1); exit 1; }; }
107596 fi
107597 cat >conftest.$ac_ext <<_ACEOF
107598 /* confdefs.h.  */
107599 _ACEOF
107600 cat confdefs.h >>conftest.$ac_ext
107601 cat >>conftest.$ac_ext <<_ACEOF
107602 /* end confdefs.h.  */
107603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107605 #define $ac_func innocuous_$ac_func
107606
107607 /* System header to define __stub macros and hopefully few prototypes,
107608     which can conflict with char $ac_func (); below.
107609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107610     <limits.h> exists even on freestanding compilers.  */
107611
107612 #ifdef __STDC__
107613 # include <limits.h>
107614 #else
107615 # include <assert.h>
107616 #endif
107617
107618 #undef $ac_func
107619
107620 /* Override any gcc2 internal prototype to avoid an error.  */
107621 #ifdef __cplusplus
107622 extern "C"
107623 {
107624 #endif
107625 /* We use char because int might match the return type of a gcc2
107626    builtin and then its argument prototype would still apply.  */
107627 char $ac_func ();
107628 /* The GNU C library defines this for functions which it implements
107629     to always fail with ENOSYS.  Some functions are actually named
107630     something starting with __ and the normal name is an alias.  */
107631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107632 choke me
107633 #else
107634 char (*f) () = $ac_func;
107635 #endif
107636 #ifdef __cplusplus
107637 }
107638 #endif
107639
107640 int
107641 main ()
107642 {
107643 return f != $ac_func;
107644   ;
107645   return 0;
107646 }
107647 _ACEOF
107648 rm -f conftest.$ac_objext conftest$ac_exeext
107649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107650   (eval $ac_link) 2>conftest.er1
107651   ac_status=$?
107652   grep -v '^ *+' conftest.er1 >conftest.err
107653   rm -f conftest.er1
107654   cat conftest.err >&5
107655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107656   (exit $ac_status); } &&
107657          { ac_try='test -z "$ac_c_werror_flag"
107658                          || test ! -s conftest.err'
107659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107660   (eval $ac_try) 2>&5
107661   ac_status=$?
107662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107663   (exit $ac_status); }; } &&
107664          { ac_try='test -s conftest$ac_exeext'
107665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107666   (eval $ac_try) 2>&5
107667   ac_status=$?
107668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107669   (exit $ac_status); }; }; then
107670   eval "$as_ac_var=yes"
107671 else
107672   echo "$as_me: failed program was:" >&5
107673 sed 's/^/| /' conftest.$ac_ext >&5
107674
107675 eval "$as_ac_var=no"
107676 fi
107677 rm -f conftest.err conftest.$ac_objext \
107678       conftest$ac_exeext conftest.$ac_ext
107679 fi
107680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107682 if test `eval echo '${'$as_ac_var'}'` = yes; then
107683   cat >>confdefs.h <<_ACEOF
107684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107685 _ACEOF
107686
107687 fi
107688 done
107689
107690   fi
107691
107692   fi
107693
107694   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
107695      test $enable_symvers != no; then
107696     case "$host" in
107697       *-*-cygwin*)
107698         enable_abi_check=no ;;
107699       *)
107700         enable_abi_check=yes ;;
107701     esac
107702   else
107703     # Only build this as native, since automake does not understand
107704     # CXX_FOR_BUILD.
107705     enable_abi_check=no
107706   fi
107707
107708   # Export file names for ABI checking.
107709   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
107710
107711
107712
107713 # Propagate the target-specific source directories through the build chain.
107714 ATOMICITY_SRCDIR=config/${atomicity_dir}
107715 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
107716 ATOMIC_FLAGS=${atomic_flags}
107717 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
107718 OS_INC_SRCDIR=config/${os_include_dir}
107719 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
107720 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
107721
107722
107723
107724
107725
107726
107727
107728
107729
107730 # Determine cross-compile flags and AM_CONDITIONALs.
107731 #AC_SUBST(GLIBCXX_IS_NATIVE)
107732 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
107733 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
107734 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
107735
107736
107737 if test $is_hosted = yes; then
107738   GLIBCXX_HOSTED_TRUE=
107739   GLIBCXX_HOSTED_FALSE='#'
107740 else
107741   GLIBCXX_HOSTED_TRUE='#'
107742   GLIBCXX_HOSTED_FALSE=
107743 fi
107744
107745
107746
107747
107748 if test $enable_libstdcxx_pch = yes; then
107749   GLIBCXX_BUILD_PCH_TRUE=
107750   GLIBCXX_BUILD_PCH_FALSE='#'
107751 else
107752   GLIBCXX_BUILD_PCH_TRUE='#'
107753   GLIBCXX_BUILD_PCH_FALSE=
107754 fi
107755
107756
107757
107758
107759 if test $enable_cheaders = c; then
107760   GLIBCXX_C_HEADERS_C_TRUE=
107761   GLIBCXX_C_HEADERS_C_FALSE='#'
107762 else
107763   GLIBCXX_C_HEADERS_C_TRUE='#'
107764   GLIBCXX_C_HEADERS_C_FALSE=
107765 fi
107766
107767
107768
107769
107770 if test $enable_cheaders = c_std; then
107771   GLIBCXX_C_HEADERS_C_STD_TRUE=
107772   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
107773 else
107774   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
107775   GLIBCXX_C_HEADERS_C_STD_FALSE=
107776 fi
107777
107778
107779
107780
107781 if test $enable_cheaders = c_global; then
107782   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
107783   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
107784 else
107785   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
107786   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
107787 fi
107788
107789
107790
107791
107792 if test $c_compatibility = yes; then
107793   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
107794   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
107795 else
107796   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
107797   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
107798 fi
107799
107800
107801
107802
107803 if test $c_extra = yes; then
107804   GLIBCXX_C_HEADERS_EXTRA_TRUE=
107805   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
107806 else
107807   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
107808   GLIBCXX_C_HEADERS_EXTRA_FALSE=
107809 fi
107810
107811
107812
107813
107814 if test $enable_libstdcxx_debug = yes; then
107815   GLIBCXX_BUILD_DEBUG_TRUE=
107816   GLIBCXX_BUILD_DEBUG_FALSE='#'
107817 else
107818   GLIBCXX_BUILD_DEBUG_TRUE='#'
107819   GLIBCXX_BUILD_DEBUG_FALSE=
107820 fi
107821
107822
107823
107824
107825 if test $enable_parallel = yes; then
107826   ENABLE_PARALLEL_TRUE=
107827   ENABLE_PARALLEL_FALSE='#'
107828 else
107829   ENABLE_PARALLEL_TRUE='#'
107830   ENABLE_PARALLEL_FALSE=
107831 fi
107832
107833
107834
107835
107836 if test $enable_symvers != no; then
107837   ENABLE_SYMVERS_TRUE=
107838   ENABLE_SYMVERS_FALSE='#'
107839 else
107840   ENABLE_SYMVERS_TRUE='#'
107841   ENABLE_SYMVERS_FALSE=
107842 fi
107843
107844
107845
107846
107847 if test $enable_symvers = gnu; then
107848   ENABLE_SYMVERS_GNU_TRUE=
107849   ENABLE_SYMVERS_GNU_FALSE='#'
107850 else
107851   ENABLE_SYMVERS_GNU_TRUE='#'
107852   ENABLE_SYMVERS_GNU_FALSE=
107853 fi
107854
107855
107856
107857
107858 if test $enable_symvers = gnu-versioned-namespace; then
107859   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
107860   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
107861 else
107862   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
107863   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
107864 fi
107865
107866
107867
107868
107869 if test $enable_symvers = darwin; then
107870   ENABLE_SYMVERS_DARWIN_TRUE=
107871   ENABLE_SYMVERS_DARWIN_FALSE='#'
107872 else
107873   ENABLE_SYMVERS_DARWIN_TRUE='#'
107874   ENABLE_SYMVERS_DARWIN_FALSE=
107875 fi
107876
107877
107878
107879
107880 if test $enable_visibility = yes; then
107881   ENABLE_VISIBILITY_TRUE=
107882   ENABLE_VISIBILITY_FALSE='#'
107883 else
107884   ENABLE_VISIBILITY_TRUE='#'
107885   ENABLE_VISIBILITY_FALSE=
107886 fi
107887
107888
107889
107890
107891 if test $ac_ldbl_compat = yes; then
107892   GLIBCXX_LDBL_COMPAT_TRUE=
107893   GLIBCXX_LDBL_COMPAT_FALSE='#'
107894 else
107895   GLIBCXX_LDBL_COMPAT_TRUE='#'
107896   GLIBCXX_LDBL_COMPAT_FALSE=
107897 fi
107898
107899
107900
107901
107902 cat >confcache <<\_ACEOF
107903 # This file is a shell script that caches the results of configure
107904 # tests run on this system so they can be shared between configure
107905 # scripts and configure runs, see configure's option --config-cache.
107906 # It is not useful on other systems.  If it contains results you don't
107907 # want to keep, you may remove or edit it.
107908 #
107909 # config.status only pays attention to the cache file if you give it
107910 # the --recheck option to rerun configure.
107911 #
107912 # `ac_cv_env_foo' variables (set or unset) will be overridden when
107913 # loading this file, other *unset* `ac_cv_foo' will be assigned the
107914 # following values.
107915
107916 _ACEOF
107917
107918 # The following way of writing the cache mishandles newlines in values,
107919 # but we know of no workaround that is simple, portable, and efficient.
107920 # So, don't put newlines in cache variables' values.
107921 # Ultrix sh set writes to stderr and can't be redirected directly,
107922 # and sets the high bit in the cache file unless we assign to the vars.
107923 {
107924   (set) 2>&1 |
107925     case `(ac_space=' '; set | grep ac_space) 2>&1` in
107926     *ac_space=\ *)
107927       # `set' does not quote correctly, so add quotes (double-quote
107928       # substitution turns \\\\ into \\, and sed turns \\ into \).
107929       sed -n \
107930         "s/'/'\\\\''/g;
107931           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
107932       ;;
107933     *)
107934       # `set' quotes correctly as required by POSIX, so do not add quotes.
107935       sed -n \
107936         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
107937       ;;
107938     esac;
107939 } |
107940   sed '
107941      t clear
107942      : clear
107943      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
107944      t end
107945      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
107946      : end' >>confcache
107947 if diff $cache_file confcache >/dev/null 2>&1; then :; else
107948   if test -w $cache_file; then
107949     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
107950     cat confcache >$cache_file
107951   else
107952     echo "not updating unwritable cache $cache_file"
107953   fi
107954 fi
107955 rm -f confcache
107956
107957 if test ${multilib} = yes; then
107958   multilib_arg="--enable-multilib"
107959 else
107960   multilib_arg=
107961 fi
107962
107963 # Export all the install information.
107964
107965   glibcxx_toolexecdir=no
107966   glibcxx_toolexeclibdir=no
107967   glibcxx_prefixdir=$prefix
107968
107969   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
107970 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
107971
107972 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
107973 if test "${with_gxx_include_dir+set}" = set; then
107974   withval="$with_gxx_include_dir"
107975   case "$withval" in
107976       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
107977 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
107978    { (exit 1); exit 1; }; } ;;
107979       no)  gxx_include_dir=no ;;
107980       *)   gxx_include_dir=$withval ;;
107981      esac
107982 else
107983   gxx_include_dir=no
107984 fi;
107985   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
107986 echo "${ECHO_T}$gxx_include_dir" >&6
107987
107988   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
107989 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
107990   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
107991 if test "${enable_version_specific_runtime_libs+set}" = set; then
107992   enableval="$enable_version_specific_runtime_libs"
107993   case "$enableval" in
107994       yes) version_specific_libs=yes ;;
107995       no)  version_specific_libs=no ;;
107996       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
107997 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
107998    { (exit 1); exit 1; }; };;
107999      esac
108000 else
108001   version_specific_libs=no
108002 fi;
108003   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
108004 echo "${ECHO_T}$version_specific_libs" >&6
108005
108006   # Default case for install directory for include files.
108007   if test $version_specific_libs = no && test $gxx_include_dir = no; then
108008     gxx_include_dir='include/c++/${gcc_version}'
108009     if test -n "$with_cross_host" &&
108010        test x"$with_cross_host" != x"no"; then
108011       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
108012     else
108013       gxx_include_dir='${prefix}/'"$gxx_include_dir"
108014     fi
108015   fi
108016
108017   # Version-specific runtime libs processing.
108018   if test $version_specific_libs = yes; then
108019     # Need the gcc compiler version to know where to install libraries
108020     # and header files if --enable-version-specific-runtime-libs option
108021     # is selected.  FIXME: these variables are misnamed, there are
108022     # no executables installed in _toolexecdir or _toolexeclibdir.
108023     if test x"$gxx_include_dir" = x"no"; then
108024       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
108025     fi
108026     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
108027     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
108028   fi
108029
108030   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
108031   # Install a library built with a cross compiler in tooldir, not libdir.
108032   if test x"$glibcxx_toolexecdir" = x"no"; then
108033     if test -n "$with_cross_host" &&
108034        test x"$with_cross_host" != x"no"; then
108035       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
108036       glibcxx_toolexeclibdir='${toolexecdir}/lib'
108037     else
108038       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
108039       glibcxx_toolexeclibdir='${libdir}'
108040     fi
108041     multi_os_directory=`$CXX -print-multi-os-directory`
108042     case $multi_os_directory in
108043       .) ;; # Avoid trailing /.
108044       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
108045     esac
108046   fi
108047
108048   echo "$as_me:$LINENO: checking for install location" >&5
108049 echo $ECHO_N "checking for install location... $ECHO_C" >&6
108050   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
108051 echo "${ECHO_T}$gxx_include_dir" >&6
108052
108053
108054
108055
108056
108057
108058
108059 # Export all the include and flag information to Makefiles.
108060
108061   # Used for every C++ compile we perform.
108062   GLIBCXX_INCLUDES="\
108063 -I$glibcxx_builddir/include/$host_alias \
108064 -I$glibcxx_builddir/include \
108065 -I$glibcxx_srcdir/libsupc++"
108066
108067   # For Canadian crosses, pick this up too.
108068   if test $CANADIAN = yes; then
108069     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
108070   fi
108071
108072   # Stuff in the actual top level.  Currently only used by libsupc++ to
108073   # get unwind* headers from the gcc dir.
108074   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
108075   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
108076
108077   # Now, export this to all the little Makefiles....
108078
108079
108080
108081
108082   # Optimization flags that are probably a good idea for thrill-seekers. Just
108083   # uncomment the lines below and make, everything else is ready to go...
108084   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
108085   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
108086
108087
108088   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
108089
108090
108091
108092 if test "$enable_shared" = yes; then
108093   LIBSUPCXX_PICFLAGS="-prefer-pic"
108094 else
108095   LIBSUPCXX_PICFLAGS=
108096 fi
108097
108098
108099                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
108100
108101           ac_config_files="$ac_config_files scripts/testsuite_flags"
108102
108103
108104           ac_config_commands="$ac_config_commands default"
108105
108106
108107 cat >confcache <<\_ACEOF
108108 # This file is a shell script that caches the results of configure
108109 # tests run on this system so they can be shared between configure
108110 # scripts and configure runs, see configure's option --config-cache.
108111 # It is not useful on other systems.  If it contains results you don't
108112 # want to keep, you may remove or edit it.
108113 #
108114 # config.status only pays attention to the cache file if you give it
108115 # the --recheck option to rerun configure.
108116 #
108117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
108118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
108119 # following values.
108120
108121 _ACEOF
108122
108123 # The following way of writing the cache mishandles newlines in values,
108124 # but we know of no workaround that is simple, portable, and efficient.
108125 # So, don't put newlines in cache variables' values.
108126 # Ultrix sh set writes to stderr and can't be redirected directly,
108127 # and sets the high bit in the cache file unless we assign to the vars.
108128 {
108129   (set) 2>&1 |
108130     case `(ac_space=' '; set | grep ac_space) 2>&1` in
108131     *ac_space=\ *)
108132       # `set' does not quote correctly, so add quotes (double-quote
108133       # substitution turns \\\\ into \\, and sed turns \\ into \).
108134       sed -n \
108135         "s/'/'\\\\''/g;
108136           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
108137       ;;
108138     *)
108139       # `set' quotes correctly as required by POSIX, so do not add quotes.
108140       sed -n \
108141         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
108142       ;;
108143     esac;
108144 } |
108145   sed '
108146      t clear
108147      : clear
108148      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
108149      t end
108150      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
108151      : end' >>confcache
108152 if diff $cache_file confcache >/dev/null 2>&1; then :; else
108153   if test -w $cache_file; then
108154     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
108155     cat confcache >$cache_file
108156   else
108157     echo "not updating unwritable cache $cache_file"
108158   fi
108159 fi
108160 rm -f confcache
108161
108162 test "x$prefix" = xNONE && prefix=$ac_default_prefix
108163 # Let make expand exec_prefix.
108164 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
108165
108166 # VPATH may cause trouble with some makes, so we remove $(srcdir),
108167 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
108168 # trailing colons and then remove the whole line if VPATH becomes empty
108169 # (actually we leave an empty line to preserve line numbers).
108170 if test "x$srcdir" = x.; then
108171   ac_vpsub='/^[  ]*VPATH[        ]*=/{
108172 s/:*\$(srcdir):*/:/;
108173 s/:*\${srcdir}:*/:/;
108174 s/:*@srcdir@:*/:/;
108175 s/^\([^=]*=[     ]*\):*/\1/;
108176 s/:*$//;
108177 s/^[^=]*=[       ]*$//;
108178 }'
108179 fi
108180
108181 DEFS=-DHAVE_CONFIG_H
108182
108183 ac_libobjs=
108184 ac_ltlibobjs=
108185 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
108186   # 1. Remove the extension, and $U if already installed.
108187   ac_i=`echo "$ac_i" |
108188          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
108189   # 2. Add them.
108190   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
108191   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
108192 done
108193 LIBOBJS=$ac_libobjs
108194
108195 LTLIBOBJS=$ac_ltlibobjs
108196
108197
108198 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
108199   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
108200 Usually this means the macro was only invoked conditionally." >&5
108201 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
108202 Usually this means the macro was only invoked conditionally." >&2;}
108203    { (exit 1); exit 1; }; }
108204 fi
108205 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
108206   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
108207 Usually this means the macro was only invoked conditionally." >&5
108208 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
108209 Usually this means the macro was only invoked conditionally." >&2;}
108210    { (exit 1); exit 1; }; }
108211 fi
108212 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
108213   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
108214 Usually this means the macro was only invoked conditionally." >&5
108215 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
108216 Usually this means the macro was only invoked conditionally." >&2;}
108217    { (exit 1); exit 1; }; }
108218 fi
108219 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
108220   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
108221 Usually this means the macro was only invoked conditionally." >&5
108222 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
108223 Usually this means the macro was only invoked conditionally." >&2;}
108224    { (exit 1); exit 1; }; }
108225 fi
108226 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
108227   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
108228 Usually this means the macro was only invoked conditionally." >&5
108229 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
108230 Usually this means the macro was only invoked conditionally." >&2;}
108231    { (exit 1); exit 1; }; }
108232 fi
108233 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
108234   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
108235 Usually this means the macro was only invoked conditionally." >&5
108236 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
108237 Usually this means the macro was only invoked conditionally." >&2;}
108238    { (exit 1); exit 1; }; }
108239 fi
108240 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
108241   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
108242 Usually this means the macro was only invoked conditionally." >&5
108243 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
108244 Usually this means the macro was only invoked conditionally." >&2;}
108245    { (exit 1); exit 1; }; }
108246 fi
108247 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
108248   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
108249 Usually this means the macro was only invoked conditionally." >&5
108250 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
108251 Usually this means the macro was only invoked conditionally." >&2;}
108252    { (exit 1); exit 1; }; }
108253 fi
108254 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
108255   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
108256 Usually this means the macro was only invoked conditionally." >&5
108257 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
108258 Usually this means the macro was only invoked conditionally." >&2;}
108259    { (exit 1); exit 1; }; }
108260 fi
108261 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
108262   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
108263 Usually this means the macro was only invoked conditionally." >&5
108264 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
108265 Usually this means the macro was only invoked conditionally." >&2;}
108266    { (exit 1); exit 1; }; }
108267 fi
108268 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
108269   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
108270 Usually this means the macro was only invoked conditionally." >&5
108271 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
108272 Usually this means the macro was only invoked conditionally." >&2;}
108273    { (exit 1); exit 1; }; }
108274 fi
108275 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
108276   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
108277 Usually this means the macro was only invoked conditionally." >&5
108278 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
108279 Usually this means the macro was only invoked conditionally." >&2;}
108280    { (exit 1); exit 1; }; }
108281 fi
108282 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
108283   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
108284 Usually this means the macro was only invoked conditionally." >&5
108285 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
108286 Usually this means the macro was only invoked conditionally." >&2;}
108287    { (exit 1); exit 1; }; }
108288 fi
108289 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
108290   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
108291 Usually this means the macro was only invoked conditionally." >&5
108292 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
108293 Usually this means the macro was only invoked conditionally." >&2;}
108294    { (exit 1); exit 1; }; }
108295 fi
108296 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
108297   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
108298 Usually this means the macro was only invoked conditionally." >&5
108299 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
108300 Usually this means the macro was only invoked conditionally." >&2;}
108301    { (exit 1); exit 1; }; }
108302 fi
108303 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
108304   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
108305 Usually this means the macro was only invoked conditionally." >&5
108306 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
108307 Usually this means the macro was only invoked conditionally." >&2;}
108308    { (exit 1); exit 1; }; }
108309 fi
108310
108311 : ${CONFIG_STATUS=./config.status}
108312 ac_clean_files_save=$ac_clean_files
108313 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
108314 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
108315 echo "$as_me: creating $CONFIG_STATUS" >&6;}
108316 cat >$CONFIG_STATUS <<_ACEOF
108317 #! $SHELL
108318 # Generated by $as_me.
108319 # Run this file to recreate the current configuration.
108320 # Compiler output produced by configure, useful for debugging
108321 # configure, is in config.log if it exists.
108322
108323 debug=false
108324 ac_cs_recheck=false
108325 ac_cs_silent=false
108326 SHELL=\${CONFIG_SHELL-$SHELL}
108327 _ACEOF
108328
108329 cat >>$CONFIG_STATUS <<\_ACEOF
108330 ## --------------------- ##
108331 ## M4sh Initialization.  ##
108332 ## --------------------- ##
108333
108334 # Be Bourne compatible
108335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
108336   emulate sh
108337   NULLCMD=:
108338   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
108339   # is contrary to our usage.  Disable this feature.
108340   alias -g '${1+"$@"}'='"$@"'
108341 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
108342   set -o posix
108343 fi
108344 DUALCASE=1; export DUALCASE # for MKS sh
108345
108346 # Support unset when possible.
108347 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
108348   as_unset=unset
108349 else
108350   as_unset=false
108351 fi
108352
108353
108354 # Work around bugs in pre-3.0 UWIN ksh.
108355 $as_unset ENV MAIL MAILPATH
108356 PS1='$ '
108357 PS2='> '
108358 PS4='+ '
108359
108360 # NLS nuisances.
108361 for as_var in \
108362   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108363   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108364   LC_TELEPHONE LC_TIME
108365 do
108366   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108367     eval $as_var=C; export $as_var
108368   else
108369     $as_unset $as_var
108370   fi
108371 done
108372
108373 # Required to use basename.
108374 if expr a : '\(a\)' >/dev/null 2>&1; then
108375   as_expr=expr
108376 else
108377   as_expr=false
108378 fi
108379
108380 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
108381   as_basename=basename
108382 else
108383   as_basename=false
108384 fi
108385
108386
108387 # Name of the executable.
108388 as_me=`$as_basename "$0" ||
108389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
108390          X"$0" : 'X\(//\)$' \| \
108391          X"$0" : 'X\(/\)$' \| \
108392          .     : '\(.\)' 2>/dev/null ||
108393 echo X/"$0" |
108394     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
108395           /^X\/\(\/\/\)$/{ s//\1/; q; }
108396           /^X\/\(\/\).*/{ s//\1/; q; }
108397           s/.*/./; q'`
108398
108399
108400 # PATH needs CR, and LINENO needs CR and PATH.
108401 # Avoid depending upon Character Ranges.
108402 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
108403 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
108404 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
108405 as_cr_digits='0123456789'
108406 as_cr_alnum=$as_cr_Letters$as_cr_digits
108407
108408 # The user is always right.
108409 if test "${PATH_SEPARATOR+set}" != set; then
108410   echo "#! /bin/sh" >conf$$.sh
108411   echo  "exit 0"   >>conf$$.sh
108412   chmod +x conf$$.sh
108413   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
108414     PATH_SEPARATOR=';'
108415   else
108416     PATH_SEPARATOR=:
108417   fi
108418   rm -f conf$$.sh
108419 fi
108420
108421
108422   as_lineno_1=$LINENO
108423   as_lineno_2=$LINENO
108424   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
108425   test "x$as_lineno_1" != "x$as_lineno_2" &&
108426   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
108427   # Find who we are.  Look in the path if we contain no path at all
108428   # relative or not.
108429   case $0 in
108430     *[\\/]* ) as_myself=$0 ;;
108431     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
108432 for as_dir in $PATH
108433 do
108434   IFS=$as_save_IFS
108435   test -z "$as_dir" && as_dir=.
108436   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108437 done
108438
108439        ;;
108440   esac
108441   # We did not find ourselves, most probably we were run as `sh COMMAND'
108442   # in which case we are not to be found in the path.
108443   if test "x$as_myself" = x; then
108444     as_myself=$0
108445   fi
108446   if test ! -f "$as_myself"; then
108447     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
108448 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
108449    { (exit 1); exit 1; }; }
108450   fi
108451   case $CONFIG_SHELL in
108452   '')
108453     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
108454 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
108455 do
108456   IFS=$as_save_IFS
108457   test -z "$as_dir" && as_dir=.
108458   for as_base in sh bash ksh sh5; do
108459          case $as_dir in
108460          /*)
108461            if ("$as_dir/$as_base" -c '
108462   as_lineno_1=$LINENO
108463   as_lineno_2=$LINENO
108464   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
108465   test "x$as_lineno_1" != "x$as_lineno_2" &&
108466   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
108467              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
108468              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
108469              CONFIG_SHELL=$as_dir/$as_base
108470              export CONFIG_SHELL
108471              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
108472            fi;;
108473          esac
108474        done
108475 done
108476 ;;
108477   esac
108478
108479   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
108480   # uniformly replaced by the line number.  The first 'sed' inserts a
108481   # line-number line before each line; the second 'sed' does the real
108482   # work.  The second script uses 'N' to pair each line-number line
108483   # with the numbered line, and appends trailing '-' during
108484   # substitution so that $LINENO is not a special case at line end.
108485   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
108486   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
108487   sed '=' <$as_myself |
108488     sed '
108489       N
108490       s,$,-,
108491       : loop
108492       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
108493       t loop
108494       s,-$,,
108495       s,^['$as_cr_digits']*\n,,
108496     ' >$as_me.lineno &&
108497   chmod +x $as_me.lineno ||
108498     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
108499 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
108500    { (exit 1); exit 1; }; }
108501
108502   # Don't try to exec as it changes $[0], causing all sort of problems
108503   # (the dirname of $[0] is not the place where we might find the
108504   # original and so on.  Autoconf is especially sensible to this).
108505   . ./$as_me.lineno
108506   # Exit status is that of the last command.
108507   exit
108508 }
108509
108510
108511 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
108512   *c*,-n*) ECHO_N= ECHO_C='
108513 ' ECHO_T='      ' ;;
108514   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
108515   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
108516 esac
108517
108518 if expr a : '\(a\)' >/dev/null 2>&1; then
108519   as_expr=expr
108520 else
108521   as_expr=false
108522 fi
108523
108524 rm -f conf$$ conf$$.exe conf$$.file
108525 echo >conf$$.file
108526 if ln -s conf$$.file conf$$ 2>/dev/null; then
108527   # We could just check for DJGPP; but this test a) works b) is more generic
108528   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
108529   if test -f conf$$.exe; then
108530     # Don't use ln at all; we don't have any links
108531     as_ln_s='cp -p'
108532   else
108533     as_ln_s='ln -s'
108534   fi
108535 elif ln conf$$.file conf$$ 2>/dev/null; then
108536   as_ln_s=ln
108537 else
108538   as_ln_s='cp -p'
108539 fi
108540 rm -f conf$$ conf$$.exe conf$$.file
108541
108542 if mkdir -p . 2>/dev/null; then
108543   as_mkdir_p=:
108544 else
108545   test -d ./-p && rmdir ./-p
108546   as_mkdir_p=false
108547 fi
108548
108549 as_executable_p="test -f"
108550
108551 # Sed expression to map a string onto a valid CPP name.
108552 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
108553
108554 # Sed expression to map a string onto a valid variable name.
108555 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
108556
108557
108558 # IFS
108559 # We need space, tab and new line, in precisely that order.
108560 as_nl='
108561 '
108562 IFS="   $as_nl"
108563
108564 # CDPATH.
108565 $as_unset CDPATH
108566
108567 exec 6>&1
108568
108569 # Open the log real soon, to keep \$[0] and so on meaningful, and to
108570 # report actual input values of CONFIG_FILES etc. instead of their
108571 # values after options handling.  Logging --version etc. is OK.
108572 exec 5>>config.log
108573 {
108574   echo
108575   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
108576 ## Running $as_me. ##
108577 _ASBOX
108578 } >&5
108579 cat >&5 <<_CSEOF
108580
108581 This file was extended by package-unused $as_me version-unused, which was
108582 generated by GNU Autoconf 2.59.  Invocation command line was
108583
108584   CONFIG_FILES    = $CONFIG_FILES
108585   CONFIG_HEADERS  = $CONFIG_HEADERS
108586   CONFIG_LINKS    = $CONFIG_LINKS
108587   CONFIG_COMMANDS = $CONFIG_COMMANDS
108588   $ $0 $@
108589
108590 _CSEOF
108591 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
108592 echo >&5
108593 _ACEOF
108594
108595 # Files that config.status was made for.
108596 if test -n "$ac_config_files"; then
108597   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
108598 fi
108599
108600 if test -n "$ac_config_headers"; then
108601   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
108602 fi
108603
108604 if test -n "$ac_config_links"; then
108605   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
108606 fi
108607
108608 if test -n "$ac_config_commands"; then
108609   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
108610 fi
108611
108612 cat >>$CONFIG_STATUS <<\_ACEOF
108613
108614 ac_cs_usage="\
108615 \`$as_me' instantiates files from templates according to the
108616 current configuration.
108617
108618 Usage: $0 [OPTIONS] [FILE]...
108619
108620   -h, --help       print this help, then exit
108621   -V, --version    print version number, then exit
108622   -q, --quiet      do not print progress messages
108623   -d, --debug      don't remove temporary files
108624       --recheck    update $as_me by reconfiguring in the same conditions
108625   --file=FILE[:TEMPLATE]
108626                    instantiate the configuration file FILE
108627   --header=FILE[:TEMPLATE]
108628                    instantiate the configuration header FILE
108629
108630 Configuration files:
108631 $config_files
108632
108633 Configuration headers:
108634 $config_headers
108635
108636 Configuration commands:
108637 $config_commands
108638
108639 Report bugs to <bug-autoconf@gnu.org>."
108640 _ACEOF
108641
108642 cat >>$CONFIG_STATUS <<_ACEOF
108643 ac_cs_version="\\
108644 package-unused config.status version-unused
108645 configured by $0, generated by GNU Autoconf 2.59,
108646   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
108647
108648 Copyright (C) 2003 Free Software Foundation, Inc.
108649 This config.status script is free software; the Free Software Foundation
108650 gives unlimited permission to copy, distribute and modify it."
108651 srcdir=$srcdir
108652 INSTALL="$INSTALL"
108653 _ACEOF
108654
108655 cat >>$CONFIG_STATUS <<\_ACEOF
108656 # If no file are specified by the user, then we need to provide default
108657 # value.  By we need to know if files were specified by the user.
108658 ac_need_defaults=:
108659 while test $# != 0
108660 do
108661   case $1 in
108662   --*=*)
108663     ac_option=`expr "x$1" : 'x\([^=]*\)='`
108664     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
108665     ac_shift=:
108666     ;;
108667   -*)
108668     ac_option=$1
108669     ac_optarg=$2
108670     ac_shift=shift
108671     ;;
108672   *) # This is not an option, so the user has probably given explicit
108673      # arguments.
108674      ac_option=$1
108675      ac_need_defaults=false;;
108676   esac
108677
108678   case $ac_option in
108679   # Handling of the options.
108680 _ACEOF
108681 cat >>$CONFIG_STATUS <<\_ACEOF
108682   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
108683     ac_cs_recheck=: ;;
108684   --version | --vers* | -V )
108685     echo "$ac_cs_version"; exit 0 ;;
108686   --he | --h)
108687     # Conflict between --help and --header
108688     { { echo "$as_me:$LINENO: error: ambiguous option: $1
108689 Try \`$0 --help' for more information." >&5
108690 echo "$as_me: error: ambiguous option: $1
108691 Try \`$0 --help' for more information." >&2;}
108692    { (exit 1); exit 1; }; };;
108693   --help | --hel | -h )
108694     echo "$ac_cs_usage"; exit 0 ;;
108695   --debug | --d* | -d )
108696     debug=: ;;
108697   --file | --fil | --fi | --f )
108698     $ac_shift
108699     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
108700     ac_need_defaults=false;;
108701   --header | --heade | --head | --hea )
108702     $ac_shift
108703     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
108704     ac_need_defaults=false;;
108705   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
108706   | -silent | --silent | --silen | --sile | --sil | --si | --s)
108707     ac_cs_silent=: ;;
108708
108709   # This is an error.
108710   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
108711 Try \`$0 --help' for more information." >&5
108712 echo "$as_me: error: unrecognized option: $1
108713 Try \`$0 --help' for more information." >&2;}
108714    { (exit 1); exit 1; }; } ;;
108715
108716   *) ac_config_targets="$ac_config_targets $1" ;;
108717
108718   esac
108719   shift
108720 done
108721
108722 ac_configure_extra_args=
108723
108724 if $ac_cs_silent; then
108725   exec 6>/dev/null
108726   ac_configure_extra_args="$ac_configure_extra_args --silent"
108727 fi
108728
108729 _ACEOF
108730 cat >>$CONFIG_STATUS <<_ACEOF
108731 if \$ac_cs_recheck; then
108732   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
108733   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
108734 fi
108735
108736 _ACEOF
108737
108738 cat >>$CONFIG_STATUS <<_ACEOF
108739 #
108740 # INIT-COMMANDS section.
108741 #
108742
108743
108744 srcdir="$srcdir"
108745 host="$host"
108746 target="$target"
108747 with_multisubdir="$with_multisubdir"
108748 with_multisrctop="$with_multisrctop"
108749 with_target_subdir="$with_target_subdir"
108750 ac_configure_args="${multilib_arg} ${ac_configure_args}"
108751 multi_basedir="$multi_basedir"
108752 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
108753 CC="$CC"
108754
108755
108756 # The HP-UX ksh and POSIX shell print the target directory to stdout
108757 # if CDPATH is set.
108758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
108759
108760 sed_quote_subst='$sed_quote_subst'
108761 double_quote_subst='$double_quote_subst'
108762 delay_variable_subst='$delay_variable_subst'
108763 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
108764 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
108765 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
108766 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
108767 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
108768 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
108769 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
108770 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
108771 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
108772 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
108773 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
108774 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
108775 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
108776 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
108777 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
108778 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
108779 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
108780 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
108781 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
108782 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
108783 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
108784 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
108785 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
108786 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
108787 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
108788 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
108789 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
108790 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108791 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
108792 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
108793 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
108794 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
108795 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
108796 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
108797 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108798 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108799 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108800 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
108801 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
108802 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
108803 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
108804 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
108805 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
108806 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"`'
108807 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
108808 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
108809 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
108810 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
108811 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
108812 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
108813 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
108814 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
108815 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
108816 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
108817 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
108818 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108819 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108820 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
108821 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
108822 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
108823 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
108824 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
108825 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108826 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108827 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108828 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108829 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108830 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108831 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
108832 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
108833 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
108834 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
108835 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
108836 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
108837 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
108838 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
108839 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
108840 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
108841 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
108842 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
108843 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
108844 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
108845 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
108846 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108847 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
108848 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
108849 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108850 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
108851 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
108852 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
108853 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
108854 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
108855 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
108856 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
108857 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
108858 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
108859 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
108860 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
108861 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108862 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108863 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
108864 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
108865 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
108866 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
108867 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
108868 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
108869 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
108870 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
108871 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
108872 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
108873 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
108874 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
108875 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
108876 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
108877 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
108878 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
108879 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108880 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108881 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108882 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108883 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108884 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108885 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108886 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108887 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108888 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108889 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108890 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108891 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108892 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108893 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108894 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108895 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108896 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108897 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108898 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108899 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108900 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108901 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108902 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108903 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108904 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108905 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108906 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108907 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108908 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108909 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108910 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108911 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108912 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108913 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108914 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108915 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108916 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108917 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108918 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108919 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108920 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108921 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108922 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108923 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108924 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
108925
108926 LTCC='$LTCC'
108927 LTCFLAGS='$LTCFLAGS'
108928 compiler='$compiler_DEFAULT'
108929
108930 # Quote evaled strings.
108931 for var in SED \
108932 GREP \
108933 EGREP \
108934 FGREP \
108935 LD \
108936 NM \
108937 LN_S \
108938 lt_SP2NL \
108939 lt_NL2SP \
108940 reload_flag \
108941 deplibs_check_method \
108942 file_magic_cmd \
108943 AR \
108944 AR_FLAGS \
108945 STRIP \
108946 RANLIB \
108947 CC \
108948 CFLAGS \
108949 compiler \
108950 lt_cv_sys_global_symbol_pipe \
108951 lt_cv_sys_global_symbol_to_cdecl \
108952 lt_cv_sys_global_symbol_to_c_name_address \
108953 SHELL \
108954 ECHO \
108955 lt_prog_compiler_no_builtin_flag \
108956 lt_prog_compiler_wl \
108957 lt_prog_compiler_pic \
108958 lt_prog_compiler_static \
108959 lt_cv_prog_compiler_c_o \
108960 need_locks \
108961 shrext_cmds \
108962 export_dynamic_flag_spec \
108963 whole_archive_flag_spec \
108964 compiler_needs_object \
108965 with_gnu_ld \
108966 allow_undefined_flag \
108967 no_undefined_flag \
108968 hardcode_libdir_flag_spec \
108969 hardcode_libdir_flag_spec_ld \
108970 hardcode_libdir_separator \
108971 fix_srcfile_path \
108972 exclude_expsyms \
108973 include_expsyms \
108974 file_list_spec \
108975 variables_saved_for_relink \
108976 libname_spec \
108977 library_names_spec \
108978 soname_spec \
108979 finish_eval \
108980 old_striplib \
108981 striplib \
108982 predep_objects \
108983 postdep_objects \
108984 predeps \
108985 postdeps \
108986 compiler_lib_search_path \
108987 LD_CXX \
108988 compiler_CXX \
108989 lt_prog_compiler_no_builtin_flag_CXX \
108990 lt_prog_compiler_wl_CXX \
108991 lt_prog_compiler_pic_CXX \
108992 lt_prog_compiler_static_CXX \
108993 lt_cv_prog_compiler_c_o_CXX \
108994 export_dynamic_flag_spec_CXX \
108995 whole_archive_flag_spec_CXX \
108996 compiler_needs_object_CXX \
108997 with_gnu_ld_CXX \
108998 allow_undefined_flag_CXX \
108999 no_undefined_flag_CXX \
109000 hardcode_libdir_flag_spec_CXX \
109001 hardcode_libdir_flag_spec_ld_CXX \
109002 hardcode_libdir_separator_CXX \
109003 fix_srcfile_path_CXX \
109004 exclude_expsyms_CXX \
109005 include_expsyms_CXX \
109006 file_list_spec_CXX \
109007 predep_objects_CXX \
109008 postdep_objects_CXX \
109009 predeps_CXX \
109010 postdeps_CXX \
109011 compiler_lib_search_path_CXX; do
109012     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
109013     *[\\\\\\\`\\"\\\$]*)
109014       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
109015       ;;
109016     *)
109017       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
109018       ;;
109019     esac
109020 done
109021
109022 # Double-quote double-evaled strings.
109023 for var in reload_cmds \
109024 old_postinstall_cmds \
109025 old_postuninstall_cmds \
109026 old_archive_cmds \
109027 extract_expsyms_cmds \
109028 old_archive_from_new_cmds \
109029 old_archive_from_expsyms_cmds \
109030 archive_cmds \
109031 archive_expsym_cmds \
109032 module_cmds \
109033 module_expsym_cmds \
109034 export_symbols_cmds \
109035 prelink_cmds \
109036 postinstall_cmds \
109037 postuninstall_cmds \
109038 finish_cmds \
109039 sys_lib_search_path_spec \
109040 sys_lib_dlsearch_path_spec \
109041 old_archive_cmds_CXX \
109042 old_archive_from_new_cmds_CXX \
109043 old_archive_from_expsyms_cmds_CXX \
109044 archive_cmds_CXX \
109045 archive_expsym_cmds_CXX \
109046 module_cmds_CXX \
109047 module_expsym_cmds_CXX \
109048 export_symbols_cmds_CXX \
109049 prelink_cmds_CXX; do
109050     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
109051     *[\\\\\\\`\\"\\\$]*)
109052       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
109053       ;;
109054     *)
109055       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
109056       ;;
109057     esac
109058 done
109059
109060 # Fix-up fallback echo if it was mangled by the above quoting rules.
109061 case \$lt_ECHO in
109062 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
109063   ;;
109064 esac
109065
109066 ac_aux_dir='$ac_aux_dir'
109067 xsi_shell='$xsi_shell'
109068 lt_shell_append='$lt_shell_append'
109069
109070 # See if we are running on zsh, and set the options which allow our
109071 # commands through without removal of \ escapes INIT.
109072 if test -n "\${ZSH_VERSION+set}" ; then
109073    setopt NO_GLOB_SUBST
109074 fi
109075
109076
109077     PACKAGE='$PACKAGE'
109078     VERSION='$VERSION'
109079     TIMESTAMP='$TIMESTAMP'
109080     RM='$RM'
109081     ofile='$ofile'
109082
109083
109084
109085
109086
109087
109088 GCC="$GCC"
109089 CC="$CC"
109090 acx_cv_header_stdint="$acx_cv_header_stdint"
109091 acx_cv_type_int8_t="$acx_cv_type_int8_t"
109092 acx_cv_type_int16_t="$acx_cv_type_int16_t"
109093 acx_cv_type_int32_t="$acx_cv_type_int32_t"
109094 acx_cv_type_int64_t="$acx_cv_type_int64_t"
109095 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
109096 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
109097 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
109098 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
109099 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
109100 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
109101 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
109102 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
109103 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
109104
109105
109106 # Variables needed in config.status (file generation) which aren't already
109107 # passed by autoconf.
109108 SUBDIRS="$SUBDIRS"
109109
109110
109111 _ACEOF
109112
109113
109114
109115 cat >>$CONFIG_STATUS <<\_ACEOF
109116 for ac_config_target in $ac_config_targets
109117 do
109118   case "$ac_config_target" in
109119   # Handling of arguments.
109120   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
109121   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
109122   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
109123   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
109124   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
109125   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
109126   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
109127   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
109128   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
109129   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
109130   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
109131   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
109132   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
109133   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
109134   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
109135 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
109136    { (exit 1); exit 1; }; };;
109137   esac
109138 done
109139
109140 # If the user did not use the arguments to specify the items to instantiate,
109141 # then the envvar interface is used.  Set only those that are not.
109142 # We use the long form for the default assignment because of an extremely
109143 # bizarre bug on SunOS 4.1.3.
109144 if $ac_need_defaults; then
109145   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
109146   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
109147   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
109148 fi
109149
109150 # Have a temporary directory for convenience.  Make it in the build tree
109151 # simply because there is no reason to put it here, and in addition,
109152 # creating and moving files from /tmp can sometimes cause problems.
109153 # Create a temporary directory, and hook for its removal unless debugging.
109154 $debug ||
109155 {
109156   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
109157   trap '{ (exit 1); exit 1; }' 1 2 13 15
109158 }
109159
109160 # Create a (secure) tmp directory for tmp files.
109161
109162 {
109163   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
109164   test -n "$tmp" && test -d "$tmp"
109165 }  ||
109166 {
109167   tmp=./confstat$$-$RANDOM
109168   (umask 077 && mkdir $tmp)
109169 } ||
109170 {
109171    echo "$me: cannot create a temporary directory in ." >&2
109172    { (exit 1); exit 1; }
109173 }
109174
109175 _ACEOF
109176
109177 cat >>$CONFIG_STATUS <<_ACEOF
109178
109179 #
109180 # CONFIG_FILES section.
109181 #
109182
109183 # No need to generate the scripts if there are no CONFIG_FILES.
109184 # This happens for instance when ./config.status config.h
109185 if test -n "\$CONFIG_FILES"; then
109186   # Protect against being on the right side of a sed subst in config.status.
109187   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
109188    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
109189 s,@SHELL@,$SHELL,;t t
109190 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
109191 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
109192 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
109193 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
109194 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
109195 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
109196 s,@exec_prefix@,$exec_prefix,;t t
109197 s,@prefix@,$prefix,;t t
109198 s,@program_transform_name@,$program_transform_name,;t t
109199 s,@bindir@,$bindir,;t t
109200 s,@sbindir@,$sbindir,;t t
109201 s,@libexecdir@,$libexecdir,;t t
109202 s,@datadir@,$datadir,;t t
109203 s,@sysconfdir@,$sysconfdir,;t t
109204 s,@sharedstatedir@,$sharedstatedir,;t t
109205 s,@localstatedir@,$localstatedir,;t t
109206 s,@libdir@,$libdir,;t t
109207 s,@includedir@,$includedir,;t t
109208 s,@oldincludedir@,$oldincludedir,;t t
109209 s,@infodir@,$infodir,;t t
109210 s,@mandir@,$mandir,;t t
109211 s,@build_alias@,$build_alias,;t t
109212 s,@host_alias@,$host_alias,;t t
109213 s,@target_alias@,$target_alias,;t t
109214 s,@DEFS@,$DEFS,;t t
109215 s,@ECHO_C@,$ECHO_C,;t t
109216 s,@ECHO_N@,$ECHO_N,;t t
109217 s,@ECHO_T@,$ECHO_T,;t t
109218 s,@LIBS@,$LIBS,;t t
109219 s,@libtool_VERSION@,$libtool_VERSION,;t t
109220 s,@multi_basedir@,$multi_basedir,;t t
109221 s,@build@,$build,;t t
109222 s,@build_cpu@,$build_cpu,;t t
109223 s,@build_vendor@,$build_vendor,;t t
109224 s,@build_os@,$build_os,;t t
109225 s,@host@,$host,;t t
109226 s,@host_cpu@,$host_cpu,;t t
109227 s,@host_vendor@,$host_vendor,;t t
109228 s,@host_os@,$host_os,;t t
109229 s,@target@,$target,;t t
109230 s,@target_cpu@,$target_cpu,;t t
109231 s,@target_vendor@,$target_vendor,;t t
109232 s,@target_os@,$target_os,;t t
109233 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
109234 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
109235 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
109236 s,@CYGPATH_W@,$CYGPATH_W,;t t
109237 s,@PACKAGE@,$PACKAGE,;t t
109238 s,@VERSION@,$VERSION,;t t
109239 s,@ACLOCAL@,$ACLOCAL,;t t
109240 s,@AUTOCONF@,$AUTOCONF,;t t
109241 s,@AUTOMAKE@,$AUTOMAKE,;t t
109242 s,@AUTOHEADER@,$AUTOHEADER,;t t
109243 s,@MAKEINFO@,$MAKEINFO,;t t
109244 s,@install_sh@,$install_sh,;t t
109245 s,@STRIP@,$STRIP,;t t
109246 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
109247 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
109248 s,@mkdir_p@,$mkdir_p,;t t
109249 s,@AWK@,$AWK,;t t
109250 s,@SET_MAKE@,$SET_MAKE,;t t
109251 s,@am__leading_dot@,$am__leading_dot,;t t
109252 s,@AMTAR@,$AMTAR,;t t
109253 s,@am__tar@,$am__tar,;t t
109254 s,@am__untar@,$am__untar,;t t
109255 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
109256 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
109257 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
109258 s,@CC@,$CC,;t t
109259 s,@ac_ct_CC@,$ac_ct_CC,;t t
109260 s,@EXEEXT@,$EXEEXT,;t t
109261 s,@OBJEXT@,$OBJEXT,;t t
109262 s,@CXX@,$CXX,;t t
109263 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
109264 s,@CFLAGS@,$CFLAGS,;t t
109265 s,@CXXFLAGS@,$CXXFLAGS,;t t
109266 s,@LN_S@,$LN_S,;t t
109267 s,@AS@,$AS,;t t
109268 s,@ac_ct_AS@,$ac_ct_AS,;t t
109269 s,@AR@,$AR,;t t
109270 s,@ac_ct_AR@,$ac_ct_AR,;t t
109271 s,@RANLIB@,$RANLIB,;t t
109272 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
109273 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
109274 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
109275 s,@MAINT@,$MAINT,;t t
109276 s,@CPP@,$CPP,;t t
109277 s,@CPPFLAGS@,$CPPFLAGS,;t t
109278 s,@EGREP@,$EGREP,;t t
109279 s,@LIBTOOL@,$LIBTOOL,;t t
109280 s,@SED@,$SED,;t t
109281 s,@FGREP@,$FGREP,;t t
109282 s,@GREP@,$GREP,;t t
109283 s,@LD@,$LD,;t t
109284 s,@DUMPBIN@,$DUMPBIN,;t t
109285 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
109286 s,@NM@,$NM,;t t
109287 s,@lt_ECHO@,$lt_ECHO,;t t
109288 s,@LDFLAGS@,$LDFLAGS,;t t
109289 s,@CXXCPP@,$CXXCPP,;t t
109290 s,@enable_shared@,$enable_shared,;t t
109291 s,@enable_static@,$enable_static,;t t
109292 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
109293 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
109294 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
109295 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
109296 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
109297 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
109298 s,@WERROR@,$WERROR,;t t
109299 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
109300 s,@CSTDIO_H@,$CSTDIO_H,;t t
109301 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
109302 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
109303 s,@check_msgfmt@,$check_msgfmt,;t t
109304 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
109305 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
109306 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
109307 s,@USE_NLS@,$USE_NLS,;t t
109308 s,@CLOCALE_H@,$CLOCALE_H,;t t
109309 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
109310 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
109311 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
109312 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
109313 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
109314 s,@CMONEY_CC@,$CMONEY_CC,;t t
109315 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
109316 s,@CTIME_H@,$CTIME_H,;t t
109317 s,@CTIME_CC@,$CTIME_CC,;t t
109318 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
109319 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
109320 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
109321 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
109322 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
109323 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
109324 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
109325 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
109326 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
109327 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
109328 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
109329 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
109330 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
109331 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
109332 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
109333 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
109334 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
109335 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
109336 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
109337 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
109338 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
109339 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
109340 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
109341 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
109342 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
109343 s,@LIBICONV@,$LIBICONV,;t t
109344 s,@LTLIBICONV@,$LTLIBICONV,;t t
109345 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
109346 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
109347 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
109348 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
109349 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
109350 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
109351 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
109352 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
109353 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
109354 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
109355 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
109356 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
109357 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
109358 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
109359 s,@baseline_dir@,$baseline_dir,;t t
109360 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
109361 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
109362 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
109363 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
109364 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
109365 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
109366 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
109367 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
109368 s,@gxx_include_dir@,$gxx_include_dir,;t t
109369 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
109370 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
109371 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
109372 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
109373 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
109374 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
109375 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
109376 s,@LIBOBJS@,$LIBOBJS,;t t
109377 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
109378 CEOF
109379
109380 _ACEOF
109381
109382   cat >>$CONFIG_STATUS <<\_ACEOF
109383   # Split the substitutions into bite-sized pieces for seds with
109384   # small command number limits, like on Digital OSF/1 and HP-UX.
109385   ac_max_sed_lines=48
109386   ac_sed_frag=1 # Number of current file.
109387   ac_beg=1 # First line for current file.
109388   ac_end=$ac_max_sed_lines # Line after last line for current file.
109389   ac_more_lines=:
109390   ac_sed_cmds=
109391   while $ac_more_lines; do
109392     if test $ac_beg -gt 1; then
109393       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
109394     else
109395       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
109396     fi
109397     if test ! -s $tmp/subs.frag; then
109398       ac_more_lines=false
109399     else
109400       # The purpose of the label and of the branching condition is to
109401       # speed up the sed processing (if there are no `@' at all, there
109402       # is no need to browse any of the substitutions).
109403       # These are the two extra sed commands mentioned above.
109404       (echo ':t
109405   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
109406       if test -z "$ac_sed_cmds"; then
109407         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
109408       else
109409         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
109410       fi
109411       ac_sed_frag=`expr $ac_sed_frag + 1`
109412       ac_beg=$ac_end
109413       ac_end=`expr $ac_end + $ac_max_sed_lines`
109414     fi
109415   done
109416   if test -z "$ac_sed_cmds"; then
109417     ac_sed_cmds=cat
109418   fi
109419 fi # test -n "$CONFIG_FILES"
109420
109421 _ACEOF
109422 cat >>$CONFIG_STATUS <<\_ACEOF
109423 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
109424   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
109425   case $ac_file in
109426   - | *:- | *:-:* ) # input from stdin
109427         cat >$tmp/stdin
109428         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
109429         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
109430   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
109431         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
109432   * )   ac_file_in=$ac_file.in ;;
109433   esac
109434
109435   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
109436   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
109437 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109438          X"$ac_file" : 'X\(//\)[^/]' \| \
109439          X"$ac_file" : 'X\(//\)$' \| \
109440          X"$ac_file" : 'X\(/\)' \| \
109441          .     : '\(.\)' 2>/dev/null ||
109442 echo X"$ac_file" |
109443     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109444           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109445           /^X\(\/\/\)$/{ s//\1/; q; }
109446           /^X\(\/\).*/{ s//\1/; q; }
109447           s/.*/./; q'`
109448   { if $as_mkdir_p; then
109449     mkdir -p "$ac_dir"
109450   else
109451     as_dir="$ac_dir"
109452     as_dirs=
109453     while test ! -d "$as_dir"; do
109454       as_dirs="$as_dir $as_dirs"
109455       as_dir=`(dirname "$as_dir") 2>/dev/null ||
109456 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109457          X"$as_dir" : 'X\(//\)[^/]' \| \
109458          X"$as_dir" : 'X\(//\)$' \| \
109459          X"$as_dir" : 'X\(/\)' \| \
109460          .     : '\(.\)' 2>/dev/null ||
109461 echo X"$as_dir" |
109462     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109463           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109464           /^X\(\/\/\)$/{ s//\1/; q; }
109465           /^X\(\/\).*/{ s//\1/; q; }
109466           s/.*/./; q'`
109467     done
109468     test ! -n "$as_dirs" || mkdir $as_dirs
109469   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
109470 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
109471    { (exit 1); exit 1; }; }; }
109472
109473   ac_builddir=.
109474
109475 if test "$ac_dir" != .; then
109476   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
109477   # A "../" for each directory in $ac_dir_suffix.
109478   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
109479 else
109480   ac_dir_suffix= ac_top_builddir=
109481 fi
109482
109483 case $srcdir in
109484   .)  # No --srcdir option.  We are building in place.
109485     ac_srcdir=.
109486     if test -z "$ac_top_builddir"; then
109487        ac_top_srcdir=.
109488     else
109489        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
109490     fi ;;
109491   [\\/]* | ?:[\\/]* )  # Absolute path.
109492     ac_srcdir=$srcdir$ac_dir_suffix;
109493     ac_top_srcdir=$srcdir ;;
109494   *) # Relative path.
109495     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
109496     ac_top_srcdir=$ac_top_builddir$srcdir ;;
109497 esac
109498
109499 # Do not use `cd foo && pwd` to compute absolute paths, because
109500 # the directories may not exist.
109501 case `pwd` in
109502 .) ac_abs_builddir="$ac_dir";;
109503 *)
109504   case "$ac_dir" in
109505   .) ac_abs_builddir=`pwd`;;
109506   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
109507   *) ac_abs_builddir=`pwd`/"$ac_dir";;
109508   esac;;
109509 esac
109510 case $ac_abs_builddir in
109511 .) ac_abs_top_builddir=${ac_top_builddir}.;;
109512 *)
109513   case ${ac_top_builddir}. in
109514   .) ac_abs_top_builddir=$ac_abs_builddir;;
109515   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
109516   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
109517   esac;;
109518 esac
109519 case $ac_abs_builddir in
109520 .) ac_abs_srcdir=$ac_srcdir;;
109521 *)
109522   case $ac_srcdir in
109523   .) ac_abs_srcdir=$ac_abs_builddir;;
109524   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
109525   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
109526   esac;;
109527 esac
109528 case $ac_abs_builddir in
109529 .) ac_abs_top_srcdir=$ac_top_srcdir;;
109530 *)
109531   case $ac_top_srcdir in
109532   .) ac_abs_top_srcdir=$ac_abs_builddir;;
109533   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
109534   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
109535   esac;;
109536 esac
109537
109538
109539   case $INSTALL in
109540   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
109541   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
109542   esac
109543
109544   if test x"$ac_file" != x-; then
109545     { echo "$as_me:$LINENO: creating $ac_file" >&5
109546 echo "$as_me: creating $ac_file" >&6;}
109547     rm -f "$ac_file"
109548   fi
109549   # Let's still pretend it is `configure' which instantiates (i.e., don't
109550   # use $as_me), people would be surprised to read:
109551   #    /* config.h.  Generated by config.status.  */
109552   if test x"$ac_file" = x-; then
109553     configure_input=
109554   else
109555     configure_input="$ac_file.  "
109556   fi
109557   configure_input=$configure_input"Generated from `echo $ac_file_in |
109558                                      sed 's,.*/,,'` by configure."
109559
109560   # First look for the input files in the build tree, otherwise in the
109561   # src tree.
109562   ac_file_inputs=`IFS=:
109563     for f in $ac_file_in; do
109564       case $f in
109565       -) echo $tmp/stdin ;;
109566       [\\/$]*)
109567          # Absolute (can't be DOS-style, as IFS=:)
109568          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
109569 echo "$as_me: error: cannot find input file: $f" >&2;}
109570    { (exit 1); exit 1; }; }
109571          echo "$f";;
109572       *) # Relative
109573          if test -f "$f"; then
109574            # Build tree
109575            echo "$f"
109576          elif test -f "$srcdir/$f"; then
109577            # Source tree
109578            echo "$srcdir/$f"
109579          else
109580            # /dev/null tree
109581            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
109582 echo "$as_me: error: cannot find input file: $f" >&2;}
109583    { (exit 1); exit 1; }; }
109584          fi;;
109585       esac
109586     done` || { (exit 1); exit 1; }
109587 _ACEOF
109588 cat >>$CONFIG_STATUS <<_ACEOF
109589   sed "$ac_vpsub
109590 $extrasub
109591 _ACEOF
109592 cat >>$CONFIG_STATUS <<\_ACEOF
109593 :t
109594 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
109595 s,@configure_input@,$configure_input,;t t
109596 s,@srcdir@,$ac_srcdir,;t t
109597 s,@abs_srcdir@,$ac_abs_srcdir,;t t
109598 s,@top_srcdir@,$ac_top_srcdir,;t t
109599 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
109600 s,@builddir@,$ac_builddir,;t t
109601 s,@abs_builddir@,$ac_abs_builddir,;t t
109602 s,@top_builddir@,$ac_top_builddir,;t t
109603 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
109604 s,@INSTALL@,$ac_INSTALL,;t t
109605 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
109606   rm -f $tmp/stdin
109607   if test x"$ac_file" != x-; then
109608     mv $tmp/out $ac_file
109609   else
109610     cat $tmp/out
109611     rm -f $tmp/out
109612   fi
109613
109614   # Run the commands associated with the file.
109615   case $ac_file in
109616     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
109617   esac
109618 done
109619 _ACEOF
109620 cat >>$CONFIG_STATUS <<\_ACEOF
109621
109622 #
109623 # CONFIG_HEADER section.
109624 #
109625
109626 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
109627 # NAME is the cpp macro being defined and VALUE is the value it is being given.
109628 #
109629 # ac_d sets the value in "#define NAME VALUE" lines.
109630 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
109631 ac_dB='[         ].*$,\1#\2'
109632 ac_dC=' '
109633 ac_dD=',;t'
109634 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
109635 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
109636 ac_uB='$,\1#\2define\3'
109637 ac_uC=' '
109638 ac_uD=',;t'
109639
109640 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
109641   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
109642   case $ac_file in
109643   - | *:- | *:-:* ) # input from stdin
109644         cat >$tmp/stdin
109645         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
109646         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
109647   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
109648         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
109649   * )   ac_file_in=$ac_file.in ;;
109650   esac
109651
109652   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
109653 echo "$as_me: creating $ac_file" >&6;}
109654
109655   # First look for the input files in the build tree, otherwise in the
109656   # src tree.
109657   ac_file_inputs=`IFS=:
109658     for f in $ac_file_in; do
109659       case $f in
109660       -) echo $tmp/stdin ;;
109661       [\\/$]*)
109662          # Absolute (can't be DOS-style, as IFS=:)
109663          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
109664 echo "$as_me: error: cannot find input file: $f" >&2;}
109665    { (exit 1); exit 1; }; }
109666          # Do quote $f, to prevent DOS paths from being IFS'd.
109667          echo "$f";;
109668       *) # Relative
109669          if test -f "$f"; then
109670            # Build tree
109671            echo "$f"
109672          elif test -f "$srcdir/$f"; then
109673            # Source tree
109674            echo "$srcdir/$f"
109675          else
109676            # /dev/null tree
109677            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
109678 echo "$as_me: error: cannot find input file: $f" >&2;}
109679    { (exit 1); exit 1; }; }
109680          fi;;
109681       esac
109682     done` || { (exit 1); exit 1; }
109683   # Remove the trailing spaces.
109684   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
109685
109686 _ACEOF
109687
109688 # Transform confdefs.h into two sed scripts, `conftest.defines' and
109689 # `conftest.undefs', that substitutes the proper values into
109690 # config.h.in to produce config.h.  The first handles `#define'
109691 # templates, and the second `#undef' templates.
109692 # And first: Protect against being on the right side of a sed subst in
109693 # config.status.  Protect against being in an unquoted here document
109694 # in config.status.
109695 rm -f conftest.defines conftest.undefs
109696 # Using a here document instead of a string reduces the quoting nightmare.
109697 # Putting comments in sed scripts is not portable.
109698 #
109699 # `end' is used to avoid that the second main sed command (meant for
109700 # 0-ary CPP macros) applies to n-ary macro definitions.
109701 # See the Autoconf documentation for `clear'.
109702 cat >confdef2sed.sed <<\_ACEOF
109703 s/[\\&,]/\\&/g
109704 s,[\\$`],\\&,g
109705 t clear
109706 : clear
109707 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
109708 t end
109709 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
109710 : end
109711 _ACEOF
109712 # If some macros were called several times there might be several times
109713 # the same #defines, which is useless.  Nevertheless, we may not want to
109714 # sort them, since we want the *last* AC-DEFINE to be honored.
109715 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
109716 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
109717 rm -f confdef2sed.sed
109718
109719 # This sed command replaces #undef with comments.  This is necessary, for
109720 # example, in the case of _POSIX_SOURCE, which is predefined and required
109721 # on some systems where configure will not decide to define it.
109722 cat >>conftest.undefs <<\_ACEOF
109723 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
109724 _ACEOF
109725
109726 # Break up conftest.defines because some shells have a limit on the size
109727 # of here documents, and old seds have small limits too (100 cmds).
109728 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
109729 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
109730 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
109731 echo '  :' >>$CONFIG_STATUS
109732 rm -f conftest.tail
109733 while grep . conftest.defines >/dev/null
109734 do
109735   # Write a limited-size here document to $tmp/defines.sed.
109736   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
109737   # Speed up: don't consider the non `#define' lines.
109738   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
109739   # Work around the forget-to-reset-the-flag bug.
109740   echo 't clr' >>$CONFIG_STATUS
109741   echo ': clr' >>$CONFIG_STATUS
109742   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
109743   echo 'CEOF
109744   sed -f $tmp/defines.sed $tmp/in >$tmp/out
109745   rm -f $tmp/in
109746   mv $tmp/out $tmp/in
109747 ' >>$CONFIG_STATUS
109748   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
109749   rm -f conftest.defines
109750   mv conftest.tail conftest.defines
109751 done
109752 rm -f conftest.defines
109753 echo '  fi # grep' >>$CONFIG_STATUS
109754 echo >>$CONFIG_STATUS
109755
109756 # Break up conftest.undefs because some shells have a limit on the size
109757 # of here documents, and old seds have small limits too (100 cmds).
109758 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
109759 rm -f conftest.tail
109760 while grep . conftest.undefs >/dev/null
109761 do
109762   # Write a limited-size here document to $tmp/undefs.sed.
109763   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
109764   # Speed up: don't consider the non `#undef'
109765   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
109766   # Work around the forget-to-reset-the-flag bug.
109767   echo 't clr' >>$CONFIG_STATUS
109768   echo ': clr' >>$CONFIG_STATUS
109769   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
109770   echo 'CEOF
109771   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
109772   rm -f $tmp/in
109773   mv $tmp/out $tmp/in
109774 ' >>$CONFIG_STATUS
109775   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
109776   rm -f conftest.undefs
109777   mv conftest.tail conftest.undefs
109778 done
109779 rm -f conftest.undefs
109780
109781 cat >>$CONFIG_STATUS <<\_ACEOF
109782   # Let's still pretend it is `configure' which instantiates (i.e., don't
109783   # use $as_me), people would be surprised to read:
109784   #    /* config.h.  Generated by config.status.  */
109785   if test x"$ac_file" = x-; then
109786     echo "/* Generated by configure.  */" >$tmp/config.h
109787   else
109788     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
109789   fi
109790   cat $tmp/in >>$tmp/config.h
109791   rm -f $tmp/in
109792   if test x"$ac_file" != x-; then
109793     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
109794       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
109795 echo "$as_me: $ac_file is unchanged" >&6;}
109796     else
109797       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
109798 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109799          X"$ac_file" : 'X\(//\)[^/]' \| \
109800          X"$ac_file" : 'X\(//\)$' \| \
109801          X"$ac_file" : 'X\(/\)' \| \
109802          .     : '\(.\)' 2>/dev/null ||
109803 echo X"$ac_file" |
109804     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109805           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109806           /^X\(\/\/\)$/{ s//\1/; q; }
109807           /^X\(\/\).*/{ s//\1/; q; }
109808           s/.*/./; q'`
109809       { if $as_mkdir_p; then
109810     mkdir -p "$ac_dir"
109811   else
109812     as_dir="$ac_dir"
109813     as_dirs=
109814     while test ! -d "$as_dir"; do
109815       as_dirs="$as_dir $as_dirs"
109816       as_dir=`(dirname "$as_dir") 2>/dev/null ||
109817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109818          X"$as_dir" : 'X\(//\)[^/]' \| \
109819          X"$as_dir" : 'X\(//\)$' \| \
109820          X"$as_dir" : 'X\(/\)' \| \
109821          .     : '\(.\)' 2>/dev/null ||
109822 echo X"$as_dir" |
109823     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109824           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109825           /^X\(\/\/\)$/{ s//\1/; q; }
109826           /^X\(\/\).*/{ s//\1/; q; }
109827           s/.*/./; q'`
109828     done
109829     test ! -n "$as_dirs" || mkdir $as_dirs
109830   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
109831 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
109832    { (exit 1); exit 1; }; }; }
109833
109834       rm -f $ac_file
109835       mv $tmp/config.h $ac_file
109836     fi
109837   else
109838     cat $tmp/config.h
109839     rm -f $tmp/config.h
109840   fi
109841 # Compute $ac_file's index in $config_headers.
109842 _am_stamp_count=1
109843 for _am_header in $config_headers :; do
109844   case $_am_header in
109845     $ac_file | $ac_file:* )
109846       break ;;
109847     * )
109848       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
109849   esac
109850 done
109851 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
109852 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109853          X$ac_file : 'X\(//\)[^/]' \| \
109854          X$ac_file : 'X\(//\)$' \| \
109855          X$ac_file : 'X\(/\)' \| \
109856          .     : '\(.\)' 2>/dev/null ||
109857 echo X$ac_file |
109858     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109859           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109860           /^X\(\/\/\)$/{ s//\1/; q; }
109861           /^X\(\/\).*/{ s//\1/; q; }
109862           s/.*/./; q'`/stamp-h$_am_stamp_count
109863 done
109864 _ACEOF
109865 cat >>$CONFIG_STATUS <<\_ACEOF
109866
109867 #
109868 # CONFIG_COMMANDS section.
109869 #
109870 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
109871   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
109872   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
109873   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
109874 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109875          X"$ac_dest" : 'X\(//\)[^/]' \| \
109876          X"$ac_dest" : 'X\(//\)$' \| \
109877          X"$ac_dest" : 'X\(/\)' \| \
109878          .     : '\(.\)' 2>/dev/null ||
109879 echo X"$ac_dest" |
109880     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109881           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109882           /^X\(\/\/\)$/{ s//\1/; q; }
109883           /^X\(\/\).*/{ s//\1/; q; }
109884           s/.*/./; q'`
109885   { if $as_mkdir_p; then
109886     mkdir -p "$ac_dir"
109887   else
109888     as_dir="$ac_dir"
109889     as_dirs=
109890     while test ! -d "$as_dir"; do
109891       as_dirs="$as_dir $as_dirs"
109892       as_dir=`(dirname "$as_dir") 2>/dev/null ||
109893 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
109894          X"$as_dir" : 'X\(//\)[^/]' \| \
109895          X"$as_dir" : 'X\(//\)$' \| \
109896          X"$as_dir" : 'X\(/\)' \| \
109897          .     : '\(.\)' 2>/dev/null ||
109898 echo X"$as_dir" |
109899     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
109900           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
109901           /^X\(\/\/\)$/{ s//\1/; q; }
109902           /^X\(\/\).*/{ s//\1/; q; }
109903           s/.*/./; q'`
109904     done
109905     test ! -n "$as_dirs" || mkdir $as_dirs
109906   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
109907 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
109908    { (exit 1); exit 1; }; }; }
109909
109910   ac_builddir=.
109911
109912 if test "$ac_dir" != .; then
109913   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
109914   # A "../" for each directory in $ac_dir_suffix.
109915   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
109916 else
109917   ac_dir_suffix= ac_top_builddir=
109918 fi
109919
109920 case $srcdir in
109921   .)  # No --srcdir option.  We are building in place.
109922     ac_srcdir=.
109923     if test -z "$ac_top_builddir"; then
109924        ac_top_srcdir=.
109925     else
109926        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
109927     fi ;;
109928   [\\/]* | ?:[\\/]* )  # Absolute path.
109929     ac_srcdir=$srcdir$ac_dir_suffix;
109930     ac_top_srcdir=$srcdir ;;
109931   *) # Relative path.
109932     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
109933     ac_top_srcdir=$ac_top_builddir$srcdir ;;
109934 esac
109935
109936 # Do not use `cd foo && pwd` to compute absolute paths, because
109937 # the directories may not exist.
109938 case `pwd` in
109939 .) ac_abs_builddir="$ac_dir";;
109940 *)
109941   case "$ac_dir" in
109942   .) ac_abs_builddir=`pwd`;;
109943   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
109944   *) ac_abs_builddir=`pwd`/"$ac_dir";;
109945   esac;;
109946 esac
109947 case $ac_abs_builddir in
109948 .) ac_abs_top_builddir=${ac_top_builddir}.;;
109949 *)
109950   case ${ac_top_builddir}. in
109951   .) ac_abs_top_builddir=$ac_abs_builddir;;
109952   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
109953   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
109954   esac;;
109955 esac
109956 case $ac_abs_builddir in
109957 .) ac_abs_srcdir=$ac_srcdir;;
109958 *)
109959   case $ac_srcdir in
109960   .) ac_abs_srcdir=$ac_abs_builddir;;
109961   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
109962   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
109963   esac;;
109964 esac
109965 case $ac_abs_builddir in
109966 .) ac_abs_top_srcdir=$ac_top_srcdir;;
109967 *)
109968   case $ac_top_srcdir in
109969   .) ac_abs_top_srcdir=$ac_abs_builddir;;
109970   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
109971   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
109972   esac;;
109973 esac
109974
109975
109976   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
109977 echo "$as_me: executing $ac_dest commands" >&6;}
109978   case $ac_dest in
109979     default-1 )
109980 # Only add multilib support code if we just rebuilt the top-level
109981 # Makefile.
109982 case " $CONFIG_FILES " in
109983  *" Makefile "*)
109984    ac_file=Makefile . ${multi_basedir}/config-ml.in
109985    ;;
109986 esac ;;
109987     libtool )
109988
109989     # See if we are running on zsh, and set the options which allow our
109990     # commands through without removal of \ escapes.
109991     if test -n "${ZSH_VERSION+set}" ; then
109992       setopt NO_GLOB_SUBST
109993     fi
109994
109995     cfgfile="${ofile}T"
109996     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
109997     $RM "$cfgfile"
109998
109999     cat <<_LT_EOF >> "$cfgfile"
110000 #! $SHELL
110001
110002 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
110003 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
110004 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
110005 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
110006 #
110007 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
110008 # 2006, 2007 Free Software Foundation, Inc.
110009 #
110010 # This file is part of GNU Libtool:
110011 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
110012 #
110013 # This program is free software; you can redistribute it and/or modify
110014 # it under the terms of the GNU General Public License as published by
110015 # the Free Software Foundation; either version 2 of the License, or
110016 # (at your option) any later version.
110017 #
110018 # This program is distributed in the hope that it will be useful, but
110019 # WITHOUT ANY WARRANTY; without even the implied warranty of
110020 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
110021 # General Public License for more details.
110022 #
110023 # You should have received a copy of the GNU General Public License
110024 # along with this program; if not, a copy can be downloaded from
110025 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
110026 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
110027 # MA 02110-1301, USA.
110028 #
110029 # As a special exception to the GNU General Public License, if you
110030 # distribute this file as part of a program that contains a
110031 # configuration script generated by Autoconf, you may include it under
110032 # the same distribution terms that you use for the rest of that program.
110033
110034
110035 # The names of the tagged configurations supported by this script.
110036 available_tags="CXX "
110037
110038 # ### BEGIN LIBTOOL CONFIG
110039
110040 # Which release of libtool.m4 was used?
110041 macro_version=$macro_version
110042 macro_revision=$macro_revision
110043
110044 # Whether or not to build shared libraries.
110045 build_libtool_libs=$enable_shared
110046
110047 # Whether or not to build static libraries.
110048 build_old_libs=$enable_static
110049
110050 # What type of objects to build.
110051 pic_mode=$pic_mode
110052
110053 # Whether or not to optimize for fast installation.
110054 fast_install=$enable_fast_install
110055
110056 # The host system.
110057 host_alias=$host_alias
110058 host=$host
110059 host_os=$host_os
110060
110061 # The build system.
110062 build_alias=$build_alias
110063 build=$build
110064 build_os=$build_os
110065
110066 # A sed program that does not truncate output.
110067 SED=$lt_SED
110068
110069 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
110070 Xsed="\$SED -e 1s/^X//"
110071
110072 # A grep program that handles long lines.
110073 GREP=$lt_GREP
110074
110075 # An ERE matcher.
110076 EGREP=$lt_EGREP
110077
110078 # A literal string matcher.
110079 FGREP=$lt_FGREP
110080
110081 # A BSD- or MS-compatible name lister.
110082 NM=$lt_NM
110083
110084 # Whether we need soft or hard links.
110085 LN_S=$lt_LN_S
110086
110087 # What is the maximum length of a command?
110088 max_cmd_len=$max_cmd_len
110089
110090 # Object file suffix (normally "o").
110091 objext=$ac_objext
110092
110093 # Executable file suffix (normally "").
110094 exeext=$exeext
110095
110096 # whether the shell understands "unset".
110097 lt_unset=$lt_unset
110098
110099 # turn spaces into newlines.
110100 SP2NL=$lt_lt_SP2NL
110101
110102 # turn newlines into spaces.
110103 NL2SP=$lt_lt_NL2SP
110104
110105 # How to create reloadable object files.
110106 reload_flag=$lt_reload_flag
110107 reload_cmds=$lt_reload_cmds
110108
110109 # Method to check whether dependent libraries are shared objects.
110110 deplibs_check_method=$lt_deplibs_check_method
110111
110112 # Command to use when deplibs_check_method == "file_magic".
110113 file_magic_cmd=$lt_file_magic_cmd
110114
110115 # The archiver.
110116 AR=$lt_AR
110117 AR_FLAGS=$lt_AR_FLAGS
110118
110119 # A symbol stripping program.
110120 STRIP=$lt_STRIP
110121
110122 # Commands used to install an old-style archive.
110123 RANLIB=$lt_RANLIB
110124 old_postinstall_cmds=$lt_old_postinstall_cmds
110125 old_postuninstall_cmds=$lt_old_postuninstall_cmds
110126
110127 # A C compiler.
110128 LTCC=$lt_CC
110129
110130 # LTCC compiler flags.
110131 LTCFLAGS=$lt_CFLAGS
110132
110133 # Take the output of nm and produce a listing of raw symbols and C names.
110134 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
110135
110136 # Transform the output of nm in a proper C declaration.
110137 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
110138
110139 # Transform the output of nm in a C name address pair.
110140 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
110141
110142 # The name of the directory that contains temporary libtool files.
110143 objdir=$objdir
110144
110145 # Shell to use when invoking shell scripts.
110146 SHELL=$lt_SHELL
110147
110148 # An echo program that does not interpret backslashes.
110149 ECHO=$lt_ECHO
110150
110151 # Used to examine libraries when file_magic_cmd begins with "file".
110152 MAGIC_CMD=$MAGIC_CMD
110153
110154 # Must we lock files when doing compilation?
110155 need_locks=$lt_need_locks
110156
110157 # Old archive suffix (normally "a").
110158 libext=$libext
110159
110160 # Shared library suffix (normally ".so").
110161 shrext_cmds=$lt_shrext_cmds
110162
110163 # The commands to extract the exported symbol list from a shared archive.
110164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
110165
110166 # Variables whose values should be saved in libtool wrapper scripts and
110167 # restored at link time.
110168 variables_saved_for_relink=$lt_variables_saved_for_relink
110169
110170 # Do we need the "lib" prefix for modules?
110171 need_lib_prefix=$need_lib_prefix
110172
110173 # Do we need a version for libraries?
110174 need_version=$need_version
110175
110176 # Library versioning type.
110177 version_type=$version_type
110178
110179 # Shared library runtime path variable.
110180 runpath_var=$runpath_var
110181
110182 # Shared library path variable.
110183 shlibpath_var=$shlibpath_var
110184
110185 # Is shlibpath searched before the hard-coded library search path?
110186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
110187
110188 # Format of library name prefix.
110189 libname_spec=$lt_libname_spec
110190
110191 # List of archive names.  First name is the real one, the rest are links.
110192 # The last name is the one that the linker finds with -lNAME
110193 library_names_spec=$lt_library_names_spec
110194
110195 # The coded name of the library, if different from the real name.
110196 soname_spec=$lt_soname_spec
110197
110198 # Command to use after installation of a shared archive.
110199 postinstall_cmds=$lt_postinstall_cmds
110200
110201 # Command to use after uninstallation of a shared archive.
110202 postuninstall_cmds=$lt_postuninstall_cmds
110203
110204 # Commands used to finish a libtool library installation in a directory.
110205 finish_cmds=$lt_finish_cmds
110206
110207 # As "finish_cmds", except a single script fragment to be evaled but
110208 # not shown.
110209 finish_eval=$lt_finish_eval
110210
110211 # Whether we should hardcode library paths into libraries.
110212 hardcode_into_libs=$hardcode_into_libs
110213
110214 # Compile-time system search path for libraries.
110215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
110216
110217 # Run-time system search path for libraries.
110218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
110219
110220 # Whether dlopen is supported.
110221 dlopen_support=$enable_dlopen
110222
110223 # Whether dlopen of programs is supported.
110224 dlopen_self=$enable_dlopen_self
110225
110226 # Whether dlopen of statically linked programs is supported.
110227 dlopen_self_static=$enable_dlopen_self_static
110228
110229 # Commands to strip libraries.
110230 old_striplib=$lt_old_striplib
110231 striplib=$lt_striplib
110232
110233
110234 # The linker used to build libraries.
110235 LD=$lt_LD
110236
110237 # Commands used to build an old-style archive.
110238 old_archive_cmds=$lt_old_archive_cmds
110239
110240 # A language specific compiler.
110241 CC=$lt_compiler
110242
110243 # Is the compiler the GNU compiler?
110244 with_gcc=$GCC
110245
110246 # Compiler flag to turn off builtin functions.
110247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
110248
110249 # How to pass a linker flag through the compiler.
110250 wl=$lt_lt_prog_compiler_wl
110251
110252 # Additional compiler flags for building library objects.
110253 pic_flag=$lt_lt_prog_compiler_pic
110254
110255 # Compiler flag to prevent dynamic linking.
110256 link_static_flag=$lt_lt_prog_compiler_static
110257
110258 # Does compiler simultaneously support -c and -o options?
110259 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
110260
110261 # Whether or not to add -lc for building shared libraries.
110262 build_libtool_need_lc=$archive_cmds_need_lc
110263
110264 # Whether or not to disallow shared libs when runtime libs are static.
110265 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
110266
110267 # Compiler flag to allow reflexive dlopens.
110268 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
110269
110270 # Compiler flag to generate shared objects directly from archives.
110271 whole_archive_flag_spec=$lt_whole_archive_flag_spec
110272
110273 # Whether the compiler copes with passing no objects directly.
110274 compiler_needs_object=$lt_compiler_needs_object
110275
110276 # Create an old-style archive from a shared archive.
110277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
110278
110279 # Create a temporary old-style archive to link instead of a shared archive.
110280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
110281
110282 # Commands used to build a shared archive.
110283 archive_cmds=$lt_archive_cmds
110284 archive_expsym_cmds=$lt_archive_expsym_cmds
110285
110286 # Commands used to build a loadable module if different from building
110287 # a shared archive.
110288 module_cmds=$lt_module_cmds
110289 module_expsym_cmds=$lt_module_expsym_cmds
110290
110291 # Whether we are building with GNU ld or not.
110292 with_gnu_ld=$lt_with_gnu_ld
110293
110294 # Flag that allows shared libraries with undefined symbols to be built.
110295 allow_undefined_flag=$lt_allow_undefined_flag
110296
110297 # Flag that enforces no undefined symbols.
110298 no_undefined_flag=$lt_no_undefined_flag
110299
110300 # Flag to hardcode \$libdir into a binary during linking.
110301 # This must work even if \$libdir does not exist
110302 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
110303
110304 # If ld is used when linking, flag to hardcode \$libdir into a binary
110305 # during linking.  This must work even if \$libdir does not exist.
110306 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
110307
110308 # Whether we need a single "-rpath" flag with a separated argument.
110309 hardcode_libdir_separator=$lt_hardcode_libdir_separator
110310
110311 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
110312 # DIR into the resulting binary.
110313 hardcode_direct=$hardcode_direct
110314
110315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
110316 # DIR into the resulting binary and the resulting library dependency is
110317 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
110318 # library is relocated.
110319 hardcode_direct_absolute=$hardcode_direct_absolute
110320
110321 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
110322 # into the resulting binary.
110323 hardcode_minus_L=$hardcode_minus_L
110324
110325 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
110326 # into the resulting binary.
110327 hardcode_shlibpath_var=$hardcode_shlibpath_var
110328
110329 # Set to "yes" if building a shared library automatically hardcodes DIR
110330 # into the library and all subsequent libraries and executables linked
110331 # against it.
110332 hardcode_automatic=$hardcode_automatic
110333
110334 # Set to yes if linker adds runtime paths of dependent libraries
110335 # to runtime path list.
110336 inherit_rpath=$inherit_rpath
110337
110338 # Whether libtool must link a program against all its dependency libraries.
110339 link_all_deplibs=$link_all_deplibs
110340
110341 # Fix the shell variable \$srcfile for the compiler.
110342 fix_srcfile_path=$lt_fix_srcfile_path
110343
110344 # Set to "yes" if exported symbols are required.
110345 always_export_symbols=$always_export_symbols
110346
110347 # The commands to list exported symbols.
110348 export_symbols_cmds=$lt_export_symbols_cmds
110349
110350 # Symbols that should not be listed in the preloaded symbols.
110351 exclude_expsyms=$lt_exclude_expsyms
110352
110353 # Symbols that must always be exported.
110354 include_expsyms=$lt_include_expsyms
110355
110356 # Commands necessary for linking programs (against libraries) with templates.
110357 prelink_cmds=$lt_prelink_cmds
110358
110359 # Specify filename containing input files.
110360 file_list_spec=$lt_file_list_spec
110361
110362 # How to hardcode a shared library path into an executable.
110363 hardcode_action=$hardcode_action
110364
110365 # Dependencies to place before and after the objects being linked to
110366 # create a shared library.
110367 predep_objects=$lt_predep_objects
110368 postdep_objects=$lt_postdep_objects
110369 predeps=$lt_predeps
110370 postdeps=$lt_postdeps
110371
110372 # The library search path used internally by the compiler when linking
110373 # a shared library.
110374 compiler_lib_search_path=$lt_compiler_lib_search_path
110375
110376 # ### END LIBTOOL CONFIG
110377
110378 _LT_EOF
110379
110380   case $host_os in
110381   aix3*)
110382     cat <<\_LT_EOF >> "$cfgfile"
110383 # AIX sometimes has problems with the GCC collect2 program.  For some
110384 # reason, if we set the COLLECT_NAMES environment variable, the problems
110385 # vanish in a puff of smoke.
110386 if test "X${COLLECT_NAMES+set}" != Xset; then
110387   COLLECT_NAMES=
110388   export COLLECT_NAMES
110389 fi
110390 _LT_EOF
110391     ;;
110392   esac
110393
110394
110395 ltmain="$ac_aux_dir/ltmain.sh"
110396
110397
110398   # We use sed instead of cat because bash on DJGPP gets confused if
110399   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
110400   # text mode, it properly converts lines to CR/LF.  This bash problem
110401   # is reportedly fixed, but why not run on old versions too?
110402   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
110403     || (rm -f "$cfgfile"; exit 1)
110404
110405   case $xsi_shell in
110406   yes)
110407     cat << \_LT_EOF >> "$cfgfile"
110408 # func_dirname file append nondir_replacement
110409 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
110410 # otherwise set result to NONDIR_REPLACEMENT.
110411 func_dirname ()
110412 {
110413   case ${1} in
110414     */*) func_dirname_result="${1%/*}${2}" ;;
110415     *  ) func_dirname_result="${3}" ;;
110416   esac
110417 }
110418
110419 # func_basename file
110420 func_basename ()
110421 {
110422   func_basename_result="${1##*/}"
110423 }
110424
110425 # func_stripname prefix suffix name
110426 # strip PREFIX and SUFFIX off of NAME.
110427 # PREFIX and SUFFIX must not contain globbing or regex special
110428 # characters, hashes, percent signs, but SUFFIX may contain a leading
110429 # dot (in which case that matches only a dot).
110430 func_stripname ()
110431 {
110432   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
110433   # positional parameters, so assign one to ordinary parameter first.
110434   func_stripname_result=${3}
110435   func_stripname_result=${func_stripname_result#"${1}"}
110436   func_stripname_result=${func_stripname_result%"${2}"}
110437 }
110438
110439 # func_opt_split
110440 func_opt_split ()
110441 {
110442   func_opt_split_opt=${1%%=*}
110443   func_opt_split_arg=${1#*=}
110444 }
110445
110446 # func_lo2o object
110447 func_lo2o ()
110448 {
110449   case ${1} in
110450     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
110451     *)    func_lo2o_result=${1} ;;
110452   esac
110453 }
110454 _LT_EOF
110455     ;;
110456   *) # Bourne compatible functions.
110457     cat << \_LT_EOF >> "$cfgfile"
110458 # func_dirname file append nondir_replacement
110459 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
110460 # otherwise set result to NONDIR_REPLACEMENT.
110461 func_dirname ()
110462 {
110463   # Extract subdirectory from the argument.
110464   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
110465   if test "X$func_dirname_result" = "X${1}"; then
110466     func_dirname_result="${3}"
110467   else
110468     func_dirname_result="$func_dirname_result${2}"
110469   fi
110470 }
110471
110472 # func_basename file
110473 func_basename ()
110474 {
110475   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
110476 }
110477
110478 # func_stripname prefix suffix name
110479 # strip PREFIX and SUFFIX off of NAME.
110480 # PREFIX and SUFFIX must not contain globbing or regex special
110481 # characters, hashes, percent signs, but SUFFIX may contain a leading
110482 # dot (in which case that matches only a dot).
110483 # func_strip_suffix prefix name
110484 func_stripname ()
110485 {
110486   case ${2} in
110487     .*) func_stripname_result=`$ECHO "X${3}" \
110488            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
110489     *)  func_stripname_result=`$ECHO "X${3}" \
110490            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
110491   esac
110492 }
110493
110494 # sed scripts:
110495 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
110496 my_sed_long_arg='1s/^-[^=]*=//'
110497
110498 # func_opt_split
110499 func_opt_split ()
110500 {
110501   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
110502   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
110503 }
110504
110505 # func_lo2o object
110506 func_lo2o ()
110507 {
110508   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
110509 }
110510 _LT_EOF
110511 esac
110512
110513 case $lt_shell_append in
110514   yes)
110515     cat << \_LT_EOF >> "$cfgfile"
110516
110517 # func_append var value
110518 # Append VALUE to the end of shell variable VAR.
110519 func_append ()
110520 {
110521   eval "$1+=\$2"
110522 }
110523 _LT_EOF
110524     ;;
110525   *)
110526     cat << \_LT_EOF >> "$cfgfile"
110527
110528 # func_append var value
110529 # Append VALUE to the end of shell variable VAR.
110530 func_append ()
110531 {
110532   eval "$1=\$$1\$2"
110533 }
110534 _LT_EOF
110535     ;;
110536   esac
110537
110538
110539   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
110540     || (rm -f "$cfgfile"; exit 1)
110541
110542   mv -f "$cfgfile" "$ofile" ||
110543     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
110544   chmod +x "$ofile"
110545
110546
110547     cat <<_LT_EOF >> "$ofile"
110548
110549 # ### BEGIN LIBTOOL TAG CONFIG: CXX
110550
110551 # The linker used to build libraries.
110552 LD=$lt_LD_CXX
110553
110554 # Commands used to build an old-style archive.
110555 old_archive_cmds=$lt_old_archive_cmds_CXX
110556
110557 # A language specific compiler.
110558 CC=$lt_compiler_CXX
110559
110560 # Is the compiler the GNU compiler?
110561 with_gcc=$GCC_CXX
110562
110563 # Compiler flag to turn off builtin functions.
110564 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
110565
110566 # How to pass a linker flag through the compiler.
110567 wl=$lt_lt_prog_compiler_wl_CXX
110568
110569 # Additional compiler flags for building library objects.
110570 pic_flag=$lt_lt_prog_compiler_pic_CXX
110571
110572 # Compiler flag to prevent dynamic linking.
110573 link_static_flag=$lt_lt_prog_compiler_static_CXX
110574
110575 # Does compiler simultaneously support -c and -o options?
110576 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
110577
110578 # Whether or not to add -lc for building shared libraries.
110579 build_libtool_need_lc=$archive_cmds_need_lc_CXX
110580
110581 # Whether or not to disallow shared libs when runtime libs are static.
110582 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
110583
110584 # Compiler flag to allow reflexive dlopens.
110585 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
110586
110587 # Compiler flag to generate shared objects directly from archives.
110588 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
110589
110590 # Whether the compiler copes with passing no objects directly.
110591 compiler_needs_object=$lt_compiler_needs_object_CXX
110592
110593 # Create an old-style archive from a shared archive.
110594 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
110595
110596 # Create a temporary old-style archive to link instead of a shared archive.
110597 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
110598
110599 # Commands used to build a shared archive.
110600 archive_cmds=$lt_archive_cmds_CXX
110601 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
110602
110603 # Commands used to build a loadable module if different from building
110604 # a shared archive.
110605 module_cmds=$lt_module_cmds_CXX
110606 module_expsym_cmds=$lt_module_expsym_cmds_CXX
110607
110608 # Whether we are building with GNU ld or not.
110609 with_gnu_ld=$lt_with_gnu_ld_CXX
110610
110611 # Flag that allows shared libraries with undefined symbols to be built.
110612 allow_undefined_flag=$lt_allow_undefined_flag_CXX
110613
110614 # Flag that enforces no undefined symbols.
110615 no_undefined_flag=$lt_no_undefined_flag_CXX
110616
110617 # Flag to hardcode \$libdir into a binary during linking.
110618 # This must work even if \$libdir does not exist
110619 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
110620
110621 # If ld is used when linking, flag to hardcode \$libdir into a binary
110622 # during linking.  This must work even if \$libdir does not exist.
110623 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
110624
110625 # Whether we need a single "-rpath" flag with a separated argument.
110626 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
110627
110628 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
110629 # DIR into the resulting binary.
110630 hardcode_direct=$hardcode_direct_CXX
110631
110632 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
110633 # DIR into the resulting binary and the resulting library dependency is
110634 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
110635 # library is relocated.
110636 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
110637
110638 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
110639 # into the resulting binary.
110640 hardcode_minus_L=$hardcode_minus_L_CXX
110641
110642 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
110643 # into the resulting binary.
110644 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
110645
110646 # Set to "yes" if building a shared library automatically hardcodes DIR
110647 # into the library and all subsequent libraries and executables linked
110648 # against it.
110649 hardcode_automatic=$hardcode_automatic_CXX
110650
110651 # Set to yes if linker adds runtime paths of dependent libraries
110652 # to runtime path list.
110653 inherit_rpath=$inherit_rpath_CXX
110654
110655 # Whether libtool must link a program against all its dependency libraries.
110656 link_all_deplibs=$link_all_deplibs_CXX
110657
110658 # Fix the shell variable \$srcfile for the compiler.
110659 fix_srcfile_path=$lt_fix_srcfile_path_CXX
110660
110661 # Set to "yes" if exported symbols are required.
110662 always_export_symbols=$always_export_symbols_CXX
110663
110664 # The commands to list exported symbols.
110665 export_symbols_cmds=$lt_export_symbols_cmds_CXX
110666
110667 # Symbols that should not be listed in the preloaded symbols.
110668 exclude_expsyms=$lt_exclude_expsyms_CXX
110669
110670 # Symbols that must always be exported.
110671 include_expsyms=$lt_include_expsyms_CXX
110672
110673 # Commands necessary for linking programs (against libraries) with templates.
110674 prelink_cmds=$lt_prelink_cmds_CXX
110675
110676 # Specify filename containing input files.
110677 file_list_spec=$lt_file_list_spec_CXX
110678
110679 # How to hardcode a shared library path into an executable.
110680 hardcode_action=$hardcode_action_CXX
110681
110682 # Dependencies to place before and after the objects being linked to
110683 # create a shared library.
110684 predep_objects=$lt_predep_objects_CXX
110685 postdep_objects=$lt_postdep_objects_CXX
110686 predeps=$lt_predeps_CXX
110687 postdeps=$lt_postdeps_CXX
110688
110689 # The library search path used internally by the compiler when linking
110690 # a shared library.
110691 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
110692
110693 # ### END LIBTOOL TAG CONFIG: CXX
110694 _LT_EOF
110695
110696  ;;
110697     include/gstdint.h )
110698 if test "$GCC" = yes; then
110699   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
110700 else
110701   echo "/* generated for $CC */" > tmp-stdint.h
110702 fi
110703
110704 sed 's/^ *//' >> tmp-stdint.h <<EOF
110705
110706   #ifndef GCC_GENERATED_STDINT_H
110707   #define GCC_GENERATED_STDINT_H 1
110708
110709   #include <sys/types.h>
110710 EOF
110711
110712 if test "$acx_cv_header_stdint" != stdint.h; then
110713   echo "#include <stddef.h>" >> tmp-stdint.h
110714 fi
110715 if test "$acx_cv_header_stdint" != stddef.h; then
110716   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
110717 fi
110718
110719 sed 's/^ *//' >> tmp-stdint.h <<EOF
110720   /* glibc uses these symbols as guards to prevent redefinitions.  */
110721   #ifdef __int8_t_defined
110722   #define _INT8_T
110723   #define _INT16_T
110724   #define _INT32_T
110725   #endif
110726   #ifdef __uint32_t_defined
110727   #define _UINT32_T
110728   #endif
110729
110730 EOF
110731
110732 # ----------------- done header, emit basic int types -------------
110733 if test "$acx_cv_header_stdint" = stddef.h; then
110734   sed 's/^ *//' >> tmp-stdint.h <<EOF
110735
110736     #ifndef _UINT8_T
110737     #define _UINT8_T
110738     #ifndef __uint8_t_defined
110739     #define __uint8_t_defined
110740     typedef unsigned $acx_cv_type_int8_t uint8_t;
110741     #endif
110742     #endif
110743
110744     #ifndef _UINT16_T
110745     #define _UINT16_T
110746     #ifndef __uint16_t_defined
110747     #define __uint16_t_defined
110748     typedef unsigned $acx_cv_type_int16_t uint16_t;
110749     #endif
110750     #endif
110751
110752     #ifndef _UINT32_T
110753     #define _UINT32_T
110754     #ifndef __uint32_t_defined
110755     #define __uint32_t_defined
110756     typedef unsigned $acx_cv_type_int32_t uint32_t;
110757     #endif
110758     #endif
110759
110760     #ifndef _INT8_T
110761     #define _INT8_T
110762     #ifndef __int8_t_defined
110763     #define __int8_t_defined
110764     typedef $acx_cv_type_int8_t int8_t;
110765     #endif
110766     #endif
110767
110768     #ifndef _INT16_T
110769     #define _INT16_T
110770     #ifndef __int16_t_defined
110771     #define __int16_t_defined
110772     typedef $acx_cv_type_int16_t int16_t;
110773     #endif
110774     #endif
110775
110776     #ifndef _INT32_T
110777     #define _INT32_T
110778     #ifndef __int32_t_defined
110779     #define __int32_t_defined
110780     typedef $acx_cv_type_int32_t int32_t;
110781     #endif
110782     #endif
110783 EOF
110784 elif test "$ac_cv_type_u_int32_t" = yes; then
110785   sed 's/^ *//' >> tmp-stdint.h <<EOF
110786
110787     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
110788     #ifndef _INT8_T
110789     #define _INT8_T
110790     #endif
110791     #ifndef _INT16_T
110792     #define _INT16_T
110793     #endif
110794     #ifndef _INT32_T
110795     #define _INT32_T
110796     #endif
110797
110798     #ifndef _UINT8_T
110799     #define _UINT8_T
110800     #ifndef __uint8_t_defined
110801     #define __uint8_t_defined
110802     typedef u_int8_t uint8_t;
110803     #endif
110804     #endif
110805
110806     #ifndef _UINT16_T
110807     #define _UINT16_T
110808     #ifndef __uint16_t_defined
110809     #define __uint16_t_defined
110810     typedef u_int16_t uint16_t;
110811     #endif
110812     #endif
110813
110814     #ifndef _UINT32_T
110815     #define _UINT32_T
110816     #ifndef __uint32_t_defined
110817     #define __uint32_t_defined
110818     typedef u_int32_t uint32_t;
110819     #endif
110820     #endif
110821 EOF
110822 else
110823   sed 's/^ *//' >> tmp-stdint.h <<EOF
110824
110825     /* Some systems have guard macros to prevent redefinitions, define them.  */
110826     #ifndef _INT8_T
110827     #define _INT8_T
110828     #endif
110829     #ifndef _INT16_T
110830     #define _INT16_T
110831     #endif
110832     #ifndef _INT32_T
110833     #define _INT32_T
110834     #endif
110835     #ifndef _UINT8_T
110836     #define _UINT8_T
110837     #endif
110838     #ifndef _UINT16_T
110839     #define _UINT16_T
110840     #endif
110841     #ifndef _UINT32_T
110842     #define _UINT32_T
110843     #endif
110844 EOF
110845 fi
110846
110847 # ------------- done basic int types, emit int64_t types ------------
110848 if test "$ac_cv_type_uint64_t" = yes; then
110849   sed 's/^ *//' >> tmp-stdint.h <<EOF
110850
110851     /* system headers have good uint64_t and int64_t */
110852     #ifndef _INT64_T
110853     #define _INT64_T
110854     #endif
110855     #ifndef _UINT64_T
110856     #define _UINT64_T
110857     #endif
110858 EOF
110859 elif test "$ac_cv_type_u_int64_t" = yes; then
110860   sed 's/^ *//' >> tmp-stdint.h <<EOF
110861
110862     /* system headers have an u_int64_t (and int64_t) */
110863     #ifndef _INT64_T
110864     #define _INT64_T
110865     #endif
110866     #ifndef _UINT64_T
110867     #define _UINT64_T
110868     #ifndef __uint64_t_defined
110869     #define __uint64_t_defined
110870     typedef u_int64_t uint64_t;
110871     #endif
110872     #endif
110873 EOF
110874 elif test -n "$acx_cv_type_int64_t"; then
110875   sed 's/^ *//' >> tmp-stdint.h <<EOF
110876
110877     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
110878     #ifndef _INT64_T
110879     #define _INT64_T
110880     typedef $acx_cv_type_int64_t int64_t;
110881     #endif
110882     #ifndef _UINT64_T
110883     #define _UINT64_T
110884     #ifndef __uint64_t_defined
110885     #define __uint64_t_defined
110886     typedef unsigned $acx_cv_type_int64_t uint64_t;
110887     #endif
110888     #endif
110889 EOF
110890 else
110891   sed 's/^ *//' >> tmp-stdint.h <<EOF
110892
110893     /* some common heuristics for int64_t, using compiler-specific tests */
110894     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
110895     #ifndef _INT64_T
110896     #define _INT64_T
110897     #ifndef __int64_t_defined
110898     typedef long long int64_t;
110899     #endif
110900     #endif
110901     #ifndef _UINT64_T
110902     #define _UINT64_T
110903     typedef unsigned long long uint64_t;
110904     #endif
110905
110906     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
110907     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
110908        does not implement __extension__.  But that compiler doesn't define
110909        __GNUC_MINOR__.  */
110910     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
110911     # define __extension__
110912     # endif
110913
110914     # ifndef _INT64_T
110915     # define _INT64_T
110916     __extension__ typedef long long int64_t;
110917     # endif
110918     # ifndef _UINT64_T
110919     # define _UINT64_T
110920     __extension__ typedef unsigned long long uint64_t;
110921     # endif
110922
110923     #elif !defined __STRICT_ANSI__
110924     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
110925
110926     #  ifndef _INT64_T
110927     #  define _INT64_T
110928     typedef __int64 int64_t;
110929     #  endif
110930     #  ifndef _UINT64_T
110931     #  define _UINT64_T
110932     typedef unsigned __int64 uint64_t;
110933     #  endif
110934     # endif /* compiler */
110935
110936     #endif /* ANSI version */
110937 EOF
110938 fi
110939
110940 # ------------- done int64_t types, emit intptr types ------------
110941 if test "$ac_cv_type_uintptr_t" != yes; then
110942   sed 's/^ *//' >> tmp-stdint.h <<EOF
110943
110944     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
110945     #ifndef __uintptr_t_defined
110946     typedef u$acx_cv_type_intptr_t uintptr_t;
110947     #endif
110948     #ifndef __intptr_t_defined
110949     typedef $acx_cv_type_intptr_t  intptr_t;
110950     #endif
110951 EOF
110952 fi
110953
110954 # ------------- done intptr types, emit int_least types ------------
110955 if test "$ac_cv_type_int_least32_t" != yes; then
110956   sed 's/^ *//' >> tmp-stdint.h <<EOF
110957
110958     /* Define int_least types */
110959     typedef int8_t     int_least8_t;
110960     typedef int16_t    int_least16_t;
110961     typedef int32_t    int_least32_t;
110962     #ifdef _INT64_T
110963     typedef int64_t    int_least64_t;
110964     #endif
110965
110966     typedef uint8_t    uint_least8_t;
110967     typedef uint16_t   uint_least16_t;
110968     typedef uint32_t   uint_least32_t;
110969     #ifdef _UINT64_T
110970     typedef uint64_t   uint_least64_t;
110971     #endif
110972 EOF
110973 fi
110974
110975 # ------------- done intptr types, emit int_fast types ------------
110976 if test "$ac_cv_type_int_fast32_t" != yes; then
110977       sed 's/^ *//' >> tmp-stdint.h <<EOF
110978
110979     /* Define int_fast types.  short is often slow */
110980     typedef int8_t       int_fast8_t;
110981     typedef int          int_fast16_t;
110982     typedef int32_t      int_fast32_t;
110983     #ifdef _INT64_T
110984     typedef int64_t      int_fast64_t;
110985     #endif
110986
110987     typedef uint8_t      uint_fast8_t;
110988     typedef unsigned int uint_fast16_t;
110989     typedef uint32_t     uint_fast32_t;
110990     #ifdef _UINT64_T
110991     typedef uint64_t     uint_fast64_t;
110992     #endif
110993 EOF
110994 fi
110995
110996 if test "$ac_cv_type_uintmax_t" != yes; then
110997   sed 's/^ *//' >> tmp-stdint.h <<EOF
110998
110999     /* Define intmax based on what we found */
111000     #ifdef _INT64_T
111001     typedef int64_t       intmax_t;
111002     #else
111003     typedef long          intmax_t;
111004     #endif
111005     #ifdef _UINT64_T
111006     typedef uint64_t      uintmax_t;
111007     #else
111008     typedef unsigned long uintmax_t;
111009     #endif
111010 EOF
111011 fi
111012
111013 sed 's/^ *//' >> tmp-stdint.h <<EOF
111014
111015   #endif /* GCC_GENERATED_STDINT_H */
111016 EOF
111017
111018 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
111019   rm -f tmp-stdint.h
111020 else
111021   mv -f tmp-stdint.h include/gstdint.h
111022 fi
111023
111024  ;;
111025     default ) if test -n "$CONFIG_FILES"; then
111026    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
111027    # that multilib installs will end up installed in the correct place.
111028    # The testsuite needs it for multilib-aware ABI baseline files.
111029    # To work around this not being passed down from config-ml.in ->
111030    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
111031    # append it here.  Only modify Makefiles that have just been created.
111032    #
111033    # Also, get rid of this simulated-VPATH thing that automake does.
111034    cat > vpsed << \_EOF
111035 s!`test -f '$<' || echo '$(srcdir)/'`!!
111036 _EOF
111037    for i in $SUBDIRS; do
111038     case $CONFIG_FILES in
111039      *${i}/Makefile*)
111040        #echo "Adding MULTISUBDIR to $i/Makefile"
111041        sed -f vpsed $i/Makefile > tmp
111042        grep '^MULTISUBDIR =' Makefile >> tmp
111043        mv tmp $i/Makefile
111044        ;;
111045     esac
111046    done
111047    rm vpsed
111048  fi
111049  (cd include && ${MAKE-make})
111050  ;;
111051   esac
111052 done
111053 _ACEOF
111054
111055 cat >>$CONFIG_STATUS <<\_ACEOF
111056
111057 { (exit 0); exit 0; }
111058 _ACEOF
111059 chmod +x $CONFIG_STATUS
111060 ac_clean_files=$ac_clean_files_save
111061
111062
111063 # configure is writing to config.log, and then calls config.status.
111064 # config.status does its own redirection, appending to config.log.
111065 # Unfortunately, on DOS this fails, as config.log is still kept open
111066 # by configure, so config.status won't be able to write to it; its
111067 # output is simply discarded.  So we exec the FD to /dev/null,
111068 # effectively closing config.log, so it can be properly (re)opened and
111069 # appended to by config.status.  When coming back to configure, we
111070 # need to make the FD available again.
111071 if test "$no_create" != yes; then
111072   ac_cs_success=:
111073   ac_config_status_args=
111074   test "$silent" = yes &&
111075     ac_config_status_args="$ac_config_status_args --quiet"
111076   exec 5>/dev/null
111077   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
111078   exec 5>>config.log
111079   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
111080   # would make configure fail if this is the last instruction.
111081   $ac_cs_success || { (exit 1); exit 1; }
111082 fi
111083